led constant current schematic

LED Constant Current

This is a very simple led constant current design using only 2 transistors, 2 resistors and an LED. This circuit allows you to use any voltage between 2V and 24V to drive almost any type of LED with power consumption up to 5W. The T2 transistor can be BC547 if you use only usual leds (the 20mA versions) but it is recommended to use BD135, BD137 or BD139 because they have a higher power dissipation.

Circuit Schematic

led constant current schematic

How does the constant current circuit works?

If the voltage incresease over 2V then a higher current will flow through the collector of T2 and so the base current of T1 will increase too bringing this transistor in the conduction state. But now the collector potential of T1 becomes more and more negative, same thing happens with the base of T2 and so T2 will slowly “closes” thus acting against the initial growth of current. In this way is achieved a stabilizing effect that provides current that is constant through the LED.

Value of R is equal to the LED’s current divided by 0.5

R (Ω) = I (mA)/0.5

The power dissipation of R is

P (W) = I2 (A) x R (Ω)

Example: for a 20mA LED the value of R will be around 39Ω

The current values depending on voltage for a normal red LED:

  • 5V … 15mA
  • 9V … 18mA
  • 12V … 20mA
  • 18V … 24mA
  • 24V … 27 mA

LED Driver with Digital Control

LED Driver With Digital Control

Thanks to Jim Keith!


Join the conversation!

Error! Please fill all fields.
  • camfarnellbitflipper-ca

    I believe the formula for calculating R is incorrect. This circuit will limit once the voltage across R tries to exceed the minimum Vbe of T1 which, for silicon transistors, is around 0.7 V. Thus we know the voltage across R will be about 0.7 V and the current through it is whatever the target current is, therefor the formula for R is:

    R = 0.7 / I

    where I is the current, in amps. For example, to drive an LED with 10 mA the calculation is:

    0.7 / 0.01 = 70 ohms

    This circuit works like a charm, after I got the calculation straightened out, using 2N4401 transistors.

  • Jim Keith

    Cool circuit! How about using the quad 2N2222 transistor array to drive 2LEDs? DigiKey MMPQ2222ACT-ND or dual? MBT3904DW1T1GOSCT-ND (only $0.23 each)

    • Popescu Marian

      Now I want to make the circuit to accept signals and if the signal is high then turn ON the LED or else let it OFF.

Looking for the latest from TI?