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

  • Grade 11, 2nd Smester

    Well last Monday we started our second semester at Widdifield. I have a fairly easy semester. English first period, auto second period, then MSIP third, Online Business course fourth and lastly CO-OP last. So far English and Auto class have been the essayist’s. My Online business course is good now because we just got signed…

  • 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…

  • |

    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…

  • |

    Busy

    Well I haven’t posted in like a month now so I thought it is time to fill you all in on what I’m doing. School is crazy. I’m taking one online collage course and it seems to be taking up a lot of my time. Also I have been elected the official Wiled cat video…

  • It’s Snowing

    Well over night last night it started to snow. A far amount of snow but according to the weather most of will be gone by the end of the day. The funny part is I have to go to my schools final football game today. It should make for an exciting time. We should win…