2N2222 NPN Transistor for Switching LEDs, Relays and Small Motors

2N2222 NPN Transistor (40V 800mA, TO-18 Metal Can)

Rs. 12 - In stock - SKU ABH-TRAN-0079 - Brand Generic

The 2N2222 is a classic general-purpose NPN transistor (40V, 800mA, 250MHz) in a TO-18 metal can. It is used to switch relays, LEDs and small motors from a microcontroller, and for small-signal amplification.

Delivery anywhere in Pakistan for a flat Rs. 250 paid in advance, product price Cash on Delivery. 7-Day Checking Warranty.

Key features

Specifications

TypeNPN BJT
VCEO40V
IC max800mA
Power dissipation500mW
hFE (gain)100-300
Transition frequency250MHz
PackageTO-18 metal can

What's in the box

Use cases

Description

Overview

The 2N2222 has been a go-to switching transistor for decades. It can switch up to 800mA. That is much more than an Arduino pin can supply directly, so it is perfect for driving relays, buzzers, LED strips and small motors.

Switching a load with Arduino

  1. Connect the load between +V and the collector
  2. Connect the emitter to ground
  3. Connect a 1k resistor from the Arduino pin to the base
  4. For relays and motors, add a 1N4007 flyback diode across the load

Pinout (TO-18 metal can)

With the leads facing you, the tab marks the emitter. Going round from the tab: Emitter, Base, Collector. Plastic TO-92 versions (PN2222A) usually have E-B-C from the flat side, but always check the datasheet for your exact part.

Applications

Relay drivers, LED drivers, audio pre-amps, oscillators, logic level shifting and switching circuits.

Complementary part

The 2N2907 is the matching PNP transistor.

Frequently asked questions

What base resistor should I use with 2N2222 and Arduino?

About 1k for loads up to 100-200mA. For larger loads, calculate for a base current of about one tenth of the load current.

Can 2N2222 drive a 12V relay?

Yes. Most 12V relays draw under 100mA. Add a flyback diode across the coil.

What is the PNP equivalent?

The 2N2907.

Related products

All Transistors & Voltage Regulators