In Reply to: Re: controlling leds posted by Richard Astley on 11/26/02 at 4:30 PM:
390 ohms was designed to supply 20 mA to a 2 volt LED. The red LED is probably 1.6 volts, the green & blue LEDs are probably higher than 2 volts.
In the equation below, the symbols mean:
Vs=Source voltage
0.5v=transistor Vbe
Vled="on" voltage of LED
R=current limiting resistor
I=rated current for the LED
R=(Vs-0.5-Vled)/I