The MOS field effect transistor (MOSFET) is the undisputed workhorse of modern power electronics. Unlike Bipolar Junction Transistors (BJTs) that require continuous base current to stay on, a MOSFET is voltage-controlled. Once you charge the gate capacitance, it draws virtually zero steady-state current, making it ideal for microcontroller-driven DC loads, PWM dimming, and high-efficiency power supplies.

But treating a MOSFET like a simple 'voltage-controlled switch' without reading the fine print on the datasheet is the fastest way to melt a TO-220 package on your workbench. This guide bypasses the abstract semiconductor physics and focuses strictly on what you need to know to select, bias, drive, and troubleshoot these components in real-world DC circuits.

Pinout, Symbol, and the Three Operating Regions

Before wiring anything, you must understand the physical package and the internal parasitic components. The most common through-hole package for hobbyist and bench work is the TO-220. Looking at the front of the package (the side with the text) with the pins pointing down, the standard pinout is:

  • Pin 1 (Left): Gate (G) - The control terminal.
  • Pin 2 (Center): Drain (D) - The terminal where current enters (for N-channel).
  • Pin 3 (Right): Source (S) - The terminal where current exits, usually tied to ground.
Bench Tip: The center Drain pin is physically bonded to the metal mounting tab on the back of the TO-220 package. If you mount the MOSFET to a grounded chassis or heatsink without a mica/silicone insulator pad, you will short your Drain directly to ground.

In circuit schematics, the MOSFET symbol includes a crucial hidden component: the intrinsic body diode. This diode points from Source to Drain in an N-channel device. It means current can flow backward through the MOSFET even when it is turned off, which is a critical factor in motor drive and inductive load circuits.

Operation Regions Table

A MOSFET does not just snap from 'off' to 'on'. It transitions through distinct regions based on the Gate-to-Source voltage (VGS) and Drain-to-Source voltage (VDS).

RegionVGS ConditionVDS ConditionBehavior & Typical Use
CutoffVGS < VGS(th)AnyDevice is OFF. Only nanoamps of leakage current flow. (Switching state: Open)
Linear (Ohmic)VGS > VGS(th)VDS < (VGS - VGS(th))Acts as a voltage-controlled resistor. Used for electronic loads, linear regulators, and inrush limiting.
Saturation (Active)VGS > VGS(th)VDS > (VGS - VGS(th))Current is constant and controlled by VGS. Used for amplification and constant-current sources.

For 95% of DIY and microcontroller projects, you only want to use the MOSFET in the Cutoff (fully off) and deep Linear (fully on, acting as a low-value resistor) regions. Lingering in the transition zone between these states generates massive heat.

Selecting and Biasing the Right MOSFET

Choosing a MOSFET requires looking past the headline 'Max Current' rating on the first page of the datasheet. Here is the practical selection framework:

  1. VDS (Drain-Source Breakdown Voltage): Must be at least 20% higher than your maximum supply voltage. For a 12V system, a 20V or 30V rated MOSFET is minimum; 40V+ is preferred for inductive kickback headroom.
  2. RDS(on) (On-Resistance): This is your primary heat generator. Crucial: Only look at the RDS(on) value tested at the exact VGS your microcontroller can provide (e.g., 4.5V for a 5V Arduino, 2.5V for a 3.3V ESP32).
  3. Qg (Total Gate Charge): If you are PWM switching at high frequencies (>10kHz), a high gate charge requires more current from your GPIO pin to charge the gate capacitor quickly, leading to slow switching times and heat.

Safe Default Part Numbers

Keep these proven, low-cost workhorses in your parts bin. Prices reflect typical 2026 single-unit retail from major distributors like Mouser or Digi-Key.

Part NumberTypeVDS MaxID MaxRDS(on) @ VGSBest For
IRLZ44NN-Channel55V47A22mΩ @ 5VLogic-level (3.3V/5V) GPIO direct drive, 12V motors.
IRF540NN-Channel100V33A44mΩ @ 10VHigher voltage systems, requires 10V-12V gate driver.
IRF4905P-Channel-55V-74A20mΩ @ -10VHigh-side switching, load disconnects, battery protection.
Biasing Warning: Never rely on VGS(th) (Gate Threshold Voltage) to turn the MOSFET fully on. VGS(th) is merely the voltage where the device begins to conduct a tiny leakage current (usually 250µA). To achieve the rated RDS(on), you must drive the gate to the voltage specified in the 'Static Characteristics' table (usually 10V for standard MOSFETs, 4.5V or 2.5V for logic-level types).

Application Circuit: Driving a 12V DC Motor

Let us build a reliable, repeatable low-side switch for a 12V DC motor drawing up to 5A, controlled by an ESP32 (3.3V logic).

Component List & Values

  • Q1: IRLZ44N (Logic-level N-channel MOSFET)
  • R1 (Gate Series): 100Ω (Limits inrush current into the gate capacitance, prevents GPIO damage and high-frequency ringing).
  • R2 (Gate Pull-down): 10kΩ (Bleeds gate charge to ground if the ESP32 resets or floats, keeping the motor off during boot).
  • D1 (Flyback Diode): UF4007 (Ultra-fast recovery. Do not use a standard 1N4007 for PWM; its slow reverse recovery time will cause voltage spikes).

