matrixofdynamism
Advanced Member level 2
When using common-cathode 7-segment display we use NPN transistors with the emitter connected to GND and collector to the 7-segment display.
In contrast when using common-anode 7-segment display we use PNP transistors with the emitter connected to +5V and the collector to the 7-segmnet display.
In both cases the emitter is connected to a fixed voltage potential and the 7-segment display is connected to the collector. Why?
Also, a resistor is required to limit the base current since not using it will mean that driving the base emitter junction using 3.3V or 5V may cause the base emitter junction to be destroyed. Please correct me if I am wrong about this.
Now my question is, why do we not do this the other around i.e use PNP transistor with common-cathod and NPN with common-anode. In both cause we just want a current path from +5V (or +3.3V) to ground that can be switched on or off. Either PNP or NPN can do that right?
In contrast when using common-anode 7-segment display we use PNP transistors with the emitter connected to +5V and the collector to the 7-segmnet display.
In both cases the emitter is connected to a fixed voltage potential and the 7-segment display is connected to the collector. Why?
Also, a resistor is required to limit the base current since not using it will mean that driving the base emitter junction using 3.3V or 5V may cause the base emitter junction to be destroyed. Please correct me if I am wrong about this.
Now my question is, why do we not do this the other around i.e use PNP transistor with common-cathod and NPN with common-anode. In both cause we just want a current path from +5V (or +3.3V) to ground that can be switched on or off. Either PNP or NPN can do that right?