loading
INTRODUCTION & OBJECTIVES:
 
I is a simple system, using Arduino to automate the irrigation and watering of small potted plants or crops.
This system does the control of soil moisture, doing indications via LEDs and in case of dry soil emitting a alarm beep. In case of dry soil it will activate the irrigation system pumping water for watering plants.
The system uses a LCD display to notify all actions that are taking place and a real time clock.
 
 
The Theory (from Wikipedia):
Water content or moisture content is the quantity of water contained in a material, such as soil (called soil moisture), rock, ceramics, fruit, or wood. Water content is used in a wide range of scientific and technical areas, and is expressed as a ratio, which can range from 0 (completely dry) to the value of the materials' porosity at saturation. It can be given on a volumetric or mass (gravimetric) basis.
Volumetric water content, θ, is defined mathematically as:

where  is the volume of water and  is the total volume (that is soil volume + water volume + air space).
Gravimetric water content[1] is expressed by mass (weight) as follows:

where  is the mass of water and  is the bulk mass. The bulk mass is taken as the total mass, except for geotechnical and soil science applications where oven-dried soil (, see the diagram) is conventionally used as .
To convert gravimetric water content to volumetric water, multiply the gravimetric water content by the bulk specific gravity of the material.
In soil mechanics and petroleum engineering, the term water saturation or degree of saturation,  is used, defined as

where  is the porosity and  is the volume of void or pore space. Values of Sw can range from 0 (dry) to 1 (saturated). In reality, Sw never reaches 0 or 1 - these are idealizations for engineering use.
The normalized water content, , (also called effective saturation or ) is a dimensionless value defined by van Genuchten[2] as:

where  is the volumetric water content;  is the residual water content, defined as the water content for which the gradient  becomes zero; and,  is the saturated water content, which is equivalent to porosity, .



Step 1: HARDWARE & MATERIALS

To accomplish this project, you will need:

1 x Arduino UNO MEGA Duemilanove or Teensy 2.0 +
1 x LCD display with I2C communication
1 x RTC module with I2C communication
1 x Relay Module opto-coupled to 250V/10A
2 x Modules "Driver" LM-393 general purpose
1 x Soil Moisture Sensor (Hygrometer) KDQ11
1 x Water Level Sensor (Homemade)
1 x Buzzer piezoelectric
2 x LEDs - 10mm, Green
1 x LED - 10mm, Red
1 x LED - 10mm, Yellow
4 x Resistors 150 Ohm 1/4 W
1 x Water pump for aquarium, with filter system (127 or 220V)
1 x Electric Power Cable, 127/220VAC - 10Amps
1 x Socket 127/220VAC - 10 Amps
Wires and cables for connections and communication

You can purchase the soil moisture sensor and  "Driver" on ebay.
http://www.ebay.com/itm/KDQ11-MOISTURE-SENSOR-KIT-URBAN-GARDEN-TOOL-SOIL-MOISTURE-SENSOR-SCA-1703-/221227848188?pt=LH_DefaultDomain_0&hash=item33823511fc


