A metal oxide transistor—universally known in the industry as a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor)—is a voltage-controlled switch. Unlike BJTs that require continuous base current to stay on, a MOSFET requires almost zero steady-state gate current, making it the undisputed choice for microcontroller-driven power switching. If you need to switch a 12V or 24V load using 3.3V or 5V logic (like an ESP32 or Arduino), the safe default part number for loads up to 15A in free air is the IRLZ44N. Its pinout, from left to right with the tab facing away from you, is Gate (G), Drain (D), and Source (S).

This guide cuts through the semiconductor physics and gives you the exact decision paths, biasing rules, and testing procedures you need to wire a metal oxide transistor into your next build without bricking your microcontroller or melting your breadboard.

Pinout, Symbol, and the Voltage-Control Principle

The physical construction of a MOSFET relies on an insulating layer of silicon dioxide between the gate terminal and the semiconductor channel. Because of this insulation (the 'metal oxide' part of the name), the gate acts like one plate of a capacitor.

Bench Rule: Because the gate is capacitive, it draws a spike of inrush current when switching states, but virtually zero current once fully on or off. This is why a microcontroller GPIO pin can hold a massive power MOSFET open indefinitely without overheating the silicon.

On a schematic, the N-channel MOSFET symbol features three main connections: the Gate (a line separated by a gap from the channel), the Drain (top), and the Source (bottom). The Source pin features an arrow pointing outward for N-channel devices (and inward for P-channel). You will also notice a diode symbol bridging the Drain and Source; this is the intrinsic body diode, a byproduct of the manufacturing process that allows current to flow backward from Source to Drain even when the device is off. You must account for this diode in your circuit topology.

Operation Regions: Where the Math Meets the Silicon

To bias a metal oxide transistor correctly, you must know which region of operation you are targeting. For 95% of DIY and maker applications, you only care about the Cutoff and Linear (Ohmic) regions. You want the device fully OFF or fully ON, acting as a switch, not an amplifier.

RegionVgs (Gate-Source Voltage)Vds (Drain-Source Voltage)State / BehaviorTypical Use Case
CutoffVgs < Vgs(th)AnyChannel closed. Only nanoamps of leakage current flow.Switch OFF
Linear (Ohmic)Vgs > Vgs(th)Vds < (Vgs - Vgs(th))Acts as a voltage-controlled resistor. Rds(on) is minimized.Switch ON (PWM / DC)
Saturation (Active)Vgs > Vgs(th)Vds > (Vgs - Vgs(th))Current is constant, dictated by Vgs. High heat dissipation.Amplifiers / Constant Current Loads

Note: Vgs(th) is the threshold voltage. For a 'logic-level' MOSFET, Vgs(th) is typically 1.0V to 2.5V, meaning a 3.3V ESP32 pin can fully turn it on. Standard MOSFETs have a Vgs(th) of 3.0V to 4.0V and require 10V+ to reach their lowest Rds(on).

The Decision Tree: Sizing and Selecting Your Part

Do not just grab the nearest TO-220 package from your bin. Use this decision path to terminate on the exact right component for your load and logic level.

Condition / RequirementThen Select...Concrete Part Number
Load is < 300mA, signal routing, 5V/3.3V logicSmall-signal N-channel (TO-92)2N7000
Load is 1A - 15A, 12V/24V, driven by 3.3V/5V logicLogic-level Power N-channel (TO-220)IRLZ44N or STP16NF06L
Load is 20A - 60A, 12V/24V, driven by 10V+ gate driverStandard Power N-channel (TO-220)IRF3205
High-side switching required (load connected to GND)Logic-level P-channelIRF9540 (Needs 10V) or SI2301 (SMD)
The Datasheet Ampacity Trap: The IRLZ44N datasheet claims it can handle 47A. This is true only if the case temperature is held at 25°C with an infinite heatsink. In free air on a breadboard at room temperature, it will thermally throttle and fail around 10A to 15A. Always derate continuous current by at least 50% if you are not using active cooling or a massive heatsink.

Application Circuit: ESP32 PWM Dimmer for 12V LED Strips

Here is a complete, battle-tested circuit for driving a 12V, 5A LED strip using an ESP32's 3.3V PWM output. We are using the IRLZ44N because its Rds(on) is fully specified at Vgs = 4V, making it safe for 3.3V logic.

