I want to present the design of a plate that I am preparing for the control of Christmas lights synchronized with music.
Initially the project designed to use it on a Raspberry Pi, but the plate can be used with any plate, such as arduino, beagleboard, bananaPi, orangePi, ... choose the one you want, since it is based on I2C
I currently have a version 2 of the plate, but I'm improving it according to needs or new features to include.
You can see version 2 running in my instructable Duxman Lights
Step 1: Tools
- Desoldering tape
- Connection terminals
- Male and female pins
- 3 Tip120 Transistors
- 1 Transistor KA78T05 (12v to 5v max 3A)
- 1 i2C port expander MCP23016
- 1 DC 12V connector
- Fritzing Program (http://fritzing.org/)
- Welding notions
- Basic notions of electronics
Step 2: Board Desing
Well first of all it is necessary to indicate that it is not a plate they are two, one that makes like motherboard and another one that we will connect over to like this to replace or to change it by another type of module.
You have the design in the links of this post.
The system is designed to have two modules of 4 tip120 transistors and thus easily turn on and off LED strips.
and on the other hand we reserve 8 outputs to connect other devices. in my case I will use a solid state relay controllers and thus connect elwire inverters and be able to use other commercial christmas lights that I will hack soon
Step 3: Soldando La Placa
I'm currently making the plate, I think I'll have it available in a week.
and I will update this post
Step 4: Time to Fun and Testing
Create your driver program on the platform that you like, if you do not like to program or you do not want to you can freely take my code and modify it or use it as I am constantly improving them.
In the following link you can find the development code, at the moment I do not have even programmed the code for this badge but I hope to have it soon, unfortunately :) I work and I have 4 cats to feed
Version in development and constantly improving with new features when I have time.
I do not recommend using this version because I may commit programming errors as a good programmer that I am, that throws the first stone who has not written a bug
It is the initial version
just play wavs
Only supports digital outputs
It allows the reproduction of wav and mp3 (these will become wav in the first reproduction)
Separate scripts are created to allow the execution of music and sequences
The web configuration is adapted
Music playback and synchronization is improved
Lighting zones are now defined instead of individual pins
Each zone allows several pins.
You can see an example of how it works in my instructable Duxman-Lights