Electronic – Light up an LED with an NPN transistor in active low

lednpnpnptransistors

I have a circuit which is turned on at a logical zero. I would like to have a LED indicating this circuit is on, but I only have NPN transistors at this moment, which conduct when there's a logical one on its base.

Is there a way to "emulate" the behavior – i.e. that when there's a logical one, the LED isn't lit up, and when there's a logical zero, the LED is lit up – without having to use a PNP transistor?

Best Answer

schematic

simulate this circuit – Schematic created using CircuitLab

Figure 1. Non-inverting LED indication.

  • Calculate R2 as usual for a series current-limiting resistor.
  • When Q1 turns on it will shunt the current away from the LED.

Note that the circuit is not efficient in that it passes more current when the LED is off than when it is on.