

The 2N2222 is a widely used NPN bipolar junction transistor (BJT) that is suitable for low to medium power switching and amplification applications. Known for its reliability and versatility, the 2N2222 is commonly used in hobbyist projects, educational circuits, and professional designs. It is capable of handling moderate current and voltage levels, making it ideal for driving small loads, amplifying signals, or functioning as a switch in various electronic circuits.








Below are the key technical details of the 2N2222 transistor:
| Parameter | Value |
|---|---|
| Transistor Type | NPN |
| Maximum Collector Current (Ic) | 800 mA |
| Maximum Collector-Emitter Voltage (Vce) | 40 V |
| Maximum Collector-Base Voltage (Vcb) | 75 V |
| Maximum Emitter-Base Voltage (Veb) | 6 V |
| DC Current Gain (hFE) | 100 to 300 (typical) |
| Power Dissipation (Ptot) | 500 mW |
| Transition Frequency (ft) | 250 MHz |
| Package Type | TO-18 (metal can) or TO-92 (plastic) |
The 2N2222 is typically available in TO-18 or TO-92 packages. Below is the pin configuration for the TO-92 package:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | Emitter | Connected to ground or the negative terminal of the circuit |
| 2 | Base | Controls the transistor's operation (input signal) |
| 3 | Collector | Connected to the load or positive terminal of the circuit |
The following example demonstrates how to use the 2N2222 to control an LED with an Arduino UNO:
// Define the pin connected to the 2N2222 base
const int transistorBasePin = 9;
void setup() {
// Set the transistor base pin as an output
pinMode(transistorBasePin, OUTPUT);
}
void loop() {
// Turn the LED on by sending a HIGH signal to the transistor base
digitalWrite(transistorBasePin, HIGH);
delay(1000); // Keep the LED on for 1 second
// Turn the LED off by sending a LOW signal to the transistor base
digitalWrite(transistorBasePin, LOW);
delay(1000); // Keep the LED off for 1 second
}
Transistor Not Switching Properly
Overheating
No Output Signal
LED Not Turning On
Q: Can the 2N2222 handle high-power loads?
A: No, the 2N2222 is designed for low to medium power applications. For high-power loads, consider using a power transistor like the TIP120.
Q: What is the maximum switching speed of the 2N2222?
A: The 2N2222 has a transition frequency (( f_t )) of 250 MHz, making it suitable for high-speed switching applications.
Q: Can I use the 2N2222 without a base resistor?
A: No, a base resistor is essential to limit the base current and prevent damage to the transistor.
By following this documentation, you can effectively use the 2N2222 transistor in your electronic projects!