Introduction: Convert Broken Desk Lamp to RGB LED

Picture of Convert Broken Desk Lamp to RGB LED

I had a broken wall powered led desk lamp and converted it to a 12v battery powered RGB LED light.

Step 1: Start Taking Apart

Picture of Start Taking Apart

First we start by removing the diffuser and pulling out the old L.E.D.'s

Step 2: Placing the LED's

Picture of Placing the LED's

Now we put in the 12v RGB LED strip. These LED's came with 3M adhesive already to go.

Step 3: Soldering Connections to RGB LED's

Picture of Soldering Connections to RGB LED's

I got a 4-pin JST SM Plug from adafruit and soldered it to the RGB strip and added some shrink wrap.

I connected the male 4-pin JST SM Plug to the female and soldered the USB cable to it.

Step 4: Finding the Connections

Picture of Finding the Connections

I connected the USB cable I previously soldered to the 4-pin JST SM Plug and started to play with the pins to find were the + was.

To see were the colors are, try touching the negative wires to the other pins. When you find the color make note, and solder the wires to the right pins. I used red to show the + wire and used green, white, and black for the negative wires to differentiate them. It would be nice to use colors that corresponded to the RGB LEDs if you have them available. Use what you got just keep track!

Step 5: Project Enclosure

Picture of Project Enclosure

I took a Project Enclosure (5x2" from Radioshack) and cut out a port for a female USB connection.

I used a USB DIY Connector Shell - Type A Socket from Adafruit and soldered the 4 wires, added some shrink wrap, then mounted to the Project enclosure.

Step 6: Lets Get Wired!

Picture of Lets Get Wired!

I connected the ground wire to the top of the three pins on the switches.

Step 7: Done!

Picture of Done!

This is what it should look like.

Step 8: Lable the Buttons

Picture of Lable the Buttons

I used a label maker to create the binary on/off and the RGB for the colors.

Now enjoy!


idealab (author)2016-08-05

I have, and when I get some extra cash this will be modified with neopixels and wireless arduino. Can't wait.

tttapa (author)2016-08-03

I'd also add a label to the USB port, saying that it's a 12V output. Just in case, if anyone ever decides to charge their phone from that port for example ... ;) Preferably use some other connector for high voltages like this

idealab (author)tttapa2016-08-05

Good point! Thanks for the tip.

Jaroslav. (author)2016-08-04

Looks really nice but i would recommend using potentiometers inline with the switches that way you will be able to select from a wider spectrum of colors

rafununu (author)Jaroslav.2016-08-04

And the pots will burn !

BoboTheEpic (author)2016-08-02

That looks really nice. Where did you get the RGB LED strip? I'd like to try this out myself.

idealab (author)BoboTheEpic2016-08-03

I have a friend who's brother worked for a kiosk manufacturer and the RGB LED's I used were pulled from the trash. Here is a link to some inexpensive RGB LED strips.

About This Instructable




Bio: We're a makerspace at the Denver Public Library! We specialize in digital media creation (music, video, games) but are pushing out to do more ... More »
More by idealab:SpheroMini MazeFidget Spinner NecklaceDIY Male to Female Jumper Wire
Add instructable to: