How to Make a Soil Moisture Sensor DIY [ARDUINO/ESP COMPATIBLE]

by MicheleMeattini in Circuits > Sensors

1023 Views, 4 Favorites, 0 Comments

How to Make a Soil Moisture Sensor DIY [ARDUINO/ESP COMPATIBLE]

20191111_215408.jpg
schema.png
20191111_215416.jpg

Hello,

in this guide we will see how to build a soil moisture sensor from scratch!

It is very inexpensive and is compatible with all types of microcontrollers, from the electrical point of view the circuit is presented as a simple pension divider.

Supplies

  • Screw
  • Cables
  • 10kohm Resistor

Draw the Circuit

schema.png

The circuit is presented as a voltage divider, as the water present in the ground varies, the electrical resistance of it varies across the two screws, by varying the resistance, the voltage varies at the outputs of the voltage divider.

As the ground is completely humid, the resistance between the ends of the two screws tends to zero, so the voltage is all across the input of the microcontroller to which you will attach the sensor.

Build the Circuit

20191111_215408.jpg

Simply connect the two cables to the screws and weld the resistance, it's very simple!

Done!

20191111_215408.jpg
20191111_215416.jpg

Now you have built your new soil moisture sensor at a very low price!