Thanks.dmsuse wrote:A neat little project you have, I have plans for something similar in the future.
I wouldn't bother with python; unless you are interested in learning it. The best and simplest thing you can use for this project is bash script.
it is as simple as putting in a relay between the wires on your sprinkler, connect it to the pi and having a bash script turn it on.. the weather forecast (to not work when rain is on the way) would also be possible to do with bash, so too the web control should be pretty easy.
The only thing I am unsure about is the rain sensor.
Hacking in parts from an existing controller is an interesting idea, but until I have a finished, working product, I'm not going anywhere near my existing controllerfrankSoCal wrote:I am working on a similar project too. I'm an IT guy therefore I do not know electronics too well however I took apart a four station timer and noticed it had two circuit boards, a timer/clock and power. both boards are connected with two ribbon cables, power (3.3v DC) and stations. I am going to try and reuse this power board and its wall wart by increasing the board power output to 5V and connecting the pi to it.
user interface: lighthttpd, php, jquery mobile and sqlite database (I got these installed already).
backend: python daemon to query database and maintain cron jobs to activate stations. cron job will execute a python file with timer delay.
weather conditions: There are several free weather api's
hope this helps
I'm happy to use something already done too. I usually figure that once I start looking into something I've dreamt up, I'll find something someone else has already done - and better than I could do. Thanks for the heads-up, I'll at least look into it.fatcinco wrote:I know this is not the same as building it yourself but I currently have OptiRain Open running on my Pi. It connects to an EtherRain controller. I am extremely happy with it. The EtherRain controller is easy to connect to with their web service but OptiRain was so complete, I just moved on to the next project.
I used a simple half-wave rectifier + MC34063 switching regulator to step 24VAC down to 5VDC. MC34063 can be noisy, but is quite a bit cheaper than LM2596. On the other hand, I think LM2596 is more robust and can sustain impulse high voltages.abishur wrote:So how did y'all end up going from 24V down to 5V? I had the joy of also having AC solenoids on my sprinklers so I had to go from AC to DC then step it all down to 5V
In the end I've put a LM2596 circuit together, I haven't gotten the opportunity to test it out yet (my smallest drill bit is too large), but it should do a nice job of stepping down the voltage without producing too much excess heat.
Users browsing this forum: No registered users and 27 guests