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!