Remove these ads by
Signing UpStep 1: Materials
Things used for this project:
-X-acto knife
-Soldering iron
-Solder (duh :P)
-Hot glue gun
-Screw driver (for making holes)
-Electrical tape
-12 white LED's
-47ohm resistor
-Small switch
-Wire
-USB cable
-Small box (or anything that can hold the components)
-Scissors
-Sharpie/pen
Optional:
-Wire strippers
-Wire cutters









































Visit Our Store »
Go Pro Today »




You can calculate the resistor by assuming that the voltage over the resistor is the supply voltage minus the voltage drop over the LED, in your case the resistor drop would be 1.4v.
To give a 20ma current, use Ohm's law
( v = i * R, R = v / i )
to get
R=1.4/ (20x10-3 )
R=70R
I wouldn't be worried too much about the USB port, it will have a certain amount of short protection, and it won't provide more than 500ma anyway. Also looking at the wire layout, it looks to be thoughtfully done, and not overlapping. The electrical tape also ensures there will be no movement, and so no problem.
To make the LEDs brighter still, you might want to investigate PWM.