Introduction: Selectable RGB Led From USB Power Source

This is a simple guide to make a circuit that can select which color you want!


Such as:

if you want Red, you would put a jumper shunt in the red area
if you want green or blue just put it in their respective places!


So lets get started!!!!

Step 1: Components

First lets get us the componenets: this is what you will need:

Rainbow cable ( you can also use the IDE hard drive cables but i like these)
you will only need 4 so just take out four!
IF YOU ARE IN AUSTRALIA, YOU CAN GO TO ALTRONICS

A usb connector
"A bit hard to find"
Only one

Header pins
you need 6 pins
YOU CAN FIND THIS IN SEEEDSTUDIO DEPOT, VERY CHEAP

Jumper Shunts ( preferable Red, green and blue)
you will need 3
ALSO AVAILABLE IN SEEEDSTUDIO AND IS QUITE CHEAP

A switch
you only need one
'also found in seeedstudio depot'

a screw terminal or the ones with the rods
one will do

A usb connector
Only one
you can find this is Jaycar and its in America and Australia

and a PCB circuit (ones with dot holes) DO NOT GET THE STRIPS!
Only one
Found in almost every electronic store!

Soldering iron, solder
Cmon! Most people have this!

A resistor (Brown-Black-Brown-gold) or you can use a 330ohm resistor
Just one!

A RGB led ( i have a common negative one)
One

Step 2: Circuit

Get your circuit cut it into about 8 by 9 holes a bit like this


o o o o o o o o l
o o o o o o o o l
o o o o o o o o l
o o o o o o o o l
o o o o o o o o l
o o o o o o o o l
o o o o o o o o l
o o o o o o o o l
o o o o o o o o l


Now drill holes in a corner, just make sure the screw terminal can fit in the circuit nicely

Step 3: Screw Terminal

Now simply bend the pins of the pins on the screw terminal block and solder it onto a PCB

Step 4: RGB LED

Now put the rgb led in the circuit!

Step 5: Solder

Solder like the picture!

Step 6: Making the USB

Now build the USB using 4 wires from the rainbow or IDE cable solder the wires to the usb and put some pins onto it, if you dont want to you could just tin the 2 power wires.

Step 7: Plug in and Light Up!

Now just plug the usb and put the + and - in the 2 terminals (try which one works) and turn on the switch and put a jumper shunt at its place!



Here are a few extra stuff you could add. if you have any liquid electrical tape you could put some onto the top of it, just make sure it does not interfere with any components!

Comments

author
Awesome-aniac made it! (author)2009-09-20

I like that idea. Quick question, what is you technique for soldering to your perfboard? I bought some and I can't seem to solder to it.

author
ElectronMad made it! (author)ElectronMad2009-09-20

Well i use a temperatuture controllable soldering iron, i solder with Rosin core solder 60/40. for this i soldered at 200 Degrees and if you are not very good at soldering, follow the following tutorial! heat up your soldering iron, put a drop of solder on one of the copper cirlces, make sure the whole circle is filed. Next put another blob of solder on the circle you want to join it up to! and next just put your soldering iron in the middle of the 2 soldering copper circles on the PCB and keep putting it up and down with a bit of solder on the iron. and after trying for like 10 second it should join up! I really hope you likes it it was my very first ever instructable!

author
Awesome-aniac made it! (author)Awesome-aniac2009-09-20

I bought the kind with out copper (first perfboard I ever bought) a while ago, and couldn't seem to solder much too it. Sounds like I should go and buy the copper kind. Thanks for the soldering tips.

author
ElectronMad made it! (author)ElectronMad2009-09-22

No prob

author
xboxzombie made it! (author)xboxzombie2009-09-20

Does the perfboard have copper traces? Perfboard can be purchased with out the traces, or with individual copper pads under the holes. Radioshack and most electronic stores carry it in a couple different sizes, which is whats shown in the ible. You can bend the leads or cut wire to simulate traces on plain perfboard by moving the wire to the leg of the next part. Keep in mind the switch, USB and jumpers don't have long leads, so wire is definitely going to be needed.

author
ElectronMad made it! (author)ElectronMad2009-09-20

Oh and yes the perfboard has copper dots

author
ElectronMad made it! (author)ElectronMad2009-09-20

Lol thanks for telling me, but i prefer using the circuits that have pre copper pads, they are much easier for me and i prefer them because they are a good soldering practice! But in some electronic stores i have found just plain circuits with no copper! Can i buy the copper pads and put them on? I really hope you liked it! Thanks for the comments