Professional Documents
Culture Documents
by The_Technocrat
//www.youtube.com/embed/KWts8QZKIJw
Arduino UNO is the brain of this system and all the
sensors and display devices are controlled by it.
* Speaker * PCB
1 1
1 1
5 4 2
7
6 3
1. LED 1. Speaker
2. BC 547 NPN TRANSISTOR
3. 1N4007 DIODE
4. Terminal Strip
5. Potentiometer(10K)
6. Relay
7. Screw Terminals
8. Resistors
1. PCB
The value of this sensor varies from 0- 1023. 0 being 2) If the water is available, the Pump is turned ON
most wet condition and 1023 being very dry condition. and is automatically turned OFF when sufficient
amount of water is supplied.
The LM35 is a precision integrated-circuit
temperature sensors, whose output voltage is linearly The Pump is Driven by a Relay driver circuit.
proportional to the Celsius temperature. The LM35 is
operates at -55˚ to +120˚C. 3) If the Water is Unavailable, you will be notified with
a sound.
The Water level Switch Contains a Reed-Magnetic
Switch surrounded by a floating magnet. When water The Status of soil( Dry, Moist ,Soggy) , the
is available it Conducts. temperature and the status of Pump is displayed on
the LCD Screen.
The Arduino reads the status of the soil using Soil
Moisture Sensor. If the Soil is DRY it does the
Pleas refer the circuit diagram and build the circuit A0_____________________________SOIL_MOIST
accordingly. URE_SENSOR
6______________________________N/C I have designed the Arduino shield for this project and
all the components like Led, relay, etc are embedded
7______________________________WATER_LEV in the shield itself.
EL_STATUS_LED
You can refer to my video and instructables on how to
8______________________________N/C make a PCB in this link..
9______________________________SPEAKER https://www.instructables.com/id/PCB-ETCHING-TO
NER-...
10_____________________________N/C
11_____________________________LCD-6
//www.youtube.com/embed/oouC2ioivM0
12_____________________________LCD-4
13_____________________________PUMP_STAT
US_LED)_AND_TO_RELAY
The Arduino Code is written by me for the specific 4 Click Upload Botton.
task of Automatic Irrigation.
___________________________________________
This Software is distributed in the hope that it will be _________________________________________
useful but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or The temperature id calculated using the following
FITNESS FOR A PARTICULAR PURPOSE. formula
X = ((Sensor value) * 1023.0)/ 5000
Procedure
Temperature in Celsius =( X/10)
1 Connect the Arduino to your computer.
If you want to change the sensitivity of the sensor for
2 Download the attached code and open it. different soil conditions alter the values of the 3
conditions commented in the Code.
3 Select your COM Port and your Arduino Board
from Tools Option.
1 1
Download
https://www.instructables.com/ORIG/F7E/WT0D/JDF29YVR/F7EWT0DJDF29YVR.ino
…
Please look for the code in step 4. The file name is " automatic_irrigation_system.ino"
Circuit connections are given in step 3.
Any doubts reply .
Thanks.!!
Sir the road is not opening
Great instructable, thank you; sketch uploaded but lcd just flashes every few seconds, any
thoughts?
Ground Arduino to ground
Hey bro.. looking at your content..I feel like you will help me too in mine project ..like you do
always...I m having problem with the codes...our reading output is exactly opposite...if the moisture
khank you :)
Just one question that I wanna raise: Why do we need LM35 ?
lm35 is temperature sensor
the programm is giving redefination void setup() error. please help fast
What is the use of transistor in the circuit will it cause any change without it ?
The reason is you should not exceed the current rating of the micro controller (about 40mA here).
Might cause the micro controller to shut down or damage it.
So a transistor switch is required to operate the relay.
Thank you
what is use of LM35 Temperature sensor
another question where is the water level switch, and where can I get the switch and the pump
from?
U can get the pump from aquarium shop.. or any hardware store..Ask for fountain pump.
I have read your instructables and I really thank you for this great effort.
Just one question that I wanna raise: Why do we need LM393?
Hello,
Lm393 is a op amp comparator. It is used to measure the sensor resistance and output the
proportional voltage (between 0v-5v). This output is fed to analog input of arduino.
"The Soil Moisture Sensor uses capacitance to measure dielectric permittivity of the surrounding
medium. In soil, dielectric permittivity is a function of the water content. The sensor creates a
voltage proportional to the dielectric permittivity, and therefore the water content of the soil."
I am sorry . I mentioned resistance instead of capacitance in other comment.
Thanks.
Just one more thing: so the moisture sensor output is voltage, right???
then can`t send the signal directly to the arduino without using LM393
since Arduino itself has ADC in the analog pins???
Sorry for troubling you ^_^
Thanks.!
Finally ( ^_^) I understood it, thanks man.