Testing transistors with a digital multimeter (DMM) requires switching to the diode-test mode. For a standard NPN Bipolar Junction Transistor (BJT), you should read a forward voltage drop of roughly 0.5V to 0.8V when placing the red probe on the Base and the black probe on the Emitter or Collector; reversing the probes should yield an open-loop (OL) reading. For an N-Channel MOSFET, you test the intrinsic body diode between Drain and Source, then check if the Gate holds a charge to turn the channel on. If any junction reads 0.00V (short) or OL in both directions (open), the silicon is dead.
While modern DMMs often have a dedicated 'hFE' transistor socket, it is largely useless for diagnosing partial failures or verifying pinouts on power packages. The diode-test method is the industry standard for bench and jobsite troubleshooting. Below is the definitive reference for selecting, biasing, and testing the most common discrete semiconductors.
The 'Safe Default' Transistor Cheat Sheet
When you need to drive a load and don't want to spend an hour digging through distributor parametric search tools, these are the proven, jellybean parts that belong in every bench kit. They cover 95% of hobbyist and prototyping needs.
| Part Number | Type | Package | Vce / Vds Max | Ic / Id Max | Pinout (1-2-3) | Best Application |
|---|---|---|---|---|---|---|
| 2N3904 | NPN BJT | TO-92 | 40V | 200mA | E - B - C | Logic level shifting, small signal amplification |
| 2N2222 | NPN BJT | TO-92 / TO-18 | 40V | 800mA | E - B - C | Driving small relays, LEDs, and low-power motors |
| TIP120 | Darlington NPN | TO-220 | 60V | 5A | B - C - E | High-current DC motors, solenoids (requires heatsink) |
| IRFZ44N | N-Ch MOSFET | TO-220 | 55V | 49A | G - D - S | PWM motor control, high-current switching (needs 10V Vgs) |
| AO3400 | N-Ch MOSFET | SOT-23 | 30V | 5.7A | G - S - D | 3.3V logic-level switching on tight PCB layouts |
For TO-92 packages (like the 2N3904), hold the transistor with the flat side facing you and the leads pointing down. The pins are 1-2-3 from left to right. For TO-220 packages (like the TIP120 or IRFZ44N), lay the component flat on a table with the metal tab facing up and the leads pointing toward you. The pins are 1-2-3 from left to right. Always verify with a datasheet, as manufacturers occasionally swap pinouts for specific voltage grades.
Operation Regions and Biasing Basics
A transistor is essentially a current-controlled valve (BJT) or a voltage-controlled valve (MOSFET). To select and bias it correctly, you must know which of the three operation regions your circuit requires. Using a BJT in the active region when you meant to use it as a switch will result in massive heat dissipation and a melted TO-92 package.
| Region | Vbe / Vgs Condition | Vce / Vds State | Current Behavior | Primary Use Case |
|---|---|---|---|---|
| Cutoff | Vbe < 0.5V (or Vgs < Vth) | Vce = Vcc (Supply Voltage) | Ic = 0 (Leakage only) | Switch OFF state |
| Active / Linear | Vbe ≈ 0.7V | Vce > Vce(sat) (Typically 1V to Vcc) | Ic = β × Ib (Proportional) | Audio amplification, linear regulators |
| Saturation | Vbe ≈ 0.7V (Overdriven) | Vce ≈ 0.2V (Vce_sat) | Ic < β × Ib (Limited by load) | Switch ON state (Relays, LEDs, Motors) |
How to Bias for Hard Saturation
When using a BJT as a switch, you want it in deep saturation to minimize Vce and reduce heat. The rule of thumb is to assume a forced Beta (β) of 10, regardless of the datasheet's hFE spec (which can be 200+ in the active region but drops sharply in saturation).
Worked Example: You are switching a 12V relay coil that draws 80mA using a 5V Arduino GPIO and a 2N2222.
1. Target Ic = 80mA.
2. Forced β = 10. Therefore, required Base Current (Ib) = 80mA / 10 = 8mA.
3. Voltage across base resistor (Rb) = V_gpio - Vbe = 5V - 0.7V = 4.3V.
4. Rb = 4.3V / 8mA = 537Ω.
Select the next standard lower value: 470Ω. This guarantees the transistor turns fully on without overloading the Arduino pin (which can source up to 20mA safely).
How Transistors Fail and How to Test Them
Transistors rarely fail gracefully. According to ON Semiconductor's reliability data, the most common failure modes are:
- Thermal Runaway (BJT): As temperature rises, Vbe drops, causing the transistor to draw more base current, which generates more heat until the silicon melts. Prevent this with an emitter degeneration resistor.
- Secondary Breakdown (BJT): Occurs when high Vce and high Ic happen simultaneously, creating localized hot spots that punch through the die. Always check the Safe Operating Area (SOA) graph in the datasheet.
- dV/dt Turn-On (MOSFET): Fast voltage spikes on the Drain couple through the Miller capacitance (Cgd) into the Gate, inadvertently turning the MOSFET on and shorting the supply. Prevent this with a low-impedance gate driver or a pull-down resistor.
- Overvoltage/ESD: Exceeding Vce_max or Vgs_max (usually ±20V for MOSFETs) punches through the gate oxide or collector-base junction, resulting in a dead short.
Testing an NPN BJT with a Multimeter
Set your DMM to diode-test mode (the symbol with an arrow and a line). Follow these exact steps, referencing the Fluke guide on semiconductor testing:
- Identify the Base: Place the red probe on pin 1, black on pin 2. Note the reading. Move black to pin 3. If both read ~0.6V, pin 1 is the Base (and it's NPN). If not, move red to pin 2 and repeat until you find the pin that yields a ~0.6V drop to the other two.
- Verify Forward Bias: With red on Base and black on Emitter, expect 0.500V to 0.800V. With red on Base and black on Collector, expect 0.500V to 0.800V (usually slightly lower than the BE junction).
- Verify Reverse Bias: Swap probes (black on Base, red on Emitter/Collector). The meter must read 'OL' (Open Loop). If it reads anything else, the junction is leaky or shorted.
- Check Collector-Emitter: Place probes across Collector and Emitter in both directions. Both must read 'OL'. If it reads 0.00V or beeps, the transistor has suffered a catastrophic short and belongs in the bin.
Testing an N-Channel MOSFET
MOSFET testing relies on checking the intrinsic body diode and the gate capacitance.
- Discharge the Gate: Touch all three pins simultaneously with a piece of bare wire or your finger to bleed off any trapped gate charge.
- Test the Body Diode: Place the red probe on the Source and the black probe on the Drain. You should read a diode drop of roughly 0.3V to 0.5V. Reverse the probes (red on Drain, black on Source); it must read 'OL'.
- Charge the Gate: While keeping the black probe on the Source, briefly touch the red probe to the Gate. (The DMM's internal battery provides enough voltage to charge the gate capacitance above the threshold).
- Verify Channel Turn-On: Move the red probe back to the Drain (black remains on Source). The reading should now drop to near 0.00V or beep, indicating the channel has turned on and current is flowing bidirectionally.
- Discharge and Verify Turn-Off: Touch the Gate to the Source again to discharge it. Re-test Drain to Source; it should revert to the 'OL' state in the reverse direction.
If you are testing high-voltage power MOSFETs (e.g., 600V IGBTs or SiC FETs used in solar inverters), do not rely on a DMM's diode-test voltage to charge the gate, as it may not exceed the Vgs(th) threshold. Use a dedicated 9V battery with a 1kΩ resistor to safely charge the gate during testing. Always ensure mains-powered equipment is de-energized and capacitors are discharged before pulling components for testing.
A Bulletproof 12V Relay Driver Circuit
Let's put this theory into practice with a complete, real-world application circuit. This design uses an ESP32 (3.3V logic) to switch a standard 12V automotive-style relay via a 2N2222 NPN BJT. This exact topology is the gold standard for isolating low-voltage microcontrollers from inductive kickback.
Component List & Values
- Q1: 2N2222 (NPN BJT, TO-92)
- R1 (Base Resistor): 1kΩ (1/4W)
- D1 (Flyback Diode): 1N4148 or 1N4007
- K1 (Relay): 12V DC coil, ~30mA coil current
- U1: ESP32 DevKit (3.3V GPIO output)
Wiring and Circuit Topology
- Connect the ESP32 GPIO pin to one leg of the 1kΩ base resistor (R1).
- Connect the other leg of R1 to the Base (Pin 2) of the 2N2222.
- Connect the Emitter (Pin 1) of the 2N2222 to the shared system Ground (GND).
- Connect the Collector (Pin 3) of the 2N2222 to Relay Pin A (Coil negative).
- Connect Relay Pin B (Coil positive) to the 12V supply.
- Place the 1N4148 flyback diode (D1) in parallel with the relay coil. The cathode (striped end) must point toward the 12V supply, and the anode points toward the Collector. Never omit this diode; inductive collapse will generate a >100V spike that will instantly punch through the BJT's collector-base junction.
Circuit Analysis
When the ESP32 drives the GPIO HIGH (3.3V), current flows through R1 into the base.
Ib = (3.3V - 0.7V) / 1000Ω = 2.6mA.
The relay coil requires 30mA. The required forced Beta is 30mA / 2.6mA = 11.5. Since the 2N2222 easily provides a Beta of 100+ at this current level, the transistor is driven deep into saturation. Vce drops to ~0.2V, applying nearly the full 12V across the relay coil, and the transistor dissipates a negligible 6mW of heat (P = 0.2V × 30mA). When the GPIO goes LOW, the base current ceases, the BJT cuts off, and the flyback diode safely recirculates the collapsing magnetic field energy back into the coil.






