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

Step 2: COMPONENTS

In the Pictures you have an overview of the components used.

Data from the soil moisture sensor set:
When the soil is dry, the impedance will be high and the LM-393 will show a high value on the output.
When the soil is wet, it will show a low value in the output.
The 3 LEDs range can be defined as:
- Soggy soil -  moisture between 0 and 500;
- Wet soil - moisture between 500 and 800;
- Dry soil - moisture between 800-1023;
The module has one digital output and an analog output. (in the project, should be used to analog output)

The water level sensor:
This sensor must be made (homemade) on phenolite board, with spacings of 1 mm between trails and trails with 1 mm of thickness.


Step 3: INTERCONNECTION & DIAGRAM:

Below you have:
1 - a block diagram;
2 - an interconnection diagram (in manuscript);
3 - a wiring diagram;
4 – usability principles

These diagrams are describing the main system interconnections.

You can get the original of this file by accessing the "GOOGLE driver" below:

https://docs.google.com/file/d/0B_YlEklLDDS7SllRMzUyQlhHVDg/edit?usp=sharing

https://docs.google.com/file/d/0B_YlEklLDDS7RkNMZko2ckhLcUU/edit?usp=sharing

https://docs.google.com/file/d/0B_YlEklLDDS7Ym52UE1qcGlqQVE/edit?usp=sharing

https://docs.google.com/file/d/0B_YlEklLDDS7Z3hZY3pNZ0NWZG8/edit?usp=sharing

*********************************************************************************************************************************************
*********************************************************************************************************************************************
Please, fix an error in your "interconnection diagram (in manuscript)" diagram:
The level sensor must be connected to pin A0 of Arduino and the soil moisture sensor must be connected to pin A1 of arduino.
*********************************************************************************************************************************************
*********************************************************************************************************************************************

Description of the main connections:
RTC <-> Arduino:
GND <-> GND
+5 V <-> +5 V
SDA <-> A4
SCL <-> A5

Relay <-> Arduino:
GND <-> GND
+5 V <-> +5 V
IN <-> D7

LCD <-> Arduino:
GND <-> GND
+5 V <-> +5 V
SDA <-> A4
SCL <-> A5

BUZZER <-> Arduino:
+ <-> D2
- <-> GND

LM-393 DRIVER (moisture sensor) <-> Arduino
GND <-> GND
+5 V <-> +5 V
OUT <-> A1

LM-393 DRIVER (water sensor level) <-> Arduino
GND <-> GND
+5 V <-> +5 V
OUT <-> A0

Other Components <-> Function <-> Arduino
Red LED <-> Dry soil <-> D5
Yellow LED <-> Soggy soil <-> D3
Green LED <-> Moist soil <-> D4
Green LED <-> Water Pump <-> D6


Step 4: SOFTWARE & PROGRAMMING:

You can download freely the code for this project in the "GOOGLE driver":
https://docs.google.com/file/d/0B_YlEklLDDS7T3JFX...

Or on the GitHub:

Arduino Watering System Files


Any problems, questions and suggestions, please send an email to:

arduinobymyself@gmail.com

Step 5: TESTS & ADJUSTMENTS

Below is a picture with an example of how the system works and how the tests should be performed.
Logically, as the system has an hour  pre set to operate, you can change the time via software for the time you will do the tests, and after you can adjust the operational "time".

Step 6: VIDEOS & PHOTOS:

Questions and suggestions send to: arduinobymyself@gmail.com


Part 1:

http://youtu.be/_jcDxYK33ew

Part 3:

http://youtu.be/Czvxi1r21Zc



