Package

TO-92: Transistor, Regulator and Sensor Pinouts

Small three-legged parts in a half-round package and their pin order.

TO-92 is the small half-round plastic package with three legs. It houses small-signal transistors, MOSFETs for light loads, regulators up to about 100 mA, the TL431 reference and sensors such as the LM35 or DS18B20. Pins are counted from left to right when looking at the flat, marked side with the legs pointing down.

This is exactly where most mix-ups happen, because the pin order follows no rule. The 2N2222A and 2N3904 are emitter, base, collector, while the BC547 is collector, base, emitter. The 2N7000 MOSFET starts with source, and the 78L05 regulator has its output on the left and input on the right, the exact opposite of the large 7805 in TO-220. The DS18B20 temperature sensor has GND on the left, the LM35 on the right.

The "Pin order" column shows the sequence of each part from the data, and the analysis below the most common variant. Some parts of the same type also exist from different manufacturers with a different pinout, such as the 2N2222 in the metal TO-18 can. When in doubt, check the datasheet of the actual part.

Overview from the pinout data

Most common pin order: E – B – C (3 of 10 parts, pin 1 first).

PartManufacturerPinsPin order / Supply
2N2222A / PN2222 NPN Bipolar Transistoronsemi / Fairchild / ST31 · E2 · B3 · C
2N3904 NPN General-Purpose Bipolar Transistoronsemi / Fairchild / ST31 · E2 · B3 · C
2N3906 PNP General-Purpose Bipolar Transistoronsemi / Fairchild / ST31 · E2 · B3 · C
BC547 NPN General Purpose Transistoronsemi / Fairchild / ST / Philips31 · C2 · B3 · E
2N7000 60V 200mA N-Channel Enhancement Mode MOSFETonsemi / Vishay31 · S2 · G3 · D
78L05 5V 100mA Linear Voltage RegulatorSTMicroelectronics / TI / onsemi31 · VO2 · GND3 · VI
LP2950-3.3 Micropower Voltage RegulatorTexas Instruments / ON Semi31 · VO2 · GND3 · VI
TL431 Adjustable Precision Shunt RegulatorTexas Instruments31 · REF2 · ANODE3 · CATHODE
LM35 Precision Centigrade Temperature Sensor (TO-92)Texas Instruments31 · +V_S2 · V_OUT3 · GND
DS18B20 Programmable Resolution 1-Wire Digital ThermometerMaxim Integrated / Analog Devices31 · GND2 · DQ3 · V_DD

All parts (10)

Chip
onsemi / Fairchild / ST

2N2222A / PN2222 NPN Bipolar Transistor

Ubiquitous NPN silicon planar bipolar junction transistor for high-speed medium-power switching and general-purpose amplifier applications. Max 40V, 800mA, 500mW.

Chip
onsemi / Fairchild / ST

2N3904 NPN General-Purpose Bipolar Transistor

Widely used general-purpose NPN bipolar junction transistor for low-power amplification and switching. Max 40V, 200mA, 625mW. Complementary pair to 2N3906 (PNP).

Chip
onsemi / Fairchild / ST

2N3906 PNP General-Purpose Bipolar Transistor

Widely used general-purpose PNP bipolar junction transistor for medium-speed switching and amplification. Max -40V, -200mA, 625mW. Complementary pair to 2N3904 (NPN).

Chip
onsemi / Fairchild / ST / Philips

BC547 NPN General Purpose Transistor

General purpose NPN silicon transistor for switching and amplifier applications. Max 45V VCE, 100mA IC, 500mW. European standard equivalent to 2N3904.

Chip
onsemi / Vishay

2N7000 60V 200mA N-Channel Enhancement Mode MOSFET

N-channel enhancement mode field-effect transistor produced using high cell density, DMOS technology. Ideal for low-voltage, low-current switching applications such as small servo motor controls and power MOSFET gate drivers.

Chip
STMicroelectronics / TI / onsemi

78L05 5V 100mA Linear Voltage Regulator

Three-terminal positive linear voltage regulator with fixed 5V output and 100mA output current capability. Internal current-limiting and thermal shutdown make it remarkably rugged.

Chip
Texas Instruments / ON Semi

LP2950-3.3 Micropower Voltage Regulator

Positive 100mA 30V Linear Micropower Voltage Regulator, Fixed Output 3.3V, TO-92

Chip
Texas Instruments

TL431 Adjustable Precision Shunt Regulator

Three-terminal programmable shunt regulator diode with temperature stability guaranteed over the full operating range. Output voltage can be set to any value between 2.5V and 36V with two external resistors.

Chip
Texas Instruments

LM35 Precision Centigrade Temperature Sensor (TO-92)

Precision centigrade temperature sensor, TO-92

Chip
Maxim Integrated / Analog Devices

DS18B20 Programmable Resolution 1-Wire Digital Thermometer

Programmable Resolution 1-Wire Digital Thermometer TO-92