If you need to switch a load with a microcontroller, field effect transistors (FETs)—specifically MOSFETs—are your go-to component. Unlike BJTs that require continuous base current, FETs control current flow using an electric field, drawing virtually zero steady-state gate current. For a quick, safe default part number: use the 2N7000 for 3.3V/5V logic signals under 200mA, or the IRLZ44N for 5V logic switching of high-power loads up to 47A. This guide skips the quantum band-gap theory and focuses entirely on how to select, bias, wire, and test FETs on the workbench.
Symbol, Pinout, and Safe Default Part Numbers
The standard schematic symbol for an N-channel enhancement MOSFET features three primary terminals: the Gate (G), Drain (D), and Source (S). The Gate is drawn insulated from the channel (indicated by a gap). Crucially, the symbol includes an arrow pointing from the P-type substrate to the N-type channel, and a built-in body diode pointing from Source to Drain. This intrinsic diode means an N-channel MOSFET will always conduct in reverse if the Drain voltage drops below the Source voltage—a critical factor when wiring inductive loads.
When building prototypes, choosing the right FET prevents magic smoke. The most common beginner mistake is buying standard-level FETs (like the IRF520) for 5V Arduino projects. The IRF520 requires 10V on the gate to fully turn on; at 5V, it operates in its linear region, acting as a resistor and overheating rapidly. Always choose logic-level FETs for 5V/3.3V systems.
| Part Number | Type / Package | Vds (Max) | Id (Max) | Rds(on) @ Vgs | Vgs(th) | Best Use Case |
|---|---|---|---|---|---|---|
| 2N7000 | N-Ch / TO-92 | 60V | 200mA | 1.2Ω @ 10V | 2.0 - 3.0V | Level shifting, driving small LEDs/relays from 5V logic. |
| AO3400A | N-Ch / SOT-23 | 30V | 5.7A | 26mΩ @ 4.5V | 0.7 - 1.4V | Compact 3.3V ESP32/RPi battery switching and PWM. |
| IRLZ44N | N-Ch / TO-220 | 55V | 47A | 22mΩ @ 5V | 1.0 - 2.0V | High-current motors, solenoids, and 12V/24V LED strips from 5V logic. |
| IRF9540N | P-Ch / TO-220 | -100V | -23A | 117mΩ @ -10V | -2.0 - -4.0V | High-side switching (requires NPN level-shifter for 5V logic). |
Operation Regions and Biasing for the Job
There is a notorious terminology trap when transitioning from Bipolar Junction Transistors (BJTs) to field effect transistors. In a BJT, 'saturation' means the switch is fully ON. In a MOSFET, saturation means the device is acting as a constant-current source (amplifier mode), while the linear (or ohmic) region is where it acts as a closed switch. Getting this backward leads to severe biasing errors.
| Region | Bias Condition | Behavior | Typical Application |
|---|---|---|---|
| Cutoff | Vgs < Vth | Switch OFF. Only nanoamps of leakage current flow. | Open circuit, load disconnected. |
| Linear (Ohmic) | Vgs > Vth AND Vds < (Vgs - Vth) | Switch ON. Acts as a low-value resistor (Rds(on)). | Power switching, PWM motor control, battery disconnects. |
| Saturation (Active) | Vgs > Vth AND Vds > (Vgs - Vth) | Constant current source. Current is set by Vgs, independent of Vds. | Audio amplifiers, electronic loads, linear regulators. |
Complete Application Circuit: 12V DC Motor PWM Control
Let's wire an IRLZ44N to control a 12V DC motor using a 5V PWM signal from an Arduino or ESP32. This circuit includes the necessary protection and biasing components that beginners often omit, leading to destroyed microcontrollers or overheated FETs.
Component List:
- Q1: IRLZ44N (N-Channel Logic-Level MOSFET)
- R1 (Gate Resistor): 100Ω, 1/4W
- R2 (Pull-down Resistor): 10kΩ, 1/4W
- D1 (Flyback Diode): 1N5819 (Schottky) or 1N4007
- Load: 12V DC Motor
- Connect the Load: Wire the positive terminal of the 12V motor to your 12V power supply. Wire the negative terminal of the motor to the Drain (middle pin) of the IRLZ44N.
- Install the Flyback Diode: Place D1 across the motor terminals. The cathode (stripe) must point toward the 12V positive supply, and the anode to the Drain. This clamps inductive kickback when the FET turns off, preventing avalanche breakdown of the silicon.
- Ground the Source: Wire the Source (right pin, tab facing you) directly to the common ground shared by the 12V supply and the microcontroller.
- Wire the Gate Resistor (R1): Connect the 100Ω resistor between the microcontroller's PWM pin and the Gate (left pin). This limits the inrush current required to charge the MOSFET's internal gate capacitance, protecting the microcontroller's GPIO from overcurrent.
- Wire the Pull-down Resistor (R2): Connect the 10kΩ resistor between the Gate and Ground. This ensures the gate is pulled to 0V if the microcontroller pin floats (e.g., during boot-up or reset), preventing the motor from spinning out of control.
Failure Modes and Multimeter Testing
Field effect transistors are robust, but they have three primary failure modes:
- Gate Oxide Puncture: The silicon dioxide layer insulating the gate is incredibly thin. A static shock (ESD) exceeding 20V can punch a hole through it, permanently shorting the Gate to the Source. Fix: Always handle bare FETs on an ESD mat and use gate-source Zener diodes in high-noise environments.
- Thermal Runaway: Unlike BJTs, a MOSFET's Rds(on) increases as it gets hot. If a FET is under-sinked, it heats up, resistance rises, it dissipates more power as heat (I²R), and it melts the solder or cracks the die.
- Avalanche Breakdown: Switching off an inductive load without a flyback diode generates a massive voltage spike (V = L * di/dt) that exceeds the Vds rating, punching through the Drain-Source junction.
How to Test an N-Channel MOSFET with a Multimeter
You can verify the health of a MOSFET using the Diode Test mode on a standard digital multimeter. This tests the intrinsic body diode and checks for Gate-Source shorts.
- Discharge the Gate: Touch the multimeter probes across the Gate and Source pins simultaneously, or short them with a screwdriver. This bleeds off any trapped charge in the gate capacitance.
- Test the Body Diode (Reverse): Place the red probe on the Drain and the black probe on the Source. The meter should read 'OL' (Open Loop). If it reads near 0.000, the Drain-Source junction is shorted (dead FET).
- Test the Body Diode (Forward): Swap probes: red on Source, black on Drain. You should read a standard diode drop, typically between 0.400V and 0.600V.
- Check Gate Isolation: Place one probe on the Gate and the other on the Source, then swap. Both directions must read 'OL'. Any continuity here means the gate oxide is punctured.
- Turn it ON (Charge the Gate): While keeping the black probe on the Source, momentarily touch the red probe to the Gate. This charges the gate capacitor with the meter's internal 3V battery.
- Verify Channel Conduction: Move the red probe back to the Drain (black still on Source). The meter should now read a very low voltage drop (near 0.000V to 0.200V), indicating the channel has turned ON. Short Gate to Source again to turn it off.
Frequently Asked Questions
What is the difference between logic-level and standard field effect transistors?
The difference lies in the Gate-to-Source threshold voltage (Vgs(th)) and the Rds(on) test conditions. Standard FETs (like the IRF520 or IRF3205) are designed for 10V to 12V gate drive circuits common in older automotive and ATX power supplies. If you drive a standard FET with 5V from an Arduino, it will only partially turn on, resulting in a high Rds(on), massive heat generation, and eventual failure. Logic-level FETs (usually denoted by an 'L' in the prefix, like IRLZ44N, or specifically rated for Rds(on) at Vgs = 4.5V or 2.5V) are engineered to fully enhance and achieve their lowest on-resistance at standard microcontroller logic voltages.
Why do field effect transistors need a gate pull-down resistor?
A MOSFET gate acts like a small capacitor (often 1000pF to 5000pF for power FETs). If the gate is left floating—such as when a microcontroller is booting up, resetting, or if a wire breaks—ambient electromagnetic interference (EMI) can couple into the gate trace. This induced voltage can accidentally exceed the Vgs(th) threshold, partially turning the FET on. In a high-current circuit, a partially-on FET will overheat and destroy itself in milliseconds. A 10kΩ pull-down resistor provides a high-impedance path to ground, safely bleeding off stray charges and ensuring the FET stays firmly in the cutoff region until actively driven by the microcontroller.
Can I put field effect transistors in parallel to increase current capacity?
Yes, and unlike BJTs, MOSFETs have a positive temperature coefficient for their on-resistance. As a MOSFET heats up, its Rds(on) increases. If one FET in a parallel bank starts to carry more current, it heats up, its resistance rises, and the current naturally shifts to the cooler FETs. This self-balancing thermal characteristic makes paralleling MOSFETs highly reliable for high-current applications like 48V ebike motor controllers or solar inverters. However, you must ensure symmetrical PCB trace routing to balance parasitic inductance, and each gate should have its own individual series gate resistor (e.g., 10Ω each) to prevent high-frequency parasitic oscillation between the gates.