<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, your project was awesome. I hope you can send me the code to my email alexlimhanjet@gmail.com ,i would like to have a try . Thank you very much!</p>
Nice project. Please teach me
Can i get your code sir. Pls help me sie sir...kunalganesan17@gmail.com pls send to here
<p>Good day sir ,can i please have the code for your awesome project. i love your project and the system looks very good . my email is franch4u@hotmail.com</p>
<p>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>ewann94@gmail.com<br>as soon as possible sir<br>thanks</p>
<p>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>hazlin2802@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>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>Any one tried to make watering system with public supply water flow type? I mean where you need valves to stop or start water flow? If anyone building similiar Project, can free to contact me at milukasm@gmail.com</p>
<p>Sir pls sent how to programm this micro controller and pls sent the code to email </p><div>zitosan@live.com</div><div><p>Thank you very much!</p></div>
Awesome!<br><br>Seems to be a professional system.<br>Tyvm for sharing, and so detail.
Schematic diagram please
<p>Please sent code to my e-mail : iamraungkhow@hotmail.com</p>
Sir great project. Please help me sir. My email pejal333@gmail.com. Much help
<p>bonjour</p><p>pourriez vous m'envoyer votre projet par email en pdf &agrave; hohm.michel@hotmail.fr</p><p>merci bonne journ&eacute;e</p>
Is this an automatic one? <br>
<p>I dont have power suply on my balkony so I would like use solar powered arduino and pump. Similar to this http://shop.irrigatia.com/index.php?route=module/productbundles/listing Can anyone help me with this projekt ? TY</p>
Sir pls sent how to programm this micro controller and pls sent the code to email <br>aliaspeter6@gmail.com
<p>take a look of this board <a href="http://www.arduiot.com/u1" rel="nofollow">www.arduIoT.com/u1</a></p><p>It will help for a project like this</p><p>bravo for what you made!</p>
<p>take a look of this board <a href="http://www.arduIoT.com/u1" rel="nofollow"> www.arduIoT.com/u1</a></p><p>It will help for a project like this</p>
<p>hello, greate job</p><p>can u send me the code,library and simulation too?</p><p>thx</p><p><a rel="nofollow">your.engineer@yandex.ru</a></p>
<p>hello</p><p>thx for greate job</p><p>Can you please<br> send me the code and libraries for me too</p><p><a rel="nofollow">your.engineer@yandex.ru</a></p>
Hi your project is very nice!<br>please send me code and libraries of project<br>Thanks!<br>email:vheh491066@gmail.com
<p>Could you send me the code for this?</p><p>marcus.bonassi@gmail.com</p><p>Best regards</p>
<p>can i ask for the codes of this projec?</p><p>email: renz_nangkil@yahoo.com</p>
<p>Hello All...</p><p> Please send me the code and libraries of watering system project.</p><p> Thank you so much.</p><p> E-mail : chaloemthoi0134@gmail.com</p>
<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>can u please send me the code and library since it was showing error..my email sainkupar.sawian@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 adruinp,library and simulation for proteus for me too.. i begging u sir</p><p>my email:<br><br>hazlin2802@gmail.com<br>as soon as possible sir<br>thanks</p>
<p>It seems to be nice !</p><p>Could i have the code and the libraries please ;</p><p>my e-mail is:</p><p>alatmos@gmail.com </p>
<p>It seems to be nice !</p><p>Could i have the code and the libraries please ;</p><p>my e-mail is:</p><p>alatmos@gmail.com </p>
<p>hello....in my watering system project...i have a problem regarding to the lcd display come out weird character when i connect ac source water pump into the cct arduino...</p><p>what is the problem actually???</p><p>hope u can help me....plesaseeeee...</p>
<p>Sir ,<br><br>im intrested in your arduino project &quot;WATERING SYSTEM - INTRODUCTION&quot;<br><br>while executing the code provided in the project shows an error.<br><br>,I'm currently working on a similar project for my final year at<br><br>college ,can you help me to complete the task by sending the code and<br><br>libraries details for me.<br><br>Also i hope the technical assistance from your side.<br><br><br><br>yours sincerely<br><br><br><br>Naseemsha N</p>
<p>Hi,</p><p>can you please give me the schematic Proteus file of this project?</p><p>umerhashmi2013@gmail,com</p>
<p>Hello....i'm beginning learn about the arduino....can someone sent email to emil on this project....i'm interested to made it...</p><p>ikh22@yahoo.com....</p><p>thank you u all..</p>
<p>Hello All,</p><p>I am new to Arduino and just purchased Uno last week. I am interested in the watering project. Can you please email me the code and any documentation for Arduino Uno to my email please?</p><p>Kumar</p><p><a href="mailto:home.santhosh@gmail.com" rel="nofollow">home.santhosh@gmail.com</a></p><p>Appreciate.</p>
<p>Hi Sir.</p><p>Please send me the code and libraries of watering system project.</p><p>My e-mail : amalal.elal@gmail.com</p><p>Thank you so much.</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 ,thank you for being a positive inspiring person ,I'm currently working on a similar project for my final year at college ,can yo please send me the code and libraries details for me too.. </p><p>thank you very much </p><p>duhaalazzawi921@gmail.com </p>
<p>i hope can u send me the code,library and simulation for proteus for me too..</p><p>potlaramu@gmail.com</p>
<p>i hope can u send me the code,library and simulation for proteus for me too..</p><p>potlaramu@gmail.com</p>
<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

About This Instructable

171,168views

462favorites

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 Propeller Message Display (POV) ARDUINO By Myself Mini-CNC (Plotter) ROVER Bot - The Arduino Bluetooth Controlled Tank 
Add instructable to: