I will freely admit that I am mainly digital when it comes to electronics, so may help explain my confusion (that or just general incompetence).

I am getting review feedback on a design, and one thing that keeps bugging me is that placing a BJT below the LED keeps being labelled as 'wrong'. Is this a major issue or just a convention or is the reviewer just being annoying?


simulate this circuit – Schematic created using CircuitLab

NOTE: The circuit is a sketch, ignore actual part numbers or values.

  • 1
    \$\begingroup\$ The bjt placement is quite significant and can be the difference between a working and a not working circuit. Some informations about the piloting signal is required, the first scheme should be the safer though, it seems strange to me that it keeps reviewed. Perhaps you use PNP bjts? \$\endgroup\$ Jan 28 '15 at 11:42
  • \$\begingroup\$ Did you mean to use an NPN transistor in the right hand diagram? That would be unusual. \$\endgroup\$
    – tomnexus
    Jan 28 '15 at 11:44
  • 4
    \$\begingroup\$ Who labels the left one as wrong? The one on the right has the problem that you need a higher voltage at the base. If you have 3.3V logic, VDD=5V and a blue LED the left one will work, but not the right one. \$\endgroup\$
    – starblue
    Jan 28 '15 at 12:18
  • 3
    \$\begingroup\$ Someone labelling a design as "wrong" without explanation or discussion in design review is being incredibly unhelpful. \$\endgroup\$
    – pjc50
    Jan 28 '15 at 12:24
  • 3
    \$\begingroup\$ Refer to these similar questions: Why would one drive LEDs with a common emitter? and Good NPN configuration vs bad configuration \$\endgroup\$
    – alexan_e
    Jan 28 '15 at 13:50

The significant difference here his where the currents go.

With a BJT it doesn't just "act like a switch" - that is the end result you see at the high level, not what it actually does.

What actually happens is you apply a current to the base, and that then flows through the transistor and out of the emitter down to ground. At the same time it allows proportionally more current to flow from the collector down through the emitter to ground.

We'll call these two currents \$I_B\$ and \$I_C\$ for the Base and Collector currents respectively.

So in the left hand schematic, the \$I_B\$ flows through the base resistor, then the BJT, and to ground. \$I_C\$ flows through the LED's resistor and the LED, then the BJT, and to ground. \$I_B\$ is set by the base resistor alone.

But, in the second circuit, \$I_B\$ flows through the base resistor, through the BJT, then through the LED's resistor and the LED. \$I_C\$ also flows through the BJT then through the LED's resistor and the LED. So the LED and its resistor get both \$I_B\$ and \$I_C\$.

Consequently the current \$I_B\$ is being set by both the base resistor and the LED's resistor, and also the voltage drop across the LED. Also the voltage drop across the LED's resistor is not just from \$I_C\$ but from both \$I_B\$ and \$I_C\$ combined.

So from an easy to understand point of view the left-hand circuit is best. However, the right-hand circuit does have some advantages. Mainly because the base current \$I_B\$ is set by two resistors it may be possible to remove one of them (the base resistor) and just have the one resistor in the circuit to limit both the base current and the LED's current. That can save on parts, and if you have a lot of these circuits in you design that reduction in parts can soon add up.

  • 1
    \$\begingroup\$ Good answer. I was discussing this with a colleague and came to the same conclusion, the main difference is where the base current flows. I can see it being problematic though if the load is not a linear ohmic load, keeping a known good base current. However when cascading transistors or using simple loads I can see the benefit of a single resistor limiting both the load and the base current. \$\endgroup\$
    – Oliver
    Jan 28 '15 at 12:30
  • 4
    \$\begingroup\$ Furthermore the right hand one (common collector) takes only as much Ib as is needed to drive the LED, while the left (common emitter) will consume as much Ib as R6 allows. Loading the input circuit less, arguably makes the "wrong" one better. \$\endgroup\$ Jan 28 '15 at 13:49
  • 2
    \$\begingroup\$ Adding to what Brian Drummond says above, since LEDs are current driven devices, the right hand circuit is often the appropriate choice (although I'd move the LED to the collector) because with a constant voltage applied to the base, the LED current can be set by the emitter resistor and will remain constant even if the power supply or the LED forward voltage varies. \$\endgroup\$
    – lyndon
    Jan 28 '15 at 18:16

If your only goal is to get light out of the LED, then the circuit on the left is perfectly fine. The reason is because the voltage needed to change the state of the transistor is very low - typically around 0.7 V. However, the problem is that your LED is now at a "high" potential when the transistor is OPEN (called the "high-side" configuration). So what happens is that if you accidentally short the LED's cathode to ground, then it will immediately bypass the transistor and dump the full voltage across the device. This is perfectly avoidable if your LED is encased in some plastic box or something, but a very bad idea if the user can freely manipulate the thing (say, if your enclosure is a metal box). I've personally worked on applications where the LED is very expensive and this exact problem needs to be avoided.

The alternative is your circuit on the right. This is called the "low side" configuration. This avoids any potential damage to your device when it accidentally shorts out to other metal objects. However, the trade-off is that now the base voltage needs to get very high in order to change the state of the transistor from OPEN to SHORT. Remember that the voltage from the base to the emitter needs to be 0.7 V. But if the emitter is at, say, 5 V when current is flowing, then your base needs to get up to 5.5 V. This makes fast transitions very difficult.

Often times these problems are not very significant, and either configuration works. However, there are situations where neither is very effective. For example, if fast transitions are necessary, AND the LED needs to be protected against accidental shorts. Then you need to employ some more complicated variations, like using a high-side PNP instead of NPN. But we don't need to talk about that unless you want to hear it.


There are advantages and disadvantages to both techniques. There is also a special case where the right-hand circuit has a significant advantage.

Left-hand circuit: A logic HI at the input results in a logic LO at the collector, which turns the LED on. The transistor acts as an inverter, which may be useful if the collector is driving another portion of the circuit (in addition to the LED).


1) turns ON with low control voltage. Basically, any voltage greater than Vbe (with suitable current limit resistor).

2) Transistor is saturated. This results in minimum heat generated by the transistor - this can be important if load current is high.

3) Power supply voltage that operates the LED can be a a different value than the logic voltage. This is often useful when operating the LED from a higher, un-regulated supply.

Right-hand circuit: a logic HI turns the LED on. However, this circuit is functioning as an emitter-follower. This has some consequences.

So long as the voltage at the collector of the transistor is equal to or higher than the chip logic HI voltage, the current through the LED is approximately equal to (V logic HI) - Vled - transistor Vbe drop - (tiny voltage drop across base resistor) all divided by the LED current limit resistor. Note that the base resistor is not needed in this application so long as you ensure that the voltage on the transistor collector is always equal to or greater than V logic supply.

Note the reduced voltage across the LED current limit resistor has to taken into account when calculating the value of that resistor.

Disadvantage: Power supply voltage at the collector has to be significantly higher than the sum of Vled & V logic HI. That specifically disallows this circuit from being used with low voltage logic.

There is a specific application where I prefer to use the emitter-follower configuration for driving LEDs. If you look closely at the emitter-follower configuration, you can think of it as a constant-current sink. Assuming that the output voltage from the chip always goes to V logic HI (CMOS output stage), you can set the LED current to whatever value is desired using just the emitter resistor. Note that this current doesn't change appreciably even if the transistor collector voltage is significantly higher than V logic.

This is useful when driving LEDs from an unregulated power supply. For example, a DC power supply derived from a 12Vac transformer with bridge rectifier and filter cap will have an output voltage between 12Vdc through about 20Vdc, assuming input line voltage variation of plus minus 20%.

I run my PIC projects with 5Vdc rail with unregulated supply voltages ranging from 12V through about 40Vdc. The PIC power supply is tiny - only capable of a few mA. I power all the LEDs and relays in the circuit from the unregulated supply. Using the emitter-follower LED driver keeps the PIC supply current to the minimum required and keeps the LED brightness constant even as the supply voltage varies.

  • \$\begingroup\$ +1 ... Nice point about the current-regulation of the second circuit. \$\endgroup\$
    – Tut
    Jan 28 '15 at 21:48
  • 1
    \$\begingroup\$ Note this answer which offers a improvement on the second circuit by moving the LED to the collector side. \$\endgroup\$
    – Tut
    Jan 28 '15 at 21:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.