I finally got around to completing my musical colours project:
- Make the prototype permanent by building a perfboard arduino.
Includes the standard 5050 driver and usb to serial connection. I wanted to keep the standard 5050 controller for general van lighting, controllable by the IR remote. I did this by using another transistor as a switch for the 12v line into the controller. One of the routines in the code then pushes the gate high to turn the controller on.
- Put everything in a project box, with usb, audio passthrough, IR input and push button to cycle routines.
The button is connected to aninterrupt
, which is used in aswitch case
to change output: original 5050 controller, musical colours, temperature colours (see below). - I added a temperature diode – because I had one lying around – for a ‘temperature colours’ function.The function works by:
- Detecting the temperature as a voltage.
- Translating this into a temperature in degC.
- Converting this to a 5 bit binary word (max temperature of 32deg).
- Displaying the binary word using the LED strip (MSB first): red 1, blue 0, 1s duty cycle
- Displaying a constant analogue colour depending on the temperature.
Here it is in action (the reading is 11000 [24deg]):
10 replies on “Musical Colours Update”
[…] I’ve now finalised this project Share this:FacebookTwitterLinkedIn This entry was posted in Arduino and tagged arduino, LED, […]
Awesome. Do you think about selling that product?
Thanks. I’m working on something that incorporates bits of this but is much more refined 🙂 !
Hi John,
I’m very interested in this project of yours.
I’ve been watching your YouTube videos in the past weeks, and I’m planning on doing something similar to your Musical Rainbows. The work you’ve done on the van is amazing!
Do you plan on selling an Arduino with your project on it, like a “work-out-of-the-box” thing?
Either way, I’d like to do that too in my room (with RGB) and car (without RGB).
Thanks!
Thanks! No plans to sell a kit I’m afraid. It’s a nice simple project though so give it ago, you’ll probably learn a lot and have fun in the process!
Could you give us a parts list if you are not going to sell a kit for this? I really want to do something like this.
Also, I would definitely pay for a finished version of this project, let me know if you do plan to make a couple extras to sell.
The parts list and circuit diagram are in the original post as a Fritzing file: http://www.john-whittington.co.uk/MusicalColours.fzz
It’s been four years since I worked on this – I’ve learnt a lot in that time! I’d probably make a few improvements if I were to sell it as a kit so it’d take a bit of work. I’ll let you know though.
Thanks,
John.
Hey..u havv done an awesome project..i had this idea in mind of controlling it with music as well as the remote control..i would be thankful if u would share the complete details.. the parts circuit diag and the program..thanks a ton..:) and come up with ideas like this..:)
I dont understand how upload code in arduino, missing library AudioListener…