Stufin
Home Quick Cart Profile

2N2222A NPN Transistor (Pack of 5)

Buy Now on Stufin

Component Description

2N2222A NPN Transistor (Pack of 5)

Overview

The 2N2222A is a high-performance, low-power NPN (Negative-Positive-Negative) bipolar junction transistor (BJT) designed for use in a wide range of electronic circuits, including switching and amplification applications. This component is part of a pack of five transistors, offering a cost-effective solution for prototyping, development, and production.

Functionality

The 2N2222A NPN transistor acts as a current amplifier, allowing a small input current to control a larger output current. The transistor consists of three layersa P-type (positive) base, an N-type (negative) collector, and an N-type emitter. When a small positive voltage is applied to the base with respect to the emitter, the transistor turns on, allowing current to flow from the collector to the emitter.
The 2N2222A can be used in various applications, including

Switching

The transistor can be used to switch on/off devices, such as LEDs, motors, or relays, based on a digital input signal.

Amplification

The transistor can amplify small input signals, making it suitable for use in audio amplifiers, radio frequency (RF) amplifiers, and other signal processing applications.

Key Features

  • NPN Structure: The transistor has a negative-positive-negative structure, making it suitable for use in NPN transistor circuits.
  • Low Power Consumption: The 2N2222A has a low power consumption, making it ideal for battery-powered devices and energy-efficient applications.
  • High Current Gain: The transistor has a high current gain (hFE) of 100-300, allowing it to amplify small input currents.
  • Low Saturation Voltage: The 2N2222A has a low saturation voltage (VCE(sat)) of 0.3V, making it suitable for use in low-voltage applications.
  • Fast Switching Time: The transistor has a fast switching time, making it suitable for use in high-frequency switching applications.
  • Maximum Collector Current: The transistor can handle a maximum collector current (IC) of 600mA, making it suitable for use in a wide range of applications.
  • Maximum Collector-Emitter Voltage: The transistor can handle a maximum collector-emitter voltage (VCE) of 30V, making it suitable for use in applications with moderate voltage requirements.

Packaging and Pinout

The 2N2222A NPN transistor comes in a TO-92 package, a compact, three-lead plastic package with a pinout as follows
Emitter (E)Pin 1
Base (B)Pin 2
Collector (C)Pin 3

Operating Conditions

Operating Temperature

-55C to 150C

Storage Temperature

-55C to 150C

Absolute Maximum Ratings

Collector-Emitter Voltage (VCE)30V
Collector-Base Voltage (VCB)30V
Emitter-Base Voltage (VEB)5V
Collector Current (IC)600mA
Base Current (IB)5mA
Total Device Dissipation (PD)625mW

Conclusion

The 2N2222A NPN transistor is a versatile, high-performance component suitable for a wide range of electronic applications, including switching, amplification, and signal processing. With its low power consumption, high current gain, and fast switching time, this transistor is an ideal choice for engineers, hobbyists, and students developing IoT, robotics, and other electronic projects.

Pin Configuration

  • 2N2222A NPN Transistor Documentation
  • Overview
  • The 2N2222A is a popular NPN (Negative-Positive-Negative) bipolar junction transistor commonly used in a wide range of electronic circuits, including IoT projects. This documentation explains the pinout and connection details of the 2N2222A transistor.
  • Pinout
  • The 2N2222A transistor has three pins:
  • 1. Emitter (E)
  • Pin 1 (leftmost pin when the transistor is held with the legs facing you)
  • Function: Current flows out of the transistor through the emitter pin
  • Connection: Typically connected to ground or a low-voltage point in the circuit
  • 2. Base (B)
  • Pin 2 (middle pin)
  • Function: Controls the flow of current between the collector and emitter pins
  • Connection: Connected to a control voltage or signal, such as a microcontroller output or a button
  • 3. Collector (C)
  • Pin 3 (rightmost pin)
  • Function: Current flows into the transistor through the collector pin
  • Connection: Typically connected to a load, such as a resistor, LED, or relay
  • Connection Structure
  • When using the 2N2222A transistor, follow these connection guidelines:
  • Emitter (E): Connect to ground or a low-voltage point in the circuit
  • Base (B):
  • + Connect to a control voltage or signal (e.g., microcontroller output, button, or sensor output)
  • + Use a suitable resistor to limit the base current (typically in the range of 1 k to 10 k)
  • Collector (C):
  • + Connect to a load, such as a resistor, LED, or relay
  • + Ensure the collector voltage is within the transistor's maximum rating (typically up to 30V for the 2N2222A)
  • Example Connection Diagram
  • Here is a simple example of how to connect the 2N2222A transistor:
  • ```
  • +-----+-----+
  • | R1 | 1 k |
  • +-----+-----+
  • |
  • |
  • v
  • +-----+-----+
  • | 2N2222A |
  • | Emitter |
  • | (Pin 1) |
  • +-----+-----+
  • |
  • |
  • v
  • +-----+-----+
  • | GND |
  • +-----+-----+
  • +-----+-----+
  • | Vin | 5V |
  • +-----+-----+
  • |
  • |
  • v
  • +-----+-----+
  • | R2 | 1 k |
  • +-----+-----+
  • |
  • |
  • v
  • +-----+-----+
  • | 2N2222A |
  • | Base |
  • | (Pin 2) |
  • +-----+-----+
  • +-----+-----+
  • | Load | (e.g., LED) |
  • +-----+-----+
  • |
  • |
  • v
  • +-----+-----+
  • | 2N2222A |
  • | Collector |
  • | (Pin 3) |
  • +-----+-----+
  • ```
  • In this example, the 2N2222A transistor is connected to:
  • A microcontroller output (Vin) through a 1 k resistor (R2) to the base pin
  • A load (e.g., an LED) to the collector pin
  • Ground (GND) to the emitter pin
  • Remember to adjust the resistor values and voltage ratings according to your specific application requirements.

