A field effect transistor (FET) is a voltage-controlled semiconductor device used to switch or amplify electronic signals. For 90% of DIY and maker DC switching applications—like driving motors, solenoids, or high-power LEDs from a microcontroller—you want an N-channel Enhancement-mode MOSFET (Metal-Oxide-Semiconductor FET). Unlike Bipolar Junction Transistors (BJTs) that require continuous base current, a FET draws virtually zero steady-state gate current, making it ideal for battery-powered and logic-level circuits.

The Field Effect Transistor (FET) Pinout and Symbol Basics

To use a FET effectively, you must understand its physical pinout and its internal schematic symbol. The standard N-channel enhancement MOSFET has three primary terminals:

  • Gate (G): The control terminal. Applying a positive voltage here relative to the Source creates a conductive channel.
  • Drain (D): The terminal where current enters the device from the load.
  • Source (S): The terminal where current exits the device to ground.

In a standard TO-220 through-hole package, if you hold the component facing you with the metal tab on the back and the pins pointing down, the pins from left to right are Gate, Drain, Source. The metal tab is almost always internally connected to the Drain for heatsinking purposes.

⚠️ The Hidden Body Diode: Every standard power MOSFET contains an intrinsic parasitic body diode pointing from the Source to the Drain. This means current can always flow backward through the device (Source to Drain) if the Drain voltage drops below the Source voltage, even when the FET is turned off. This is critical to account for in H-bridge and inductive load circuits.

Operation Regions and Safe Default Part Numbers

A FET operates in three distinct regions depending on the Gate-Source voltage ($V_{GS}$) and Drain-Source voltage ($V_{DS}$). For switching applications, you only care about the Cutoff and Triode regions.

Region $V_{GS}$ Condition $V_{DS}$ Condition Typical State / Use
Cutoff $V_{GS} < V_{GS(th)}$ Any OFF (Leakage current typically < 1µA)
Triode (Ohmic) $V_{GS} > V_{GS(th)}$ $V_{DS} < V_{GS} - V_{GS(th)}$ ON (Switch closed, acts as a low-value resistor $R_{DS(on)}$)
Saturation (Active) $V_{GS} > V_{GS(th)}$ $V_{DS} \ge V_{GS} - V_{GS(th)}$ Amplifier / Linear Regulator (Current limited by $V_{GS}$)

Safe Default Part Numbers

Do not blindly buy the first FET you see. The IRF520 is a notorious beginner trap because it requires 10V at the gate to fully turn on, making it useless for 5V or 3.3V microcontrollers. Use these proven defaults instead:

Part Number $V_{DS(max)}$ $I_{D(max)}$ $R_{DS(on)}$ @ $V_{GS}$ $V_{GS(th)}$ Best Application
2N7000 60V 200mA 5Ω @ 10V 2.0 - 3.0V Logic level shifting, small LEDs
IRLZ44N 55V 47A 22mΩ @ 5V 1.0 - 2.0V 3.3V/5V MCU motor control, high current
IRF520 100V 9.2A 270mΩ @ 10V 2.0 - 4.0V 12V+ gate drive circuits (Avoid for 5V logic)

How to Bias and Select a FET for the Job

Selecting the right field effect transistor FET requires looking past the absolute maximum ratings. Follow this selection framework:

  1. Voltage Headroom: Choose a $V_{DS(max)}$ at least 1.5 times your supply voltage. For a 12V system, use a 20V or 30V rated FET minimum.
  2. Current and Thermal Limits: The datasheet $I_{D(max)}$ assumes an infinite heatsink at 25°C. In reality, a TO-220 package in free air will overheat around 2A to 3A continuous. Calculate your power dissipation using $P = I^2 \times R_{DS(on)}$.
  3. The Threshold Trap: $V_{GS(th)}$ (Gate-Source Threshold Voltage) is the voltage where the FET just barely starts to conduct (usually 250µA). It is not the voltage required to turn it fully ON. Always check the $R_{DS(on)}$ specification table to ensure it is rated at your logic voltage (e.g., $V_{GS} = 4.5V$ for a 5V Arduino, or $V_{GS} = 2.7V$ for a 3.3V ESP32).
💡 Biasing Tip: Always place a 10kΩ pull-down resistor between the Gate and Source. Microcontroller GPIO pins float during boot-up, which can inadvertently turn the FET partially on, leading to thermal destruction before your code even starts running.

Application Circuit: Driving a 12V DC Motor with an IRLZ44N

Here is a complete, robust circuit for driving a 12V DC motor (drawing up to 5A) using an ESP32 or Arduino (5V logic output) and an IRLZ44N logic-level FET.

