Simple Soil Moisture Detector Circuit


BySaddam 5

Simple Soil Moisture Detector Circuit

In this project, we are going to build a Transistor Based Simple Soil Moisture Detector Circuit. In this circuit, we have used an NPN transistor to detect soil moisture. This is very simple and interesting circuit for electronics lovers. This Soil moisture sensor circuit can be used in many applications like Automatic plant irrigation system, Greenhouse projects etc.


Components Required:

  1. BC547 transistor
  2. Buzzer
  3. Bread Board 
  4. 1k Resistor (4) 
  5. 50k POT
  6. LED
  7. Jumper wire
  8. 9V battery or supply
  9. LM7805 Voltage Regulator
  10. Soil Moisture Probe


Circuit Diagram:

Circuit Diagram of Soil Moisture Sensor Circuit is given below:

Simple Soil Moisture Detector Circuit diagram

Simple Soil Moisture Detector Circuit hardware implementation


Working Explanation:

This Soil Moisture Detector Circuit is very simple. Here we have used a soil moisture detector probe to sense the moisture in the soil and an NPN transistor to trigger the Buzzer and LED. This soil moisture detector probe is homemade and built using general purpose PCB (Perf board). Buzzer and LED are used as an indication of soil moisture detection.


Working on this circuit is straightforward and clearly understandable. Here we have connected one wire of probe directly to VCC and another probe to the base of the transistor Q1 and 50k potentiometer RV1 is used for adjusting the sensitivity of the circuit. Now when there is no moisture in soil then probes does not allow 7805 to supply any voltage to the base of transistor Q1 so the LED and Buzzer remain turned off. Now, whenever both probes will come in contact with soil moisture or water then both the probe gets shorted because water/moisture is the conductor of current. And when probes get shorted then the base of the transistor gets connected to the output of 7805 IC.

Simple Soil Moisture Detector Circuit working

As we know when we apply some voltage to the base of an NPN Transistor it gets turn on and allow current to pass through the collector to emitter. And as soon as transistor turns on it will trigger the Buzzer and LED. The buzzer will beep until probes detect soil moisture.

An LM7805 voltage regulator is used for limiting the input voltage to 5v. We have used 9v battery to supply power to this circuit.

The complete working of this circuit is shown in the Video below.


Get Our Weekly Newsletter!

Subscribe below to receive most popular news, articles and DIY projects from Circuit Digest


  • Eli Livezey's picture
    Eli Livezey
    Jan 08, 2018

    Is there a way one could measure the resistance to get a value? this would be useful to set variable thresholds for automatic watering systems.

  • Aswinth Raj's picture
    Aswinth Raj
    Jan 09, 2018

    Yes you should be able to do it with a normal multimeter. For more accurate value measure the current and voltage drop and use ohms law to find the value of R

  • Nesor's picture
    Apr 03, 2018

    What if I don't have a voltage regulator? Would the circuit break?

  • Snehan's picture
    Jun 06, 2018

    Not really. You should not have any problem as long as you don't exceed the current or voltage ratings of led and buzzer.

Log in or register to post Comment