Code Examples

2N2222A NPN Transistor Documentation
Overview
The 2N2222A is a popular NPN transistor widely used in electronic circuits for switching and amplification applications. This component is suitable for various IoT projects, including robotics, home automation, and sensor interfacing.
Pinout Diagram
The 2N2222A transistor has three pins:
Base (B): Pin 1
 Collector (C): Pin 2
 Emitter (E): Pin 3
Absolute Maximum Ratings
Collector-Base Voltage (Vcb): 30V
 Collector-Emitter Voltage (Vce): 30V
 Emitter-Base Voltage (Veb): 5V
 Collector Current (Ic): 800mA
 Base Current (Ib): 5mA
 Power Dissipation (Pd): 500mW
Example 1: Simple Switching Circuit
In this example, we will use the 2N2222A transistor as a switch to control an LED.
Circuit Diagram
```markdown
          +-----------+
          |          |
          |  2N2222A  |
          |          |
+-----------+  |          |  +-----------+
|  R1 (1k)  |  |  Base  |  |  Vcc (5V)  |
+-----------+  |          |  +-----------+
          |          |
          |  Collector |
          |          |
+-----------+  |          |  +-----------+
|  LED      |  |  Emitter  |  |  R2 (220)  |
+-----------+  |          |  +-----------+
          |          |
          |  GND      |
          +-----------+
```
Code Example (Arduino)
```c++
const int ledPin = 13;  // LED connected to digital pin 13
const int transistorBasePin = 2;  // Transistor base connected to digital pin 2
void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(transistorBasePin, OUTPUT);
}
void loop() {
  // Turn on the LED by setting the transistor base high
  digitalWrite(transistorBasePin, HIGH);
  delay(1000);
  
  // Turn off the LED by setting the transistor base low
  digitalWrite(transistorBasePin, LOW);
  delay(1000);
}
```
Example 2: Amplifying a Sensor Signal
In this example, we will use the 2N2222A transistor to amplify the output signal from a photodiode.
Circuit Diagram
```markdown
          +-----------+
          |          |
          |  Photodiode  |
          |          |
+-----------+  |          |  +-----------+
|  R1 (1k)  |  |  Anode  |  |  Vcc (5V)  |
+-----------+  |          |  +-----------+
          |          |
          |  Cathode  |
          |          |
+-----------+  |          |  +-----------+
|  R2 (10k) |  |  Base  |  |  2N2222A  |
+-----------+  |          |  +-----------+
          |          |
          |  Collector |
          |          |
+-----------+  |          |  +-----------+
|  R3 (1k)  |  |  Emitter  |  |  GND      |
+-----------+  |          |  +-----------+
```
Code Example (Arduino)
```c++
const int sensorPin = A0;  // Photodiode connected to analog pin A0
const int transistorBasePin = 2;  // Transistor base connected to digital pin 2
void setup() {
  pinMode(transistorBasePin, OUTPUT);
}
void loop() {
  // Read the photodiode signal
  int sensorValue = analogRead(sensorPin);
  
  // Amplify the signal using the transistor
  if (sensorValue > 500) {
    digitalWrite(transistorBasePin, HIGH);
  } else {
    digitalWrite(transistorBasePin, LOW);
  }
  delay(10);
}
```
Additional Information
The 2N2222A transistor is a general-purpose NPN transistor, suitable for most IoT projects.
 When using the transistor as a switch, ensure the base current is limited to prevent overheating.
 In amplification circuits, the transistor's collector current should be limited to prevent damage.
Remember to always handle electronic components with care, and follow proper safety precautions when working with electricity.