The four main types of transistors used in modern electronics are Bipolar Junction Transistors (BJTs), Metal-Oxide-Semiconductor Field-Effect Transistors (MOSFETs), Insulated-Gate Bipolar Transistors (IGBTs), and Junction Field-Effect Transistors (JFETs). For 95% of DIY, microcontroller, and low-power industrial applications, you only need to stock NPN BJTs and N-channel logic-level MOSFETs. BJTs are current-controlled devices ideal for low-power signal switching, while MOSFETs are voltage-controlled devices that excel at switching high-current loads with minimal heat.
The Workbench Defaults: Comparing the Main Transistor Families
Before designing a circuit, you must select the right semiconductor family. A common mistake in older tutorials is recommending the TIP120 Darlington BJT for microcontroller motor control. The TIP120 has a high collector-emitter saturation voltage (Vce(sat)) of up to 1.5V. At a 1A load, it wastes 1.5W of power as heat, requiring a bulky heatsink. A modern logic-level MOSFET like the IRLZ44N has an Rds(on) of 22mΩ, dissipating only 22mW at 1A—running completely cool to the touch.
| Part Number | Type | Package | Max Voltage (Vce/Vds) | Max Current (Ic/Id) | Key Metric (hFE / Rds) | Best Application |
|---|---|---|---|---|---|---|
| 2N3904 | NPN BJT | TO-92 | 40V | 200mA | hFE: 100-300 | Low-power signal switching, LED indicators |
| TIP120 | Darlington NPN | TO-220 | 60V | 5A | hFE: ~1000 (Vce drop ~1.5V) | Legacy 5V logic loads (avoid for 3.3V logic) |
| IRLZ44N | N-ch Logic MOSFET | TO-220 | 55V | 47A | Rds(on): 22mΩ @ Vgs=5V | 3.3V/5V MCU switching, PWM motor control |
| IRF520 | N-ch Std MOSFET | TO-220 | 100V | 9.2A | Rds(on): 270mΩ @ Vgs=10V | High-voltage switching (requires 10V+ gate drive) |
| FGA25N120 | IGBT | TO-247 | 1200V | 25A | Vce(sat): 2.5V | High-voltage inverters, induction heaters, welders |
Pinouts, Symbols, and Operation Regions
Understanding how to read a datasheet pinout and map it to the physical package is critical. Always verify pinouts against the specific manufacturer's datasheet, as Japanese (e.g., 2SC1815) and American (e.g., 2N3904) TO-92 packages often swap the Emitter and Collector pins.
Physical Pinouts (Flat Side Facing You, Pins Down)
- 2N3904 (NPN BJT, TO-92): Emitter (E), Base (B), Collector (C). The schematic symbol features an arrow on the Emitter pointing outward (Not Pointing iN).
- IRLZ44N (N-ch MOSFET, TO-220): Gate (G), Drain (D), Source (S). The schematic symbol shows a broken channel line (enhancement mode) with an arrow on the Source pointing inward.
Transistors operate in three distinct regions depending on the bias applied. For switching applications (digital logic, PWM, relays), you only want to use the Cutoff and Saturation/Ohmic regions. The Active/Linear region is reserved for analog amplification.
| Region | BJT (2N3904) Behavior | MOSFET (IRLZ44N) Behavior | Use Case |
|---|---|---|---|
| Cutoff (OFF) | Vbe < 0.6V. Base current is zero. Collector current ≈ 0A. | Vgs < Vth (typically 2V). Gate is uncharged. Drain current ≈ 0A. | Switch is OPEN. Load is off. |
| Active / Linear | Vbe ≈ 0.7V. Vce > 0.3V. Acts as a current amplifier (Ic = hFE × Ib). | Vgs > Vth. Vds > (Vgs - Vth). Acts as a voltage-controlled current source. | Audio amplifiers, linear regulators. (Avoid for switching due to high heat). |
| Saturation / Ohmic (ON) | Vbe ≈ 0.7V. Vce drops to ~0.2V. Ic is limited entirely by the external load. | Vgs >> Vth. Vds is very low. Acts as a closed switch with resistance Rds(on). | Switch is CLOSED. Digital logic, motor drives, LED drivers. |
How to Bias and Select the Right Transistor for the Job
Biasing is the process of applying the correct DC voltage or current to turn the transistor fully ON without damaging your control circuit. BJTs are current-controlled; you must limit the base current with a resistor. MOSFETs are voltage-controlled; the gate draws virtually zero steady-state current, but you must manage the gate capacitance and prevent floating states.
Complete Application Circuit: ESP32 Driving a 12V Cooling Fan
Let's build a circuit where an ESP32 (3.3V GPIO) switches a 12V, 500mA PC cooling fan using an IRLZ44N logic-level MOSFET.
- The Load: Connect the Fan's positive wire to the 12V power supply. Connect the Fan's negative wire to the MOSFET's Drain pin.
- The Switch: Connect the MOSFET's Source pin to the common Ground (shared between the 12V supply and the ESP32).
- Flyback Protection: Place a 1N4007 diode in parallel with the fan. The cathode (stripe) connects to the 12V side, and the anode connects to the Drain. This safely dissipates the inductive voltage spike when the MOSFET turns off.
- Gate Drive (Series Resistor): Connect a 100Ω resistor between the ESP32 GPIO pin and the MOSFET Gate. This limits the inrush current required to charge the gate capacitance, protecting the ESP32's delicate GPIO traces from tripping internal overcurrent protections.
- Gate Pulldown (Bleeder Resistor): Connect a 10kΩ resistor between the MOSFET Gate and Ground. During ESP32 boot-up, GPIO pins float. Without this pulldown, ambient noise could partially turn on the MOSFET, causing the fan to stutter and the FET to overheat in the linear region.
For a deeper understanding of managing gate charge and preventing high-frequency ringing in PWM applications, refer to All About Circuits' guide on MOSFET gate drivers.
Failure Modes and Multimeter Testing
Transistors rarely fail gracefully. When pushed beyond their Safe Operating Area (SOA), they typically fail as a dead short.
- BJT Failure: Usually caused by thermal runaway or exceeding the maximum collector current. The Collector-Emitter junction melts and shorts out, leaving the load permanently powered ON.
- MOSFET Failure: Usually caused by Electrostatic Discharge (ESD) puncturing the microscopic gate oxide layer, or by exceeding the Drain-Source avalanche voltage. A punctured gate will often short to the Source, rendering the device permanently OFF, or short to the Drain, turning it permanently ON.
How to Test a BJT with a Digital Multimeter (DMM)
Set your DMM to Diode Test Mode. You are testing the Base-Emitter and Base-Collector PN junctions.
- Place the Red probe on the Base and the Black probe on the Emitter. You should read a forward voltage drop between 0.60V and 0.75V.
- Move the Black probe to the Collector (Red still on Base). You should read a similar 0.60V to 0.75V drop.
- Reverse the probes (Black on Base, Red on Emitter/Collector). The meter should read OL (Over Limit), indicating the junction is reverse-biased and blocking current.
- Test Collector to Emitter in both directions. Both should read OL. If you read near 0V, the transistor is shorted and dead.
How to Test an N-Channel MOSFET with a DMM
Testing a MOSFET requires checking the intrinsic body diode and then actively charging the gate to verify the channel turns on. For standard FETs, the DMM's internal 3V battery might not be enough to fully turn it on, but it will work for logic-level FETs like the IRLZ44N.
- Discharge the Gate: Touch the Gate and Source pins together with a piece of wire or your finger to drain any stored capacitance.
- Check the Body Diode: Set DMM to Diode Mode. Place Red on Source and Black on Drain. It should read OL. Reverse them (Red on Drain, Black on Source). You should read 0.4V to 0.6V (the forward drop of the body diode).
- Charge the Gate: Keep the Black probe on the Source. Briefly touch the Red probe to the Gate. This uses the DMM's internal voltage to charge the gate capacitor.
- Verify the Channel: Move the Red probe back to the Drain (Black remains on Source). The reading should now drop to near 0V (or a very low resistance), proving the internal channel has turned ON and is bypassing the body diode.
- Short the Gate to Source again, and the Drain-Source reading should revert to showing the 0.5V body diode drop.
By keeping a stock of 2N3904s for signal routing and IRLZ44Ns for power switching, and by verifying them on the bench with these exact DMM procedures, you will eliminate the vast majority of semiconductor-related debugging headaches in your projects. Always verify exact pinouts and maximum ratings against the manufacturer's official datasheet before soldering.






