LED Resistor Choice with changing voltage

component-selectionledresistors

I'm planning on adding leds to a small quadcopter which runs on a 1s lipo battery. I am planning on attaching the leds straight to the battery rather than the regulated voltage the main circuit board uses.
The battery when fully charged has a voltage of 4.2 volts and a nominal voltage of 3.3.

Assuming an led with a 2.5v forward voltage and a 20Ma forward current. the calculations at either range result in either a 100ohm resistor (for 4.2 volts) or 47ohm resistor (for 3.3 volts).
What size resistor should I use? should I use the 100 ohm resistor and let the brightness dim towards the end of the battery life?

In general what is the best way of selecting components where the system is not complex enough to warrant using a voltage regulator?

Best Answer

An extremely simple and low cost constantish current source is shown in the circuit below.

Q1 is initially turned on by R2.

I_LED flowing in R1 produces a voltage per V = IR
of V = I_LED x R1
When V_R1 reaches about 0.6V Q2 is turned on and shunts base drive to Q1, thereby limiting any current increase.

ILED max ~= I_R2 x Beta_Q1 where Beta = current gain.
For say 5V and R2=1k IR2~= (5-0.6)/1k = 4.4 mA.
For Q2 Beta = 100 Imax = 440 mA - ample for most purposes.
This circuit drops a minimum of ABOUT 0.6V

Cost, size and complexity are minimal.
Results are far better than using just a series resistor. ie Current is not "constant" but is far closer than with a resistor alone.

schematic

simulate this circuit – Schematic created using CircuitLab


Aka:

enter image description here

E&OE.