Pi Project Update

Over the last few years, I decided to make my “Outdoor automation” a little more permanent and indoors. The Pi lived outside in my garage or screwed to a floor joist in my basement. My goat was to provide the same functionality but in a safer case, and have it permanently installed. The tasks the solution needed to perform were as follows.

  1. Water the lawn during the summer
  2. Control the Christmas lights during the winter
  3. Play music for Halloween on Oct 31.

I controlled the watering with a 4 bank relay. My plan was to have the ability to control 4 watering zones. I still only have the one water valve but I do want the ability to add up to 4.

During the month of December, I wanted to control the Christmas lights. 1 relay for the eve lights and 3 more for the floodlights on the lawn. The floods alternate colour ever 30 seconds.

The Hardware & Software

Pi Model B

I already owned most of the hardware for the Pi. It was the outdoor box to house the outlets and pipe. I also wanted a box inside to mount the relays, transformer and the Pi.

I used an 8 channel relay board. I soldered 4 relays together for the 25V AC side and the other 4 for the 120V AC side. If at any point I need to change the board, I will be replacing this one with 2 x 4 channel boards. This will then separate the high and low voltage.

Relays are wired up.

The Pi was always the best candidate for these tasks. The Christmas lights and Sprinkler projects were built in Python3. You can find the code for these here.

The Halloween project just plays some scary music to a speaker I place just near the door. I ordered a 15′ 3.5mm cable extension to get the audio from the Pi out to the front lawn. This cable I run through the window because it’s used once a year for one day. The code for this is available here.

Photos

Setting up the layout.
High voltage is hooked up.

Similar Posts

  • |

    www.blakemiller.org

    Welcome to Blake Miller.org. Well after purchasing this domain about 2 months ago I have finaly found hosting. 100WebSpace.com has a free web hosting package. It was very easy to setup a “already owned” domain. 100MB disk space 3GB bandwidth 3 POP3 e-mails & Webmail Free 24/7 technical support PHP, Perl/CGI-BIN MySQL database FTP access…

  • WTF??

    Wow. It has been a long time. Well I have been busy the last wile with School and my Coop placement. I have also been renovating my family’s basement. That has eaten up most of my weekends for the last two months. I have had lots of plans for this blog but I haven’t gotten…

  • More… Snow

    Well, I hate winter. So I thought I would go out side and take some pictures of it. Here is one looking in my backyared. Here is the front of my house. (Be side the big tree) Here is the snow bank in front of my house. Here’s a picture of my girl friend standing…

  • Vinyls

    Over the last few days I have fascinated my ears with the listening pleasure of the vinyl records. 33RPMs that my parents have had in out crawl space for as long as I can remember. I’m not saying like one box full, but 6 large containers full of great music all on a 12 inch…