UPDATE 02/13/11 : Voting has started for the Sparkfun Microcontroller Contest. Please VOTE for me!
UPDATE 02/26/11 : I won a second prize!! Huzzah! Thanks for all the votes guys!
UPDATE 03/17/11: I would love to win a Laser cutter in the Epilog challenge as it would help the small DIY community in Calcutta, which just started a few months back to cut all their materials using a CNC instead of using their saws etc.
Irrigating crops with the exactly right amount of water is a tedious task, especially when you have to walk a long distance to the irrigation pump in the middle of the night to check whether any problem (fish getting stuck in the intake and as a result the irrigation motor burning or jamming!) has occured. As I saw my uncles tired of doing the same, I felt there had to be some remote controlled solution to their problems.
I started to think about a system, which would:
1. Detect jamming of the motor and immediately shut it down.
2. Be cost effective.(Less than $150)
3. Remotely turn on and off the irrigation motor.
4. Send back a message to the operator, if an error occured.
And thus came the brainstorm to build the "SMS controlled Wireless Irrigation System" . I also wanted to submit this to the Sparkfun Microcontroller Contest , so it was all the more reason for me to go straight to building the prototype.
The prototype could do the following:
1. Be remotely controlled via SMSs through a cellular GSM network.
2. Send back ERROR messages to the operator, if the Miniature Circuit Breaker (MCB) was tripped due to electrical faults or motor jamming.
3. Control loads of up to 15 amps.
The fruits of my work is detailed in this ible.
P.S I suggest that you read through the entire Instructable before starting.
Remove these ads by
Signing UpStep 1: Getting the Materials
Parts List:
Hardware Parts:
1. 1x cheap/old/used GSM mobile phone with SMS feature(with charger)
2. 1x Activated GSM SIM/micro-SIM card of your preffered provider
3. 1x Miniature Circuit Breakers
4. 1x 120v/240v(choose for your country) 30 Amp Relays
5. 1x Atmega 168/328p or an Arduino (OR any other micro with which you are friendly)
6. 1x 9v Power Supply for the Arduino/Atmega etc.
7. 1x Universal charger if you don't have a phone charger
8. 1x High-Gain external antenna(optional)
9. Wires (240v/120v FIRE-PROOF wires) and some scraps for the circuit-board
10. 2x 240v terminal blocks
11. 4x spade connectors(for the relays)
12. 3x terminal blocks
13. A enclosure(to encase the electronics) like http://www.pactecenclosures.com/product-detail.php?classid=35&seriesid=38&productid=231
Electronics Parts:
1. 10x 1N4001 diodes
2. 4x 2n2222 transistors
3. 2x TIP31 transistors
4. 3x TIP102 transistors
5. 10x 1K resistors
6. 2x Miniature Push Switches
6. 1x Perfboard (not if you make a PCB)
7. 1x Pack of Misc. LEDs(small size)
8. 5x relays with 5v coil
Tools Needed:
Multimeter
Soldering Iron
Screw Driver
Drill (with drill bits)
Sander ;) see (http://www.instructables.com/id/Recycled-HDD-Rotary-Sander-for-5/)




















































Visit Our Store »
Go Pro Today »




Some constructive comments for your project:
1.) A proper circuit diagram as well as a photo diagram, for those that can read them.
2.) When wiring a plug top, make SURE that the Earth wire is LONGER than the others, so the last wire to snap, if you jerk it is always the Earth.
3.) TO detect the MCB trip, use an opto isolator to measure the voltage across the motor. If you want to know how, ask me. Its still a pretty cheap solution, but definitely more reliable in the field.
4.) You can reliably detect the phone ring, without opening it by using the earphone and a simple detector circuit.
5.) Sony-Ericsson phones for sure (don't know about Nokia) put out logic-level serial comms on their "USB" connections depending on what's connected to them - so you could talk directly to the phone, if you want for future credits.....
As for the proper circuit diagram, I din't manage time to upload one. I will upload it after my exams are over.
Would it be possible to have all messages received by the remote device also sent to the operator's cell phone? In that way the operator would be alerted in case someone attempts to hack into the system. It might also be possible to use custom identification like unique rings for messages from the operator and ignore all others.
Nice ideas. Added them to the last step.
PM me if you need any more help/instrutions.
so i was thinking if u could e-mail me the code, so will try to learn and my project too. pls reply soon
thanks
The older ones, most notably the 168i, could be operated via its headphone jack using simple AT commands.
Lets hope it is possible in modern phones.
Kabir
It helps to have a prying tool. I hade to use some force before i could open the clips.
A good place to start prying is the battery charging port on the side.
Hope you are making one of these!
Kabir
Well done.
Steve
It will be very useful to rural India if you can find a sponsor to make it and market it at an affordable price.
congratulations.
Great work!
Please post pictures if you get around to doing this.
Also, I'm thinking of developing a hichhiking system that is similar to a ride share board except it would work in real-time on smartphones or maybe a dedicated device. It would be a quick and easy way of asking all of my neighbors for a ride into town or for them to offer a ride. I can't program very well at all so I need lots of help if this idea is going to fly.
I can explain the idea in more detail if you are interested in helping.
This system is very impressive man
Great job
That must have been a lot of work to figure this all out
Congrats
Erik
I think there's a way to communicate directly between phone and arduino but am to lazy to find it.
Nice project.