Wiring Procedure

  1. Connect the ESP32 GPIO pin to one side of R1 (100Ω).
  2. Connect the other side of R1 to the Gate of the IRLZ44N.
  3. Connect R2 (10kΩ) between the Gate and Source pins.
  4. Connect the Source pin directly to your system Ground.
  5. Connect the Motor's negative terminal to the Drain pin.
  6. Connect the Motor's positive terminal to the +12V power supply.
  7. Place the UF4007 diode in parallel with the motor. The cathode (stripe) points to +12V, and the anode points to the Drain. This safely recirculates the inductive kickback when the MOSFET turns off.

For a deeper dive into the parasitic inductance and gate drive dynamics of this exact topology, refer to the Vishay Application Note AN-104 on Understanding MOSFET Data Sheets, which details how RDS(on) scales with temperature in linear applications.

Bench Walkthrough: When the Magic Smoke Escapes

Theory is clean; the workbench is messy. Here is a real-world failure scenario that highlights the danger of misinterpreting datasheet parameters.

The Setup: A builder wants to drive a 12V, 5A NEMA 23 stepper motor using an Arduino Uno (5V logic). They grab an IRF540N from their bin because it is rated for '33 Amps'. They wire the Arduino 5V GPIO directly to the Gate, the motor to the Drain, and ground to the Source. No heatsink is used because '33A is way more than 5A'.

The Numbers: The IRF540N datasheet lists a VGS(th) of 2.0V to 4.0V. Since 5V is above 4.0V, the builder assumes it is fully on. However, the RDS(on) of 0.044Ω is only guaranteed at VGS = 10V. Looking at the Transfer Characteristics graph, at VGS = 5V and ID = 5A, the MOSFET is actually operating in the linear/saturation transition zone, and the effective RDS is closer to 0.15Ω.

The Outcome: Power dissipation is calculated as P = I² × R.
P = (5A)² × 0.15Ω = 3.75 Watts.
A bare TO-220 package has a junction-to-ambient thermal resistance (RθJA) of about 62°C/W. The junction temperature rises by 3.75W × 62°C/W = 232°C above ambient. Silicon fails around 175°C. Within three seconds, the MOSFET enters thermal runaway, the die shorts Drain to Source, and the motor runs permanently at full speed while the MOSFET literally melts its plastic casing.

What Went Wrong & The Fix: The builder confused 'threshold voltage' with 'enhancement voltage'. The fix is twofold: either swap the IRF540N for a logic-level IRLZ44N (which guarantees low RDS(on) at 5V), or use a dedicated gate driver IC (like a TC4427) to boost the Arduino's 5V signal to a solid 12V to fully enhance the IRF540N.

Failure Modes and Multimeter Testing

MOSFETs generally fail in three ways: Gate Oxide Puncture (from ESD or exceeding VGS max, typically ±20V), Thermal Runaway (Drain-Source short due to heat), and Avalanche Breakdown (exceeding VDS from inductive spikes without a flyback diode). When a MOSFET fails catastrophically, it almost always fails as a dead short between all three pins.

You can diagnose a suspect N-channel MOSFET right on the bench using a standard digital multimeter (DMM) in Diode Test Mode. For authoritative testing methodologies, the All About Circuits guide on MOSFET fundamentals provides excellent baseline theory for these junction tests.

Step-by-Step Multimeter Diagnosis

  1. Discharge the Gate: Touch your DMM probes across the Gate and Source pins to short them. This bleeds off any stored charge in the gate capacitor.
  2. Test the Body Diode (Forward): Place the Red probe on the Source and the Black probe on the Drain. You should read a standard diode forward voltage drop, typically between 0.400V and 0.600V.
  3. Test the Body Diode (Reverse): Swap probes (Red on Drain, Black on Source). The meter should read OL (Open Loop / Infinite resistance).
  4. Charge the Gate: While keeping the Black probe on the Source, briefly touch the Red probe to the Gate. This applies the DMM's internal ~3V battery to the gate, partially turning the MOSFET on.
  5. Test Channel Conduction: Move the Red probe back to the Drain (Black remains on Source). Because the gate is now charged, the channel should conduct. The meter will read a very low voltage drop, typically less than 0.100V or near zero.
  6. Verify Turn-Off: Short the Gate to Source again to discharge it. Repeat step 5. The meter should return to reading OL.
Diagnostic Shortcut: If your DMM reads 0.000V (or beeps continuously in continuity mode) across Drain and Source in both directions before you even charge the gate, the MOSFET is internally shorted and belongs in the trash bin.

Mastering the MOS field effect transistor is less about memorizing quantum mechanics and more about respecting thermal limits, understanding gate charge requirements, and always providing a path for inductive kickback. Keep a stock of logic-level IRLZ44Ns, use your gate pull-down resistors, and your DC load circuits will run cool and reliable for years.