Components Required:

  • 1x IRLZ44N (N-Channel Logic-Level MOSFET)
  • 1x 100Ω Resistor (Gate series)
  • 1x 10kΩ Resistor (Gate pull-down)
  • 1x 100µF Electrolytic Capacitor (Bulk decoupling)
  1. Wire the Load: Connect the 12V LED strip's positive (Anode) wire directly to the 12V power supply positive terminal. Connect the strip's negative (Cathode) wire to the Drain pin of the IRLZ44N.
  2. Wire the Source: Connect the Source pin of the MOSFET to the common Ground (GND) shared by the 12V power supply and the ESP32. Never switch the high side with an N-channel MOSFET; always use low-side switching.
  3. Install the Pull-Down: Solder the 10kΩ resistor between the Gate and Source (GND). This ensures the gate is pulled to 0V if the ESP32 resets or the GPIO pin floats, preventing the LED strip from flickering or turning on randomly during boot.
  4. Install the Gate Resistor: Connect the 100Ω resistor between the ESP32 GPIO pin (e.g., GPIO 13) and the Gate. The gate capacitance of the IRLZ44N is roughly 2200pF. Without this resistor, the initial charging spike looks like a dead short, which can degrade the ESP32's GPIO silicon over thousands of PWM cycles.
  5. Add Decoupling: Place the 100µF capacitor across the 12V and GND rails as close to the MOSFET Drain/Source pins as possible. This absorbs inductive voltage spikes from the LED strip's long wires, protecting the MOSFET's avalanche rating.

Failure Modes and How to Test with a Multimeter

Metal oxide transistors typically fail in three ways: ESD puncture of the gate oxide (resulting in a permanent short between Gate and Source), thermal runaway (melting the silicon due to insufficient gate drive voltage causing high Rds(on)), and avalanche breakdown (voltage spikes exceeding Vds max). When a MOSFET fails, it almost always fails 'short'—meaning Drain and Source become a dead short, leaving your load permanently turned on.

You can verify the health of an N-channel MOSFET in-circuit or on the bench using a standard digital multimeter (DMM) in Diode Test Mode. For a deeper look at semiconductor testing theory, refer to the All About Circuits MOSFET guide.

  1. Discharge the Gate: Touch your DMM probes across the Gate and Source pins simultaneously, or use a jumper wire. This bleeds off any stored charge in the gate capacitor.
  2. Test the Body Diode (Forward): Place the Black (Common) probe on the Drain and the Red probe on the Source. The DMM should read a standard diode drop, typically between 0.400V and 0.600V.
  3. Test the Body Diode (Reverse): Swap probes: Red on Drain, Black on Source. The DMM should read OL (Over Limit / Open).
  4. Charge the Gate: Keep the Black probe on the Source. Briefly touch the Red probe to the Gate. The DMM's internal 3V battery will charge the gate capacitance, turning the channel on.
  5. Verify Conduction: Move the Red probe back to the Drain (Black remains on Source). The DMM should now read 0.00V (or very close to it), indicating the channel is fully conducting. If it still reads OL, the gate oxide is punctured or the silicon is dead.

Safe Default Part Numbers and Spec Sheet Data

Stop guessing at the electronics store counter. Bookmark this reference table for your next project. For complete thermal derating curves and avalanche energy ratings, always consult the manufacturer's specific datasheet, such as the Vishay IRLZ44N Datasheet.

Part NumberTypeVds (Max)Id (Continuous)Rds(on) @ VgsVgs(th) RangeBest Application
2N7000N-Ch60V200mA5.0Ω @ 10V0.8V - 3.0VLevel shifting, small relays, indicator LEDs
IRLZ44NN-Ch55V47A*22mΩ @ 4V1.0V - 2.0V3.3V/5V logic switching, 12V motors, LED strips
IRF3205N-Ch55V110A*8mΩ @ 10V2.0V - 4.0VInverters, high-current 12V/24V systems (Needs 10V gate driver)
IRF9540P-Ch-200V-23A*200mΩ @ -10V-2.0V - -4.0VHigh-side switching, reverse polarity protection

* Id ratings assume infinite heatsink at 25°C case temperature. Real-world free-air limits are significantly lower.

By standardizing your inventory around logic-level defaults like the IRLZ44N for microcontroller projects, you eliminate the most common point of failure in DIY power electronics: under-driven gates. Wire your pull-downs, respect the gate capacitance, and your metal oxide transistors will switch reliably for years.