rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

question #57

Closed toshibochan closed 7 years ago

toshibochan commented 8 years ago

this need special board to connect to the PI or just any relay? if is just relay how i chose what pin to use? thanks

nhorvath commented 8 years ago

My fork has an example board in it. I've been using without issue for about 5 years now.

https://github.com/nhorvath/sprinklers_pi/tree/master/hardware/Sprinkler%20Controller

On Sun, Apr 10, 2016 at 2:41 PM, toshibochan notifications@github.com wrote:

this need special board to connect to the PI or just any relay? if is just relay how i chose what pin to use? thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/57

toshibochan commented 8 years ago

thanks nhorvath but I'm not expert on electronics or coding lol. i just start using raspberry pi for 2 month now for first time. i find another link but i try to install and no work lol.https://github.com/mrsharpoblunto/it-gets-the-hose-again

tony-osp commented 8 years ago

Standard Sprkinklers_pi assumes OpenSprinkler-style serial connection. The easiest option is to buy extender board from OpenSprinkler: https://opensprinkler.com/product/zone-expander/, it will give you 16 channels for $52.

In my home setup I'm using relay outputs (both parallel and serial hookup), but my version of the software is very different from Sprinklers_pi.

toshibochan commented 8 years ago

you have github link for your code?

tony-osp commented 8 years ago

Here is it: https://github.com/tony-osp/SmartGarden

But it is totally different system, it uses multiple RF-connected stations to control zones and sensors data collection.

claytonzo commented 8 years ago

toshibochan, My setup is using a simple relay board directly connected to my Pi. Since sprinklers_pi uses the wiringpi library, you'll want to refer to that pinout page:

http://wiringpi.com/pins/

Here's what I'm using for a 6 zone setup: Pi - Relay Board pin 2 - VCC +5 pin 9 - GND pin 12 - Relay 1 pin 13 - Relay 2 pin 15 - Relay 3 pin 16 - Relay 4 pin 18 - Relay 5 pin 22 - Relay 6

Don't forget to set the Settings->Output to Direct Negative. Good luck!

toshibochan commented 8 years ago

Thanks claytonzo! I will try this weekend! Today I make my account in wunderground website and have API key, but what is wunderground IP and PWS ID?

claytonzo commented 8 years ago

I used 38.102.136.138 as the IP. I didn't use a PWS and instead used my zip code. Once you enter it all in, go to Advanced->WUnderground Diagnostics and it should populate all of the fields with the current weather information.