Soil Moisture Sensor

MohamadDasuki·Soil_Moisture_Sensor

Soil Moisture Sensor PCB layout, top view — open source AVR/Arduino board by MohamadDasuki

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).

Soil Moisture Sensor, from the project README
From the project README

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.

QtyPartRefs
1
ATTINY1614-SSNR
ATtiny1614-SSNR
Microchip
U1
1
TPS22917DBVR
Texas Instruments
U2
1
AO3401A
Alpha & Omega
Q1
1
UPDI
J1
1
Supplied Dupont wires soldered to pads (opt. 1x04 2.54mm header)
OLED SSD1306 0.96in
-
J2
1
Supplied PH2.0-3P to Dupont cable soldered to pads
SOIL SENSOR v1.2
DIYmall
J3
1
3xAAA holder leads soldered to pads
BATTERY 3xAAA
-
J5
1
PBS-110-XBK
READ BUTTON
Twidec
SW1
1
CL21A106KAYNNNE
10uF 25V X5R
Samsung
C1
3
CC0603KRX7R9BB104
100nF
Yageo
C2, C5, C6
1
CL10B102KB8NNNC
1nF
Samsung
C3
1
CL21A226MAQNNNE
22uF 25V X5R
Samsung
C4
2
0603WAF1002T5E
10k
UNI-ROYAL
R1, R2
1
0603WAF0000T5E
0R
UNI-ROYAL
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.

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