The Core Anatomy: Pinout, Symbol, and Parasitics
At the workbench, a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) is a voltage-controlled switch. Unlike BJTs that require continuous base current to stay on, a MOSFET requires almost zero steady-state gate current. Once the gate-to-source voltage (VGS) crosses the threshold, the channel opens, and current flows from Drain to Source.
Every standard N-channel MOSFET symbol and physical package contains three primary terminals:
- Gate (G): The control terminal. Electrically isolated from the channel by a thin layer of silicon dioxide. It acts like a capacitor plate.
- Drain (D): The terminal where current enters the channel (in an N-channel device).
- Source (S): The terminal where current exits the channel. This is your reference point for the gate voltage.
Beyond the ideal switch model, you must account for Miller Capacitance (Cgd). This parasitic capacitance between the Gate and Drain couples high dV/dt switching transients back into your gate drive circuit. If your gate drive impedance is too high, this Miller effect can inadvertently turn the MOSFET back on, causing shoot-through and catastrophic failure.
Operation Regions: Where the Magic Happens
A massive source of confusion for hobbyists is the terminology overlap with BJTs. In a BJT, 'saturation' means fully ON. In a MOSFET, 'saturation' means acting as a constant-current source (amplification mode). When using a MOSFET as a switch, you want it in the Triode (or Linear/Ohmic) region.
| Region | Voltage Conditions | Behavior | Practical Application |
|---|---|---|---|
| Cutoff | VGS < VGS(th) | Channel is pinched off. ID ≈ 0A. | Switch OFF state. |
| Triode (Linear) | VGS > VGS(th) AND VDS < (VGS - VGS(th)) | Acts as a voltage-controlled resistor. ID is proportional to VDS. | Switch ON state. Power loss is I² × RDS(on). |
| Saturation (Active) | VGS > VGS(th) AND VDS ≥ (VGS - VGS(th)) | Channel pinches off at the drain side. ID is constant, controlled only by VGS. | Linear amplifiers, electronic loads, constant-current LED drivers. |
How to Bias and Select a MOSFET for the Job
The most common mistake in MOSFET selection is the VGS(th) trap. The datasheet lists a Gate-Source Threshold Voltage (VGS(th)) of, say, 2.0V. A hobbyist connects it to a 3.3V ESP32 GPIO, and the MOSFET overheats while driving a 2A motor. Why?
VGS(th) is defined as the voltage required to pass a tiny, specific test current—usually 250µA. It is not the voltage required to turn the switch fully ON. To achieve the rated On-Resistance (RDS(on)), you must look at the RDS(on) specification table. It will explicitly state the test condition, such as VGS = 4.5V or VGS = 10V.
Biasing Rules for Switching:
- Gate Drive Voltage: Ensure your logic high (3.3V or 5V) exceeds the RDS(on) test condition VGS. If your logic is 3.3V, you strictly need a 'logic-level' MOSFET rated for RDS(on) at VGS = 2.5V or 4.5V max.
- Gate Resistor (RG): Place a 10Ω to 100Ω resistor in series with the gate. This limits the inrush current into the gate capacitance, protecting your microcontroller GPIO, and damps high-frequency ringing caused by PCB trace inductance.
- Pull-Down Resistor: Always place a 10kΩ resistor between Gate and Source. Microcontroller pins are high-impedance during boot-up. Without a pull-down, stray charge can float the gate into the linear region, causing the MOSFET to partially turn on and burn out before your code even starts.
The Workbench Test: Diagnosing a Blown MOSFET
When a circuit fails, the MOSFET is often the first casualty. You can verify an N-channel MOSFET's health without desoldering it completely using a standard digital multimeter (DMM) in Diode Test mode.
- Discharge the Gate: Briefly short the Gate pin to the Source pin with a piece of wire or your finger to bleed off any trapped charge in the gate capacitance.
- Check the Body Diode: Place the DMM's RED probe on the Source and the BLACK probe on the Drain. You should read a standard silicon diode forward voltage drop (typically 0.4V to 0.6V). This confirms the intrinsic body diode is intact.
- Check Reverse Blocking: Swap the probes (BLACK on Source, RED on Drain). The meter should read 'OL' (Open Loop). If it reads near 0V, the MOSFET has suffered a catastrophic drain-source short (the most common failure mode from thermal runaway).
- Test the Channel Switching: Keep the BLACK probe on the Source. Touch the RED probe to the Gate to charge it up (the DMM's internal battery provides ~3V, enough to partially turn on a logic-level FET). Now move the RED probe to the Drain. The meter should read a very low voltage drop (near 0.0V), indicating the channel is conducting. Short Gate to Source again, and the Drain should return to 'OL'.
Decision Tree: Picking the Right Part Number
Stop scrolling through DigiKey parametric searches for hours. Use this decision matrix to lock in a proven, safe default part number based on your exact load and logic constraints. For deeper design theory on gate driving, refer to the authoritative TI Fundamentals of MOSFET and IGBT Gate Driver Circuits application note.
| Application Scenario | Logic Voltage | Required Ratings (VDS / ID) | Concrete Default Pick |
|---|---|---|---|
| Level shifting, small relays, LEDs (< 500mA) | 3.3V or 5V | 50V / 0.22A | BSS138 (SOT-23 package) |
| Medium motors, solenoids, LED strips (1A - 15A) | 5V (Arduino) | 30V / 62A | IRLB8721 (TO-220, RDS(on) 8.7mΩ @ 4.5V) |
| Medium motors, solenoids, LED strips (1A - 15A) | 3.3V (ESP32/RPi) | 55V / 47A | IRLZ44N (TO-220, RDS(on) 22mΩ @ 5V, passable at 3.3V for <5A) |
| High-power DC motors, heating elements (20A - 50A) | 10V+ (Dedicated Gate Driver) | 100V / 50A | IRFB4110 (TO-247, requires 10V+ gate drive) |
| High-frequency switching (>100kHz), buck converters | 5V | 30V / 22A | CSD17571Q5A (SON 3x3, low Qg for fast switching) |
| High-side switching (Positive rail switching) | 3.3V or 5V | 20V / 2.8A | Si2301 (P-Channel SOT-23) |
Note on the infamous IRF520: Many cheap hobby kits include the IRF520 module. Do not use it with 5V or 3.3V logic. It is a standard-level FET requiring 10V on the gate to fully turn on. At 5V, it operates in the linear region and will overheat rapidly at currents above 2A. Swap it for the IRLB8721.
A Complete Application Circuit: 12V PWM Motor Drive
Let's put this into practice with a robust, copy-pasteable hardware design. We are driving a 12V DC gearmotor drawing up to 4A using PWM from an ESP32 (3.3V logic). For comprehensive power MOSFET characteristics, the Vishay Power MOSFET Basics guide is an excellent bench reference.
Bill of Materials:
- Q1: IRLB8721 (N-Channel Logic-Level MOSFET, TO-220)
- R1: 100Ω 1/4W (Gate series resistor)
- R2: 10kΩ 1/4W (Gate-Source pull-down)
- D1: 1N5819 (Schottky Flyback Diode, 40V 1A)
- C1: 0.1µF 50V Ceramic Capacitor
Wiring Procedure:
- Connect the ESP32 GPIO pin to one leg of R1 (100Ω).
- Connect the other leg of R1 to the Gate (Pin 1) of Q1.
- Connect R2 (10kΩ) directly between the Gate (Pin 1) and Source (Pin 3) of Q1.
- Connect the Source (Pin 3) of Q1 to your common system Ground (ESP32 GND and 12V supply GND must be tied together).
- Connect one terminal of the DC motor to the positive 12V supply rail.
- Connect the other terminal of the DC motor to the Drain (Pin 2) of Q1.
- Place D1 (1N5819) in parallel with the motor: Cathode (stripe) to 12V, Anode to the Drain. This clamps inductive kickback when the MOSFET switches off.
- Solder C1 (0.1µF) directly across the physical motor terminals to suppress high-frequency EMI brush noise.
Final Default Recommendation: If you are building a standard 5V or 3.3V microcontroller project switching anything between 1A and 20A at voltages under 30V, stop evaluating alternatives and buy a sleeve of IRLB8721 transistors. At roughly $1.50 each, its 8.7mΩ RDS(on) at 4.5V logic, massive 62A continuous drain rating, and easy-to-solder TO-220 package make it the undisputed king of the hobbyist workbench. For sub-1A signal switching on tight PCBs, standardizing on the BSS138 SOT-23 will cover 90% of your remaining needs.






