Whether you refer to it as the collector or by its common multilingual datasheet search term, transistor colector, this terminal is the primary current path in a Bipolar Junction Transistor (BJT). In an NPN transistor, the collector is where the main load current enters the device and exits through the emitter. It is the pin that takes the thermal and voltage abuse when switching motors, relays, and high-current LEDs.
The direct answer: If you need a safe, default NPN BJT for general-purpose switching under 200mA, use the 2N3904. For loads between 200mA and 600mA, default to the 2N2222. If your load exceeds 1A, abandon BJTs entirely and switch to a logic-level MOSFET like the IRLZ44N.
BJT Pinout and the Role of the Transistor Colector
Misidentifying the collector pin is the most common reason hobbyists fry components on the bench. The physical pinout changes depending on the package type, even for the exact same silicon die.
Standard TO-92 Pinout (e.g., 2N3904, BC547):
Hold the transistor with the flat face pointing toward you and the pins pointing down. From left to right, the pins are:
- Emitter (E): Connected to ground (NPN) or VCC (PNP).
- Base (B): The control valve. A small current here dictates the flow.
- Collector (C): The transistor colector terminal. Connected to the load.
Schematic Symbol Identification:
In a schematic, the collector is the diagonal line intersecting the base that does not have an arrow. The arrow is always on the emitter. For an NPN, the arrow points outward (emitting electrons); for a PNP, it points inward.
Operation Regions: Where the Collector Voltage Dictates Behavior
The behavior of the collector terminal is defined by the voltage across the collector and emitter (Vce) relative to the base-emitter voltage (Vbe). Understanding these regions is mandatory for deciding whether your BJT will act as a switch or an amplifier.
| Region | Base-Emitter (Vbe) | Collector-Emitter (Vce) | Collector Current (Ic) | Primary Use Case |
|---|---|---|---|---|
| Cutoff | < 0.6V | Equal to Supply (Vcc) | 0A (Leakage only) | Switch OFF |
| Forward Active | ~0.65V - 0.7V | > 0.3V (Typically Vcc/2) | Ic = β × Ib | Linear Amplification |
| Saturation | ~0.7V - 0.8V | < 0.2V (Vce_sat) | Limited by external load | Switch ON |
When using a BJT as a switch, you must drive the base hard enough to push the transistor into saturation. In saturation, the collector-emitter junction acts like a closed mechanical switch with a tiny voltage drop (Vce_sat, typically 0.05V to 0.2V). If you fail to saturate it, the transistor operates in the active region, dropping several volts across the collector and dissipating that energy as heat, which leads to rapid thermal failure.
Biasing the Collector: A Complete 5V Relay Driver Circuit
Let's build a practical circuit to drive a standard 5V electromechanical relay using a 3.3V microcontroller GPIO (like an ESP32 or Raspberry Pi Pico) and a 2N3904 NPN transistor.
Circuit Parameters:
- Relay Coil Resistance: 70Ω (Draws ~71mA at 5V)
- Microcontroller GPIO Voltage: 3.3V
- Target Forced Beta (β_forced): 10 (Standard rule of thumb for hard saturation)
Calculating the Base Resistor (Rb):
- Calculate required Collector Current (Ic): 5V / 70Ω = 71mA.
- Calculate required Base Current (Ib): Ic / β_forced = 71mA / 10 = 7.1mA.
- Calculate Rb: (V_gpio - Vbe) / Ib = (3.3V - 0.7V) / 0.0071A = 366Ω.
- Select standard resistor: Use a 330Ω resistor (this provides slightly more base current, ensuring deep saturation).
Wiring Steps:
- Connect the 330Ω base resistor between the ESP32 GPIO pin and the Base (middle pin) of the 2N3904.
- Connect the Emitter (left pin) directly to the system Ground.
- Connect one side of the relay coil to the 5V supply.
- Connect the other side of the relay coil to the Collector (right pin) of the 2N3904.
- Place a 1N4148 or 1N4007 flyback diode in parallel with the relay coil, with the cathode (stripe) pointing toward the 5V supply and the anode pointing toward the collector.
How the Collector Fails and How to Test It
BJTs rarely fail gracefully. According to Fluke's semiconductor testing guidelines, the most common failure mode is a short circuit between the collector and emitter due to thermal runaway or exceeding the maximum Collector-Emitter breakdown voltage (Vceo).
Testing with a Digital Multimeter (DMM):
Set your multimeter to Diode Test Mode. Remove the transistor from the circuit to avoid parallel resistance paths skewing your readings.
- Base to Collector (Forward): Red probe on Base, Black probe on Collector. You should read a voltage drop between 0.55V and 0.75V. This confirms the internal PN junction is intact.
- Base to Collector (Reverse): Black probe on Base, Red probe on Collector. The meter should read OL (Over Limit / Open).
- Collector to Emitter: Place probes across the Collector and Emitter in both directions. The meter must read OL both ways. If it reads near 0.00V or beeps continuously, the transistor colector junction has internally shorted and the part is trash.
Decision Tree: Selecting Your Transistor Based on Collector Current
Stop guessing which BJT to pull from your parts bin. Use this decision matrix to select the exact part number based on your load requirements. As noted in SparkFun's transistor guide, matching the continuous collector current (Ic) to your load with a 20% safety margin is critical for long-term reliability.
| Load Current (Ic) | Load Type | Decision / Action | Concrete Part Pick |
|---|---|---|---|
| < 100mA | LEDs, Optocouplers, Logic Level Shifting | Use standard small-signal NPN | 2N3904 (or BC547) |
| 100mA - 500mA | Small Relays, Low-Power Motors, Solenoids | Use medium-power NPN in TO-92 or TO-18 | 2N2222 (or PN2222) |
| 500mA - 2A | High-current relays, Stepper motor windings | Use Darlington pair or TO-220 BJT with heatsink | TIP120 (Darlington) or TIP31C |
| > 2A | Heaters, Large DC Motors, High-Power LED arrays | STOP. Abandon BJT. Base current required is too high for GPIO. Switch to Logic-Level MOSFET. | IRLZ44N (MOSFET) |
Safe Default Part Numbers and Absolute Maximum Ratings
Keep these specific part numbers stocked in your lab. They are the industry-standard workhorses with massive manufacturing redundancy, meaning you can buy them from ON Semiconductor, Vishay, or STMicroelectronics and get identical performance.
| Part Number | Type | Max Vceo (Collector-Emitter Voltage) | Max Ic (Continuous Collector Current) | Max Power Dissipation (Pd) | Package |
|---|---|---|---|---|---|
| 2N3904 | NPN | 40V | 200mA | 625mW | TO-92 |
| 2N3906 | PNP | -40V | -200mA | 625mW | TO-92 |
| 2N2222 | NPN | 30V | 600mA | 500mW | TO-18 / TO-92 |
| TIP120 | NPN Darlington | 60V | 5A | 65W (with heatsink) | TO-220 |
| BC547 | NPN | 45V | 100mA | 500mW | TO-92 |
When designing your PCB or breadboard layout, always respect the Vceo rating. If you are switching a 24V inductive load, a 2N3904 (40V Vceo) is technically within limits, but the flyback spike can easily push the transistor colector voltage past 40V before the diode clamps it. In 24V systems, step up to a TIP120 or a MOSFET to maintain a safe voltage derating margin.






