A smart sprinkler system for the rest of us... No soldering involved ! Just pile up a couple of shields on top of an arduino and control your sprinkler system from anywhere.
A couple of friends wanted to replicate the sprinkler system presented in this instructable but were scared by the complexity of it.
Well, it truly isn't complicated and it does not even require to solder anything if you pick the right parts... Since I long wanted to make the system more compact, I took the opportunity to make this solder-free arduino instructable. The system is very similar to (exactly the same as?) the previous instructable and just as open (supports scheduling, twitter etc...).
Connecting this arduino to your sprinkler system will allow you to remotely turn your garden watering on and off from any web-enabled device. From there you can make it as fancy or as simple as you wish.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Collect Parts
For this instructable you will need:
- 1 x arduino board
- 1 x ethernet shield (e.g. Ethernet Shield V1.0 for Arduino from http://www.nuelectronics.com )
- 1 x relay shield (http://seeedstudio.com/wiki/Relay_Shield)
- 1 x 10vDC adaptor (a recycled phone charger)
- 1 x momentary push button
You will not need:
- a soldering iron.
Step 2: Put It Together
To put everything together, just follow the pictures, it should be fairly self-explanatory...
The push button is optionnal, it allows you to cycle manually through the sprinklers. Otherwise your only mean of control is the web interface... which is good too !
Step 3: Arduino Sketch
The sketch is very close to the one posted in my original instructable (here)
- The following code turns on the pull-up resistor of the analog input. A good thing to know.
digitalWrite(analogInPin, HIGH); // turn on pull-up resistor
- I added a check on the size of the buffer that holds the page, so you have an indication that bad things happened if the buffer was too small.
- The manual button cycles through the valves (and uses A0,A1,A2 for convenience reasons).
- The web interface can turn on/off any combination of valves.
- The valves are turned off automagically after 60 minutes (can be modified, time in seconds, 0 disables the functionality).
- Up to 4 valves can be controlled.
- Startup logic as been added to prevent spurious turn on.
Step 4: Voila ?
Everything else is covered in my previous instructable (here).
- connect the valves.
- use the web interface.
- make the system wireless.
- (optional) scripting.