Soil Moisture Sensor
MohamadDasuki·Soil_Moisture_Sensor
About the Soil Moisture Sensor PCB
Soil Moisture Sensor is an open source AVR/Arduino PCB design by MohamadDasuki, published on GitHub. It is a 2-layer board measuring 24 × 19 mm, with 17 components from 14 distinct parts.
Its main chip is the ATTINY1614-SSNR, from the AVR/Arduino family. Other key parts include the TPS22917DBVR. By type, the board carries 6 capacitors, 4 connectors, 3 resistors, 2 ICs, 1 transistor and 1 switch.
It belongs with the sensors, displays & leds and usb & debug tools designs in this gallery.
From the project
Button-activated, battery-powered soil moisture meter with a 0.96" OLED display.
Button-activated, battery-powered soil moisture meter with a 0.96" OLED display.
Press the button -> MCU wakes -> load switch powers the OLED and sensor -> moisture reading is shown for 15 s -> everything powers down (<1 uA standby).
See BOM.csv for the full parts list and MoistureSensor.pdf` for the schematic.
firmware/MoistureMeter/ contains an Arduino sketch for megaTinyCore. It uses 4.7 KB of flash and 75 B of RAM, and needs no external libraries. The SSD1306 driver in oled.h is buffer-less (text only).

Main components on the Soil Moisture Sensor
Soil Moisture Sensor bill of materials (BOM)
17 components, 14 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATTINY1614-SSNR ATtiny1614-SSNR Microchip | SOIC-14_3.9x8.7mm_P1.27mm | U1 |
| 1 | TPS22917DBVR Texas Instruments | SOT-23-6 | U2 |
| 1 | AO3401A Alpha & Omega | SOT-23 | Q1 |
| 1 | UPDI | PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | Supplied Dupont wires soldered to pads (opt. 1x04 2.54mm header) OLED SSD1306 0.96in - | PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | Supplied PH2.0-3P to Dupont cable soldered to pads SOIL SENSOR v1.2 DIYmall | PinHeader_1x03_P2.54mm_Vertical | J3 |
| 1 | 3xAAA holder leads soldered to pads BATTERY 3xAAA - | PinHeader_1x02_P2.54mm_Vertical | J5 |
| 1 | PBS-110-XBK READ BUTTON Twidec | PinHeader_1x02_P2.54mm_Vertical | SW1 |
| 1 | CL21A106KAYNNNE 10uF 25V X5R Samsung | C_0805_2012Metric | C1 |
| 3 | CC0603KRX7R9BB104 100nF Yageo | C_0603_1608Metric | C2, C5, C6 |
| 1 | CL10B102KB8NNNC 1nF Samsung | C_0603_1608Metric | C3 |
| 1 | CL21A226MAQNNNE 22uF 25V X5R Samsung | C_0805_2012Metric | C4 |
| 2 | 0603WAF1002T5E 10k UNI-ROYAL | R_0603_1608Metric | R1, R2 |
| 1 | 0603WAF0000T5E 0R UNI-ROYAL | R_0603_1608Metric | R3 |
Soil Moisture Sensor design files
The KiCad project lives in the MohamadDasuki/Soil_Moisture_Sensor repository on GitHub; these links point at the commit this page was built from.
- LayoutMoisture_Sensor.kicad_pcb
- SchematicMoisture_Sensor.kicad_sch
- BOMBOM.csv
Soil Moisture Sensor: common questions
What microcontroller does the Soil Moisture Sensor use?
The Soil Moisture Sensor is built around the ATTINY1614-SSNR, from the AVR/Arduino family.
How big is the Soil Moisture Sensor PCB?
The Soil Moisture Sensor measures 24 × 19 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Soil Moisture Sensor?
17 components, from 14 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Soil Moisture Sensor design files?
From the MohamadDasuki/Soil_Moisture_Sensor repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Soil Moisture Sensor design in my own project?
The repository has no license, so all rights stay with MohamadDasuki. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Soil Moisture Sensor without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Magspoof
samyk
35 × 29 mm11 parts2LNo license4.2kAVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
Labrador
espotek-org
36.8 × 34.7 mm75 parts2LNo license1.2kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0k