GenericSensor v2
angelnu·LorawanSensor·devices/GenericSensor/KiCad/GenericSensor_v2.kicad_pcb
About the GenericSensor v2 PCB
GenericSensor v2 is an open source STM32 PCB design by angelnu, published on GitHub under the MIT license. It is a 2-layer board measuring 25 × 59.7 mm, with 33 components from 19 distinct parts.
Its main chip is the STM32L041K6Tx, from the STM32 family. Other key parts include the RFM95W-868S2. By type, the board carries 9 capacitors, 3 connectors, 2 ICs, 2 resistors, 1 crystal and 1 antenna.
It belongs with the sensors and power & battery designs in this gallery, and the repository also holds 1 earlier revision of it.
From the project
LoraWan soil sensor
This device exposed all available GPIOs from the 32 pin STM32 so external sensors can be attached. Multiple use cases are listed bellow.
This verssion is backwards compatible (same posssitions for all components, even the v1 stencil might be used) but adds support for additional pull-ups or pull-downs. Check the schematic bellow to understand the options: there are two sets of solder jumpers that allow pull-up or pull-down selection. Also using 0R you can enable additional 3V and GND outputs.

Main components on the GenericSensor v2
GenericSensor v2 bill of materials (BOM)
33 components, 19 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32L041K6Tx | LQFP-32_7x7mm_P0.8mm | U1 |
| 1 | RFM95W-868S2 | HOPERF_RFM9XW_SMD | U2 |
| 1 | 32KHz | Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 1 | Conn_01x06_Male | PinHeader_1x06_P2.54mm_Vertical | J1 |
| 1 | Conn_01x09_Male | PinHeader_1x09_P2.54mm_Vertical | J2 |
| 1 | Conn_01x04_Male | PinHeader_2x02_P2.54mm_Vertical | J3 |
| 1 | Antenna_Chip | Texas_SWRA416_868MHz_915MHz | AE1 |
| 1 | BOOT | SW_SPST_TL3342 | BOOT1 |
| 1 | Battery_Cell | CR123_holder | BT1 |
| 2 | SolderJumper_2_Bridged | SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mm | JPC0, JPC3 |
| 2 | SolderJumper_2_Open | SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JPO0, JPO3 |
| 6 | PU | R_0805_2012Metric | RA15, RB3, RB4, RB5, RB6, RB7 |
| 1 | RESET | SW_SPST_TL3342 | RESET1 |
| 1 | LED | D_0805_2012Metric | D1 |
| 1 | Ferrite_Bead_Small | R_0805_2012Metric | FB1 |
| 2 | 10 pF | C_0805_2012Metric | C1, C2 |
| 5 | 100 nF | C_0805_2012Metric | C4, C5, C6, C7, C9 |
| 2 | 1 uF | C_0805_2012Metric | C8, C10 |
| 2 | 12K | R_0805_2012Metric | R3, R7 |
GenericSensor v2 design files
The KiCad project lives in the angelnu/LorawanSensor repository on GitHub; these links point at the commit this page was built from.
GenericSensor v2: common questions
What microcontroller does the GenericSensor v2 use?
The GenericSensor v2 is built around the STM32L041K6Tx, from the STM32 family.
How big is the GenericSensor v2 PCB?
The GenericSensor v2 measures 25 × 59.7 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the GenericSensor v2?
33 components, from 19 distinct parts. The full bill of materials is listed on this page.
Where can I download the GenericSensor v2 design files?
From the angelnu/LorawanSensor repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the GenericSensor v2 design in my own project?
Yes, under the terms of its MIT license, which angelnu chose for the repository.
Can I test firmware for the GenericSensor v2 without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in LorawanSensor
Earlier revisions in the repo: GenericSensor_v1
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k