Overview
The PN2222A (and its metal-can variant 2N2222A) is a ubiquitous NPN silicon Bipolar Junction Transistor (BJT) housed in a 3-pin TO-92 plastic package. Found in virtually every electronics starter kit (Elegoo, SparkFun, Adafruit), it is used for low-power signal amplification and low-side digital switching of small DC loads (relays, piezo buzzers, small DC motors, LEDs).
Capable of handling a collector-emitter breakdown voltage () and up to continuous collector current (), the PN2222A provides high DC current gain () and fast switching speeds up to .
Quick reference
| Transistor type | NPN Bipolar Junction Transistor (BJT) |
| Package | TO-92 (TO-226AA) Plastic Package |
| Pinout (PN2222 TO-92) | Pin 1: Emitter (E), Pin 2: Base (B), Pin 3: Collector (C) |
| Collector-Emitter Voltage () | max |
| Collector-Base Voltage () | max |
| Continuous Collector Current () | max |
| DC Current Gain () | (at ) |
| Collector Saturation Volts () | max (at ) |
| Transition Frequency () | min |
Pinout (TO-92 Package)
Looking at the flat face of the TO-92 package with leads pointing downwards:
┌─────────┐
│ PN2222 │ (Flat Face Front)
└─┬───┬───┬─┘
1 2 3
E B C
| Pin | Name | Description |
|---|---|---|
| 1 | Emitter (E) | Connected to ground (or negative side of load circuit) |
| 2 | Base (B) | Control input (connected to MCU GPIO via base resistor) |
| 3 | Collector (C) | Connected to negative terminal of load (switched low-side) |
Pinout Pin Order Note:
- Standard plastic PN2222 / PN2222A (TO-92) pinout order is E-B-C (Emitter, Base, Collector).
- Metal-can 2N2222 / 2N2222A (TO-18) pinout order is E-B-C with the tab next to Emitter. Always verify pin configuration with a multimeter or component tester before powering up.
Specifications
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions |
|---|---|---|---|---|---|---|
| Collector-Emitter Voltage | 40 | — | — | V | ||
| Collector-Base Voltage | 75 | — | — | V | ||
| Emitter-Base Voltage | 6.0 | — | — | V | ||
| Continuous Collector Current | — | — | 600 | mA | Continuous DC | |
| Saturation Voltage | — | 0.2 | 0.3 | V | ||
| Base Saturation Voltage | 0.6 | 0.85 | 1.2 | V | ||
| Total Power Dissipation | — | — | 625 | mW | Ambient |
Low-Side Switch Circuit & Base Resistor Math
To switch a 200mA load (such as a 5V relay coil) from an Arduino 5V digital pin:
+5V DC Power Rail
│
[RELAY COIL] (5V, 200mA Load)
│
├──────────────┐
│ │
[Collector] [1N4007 Flyback Diode]
PN2222 BJT │
[Emitter] ────────┴─────── GND (0V Common Ground)
│
[Base]
│
[1kΩ] (Base Resistor)
│
Arduino Digital Output Pin (5V)
Base Resistor Calculation ()
To drive the BJT into saturation (), enforce a forced saturation gain :
(A standard or base resistor ensures reliable saturation mode switching).
Common mistakes
- Omitting the Base Resistor: Connecting a 5V MCU GPIO pin directly to the BJT Base pin creates a short circuit through the forward-biased internal Base-Emitter PN junction (), destroying the MCU pin. Always include a base resistor.
- Exceeding 600mA Collector Current: Attempting to drive high-current motors () causes overheating and thermal runaway. Use a MOSFET (such as the IRLZ44N) for loads requiring .
Notes
- PN2222 vs 2N3904 vs BC547: PN2222 handles up to ; 2N3904 and BC547 handle up to .
Assets & downloads
- datasheetdatasheet
- product-pagereference