Schematic Soil Moisture Sensor Arduino Circuit Diagram

This digital output wet soil l dry soil h is routed to one i o terminal d2 of the arduino microcontroller.
Schematic soil moisture sensor arduino circuit diagram. The soil moisture sensor module built around the lm393 comparator gives an active low l level output when the soil is dry determined by a pre setted threshold value. A 12volt dc water pump is controlled as the soil moisture increases or decreases below a certain pre defined value. Digital mode interfacing arduino and soil moisture sensor. Here is a project of a versatile and very sensitive moisture sensor circuit.
In the previous circuits of moisture sensors like plant soil moisture tester circuit or moisture sensor alarm. This soil moisture sensor circuit can be used in many applications like automatic plant irrigation system greenhouse projects etc. Under the circuit diagram section we have our schematic made with fritzing also underneath that we have the practical test setup. In this project we are going to build a transistor based simple soil moisture detector circuit.
I have given below soil moisture sensor circuit diagram. Working of the sensor head electronics is self explanatory so just follow the conceptual drawing and schematic drawing shown in fig. In this circuit we have used an npn transistor to detect soil moisture. In the schematic from left we have our soil moisture sensor which is connected to a driver board preety much any soil moisture sensor comes with a driver board example soil moisture meter soil humidity sensor.
To connect the soil moisture sensor fc 28 in the digital mode we will connect the digital output of the sensor to the digital pin of the arduino. The sensor module contains a potentiometer with it which is used to set the threshold value. The circuit does not have a current limiting resistor because the base resistor is very high and the current through the transistor is only 2ma. Now lets interface the capacitive soil moisture sensor with oled display arduino and display the analog value or soil moisture value in percentage.
The circuit diagram for this is very simple. Don t change the supply voltage or the 220k as these two values are correct for this circuit. The circuit can be used to detect moisture in any substance like plants soil wood wall floor irrigation areas etc. 1 to proceed with its.
The soil moisture is monitored in real time. We have interfaced the moisture sensor with arduino uno board. When soil is moist the current will start flowing from one terminal to another working as a closed circuit. This is very simple and interesting circuit for electronics lovers.
Soil moisture sensor works on the principle of open and closed circuit. Connect the vcc pin to 3 3v of arduino and gnd to gnd. Capacitive soil moisture sensor arduino in this tutorial you will learn how to use the capacitive soil moisture sensor v1 2 with arduino and display the soil moisture value on a 16 2 i2c lcd module.