The Short Answer: What Is a MOSFET Used For?
A MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) is primarily used as a voltage-controlled switch for high-current loads (like DC motors, heaters, solenoids, and LED strips) or as an amplifier in RF and audio circuits. Unlike Bipolar Junction Transistors (BJTs) that require a continuous base current to stay on, a MOSFET only needs a voltage pulse at its Gate to latch the Drain-Source path open. Once charged, the Gate draws virtually zero steady-state current, making it the undisputed king of microcontroller-driven power switching.
To understand what is a mosfet used for on your workbench, you need to know its physical pinout and internal quirks:
- Gate (G): The control valve. Applying a voltage here relative to the Source creates an electric field that forms a conductive channel.
- Drain (D): Where current enters the device (for an N-channel MOSFET).
- Source (S): Where current exits to ground.
- Body Diode: An inherent, unavoidable parasitic diode exists between the Drain and Source. In an N-channel MOSFET, it points from Source to Drain. This allows current to flow backwards if the Drain voltage drops below the Source, which is a critical factor in H-bridge motor drives.
Operating Regions: Cut-Off, Linear, and Saturation
How a MOSFET behaves depends entirely on the voltage applied to the Gate ($V_{GS}$) and the voltage across the Drain-Source ($V_{DS}$). In power electronics, we mostly care about slamming the device fully ON or fully OFF, but understanding the linear region is vital for PWM and amplification.
| Region | Gate-Source Voltage ($V_{GS}$) | Drain-Source Voltage ($V_{DS}$) | Behavior | Typical Use Case |
|---|---|---|---|---|
| Cut-Off | $V_{GS} < V_{GS(th)}$ | Any | Open switch. No channel formed. Only microamp leakage. | Load disconnected, system sleep states. |
| Ohmic (Linear/Triode) | $V_{GS} > V_{GS(th)}$ | $V_{DS} < V_{GS} - V_{GS(th)}$ | Closed switch. Acts as a low-value resistor ($R_{DS(on)}$). Current scales with $V_{DS}$. | Power switching, PWM motor control, battery load switches. |
| Saturation (Active) | $V_{GS} > V_{GS(th)}$ | $V_{DS} \ge V_{GS} - V_{GS(th)}$ | Constant current source. Channel is pinched off near the Drain. Current is set by $V_{GS}$. | Audio amplifiers, constant-current LED drivers, electronic loads. |
How to Select and Bias a MOSFET for the Job
Selecting a MOSFET isn't just about picking one with a high current rating. A 47A rated MOSFET will melt without a heatsink at 47A. Here is the real-world selection framework:
- Check $V_{GS(th)}$ vs. Logic Levels: The threshold voltage ($V_{GS(th)}$) is where the MOSFET just barely starts to conduct (usually at 250µA). If a datasheet says $V_{GS(th)}$ is 2V to 4V, a 3.3V ESP32 GPIO pin will not fully turn it on. You must look at the $R_{DS(on)}$ specification table. If $R_{DS(on)}$ is specified at $V_{GS} = 10V$, it's a standard MOSFET. If it's specified at $V_{GS} = 4.5V$ or $2.5V$, it's a Logic-Level MOSFET.
- Calculate Real Thermal Limits: Take the IRLZ44N. It boasts 47A continuous drain current. But at 47A, with an $R_{DS(on)}$ of 0.022Ω, power dissipation is $I^2R = 47^2 \times 0.022 = 48.4W$. A standard TO-220 package without a heatsink can only dissipate about 1.5W to 2W before reaching thermal shutdown. Therefore, the true maximum continuous current without a heatsink is $\sqrt{2W / 0.022\Omega} \approx 9.5A$.
- Gate Charge ($Q_g$): If you are switching at high frequencies (>20kHz), a high gate charge requires a dedicated gate driver IC. An ESP32 GPIO can only source ~40mA, which will charge a large gate capacitance slowly, leaving the MOSFET lingering in the high-heat linear region.
Safe Default Part Numbers (2026 Bench Staples)
- IRLZ44N (N-Channel, 55V, 47A, $R_{DS(on)}$ 22mΩ @ 5V). The ultimate logic-level workhorse for 12V/24V Arduino/ESP32 projects. ~$1.20/ea.
- AO3400 (N-Channel, 30V, 5.7A, SOT-23). Perfect for low-power PCB switching and level shifting. ~$0.15/ea.
- IRF4905 (P-Channel, -60V, -74A, $R_{DS(on)}$ 20mΩ @ 10V). The go-to for high-side power switching. ~$1.50/ea.
- IRF520 (N-Channel, 100V, 9.2A). Avoid for 3.3V/5V logic. Requires 10V gate drive. Frequently misused by beginners because it's cheap (~$0.80/ea).
Application Circuit: Driving a 12V DC Motor with an ESP32
Let's build a robust low-side switch to control a 12V, 5A DC cooling fan using an ESP32 DevKit v1 (3.3V logic). We will use the logic-level IRLZ44N.
- Q1: IRLZ44N (N-Channel Logic-Level MOSFET)
- R1 (Gate Resistor): 100Ω (Limits gate inrush current to protect the ESP32 GPIO from capacitive spike damage)
- R2 (Pull-down Resistor): 10kΩ (Bleeds gate charge to GND; prevents the motor from spinning up unpredictably while the ESP32 boots and GPIO pins are floating)
- D1 (Flyback Diode): 1N5819 Schottky (Clamps inductive voltage spikes)
Wiring Steps:
- Connect the ESP32 GND to the common ground rail of your breadboard/power supply.
- Connect the 12V power supply positive to the Motor's positive terminal.
- Connect the Motor's negative terminal to the Drain (middle pin) of the IRLZ44N.
- Connect the Source (right pin, tab facing you) to the common GND rail.
- Place the 10kΩ pull-down resistor (R2) between the Gate (left pin) and GND.
- Place the 100Ω gate resistor (R1) between ESP32 GPIO 13 and the Gate.
- Place the 1N5819 diode across the motor terminals: the Cathode (silver stripe) connects to the 12V positive, and the Anode connects to the Drain. This provides a safe recirculation path for the motor's inductive kickback.
Bench War Story: The Flyback Diode Failure
Theory is clean; the bench is unforgiving. Here is a real-world scenario demonstrating how inductive loads destroy poorly specified circuits.
The Setup: I was switching a 12V, 3A industrial solenoid valve using an IRFZ44N and an Arduino Uno. I had wired a standard 1N4007 rectifier diode across the solenoid coil for flyback protection.
The Numbers: The solenoid had an inductance of roughly 50mH and drew a steady-state current of 3A. The IRFZ44N has a maximum Drain-Source breakdown voltage ($V_{DSS}$) of 55V.
The Outcome: The first 50 cycles worked perfectly. On cycle 51, the MOSFET violently popped, shorting the Drain to the Source internally. The 12V rail slammed directly into the Arduino's 5V linear regulator, frying the board.
What Went Wrong: I used a 1N4007 diode. The 1N4007 is a slow-recovery rectifier with a reverse recovery time ($t_{rr}$) of about 30µs. The Arduino turned the MOSFET off in roughly 50ns. Because the 1N4007 was too slow to start conducting, the 50mH inductor generated a massive voltage spike ($V = L \times di/dt$) that easily exceeded 80V before the diode could clamp it. This exceeded the 55V $V_{DSS}$ rating, causing an avalanche breakdown inside the silicon. The MOSFET failed short-circuit, taking the microcontroller with it.
The Fix: I replaced the 1N4007 with a 1N5819 Schottky diode, which has virtually zero reverse recovery time, and added a 15V TVS (Transient Voltage Suppression) diode across the Drain-Source for redundant clamping. It has run for 100,000+ cycles since.
How MOSFETs Fail and How to Test Them with a Multimeter
MOSFETs generally fail in three ways: Gate Punch-Through (ESD or exceeding $V_{GS}$ max, usually ±20V, which punctures the microscopic oxide layer), Avalanche Failure (exceeding $V_{DSS}$ via inductive spikes), and Thermal Runaway (under-driving the gate, causing high $R_{DS(on)}$ and melting the silicon).
When a MOSFET fails, it almost always fails short (Drain to Source). You can diagnose a suspect N-Channel MOSFET right on the bench using a standard digital multimeter in Diode Test Mode.
N-Channel Multimeter Testing Steps
- Discharge the Gate: Touch your finger across all three pins (Gate, Drain, Source) or use a piece of wire to short them together. This bleeds off any trapped charge in the gate capacitor, ensuring the device is in the Cut-Off region.
- Test the Body Diode (Reverse): Place the Red probe on the Source and the Black probe on the Drain. The meter should read OL (Open Loop). This confirms the internal body diode is reverse-biased and not shorted.
- Charge the Gate: Place the Red probe on the Gate and the Black probe on the Source for two seconds. The multimeter's internal battery (usually 3V to 9V) will charge the gate capacitance, turning the MOSFET ON.
- Test the Channel (Forward): Move the Red probe back to the Source, keeping the Black probe on the Drain. The meter should now read a very low voltage drop (typically 0.01V to 0.50V), indicating the Ohmic channel is fully conducting.
- Discharge and Verify: Short the Gate to the Source again to discharge it. Check Drain to Source one more time; it must return to OL.
Understanding what a MOSFET is used for goes far beyond reading a datasheet. It requires respecting the parasitics—the gate charge, the body diode, and the inductive kickback of the loads you drive. Select the right logic-level part, clamp your inductive spikes with fast Schottky diodes, and always use a pull-down resistor on the gate. Your workbench will thank you.
References: Component ratings and thermal derating curves verified against Vishay Siliconix MOSFET datasheets and standard semiconductor theory from the All About Circuits semiconductor textbook.






