This soil moisture sensor is a simple breakout board for measuring the moisture in soil.
The two probes act as a variable resistor. When the soil is dry, the output voltage is higher. It works in two modes:
The digital mode which simply detects the presence of water and outputs a 1 and an analog mode which is more accurate.
Applications of this sensor include Automatic watering systems and more.
Connect VCC and GND pins to your Arduino or any microcontroller you are using and connect pin A0 to an analog pin of your microcontroller.
One disadvantage of using this sensor is that it’s surface gets corroded easily so it is a good idea to put it in “sleep mode” in your code and power it only when you need to make a reading.
Operating Voltage: 3.3v – 5v
Small Size – 1.6cm * 3cm
Dual output mode
Adjustable sensitivity with on board potentiometer on breakout board
Power indicator (Red LED) and Digital output indicator (Green LED)
Uses LM393 comparator
1 VCC – 3.3v – 5v power supply
2 GND – GND of power supply
3 DO – Digital pin of microcontroller