If you are searching for a transistor 818 PNP, you are almost certainly looking for the 2SA818, a rugged, high-voltage PNP silicon power transistor typically rated for 120V and 2A. However, the '818' designation causes frequent bench disasters because it is easily confused with the BC818, which is an NPN transistor. Plugging an NPN into a PNP circuit will instantly short your power supply and likely destroy your microcontroller.
This guide cuts through the datasheet noise. We will cover the exact pinout, the critical biasing math required for high-side switching, a real-world failure scenario involving the often-ignored VEBO limit, and how to test the part on your bench.
The 818 Identity Crisis: 2SA818 vs. BC818
Before you solder anything, verify the full part number printed on the casing. The JEDEC and Pro Electron naming conventions dictate the polarity:
- 2SA818 (or A818): This is your PNP power transistor. The '2S' prefix denotes a Japanese Industrial Standard (JIS) semiconductor, and the 'A' specifically indicates a PNP high-frequency or power device. It is commonly housed in a TO-220 or TO-126 package.
- BC818 / 2SC818: These are NPN transistors. The 'C' in the JIS system (2SC) or the 'BC' European prefix indicates NPN polarity.
2SA818 Pinout, Symbol, and Operating Regions
The 2SA818 is typically found in a TO-220AB package. When you hold the transistor with the metal tab facing away from you and the text readable, the pins from left to right are:
- Base (B): The control terminal. Current flows out of the base to turn the PNP on.
- Collector (C): The output terminal. Connected to the load in a high-side switch. The metal tab is internally tied to the Collector.
- Emitter (E): The supply terminal. Connected to the positive voltage rail (VCC).
In circuit schematics, the PNP symbol features an arrow on the Emitter pointing inward toward the Base, indicating conventional current flow from Emitter to Collector. Understanding how the transistor behaves across its three operating regions is critical for calculating heat dissipation.
| Region | VEB (Base-Emitter) | VEC (Emitter-Collector) | State & Power Dissipation |
|---|---|---|---|
| Cutoff | < 0.6V | ~24V (Full Supply) | OFF. Leakage current only (µA). Zero heat. |
| Active | ~0.7V | 2V to 20V | Partially ON. Acts as a current source. High heat. |
| Saturation | ~0.8V | < 0.5V (VEC(sat)) | Fully ON. Acts as a closed switch. Low heat. |
For switching applications (like driving relays or solenoids), you must drive the transistor deep into saturation. Lingering in the active region is the primary cause of thermal runaway and melted TO-220 packages. For deeper theory on BJT junction behavior, refer to the All About Circuits semiconductor guide.
Biasing the High-Side Switch: The Complete Circuit
Because the 2SA818 is a PNP, it is used for high-side switching. The Emitter connects to your positive supply, and the load sits between the Collector and ground. To turn it on, you must pull the Base voltage lower than the Emitter by at least 0.7V.
The Microcontroller Problem: If your supply is 24V and your ESP32 GPIO outputs 3.3V, you cannot connect the GPIO directly to the Base. Even when the GPIO is HIGH (3.3V), the Base-Emitter junction sees 20.7V (24V - 3.3V), which will instantly destroy the transistor. You must use an NPN level-shifter.
Application Circuit: 24V, 500mA Solenoid Driver
- Q1 (High-Side PNP): 2SA818. Emitter to +24V. Collector to Solenoid (+).
- Load: 24V Solenoid (500mA). Solenoid (-) to GND. Must include a 1N4007 flyback diode in reverse parallel across the solenoid coil.
- Q2 (Level-Shifter NPN): BC847 or 2N2222. Emitter to GND. Collector to Q1 Base.
- R1 (Pull-up): 10kΩ resistor from Q1 Base to +24V (Ensures Q1 stays off when Q2 is off).
- R2 (Base Drive): 1.5kΩ resistor between Q2 Collector and Q1 Base.
- R3 (GPIO Limit): 1kΩ resistor from ESP32 GPIO to Q2 Base.
Bias Math: To saturate the 2SA818 with a 500mA load, assuming a conservative hFE of 40, we need 12.5mA of Base current. We overdrive it to 15mA for safety. With R2 at 1.5kΩ, when Q2 turns on, current flows from +24V, through Q1's Base-Emitter junction, through R2, and through Q2 to ground. The voltage drop across R2 limits the current to a safe ~15mA, fully saturating the PNP without exceeding its maximum Base current rating.
Bench Scenario: The 24V Irrigation Valve Trap
Let us walk through a real-world failure that happens constantly when builders skip the NPN level-shifter and try to 'simplify' the circuit.
The Setup: A hobbyist is building an irrigation controller using an ESP32 and a 2SA818 to switch a 24V, 500mA water valve. To save components, they connect the 2SA818 Emitter to +24V, and run a 2.2kΩ resistor directly from the ESP32 GPIO to the 2SA818 Base.
The Numbers: When the ESP32 pin goes LOW (0V), the voltage across the Base-Emitter junction is 24V - 0V = 24V. The datasheet specifies a maximum VEBO (Emitter-Base breakdown voltage) of just 5V.
The Outcome: The valve clicks on, but the ESP32 GPIO pin immediately burns out, and the 2SA818 gets scorching hot. When the ESP32 pin goes HIGH (3.3V), the valve fails to turn off completely.
What Went Wrong: The builder ignored the VEBO limit. By pulling the Base to 0V while the Emitter was at 24V, they reverse-biased the Base-Emitter junction with 24V. The junction experienced Zener breakdown at 5V, dumping massive current backward through the base, destroying the silicon doping profile (ruining the transistor's gain) and feeding lethal voltage back into the ESP32 GPIO. The NPN level-shifter circuit detailed in the previous section prevents this by ensuring the PNP Base is never pulled more than a few volts below the Emitter.
Failure Modes, Multimeter Testing, and Safe Defaults
Transistors rarely fail gracefully. When a 2SA818 fails, it usually fails in one of three ways:
- Collector-Emitter Short: Caused by exceeding the 25W power dissipation limit or thermal runaway. The load stays on permanently.
- Base-Emitter Junction Degradation: Caused by exceeding the 5V VEBO limit. The transistor loses its hFE gain and requires massive base current to switch, or fails to turn off.
- Collector-Base Punch-Through: Caused by inductive voltage spikes (forgetting the flyback diode) exceeding the 120V VCEO rating.
How to Test with a Multimeter
Set your digital multimeter to Diode Test mode. Remove the transistor from the circuit to avoid parallel path readings.
- Test 1 (Forward Bias): Place the Black probe on the Base. Touch the Red probe to the Emitter, then the Collector. You should read a voltage drop between 0.55V and 0.75V. This confirms the P-N junctions are intact.
- Test 2 (Reverse Bias): Swap probes. Red on Base, Black on Emitter and Collector. The meter should read OL (Open Loop).
- Test 3 (CE Short): Place probes across Collector and Emitter in both directions. Both must read OL. If you read near 0.00V, the transistor is shorted and dead.
Safe Modern Defaults and Equivalents
The 2SA818 is a legacy part. While still available from surplus sellers, it is often counterfeited. If you are designing a new board or need a reliable replacement from a major distributor like Mouser or Digi-Key, use these verified alternatives:
- TIP32C: The industry-standard TO-220 PNP. Rated for 100V VCEO and 3A. Read the ON Semiconductor TIP32C Datasheet for exact thermal derating curves.
- BD140: Excellent for audio and lower-voltage switching. Rated for 80V and 1.5A.
- MJW21194: Use this if your load exceeds 5A. It is a heavy-duty 160V, 16A PNP designed for linear regulators and high-power motor control.