Component List

  • Q1: IRLZ44N N-Channel MOSFET
  • R1 (Gate Resistor): 100Ω (Limits inrush current into the gate capacitance, protecting the MCU GPIO)
  • R2 (Pull-down Resistor): 10kΩ (Keeps gate low during MCU reset)
  • D1 (Flyback Diode): 1N4007 or Schottky equivalent (Clamps inductive voltage spikes)
  • M1: 12V DC Motor

Wiring Steps

  1. Connect the motor's positive terminal to your 12V power supply.
  2. Connect the motor's negative terminal to the Drain pin of the IRLZ44N.
  3. Connect the Source pin of the IRLZ44N to the system Ground (ensure the 12V supply ground and MCU ground are tied together).
  4. Place the 1N4007 diode in parallel with the motor: Cathode (stripe) to the motor's positive terminal, Anode to the Drain pin.
  5. Connect the 10kΩ pull-down resistor (R2) between the Gate pin and Ground.
  6. Connect the 100Ω gate resistor (R1) between your MCU GPIO pin and the Gate pin.

When the GPIO goes HIGH (5V), $V_{GS}$ exceeds the threshold, the channel enters the Triode region, and current flows through the motor. When the GPIO goes LOW, the 10kΩ resistor discharges the gate capacitance, turning the FET off.

Failure Modes and Multimeter Testing Steps

FETs typically fail in three ways: Gate punch-through (exceeding $V_{GS(max)}$, usually ±20V, which destroys the oxide layer), Thermal runawayAvalanche breakdown (inductive kickback exceeding $V_{DS(max)}$ without a flyback diode). When a FET fails, it almost always fails "short" (Drain to Source).

You can test an N-channel enhancement MOSFET using a standard digital multimeter (DMM) in Diode Test mode:

  1. Discharge the gate: Briefly short the Gate and Source pins together with a piece of wire or your finger to ensure any trapped charge is bled off.
  2. Test the body diode: Place the DMM's Red probe on the Source and the Black probe on the Drain. You should read a forward voltage drop of roughly 0.4V to 0.6V. Reverse the probes (Red on Drain, Black on Source); it should read "OL" (Open Loop).
  3. Charge the gate: Move the Red probe to the Gate while keeping the Black probe on the Source. This applies the DMM's internal ~3V battery to the gate, turning the FET on.
  4. Verify the channel: Move the Red probe back to the Source (Black remains on Drain). The reading should now drop to near 0.0V (or beep in continuity mode), indicating the channel is fully enhanced and conducting in parallel with the body diode.
  5. Turn it off: Short the Gate to Source again. Re-test the Drain-Source junction; it should revert to the 0.4V - 0.6V diode drop, confirming the FET can turn off.

Frequently Asked Questions About Field Effect Transistors

What is the difference between a field effect transistor FET and a BJT?

A Bipolar Junction Transistor (BJT) is a current-controlled device; it requires a continuous base current to maintain collector current (typically a 1:10 to 1:50 ratio). A field effect transistor FET is a voltage-controlled device. Once the gate capacitance is charged, it draws virtually zero continuous current. This makes FETs vastly superior for microcontroller interfacing, as they do not load down GPIO pins, whereas BJTs often require intermediate driver transistors for high-current loads.

Why does my field effect transistor FET get hot when switching PWM?

If your FET is hot during Pulse Width Modulation (PWM) but cool under steady DC load, you are likely losing power during the switching transitions. A FET does not turn on instantly; it must charge its internal gate capacitance ($Q_g$). During the brief window where the gate voltage is crossing the "Miller plateau," the FET is in the high-resistance Saturation (Active) region, simultaneously dropping high voltage and passing high current. If your PWM frequency is high (e.g., 20kHz) and your gate resistor is too large (e.g., 1kΩ), the switching time increases, causing massive heat. Fix this by using a lower gate resistor (10Ω - 47Ω) or a dedicated gate driver IC like the TC4427.

Can I drive a standard FET directly from a 3.3V ESP32 GPIO pin?

Only if it is specifically designated as a "Logic Level" FET. Standard FETs like the IRF540 or IRF520 require 10V at the gate to achieve their rated $R_{DS(on)}$. At 3.3V, they will barely turn on, acting as a large resistor that will quickly overheat and melt. For 3.3V ESP32 or Raspberry Pi Pico projects, always look for FETs with an 'L' in the prefix (e.g., IRLZ44N, IRLB8721) or modern low-voltage parts like the CSD17571Q5A, and verify the datasheet lists an $R_{DS(on)}$ value specifically tested at $V_{GS} = 2.5V$ or $2.7V$. For deeper design insights on low-voltage gate driving, refer to comprehensive MOSFET switching tutorials to ensure thermal stability.