For this project you will need:
1 - Male USB plug (got mine from a $1.50 Wii Intercooler)
1 - 22 ohm resistor (red-red-black) thats all I had, dunno if its perfect
1 - LED
Soldering/Desoldering Iron
Solder
Hot glue (optional)
Sorry about the bad pics
***NOTICE***
If you do anything wrong and screw up your computer, burn your finger etc etc...I'm not responsible!
It's a very easy project, but things could go wrong,
Remove these ads by
Signing Up


































Visit Our Store »
Go Pro Today »




with your 22 Ohm resistor that led is getting the full 50mA (and more if it can get it).
your going to be burning your led out.... =\
you should be using a 200 Ohm resistor minimum (25mA) , you could be using a 500 Ohm resistor if you want (10mA).
if your using a ultra bright led (the clear ones) there still blindingly bright at 7mA. (700 Ohm resistor).
You are using U = R/I -> R = U*I, but you are using wrong U. U isn't voltage drop of the whole circuit, nor it's the supply voltage (witch is voltage drop of the whole circuit :P), but in this case it's voltage drop over the resistor. In this case power supply is 5 volts, voltage drop over led is something like 1.6-2.2V (it can be something else, but these are common voltage drops of red LEDs) that makes voltage drop over the resistor: 5V - 2.2V = 2.8V. Now this is the U we are going to use in R = U*I formula, when calculating the value of the resistor.
Lets say voltage drop over the led is 2.2V and we want 15mA : R = (5V-2.2V)/15mA = 2.8V/0.015A = about 187ohm.