Posts: 2
Joined: Thu Nov 07, 2013 11:16 pm

Switching lawn sprinklers on/off

Thu Nov 07, 2013 11:26 pm

Hi folks,

I'm a complete beginner at this - just ordered a Raspberry Pi today.

I have several stations to my various lawn sprinklers and would like, as a first project, to build a sprinkler control system. The problem is that I'm a bit weak on the hardware side of things, so I wanted to see if anyone here could point me to some schematics which will allow me to control a switch ( I'm guessing the raspberry pi can't directly switch the stations as the voltage/current is too high to hook up directly to the board).

Thanks in advance for any help.

Posts: 28
Joined: Thu Sep 19, 2013 10:00 pm

Re: Switching lawn sprinklers on/off

Fri Nov 08, 2013 8:23 am

You need a relay to do this. You can get pre made relay boards from ebay/aliexpress for next to nothing.

http://www.aliexpress.com/item/4-Channe ... 91528.html

You can get boards with 1,2,4,8,16 channels.

Most boards are 5 or 12V. 5V are easier so you can draw current to feed the board from the rpi power source.

I'm just not sure the 3.3V comming from the rpi can trigger a 5V relay.

You could put a level converter between them and it should work. (this converts the 3.3V signal from the rpi to a 5v signal used by the relay board)

e.g.: http://www.aliexpress.com/item/5pcs-lot ... 79593.html

If you wish to use a lot of relays you might want to look at a shift register 74hc595 this enables you to have an unlimited amout of output pins by just using 3 output pins on the raspberry pi.

If you want more information start looking at the arduino forum on www.arduino.cc you'll get more detailed answers there ;-)

Posts: 913
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: Switching lawn sprinklers on/off

Fri Nov 08, 2013 12:07 pm

There are over two years of posts on this forum with regards to controlling lawn sprinklers with the raspberry pi.

Google search:

site:raspberrypi.org sprinkler
My Raspberry Pi Project Page:

Posts: 2
Joined: Thu Nov 07, 2013 11:16 pm

Re: Switching lawn sprinklers on/off

Sat Nov 09, 2013 5:45 pm

Thanks folks.

In case someone else stumbles on this post who happens to be a newbie to the world of hardware, the following thread has some good resources on Beginning Electronics resources.

http://www.raspberrypi.org/phpBB3/viewt ... 47&t=12374

Return to “Beginners”