This automatic plant watering circuit can be used for automatically sensing soil humidity and triggering a water pump when the ground gets parched below a predetermined level (adjustable).
Circuit Operation
The circuit is rather straightforward and uses a single IC 555 as the main active component.Referring to the automatic plant irrigation circuit shown below we can see the IC 555 is wired in a completely unique and in the quickest possible mode.
Here it's configured as a comparator, and works better than an opamp because the IC 555 has built in opamps which are at par with any single opamp and also the output of a 555 IC is able to sink sufficient current in order to drive a relay without a transistor driver stage.
The above features particularly makes the above design very simple, low cost and yet too effective with its functions.
The pin#2 here becomes the sensing pinout of the IC, and is held at ground level via R2 which must be calculated as per the desired soil humidity triggering threshold.
The points A and B can be seen fixed inside the soil which needs to be monitored for the intended automatic watering from the water pump.
As long as the points A and B senses some level of humidity corresponding to a resistance value which may be lower than R2, the IC 555 output is held low, which in turn keeps the relay deactivated.
However as the soil tends to get dryer, the resistance across the probes starts getting higher and at some moment of time it becomes higher than R2, creating a potential below 1/3rd supply voltage at pin#2 of IC555.
The above situation instantly prompts pin#3 of the IC to become high, triggering the connected relay.
The relay activation switches ON the water pump which now starts pumping water to the particular area of the soil via a distributing water channel.
As this happen, the soil gradually gets wetter and as soon as the predetermined level is reached, the probes immediately sense the lower resistance and revert the IC ouput pin#3 to a low again switching OFF the relay and the water pump consequently.
C1 ensures a slight hysteresis in the operations ensuring that the relay triggering is not sudden or abrupt, rather it switches only after sensing a genuine response from the soil conditions.
Circuit Diagram
The above explained automatic plant irrigation circuit was successfully built and tested by Mr. Ajay Dussa.
The following images show the prototype unit and the PCB design built by Mr. Ajay.
PCB Design
FOR A 741 OP AMP BASED CIRCUIT, YOU CAN REFER TO THIS ARTICLE.
Parts List
All resistors are 1/4 watt 5% CFR
- R1 = 10K
- R3 = 2M2
- R4 = 100K
- R2 = 1M preset or cermet
- C1 = 1uF/25V optional for creating delay effect on the relay
- Relay = 12V, 400 ohm SPDT
- Supply input = 12V/500mA DC
Another version of the PCB design is shown below. It was designed an contributed by: Alireza Ghasemi
Soil Moisture Sensor with Automatic Water Sprayer
The next article explains a 10 stage soil moisture sensor circuit with an integrated automatic water sprayer mechanism for restoring the critical condition of the soil. The idea was requested by Mr. Remy.
Technical Specifications
I come today asking for help making an automatic watering circuit to water my tomatoes for me.
I am requesting the use of a soil moisture sensor (cheap eBay style) to sense the moisture of the soil.
Then the moisture value is compared to a set value from a potentiometer maybe. If level is too low then a relay is turned on for a settable amount of time. After a shower the soil is measured again.
Rise repeat.
The ability to daisy chain many together would be a great help.
For wow factor I was thinking that having a few(3) leds light up as a scale to indicate the current moisture level would work well. Thank you for your time and experience.
I have learned much from you and hope to add this to my knowledge.
Remy
Circuit Diagram
The Design
Referring to the given schematic we see a simple yet highly accurate soil moisture sensor circuit with an automatic preset water shower system for restoring the soil moisture level to optimum points.
The design is based on a single voltage sensor/LED driver IC LM3914 or a LM3915. The shown sensor pins which are basically two brass rods are configured as voltage sensors across the critical soil area where it may be inserted.
The voltage across these pins depend upon the level of moisture present across that particular soil area. This sensed voltage proportionate to the soil moisture level is applied across pin5 of the IC for the required comparison with an in-built reference voltage level.
The threshold level at which the shower pump is supposed to be switched ON is set by P1.
Depending upon this setting, the IC internal circuitry senses the soil moisture and produces a shifting sequential low logic across the shown 10 outputs starting from pin1 to pin10.
This sensed output across the relevant IC outputs are indicated by 10 respective LEDs which light up in sequence in response to the rising or depleting soil moisture levels.
Selecting Bar Mode and Dot Mode
The LED illumination sequencing style could be selected to simulate a bar mode or a dot mode by appropriately positioning the pin9 switch of the IC to either ON or OFF.
The stage comprising BC547 and BC557 constitute the relay driver stage for controlling the motor pump switching as per the user preference.
The base of the PNP transistor is appropriately integrated with any of the output pins of the IC depending at what moisture threshold the user wants the motor to be started or stopped.
For example suppose pin15 determines a particular moisture threshold level of the soil and the user feels it to be the unsafe level at which the motor needs to be started in order to restore the soil moisture, then this pinout could be chosen and hooked up with the base of the BC557 transistor for the discussed motor switching.
Once the motor is switched ON the soil is showered until its moisture level is restored to the desired level and this prompts the IC to revert its sequence from pin15 to pin14 and toward pin10, switching OFF the motor and the shower.
The above process keeps repeating making sure that the soil moisture level never goes down below the undesired parched condition.
Simple Transistorized Soil Watering System
Here's another automatic soil watering system that you can build. Its working mode is mainly the nonstop checking of soil moisture, and then responding to a drop beneath a preadjusted degree to set off the plant watering action. This design consists of a straightforward trigger circuit, that switches ON the relay RL for a degree of moisture in the soil and its conductivity which may be beneath the fixed level as adjusted by the 5 k preset.
The conductivity inside the soil or mud is detected through a pair of probes coupled to the terminals as indicated in the diagram. The idea really is easy and very reliable, and will can work by using any supply voltage between 6 and 12 volts or even more, only if the supply voltage is perfectly compatible with the working voltage spec of the relay.
The relay contacts can be appropriately wired with a water pump or a water sprayer device for initiating the required automatic watering of the plant, each time a dry soil is detected and the relay is switched ON.
Using Water Control Valve
In the circuit below, whenever the amount of soil moisture exceeds a certain threshold, an electric water valve is shut off. One of the probes is attached to a positive 12-volt supply, while the other probe is hooked to the base of Q1.
The sensitivity is adjusted using resistor R4.
Once the moisture level falls below the predetermined level, Q1 switches off and Q2 switches on, turning ON the relay and supplying power to the water valve.
The water valve begins pouring water into the soil. When this happens the resistance between the two probes starts reducing as the amount of moisture around the probes rises.
Eventually significant current starts passing into the base of Q1 to switch it on and switch off Q2. As a result the relay turns off and the valve loses power. This instantly stops any further flow of water into the soil.
Corrosion Free Automatic Plant Watering Circuit
If the probes are not constructed from high-quality materials, electrolysis may happen and eventually impact how the circuit functions. Cleaning the probes frequently or using a circuit that uses an AC voltage on the probes are two solutions toward this issue.
The diagram above displays an AC probe automatic plant watering valve control circuit with corrosion free probes. A 12-0-12V center tapped transformer is wired into an AC bridge circuit.
The soil or mud resistance between the probes along with R2 functions as a couple of variable components of the bridge circuit, with each half secondary winding of the transformer operating as one of the two fixed components.
In order to ascertain the magnitude of a component, such as resistance, inductance, or capacitance, an AC bridge circuit typically balances the bridge with the adjustable component and reads the component's magnitude at balance on the scale.
The output would be an AC signal which is 180 degrees out of phase and equivalent in amplitude on each side of balance.
If a typical AC bridge circuit had been employed for the anti-corrosion soil moisture detector, it would simply show when the ground resistance was close to the preset value of R4. The water valve would shut off once the bridge was balanced, but the water would still percolate into the ground, reducing the resistance between the probes.
As a result, the bridge would become unbalanced, reopening the water valve and flooding the plant soil. Not good at all.
The aforementioned circuit solves the issue by evaluating the bridge's output phase to the secondary of T1's "A" side. The relay would be activated and water would start flowing if the probes were first placed in dry soil with resistance values significantly greater than R4's predetermined resistance value.
It is because:
The voltage is provided to the relay via a 1N4007 diode and the LED whenever the "A" secondary winding of T1 changes from negative to positive.
Due to the resistance value of R4 being significantly smaller than the soil resistance, current is supplied via R3 and D1 to the base of Q1, switching it on.
However, at the same time the output at "C" is also starts becoming positive. Due to this Q2 turns on, switching ON the relay and turning on the water valve.
The bridge becomes balanced and the output voltage at "C" is zero as soon as the resistance across the probes reaches the predetermined value specified by R4. Transistors Q1 and Q2 now switch off, turning off the relay and blocking the water flow through the water control valve.
The bridge turns unstable in the opposite direction as the water seeps into the soil, however the relay is never switched ON.
It is because: Current is able to flow into the base of Q1 whenever the "B" secondary winding of T1 is positive, however no collector current is able to flow since the "A" secondary winding's voltage is 180 degrees out of phase and negative. D2 prevents that negative voltage from getting to the relay and transistor circuits.
The water valve won't turn on until the resistance measured across the probes is less than R4's value. To prevent the relay from stuttering, capacitor C1 is used to smooth out the oscillating DC power supply. Whenever the water valve is switched on, the LED flashes.
Have Questions? Please Comment below to Solve your Queries! Comments must be Related to the above Topic!!