

A PNP transistor is a type of bipolar junction transistor (BJT) that allows current to flow from the emitter to the collector when the base is pulled low (i.e., when the base voltage is lower than the emitter voltage). It is widely used in electronic circuits for switching and amplification purposes. Unlike its counterpart, the NPN transistor, the PNP transistor is activated by a negative base current relative to the emitter.








Below are the general technical specifications for a standard PNP transistor (e.g., 2N2907). Always refer to the specific datasheet of the transistor you are using for precise details.
The PNP transistor typically has three pins: Emitter (E), Base (B), and Collector (C). The pinout may vary depending on the package type (e.g., TO-92, TO-220). Below is the pin configuration for a common TO-92 package.
| Pin Number | Name | Description |
|---|---|---|
| 1 | Emitter (E) | Current flows out of this pin |
| 2 | Base (B) | Controls the transistor's operation (input) |
| 3 | Collector (C) | Current flows into this pin (output) |
Below is an example of using a PNP transistor to control an LED with an Arduino UNO.
// Define the pin connected to the base of the PNP transistor
const int transistorBasePin = 9;
void setup() {
pinMode(transistorBasePin, OUTPUT); // Set the pin as an output
}
void loop() {
// Turn the LED ON by pulling the base HIGH (transistor OFF)
digitalWrite(transistorBasePin, HIGH);
delay(1000); // Wait for 1 second
// Turn the LED OFF by pulling the base LOW (transistor ON)
digitalWrite(transistorBasePin, LOW);
delay(1000); // Wait for 1 second
}
Transistor Not Switching:
Excessive Heat:
No Current Flow Through the Load:
By following these guidelines, you can effectively use a PNP transistor in your electronic projects for switching and amplification tasks.