Introduction to Home automation with the Raspberry Pi - Sunday November 24th 2013
Who: VHS members only, become a member and join us! http://vancouver.hackspace.ca/wp/membership
Bottomed lined: Steven Smethurst
Cost: Free for VHS members
Where: VHS 270 East 1st (The Bunker)
When: Sunday November 24th 2013 1 pm till 5pm or when ever we are done.
What: In this workshop we will be using a Raspberry PI to read sensors (inputs), store their vales in a database for historical trending and turn relays (outputs) on and off when a sensor value goes outside of a certain range. There will be a small amount of very basic python programming in this workshop. Example code will be provided and even if you have never programmed before you should be able to get the basic example running.
In this workshop you will be building a system that will turn on a light if the door is open or motion is detected in an area. We will be recording the current temperature to a database and if the temperature goes outside of a range a fan will be turned on to reduce the temperature.
Before this workshop you should have your Raspberry PI loaded with an OS and have the latest version of Adafruite WebIDE running. It will also help considerably if you record your Raspberry PI MAC address and HostName on a scrap of paper before the workshop.
Hardware is NOT provided by VHS!!! All the hardware can be purchased locally at Lee’s Electronics (4522 Main Street). Tell them your a VHS member to receive a small discount. Or you can order all the hardware from adafruit.com they also have many other interesting components. Note there are Raspberry PIs available in the VHS vending machine at the space. If you buy your components from DealExtream expect them to take 6 weeks to be delivered. If you are unable to source all the components join us anyways VHS can lend you some parts for the workshop.
Parts list
- Raspberry PI
- $50 in the vending machine at VHS (Thanks Dan)
- $40 from Adafruit
- Pi Cobbler Breakout + Cable for Raspberry Pi
- Sensors (inputs)
- One Wire Digital Temperature Sensor - DS18B20
- Simple on and off switch (any switch will do)
- Magnetic door switch (Provided by VHS for a donation)
- PIR (motion) sensor
- Outputs
- Replay breakout board (5V input)
- $7.20 from Deal Extream
- $26 from AdaFruit (highly suggested)
- Standard wall outlet
- Replay breakout board (5V input)
If you would like to get started early we will be following these tutorials provided by Adafruit in this workshop
Leave a comment