Introduction: Musical RGB Lamp

Picture of Musical RGB Lamp

Here is a quick guide showing how I turned my traditional desk lamp into a colorful sound equalizer using Arduino and Processing.

Step 1: Lamp Setup

Picture of Lamp Setup

For this specific project you will obviously need a lamp.

I recycled this lamp after it's original bulb broke, inspiring me to replace it with an RGB led.

The RGB led is taped to the inside of the lamp head and I have extended the 4 connecting pins with jumper cables running down the back of the lamp.

These pins are then connected to my Arduino UNO.

I have used an old ski goggle bag to house the Arduino for convenience
but feel free to house it however you like.

The important part here is making sure the Arduino can sit close enough to the lamp head to reach the RGB led.

Step 2: Processing Setup

Picture of Processing Setup

{"context":{"location":{"href":"https://www.instructables.com/editInstructable/publish/EAVSR51IEM1C9Q6","origin":"https://www.instructables.com","protocol":"http:","host":"www.instructables.com","hostname":"www.instructables.com","port":"","pathname":"/editInstructable/publish/EAVSR51IEM1C9Q6","search":"","hash":""},"jQuery110207309195376326846":1,"gtmHasClickListenerTag":true,"gtmHasLinkClickListenerTag":true,"gtmLinkClickListener":true,"b":{"sizzle-1467265953257":{"parentNode":["575 100",15]}},"h":{}},"selector":"#editor-Object-17"}

Step 3: Arduino to Processing Setup

Picture of Arduino to Processing Setup

This Arduino code reads the data from processing (over the 19200baud) and tells the lamp to shine a bright purple/blue when there is little to no sounds and past a certain volume the lamp will shine RGB colours randomly.

Upload this code to your Arduino and run your Processing sketch to power on the lamp.

The lamp will flash and then start in OFF mode but as soon as you clap your hands or play music your new musical RGB lamp will come to life.

E N J O Y the lamp and stay tuned for upgrades and developments ;)

Comments

Raphango (author)2015-09-22

Great! Congrats! I'd really apreciate a standalone version too. :D

SuperSanta (author)2015-09-17

Could you implement a more "standalone" version of the project. Using a microphone or aux input instead of using the pc? And have so that the different colors are on in different frequencies, like green for bass red for hight and blue for low? Great project though!

Hey, thanks for the suggestion. I was thinking of making it so it reacts to different frequencies, one colour for every string on a guitar maybe? Will definitely improve on the responsiveness anyway

jperales (author)2015-09-22

Dude nice poster.

Carl Gordon Media made it! (author)jperales2015-09-22

Who needs a musical lamp when you have this beauty

gada888 (author)2015-09-16

will the lamp flicker standalone without the laptop?

Not at the moment, The laptop is being used as a power source and a microphone

About This Instructable

17,440views

325favorites

License:

Bio: I started making things at Victoria University in Design School while studying Industrial and Media Design. This degree has helped develop my creative ability in ... More »
More by Carl Gordon Media:Laptop Control BoxInteractive Reflex Punching Bag$100 Smart Mirror Pi
Add instructable to: