SoilSensor v2
angelnu·LorawanSensor·devices/SoilSensor/KiCad/SoilSensor_v2.kicad_pcb
About the SoilSensor v2 PCB
SoilSensor v2 is an open source STM32 PCB design by angelnu, published on GitHub under the MIT license. It is a 2-layer board measuring 24.9 × 143.8 mm, with 24 components from 16 distinct parts.
Its main chip is the STM32L041K6Tx, from the STM32 family. Other key parts include the RFM95W-868S2 and SoilSonde. By type, the board carries 9 capacitors, 4 resistors, 3 ICs, 2 switches, 1 crystal and 1 connector.
It belongs with the sensors designs in this gallery, and the repository also holds 1 earlier revision of it.
From the project
LoraWan soil sensor
This device includes a capacitive sonde in the same PCB. The resulting device can measure the soil moisture without beeing corroded nor being affected by the temperature as the resistive soil sensors.
- sleep: 1.5 uA - run: 415 uA at 4 MHz - 20 ms for measurement - 2 seconds waiting for reception - Sending; 120 mA during 50 ms - Sending each 60 minutes (at least moisture level changess fast - watering, raining) - Battery: 1400 mAh

Main components on the SoilSensor v2
SoilSensor v2 bill of materials (BOM)
24 components, 16 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32L041K6Tx | LQFP-32_7x7mm_P0.8mm | U1 |
| 1 | RFM95W-868S2 | HOPERF_RFM9XW_SMD | U2 |
| 1 | SoilSonde | soilSonde | U3 |
| 1 | 32KHz | Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 1 | Conn_01x06_Male | PinSocket_1x06_P2.54mm_Vertical | J1 |
| 1 | Antenna_Chip | Texas_SWRA416_868MHz_915MHz | AE1 |
| 1 | Battery_Cell | CR123_holder | BT1 |
| 1 | BOOT | SW_SPST_TL3342 | SW1 |
| 1 | RESET | SW_SPST_TL3342 | SW2 |
| 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 |
| 3 | 12K | R_0805_2012Metric | R1, R3, R7 |
| 1 | 2M2 | R_0805_2012Metric | R2 |
SoilSensor 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.
SoilSensor v2: common questions
What microcontroller does the SoilSensor v2 use?
The SoilSensor v2 is built around the STM32L041K6Tx, from the STM32 family.
How big is the SoilSensor v2 PCB?
The SoilSensor v2 measures 24.9 × 143.8 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the SoilSensor v2?
24 components, from 16 distinct parts. The full bill of materials is listed on this page.
Where can I download the SoilSensor v2 design files?
From the angelnu/LorawanSensor repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the SoilSensor 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 SoilSensor 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: SoilSensor
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