15
Raspberry Pi Lights Controller DIY Christmas Lights Controller By Justin Rains @justinrains

Raspberry Pi Christmas Llights Controller

Embed Size (px)

Citation preview

Page 1: Raspberry Pi Christmas Llights Controller

Raspberry PiLights Controller

DIY Christmas Lights Controller

By Justin Rains@justinrains

Page 2: Raspberry Pi Christmas Llights Controller

What is aRaspberry Pi?

● Credit card sized computer● Runs a version of the Linux Operating System● 2 or 4 USB ports (depending on the version)● On-board Ethernet● PLUS: Features programmable GPIO Pins

○ GPIO pins let the Raspberry interact easily with other things such as LEDS, temperature readers, and more!

● It is NOT an Arduino

@justinrains

Page 3: Raspberry Pi Christmas Llights Controller

Getting started - Proof of Concept

@justinrains

Page 4: Raspberry Pi Christmas Llights Controller

Project Running

@justinrains

Page 5: Raspberry Pi Christmas Llights Controller

Parts Used Part 1● Leviton 5278-C 15 Amp,

125 Volt, Flanged Inlet Receptacle

● 30-40v feet 14ga wire x 3 (Red, green, and black)

● Electric box, cover, and 2 outlets

@justinrains

Page 6: Raspberry Pi Christmas Llights Controller

Parts Used Part 2● Raspberry Pi

○ Power○ Audio○ WIFI○ Connector Wires

● SainSmart 8 Channel solid state relay

@justinrains

Page 7: Raspberry Pi Christmas Llights Controller

Parts Used Part 3● SainSmart 8 Channel

solid state relay● Terminal block unit for

switching the A/C power on and off.

@justinrains

Page 8: Raspberry Pi Christmas Llights Controller

Parts Used Part 4● 6 Metal wall boxes● 6 metal wall plate covers

@justinrains

Page 9: Raspberry Pi Christmas Llights Controller

Parts Used Part 5● 6 electrical extension

cords, cut and wire nuts used to held them together

@justinrains

Page 10: Raspberry Pi Christmas Llights Controller

Parts Used Part 6● Sain Sonic FM

Transmitter.○ Allows me to dial in

what FM station to broadcast the music on.

● Plugs into power inside the unit and audio out of the Raspberry Pi

@justinrains

Page 11: Raspberry Pi Christmas Llights Controller

Other Needs● 1x 8x1 8 feet long● Wire nuts● Handle● 2 hinges● 1 piece of Lexan

@justinrains

Page 12: Raspberry Pi Christmas Llights Controller

Software Needs● All software is available Open Source to download.● Majority of the software was found here:

https://chivalrytimberz.wordpress.com/2012/12/03/pi-lights/● MIDI files came from various places● How I start playing music:

@justinrains

pi@raspberrypi ~ $ cd ./lightorgan2/xmas-py/pi@raspberrypi ~/lightorgan2/xmas-py $ sudo ./lightorganpi@raspberrypi ~/lightorgan2/xmas-py $ aconnect 14:0 128:0pi@raspberrypi ~/lightorgan2/xmas-py $ cd ../../midi/pi@raspberrypi ~/midi $ aplaymidi --port 14 [list of MIDI's]

Page 13: Raspberry Pi Christmas Llights Controller

Other ProjectsRaspberry Pi digital camera Raspberry Pi temperature

@justinrains

Page 14: Raspberry Pi Christmas Llights Controller

Sample PicturesFrom the Columbus Maker Faire

@justinrains

Page 15: Raspberry Pi Christmas Llights Controller

Thank You

Any questions or comments?

@justinrains

● Google Plus: http://www.justinrains.com/gplus● Twitter: http://justinrains.com/twitter