Upload
justin-rains
View
854
Download
3
Embed Size (px)
Citation preview
Raspberry PiLights Controller
DIY Christmas Lights Controller
By Justin Rains@justinrains
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
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
Parts Used Part 2● Raspberry Pi
○ Power○ Audio○ WIFI○ Connector Wires
● SainSmart 8 Channel solid state relay
@justinrains
Parts Used Part 3● SainSmart 8 Channel
solid state relay● Terminal block unit for
switching the A/C power on and off.
@justinrains
Parts Used Part 4● 6 Metal wall boxes● 6 metal wall plate covers
@justinrains
Parts Used Part 5● 6 electrical extension
cords, cut and wire nuts used to held them together
@justinrains
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
Other Needs● 1x 8x1 8 feet long● Wire nuts● Handle● 2 hinges● 1 piece of Lexan
@justinrains
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]
Other ProjectsRaspberry Pi digital camera Raspberry Pi temperature
@justinrains
Sample PicturesFrom the Columbus Maker Faire
@justinrains
Thank You
Any questions or comments?
@justinrains
● Google Plus: http://www.justinrains.com/gplus● Twitter: http://justinrains.com/twitter