You can purchase the soil moisture sensor and  "Driver" on ebay.
http://www.ebay.com/itm/1-Channel-5V-Relay-Module-Shield-for-Arduino-uno-1280-2560-ARM-PIC-AVR-DSP-/271117672120?pt=LH_DefaultDomain_0&hash=item3f1fdf5eb8
<p>My first Arduino project, after much messing about I got it right, even added more code to operate a water valve to open when the water tank becomes low.</p>
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code,library and simulation for proteus for me too.. i begging u sir</p><p>my email:<br><br>teknoprinter@hotmail.com<br>as soon as possible sir<br>thanks</p>
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code,library and simulation for proteus for me too.. i begging u sir</p><p>my email:<br><br>muhammadraze26@gmail.com<br>as soon as possible sir<br>thanks</p>
​Hi, sry for disturbing you. Can u gve me simulation circuit for watering system project if u have it. And what software do you prefer to make simulation. Ty!
<p>Hi, sry for disturbing you. Can u gve me simulation circuit for watering <br> system project if u have it. And what software do you prefer to make <br>simulation.</p>
Awesome!<br>Great Job.<br><br>Seems to be a professional system.<br><br>Congratulations.
<p>You should think about making an instructable of your own! That looks awesome! </p>
Hi Marcelo<br>Thanks and thanks to you for the project.<br>Regards<br>Ian
<p>i also made </p><p>such computer</p>
this is a very good project. can you send the code to my email please. I was hoping I could make a project like this. thank you :) <br>scalicdan27@gmail.com
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code,library and simulation for proteus for me too .pls send me a code for my email id plss sbala.bsm2@gmail.com</p>
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code,library and simulation for proteus for me too .pls send me a code for my email id plss</p>
<p>hello sir i am bala.WATERING SYSTEM - INTRODUCTION this project really nice .and i hope can you send code for my email id .eeecreater66@gmail.com (or) sbala.bsm2@gmail.com . please sir send me a code</p>
<p>can i see your code that input to your arduino ?</p>
<p>This needs a little more safety at the AC power circuit. <br><br>Consider adding or at least showing a AC power tripping device. <br>It may simply be an RCA.<br><br> (Those AC voltages and water shouldn't be mixed).</p>
<p>Hi Sir,</p><p>I'm a student, currently working with a project and would like to borrow your watering system code. Can you please send me the code,library and simulation please.</p><p>My email is Timothy.L543@gmail.com</p><p>Thank you</p><p>Many regard </p><p>Tim</p>
Ty so much bigdog. I had completed this project with some changes at the coding. MGBU ?<br><br>Yus/faiz,<br>UiTMPG
<p>hi sir i use your project as my thesis project .i just want to ask if there is something like solenoid valve that is a programable and usually function as open, slightly open and close because usually solenoid valve just open and close. my thesis project is watering system too.. i have 3 hose/water way with different flow of water ill add an android app to remote the 3 nozzle with the flow of the water in each hose i have studied that not all plants have the same volume in watering it thats why my prof recommends me to adjust the open of the nozzle. in a different way.. i put a sprinkler in the end of the nozzle. for example i set the 1 nozzle in the flower (android app remote/control through bluetooth) w/c not required to many water.. i just need to mist it.. thats why im asking if there is other devices or peripherals that is just like solenoid valve</p>
<p>Hi , i am doing this for my fyp project ,in need of help now. I hope you can send the codes,libaries so i can take it for reference to help me further progress on my project</p><p>Here is my email:</p><p>yingjia_dragon@hotmail.com</p>
<p>Hi Sir.</p><p>Please send me the code and libraries of watering system project.</p><p>My e-mail : worakorn_sj@hotmail.com</p><p>Thank you so much.</p>
<p>hello sir</p><p>can you kindly send me the source code for WATERING SYSTEM at vishalsaini72@gmail.com</p><p>thank you</p>
Hi sir, this is great. i love it. I am interested with your project. I will do this as my final project. Can I have a copy of the codes and libraries? <br><br>my email<br>charlenezaide@gmail.com<br><br>thanks sir.
<p>Outstanding! With the extended drought here in California this would help. Please send me the code and details. Thanks!</p>
<p>hi ,</p><p>Im a student,im interesed with your system, and i would like to build a system just like yours, can i have a copy of your codes. please..</p><p>My email add is abapotata@gmail.com</p><p>Thank you</p>
<p>javierballestero@outlook.com</p><p>I love it, it would be possible to lend me the code? </p><p>I use LCD u8glib and rtc3231 like clockwork, but part of the relay must be similar.</p><p>thanks</p>
<p>hallo sir,</p><p>your project really interested for me,</p><p>could u give me the details of this project, please?</p><p>I need to update the system in my garden</p><p>mail me : alazis.bayu@gmail.com</p><p>tks</p>
<p>HI. sir</p><p>please mail me the project details and code.</p><p>my email : alaouiosft@gmail.com</p><p>thank you so much sir</p>
<p>HI. sir ....please mail me the project details and code.my email...</p><p>thank you so much sir</p><p>ghelvacioglu@hotmail.com</p>
Hi,<br><br>I sent the code and libraries for you. Check your email inbox, please.<br><br><br>Best Regards<br><br>Marcelo Moraes <br>arduinobymyself.blogspot.com.br <br>arduinobymyself@gmail.com<br>Skype: marcelo.moraes<br>
<p>Hi </p><p>I'm working on this build, could you send me the code. Thanks</p><p>karasinski00@gmail.com</p>
<p>Hi, congratulations, is a incredible proyect !...Can you send the code with the RTC, !</p><p>pitifully i have only LCD Nokia 5010.</p><p>bioenergiachile@gmail.com</p><p>Jos&eacute;</p>
<p>its setimsted cost ?</p>
<p>Hi,</p><p>I really like and intresting with your project and I would like to build something similar to it for my project.</p><p>can you send the libraries and codes to me</p><p>My email address is furiel.pavol@gmail.com</p><p>Thank you</p>
i want to build it for my moms garden. thanks for uploading this!
<p>final year project</p><p>i hope can u send me the code,library and simulation for proteus for me too.. i begging u sir</p><p>my email:<br><br>muhammadraze26@gmail.com<br>as soon as possible sir<br>thanks</p>
<p>I HAD COMPLETED THIS AS MY COLLEGE PROJECT AND IT IS PROPERLY WORKING WITH SOME CHANGES IN THE CODES WITH NEW FUNCTION .</p><p>THNAKZZ TO BIGDOG1971 imeggy for their support </p>
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code adruinp,library and simulation for proteus for me too.. i begging u sir</p><p>my email:<br><br>muhammadraze26@gmail.com<br>as soon as possible sir<br>thanks</p>
<p>My plant (Walter) is now safe.</p>
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code adruino,library and simulation for proteus for me too.. i begging u sir</p><p>my email:<br><br>muhammadraze26@gmail.com<br>as soon as possible sir<br>thanks</p>
<p>Hi man,<br>did you use a relay or nn?</p>
<p>Hi,</p><p>Yes I used a relay to start the pump. The Arduino is not capable of delivering the current the motor needs.</p>
I want to make ....wow..!!!!
<p>sir, ur project really nice. i'll make for my tiny garden too. i hope can u send me the code,library and simulation..</p><p>my email:<br>nazirulwmkl@gmail.com<br>as soon as possible sir<br>thanks</p>
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code,library and simulation for proteus for me too.. i begging u sir</p><p>my email:<br><br>muhammadraze26@gmail.com<br>as soon as possible sir<br>thanks</p>
<p>sir, the project really nice. i'll make for my tiny garden too. i hope can u send me the code &amp; librari for me too.. i begging u sir</p><p>my email:<br><br>muhammadraze26@gmail.com<br><br>thanks</p><p>as soon as possible</p>
Sir can u please mail me the libraries and code if posssible..<br>darylgeorge007@gmail.com<br>My id...<br>I need it for my college project.....asap....plz sir i tried doing it but i get the library errors .....can u pleases forward me the library nd codes .....thank you..!!<br>
<p>Please send me complete circuit diagram sir in pcb....</p>
Hello, I plan on building something similar to this only with wifi data loggers, but could you please send me the code you used? <br>gavinvenable@gmail.com

About This Instructable

102,249 views

332 favorites

License:

Bio: I am 43 years old and I live in Brazil. I am a Telecommunication / Electronics Engineer. Sixteen years acting in the industry of "Telecommunication and ... More »
More by BIGDOG1971: ARDUINO By Myself Mini-CNC (Plotter) ROVER Bot - The Arduino Bluetooth Controlled Tank WATERING SYSTEM - INTRODUCTION
Add instructable to: