Raspberry Pi Christmas Llights Controller
-
Upload
justin-rains -
Category
Devices & Hardware
-
view
853 -
download
3
Transcript of Raspberry Pi Christmas Llights Controller
![Page 1: Raspberry Pi Christmas Llights Controller](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/1.jpg)
Raspberry PiLights Controller
DIY Christmas Lights Controller
By Justin Rains@justinrains
![Page 2: Raspberry Pi Christmas Llights Controller](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/2.jpg)
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 5: Raspberry Pi Christmas Llights Controller](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/5.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/6.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/7.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/8.jpg)
Parts Used Part 4● 6 Metal wall boxes● 6 metal wall plate covers
@justinrains
![Page 9: Raspberry Pi Christmas Llights Controller](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/9.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/10.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/11.jpg)
Other Needs● 1x 8x1 8 feet long● Wire nuts● Handle● 2 hinges● 1 piece of Lexan
@justinrains
![Page 12: Raspberry Pi Christmas Llights Controller](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/12.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/13.jpg)
Other ProjectsRaspberry Pi digital camera Raspberry Pi temperature
@justinrains
![Page 14: Raspberry Pi Christmas Llights Controller](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/14.jpg)
Sample PicturesFrom the Columbus Maker Faire
@justinrains
![Page 15: Raspberry Pi Christmas Llights Controller](https://reader031.fdocuments.us/reader031/viewer/2022032421/55a849591a28aba9108b4847/html5/thumbnails/15.jpg)
Thank You
Any questions or comments?
@justinrains
● Google Plus: http://www.justinrains.com/gplus● Twitter: http://justinrains.com/twitter