Soil Moisture Sensor Using Arduino
Soil Moisture Sensor Using Arduino
Source: Circuitdigest
SOIL MOISTURE SENSOR - PINOUT
VCC: is the power supply pin of the soil moisture
sensor that can be connected to 3.3V or 5V of the
supply.
Source: Circuitdigest
SOIL MOISTURE SENSOR - PARTS
The entire soil humidity sensor consists of two
parts: the first one is the soil moisture sensor
probe and the second one is an electronic module.
The module processes the incoming data from the
probe and that gets processed by a
microcontroller like Arduino and we get the final
output.
Source: Circuitdigest
WORKING
The above GIF working of Soil Moisture sensor shows how the analog output of the sensor changes
based on the water level in the soil. As you can see, the voltage drops from 5V to 0V when water is added
to the soil. You can also see that the signal LED on the board turns on when water is added to the soil. We
have not shown how the digital pin works in the above GIF to keep things simple. When water is added to
soil the digital pin moves from low (0V) to high (5V) with the help of on board comparator op-amp, you
can control the sensitivity of this digital pin using the potentiometer (blue) on the module.
Source: Circuitdigest
SOIL MOISTURE SENSOR ARDUINO CIRCUIT
Now that we have a complete understanding of how a Soil Moisture sensor works, we can connect all the
required wires to the Arduino UNO board.
As shown in the above arduino soil moisture sensor circuit diagram we have connected an LED to digital
PIN 6 of the Arduino and the analog out pin of the sensor is connected to the A0 pin of the Arduino UNO
board, finally, the ground is common between the LED and the sensor. We will program the Arduino so
that the brightness of the LED will change depending on the soil moisture data sensed by the probe.
Source: Circuitdigest
ARDUINO SOIL MOISTURE SENSOR
CONNECTION
Connecting a soil moisture sensor to Arduino or any other microcontroller is pretty simple. As we all
know the sensor outputs both analog and digital signals so processing this signal is very easy.
Source: Circuitdigest
ARDUINO SOIL MOISTURE SENSOR
CONNECTION
the Soil Moisture Sensor in working. At first, you can see the intensity of the LED on the breadboard is
low but when a little bit of water is added to the pot, the intensity of the LED increases, and with that, the
onboard led of the module also lights up.
Source: Circuitdigest
THANK YOU!!
Full Tutorial:
https://circuitdigest.com/microcontroller-projects/interfacing-soil-moisture-sensor-with-arduino-uno
Source: Circuitdigest