Key Engineering Takeaways
- •Microcontroller GPIO pins are limited to 20mA; transistors allow 3.3V/5V logic to switch 50A+ high-power loads.
- •BJTs are CURRENT-CONTROLLED: requires continuous base current (I_b = I_c / beta) and has ~0.2V–0.4V saturation voltage drop.
- •MOSFETs are VOLTAGE-CONTROLLED: draws zero continuous gate current; conducts with ultra-low ON-resistance (R_DS(on) < 0.01Ω).
- •Never use standard MOSFETs (IRF540N) with 3.3V/5V microcontrollers—they require 10V on Gate to turn on! Use Logic-Level MOSFETs (IRLZ44N / IRLB8721).
- •Always place a 10kΩ pull-down resistor from Gate to Ground to prevent floating gate oscillation during microcontroller boot.
- • Ohm's Law, Transistors, and PWM basics
- • IRLZ44N Logic-Level N-MOSFET (TO-220)
- • 2N2222 NPN Transistor
- • 100Ω and 10kΩ Resistors
- • 12V DC Motor and Flyback Diode
The Problem: Microcontrollers Cannot Drive Motors Directly
N-Channel Power MOSFETs (IRLZ44N / IRLB8721) for Heavy Loads (>2A)
The Logic-Level Trap: Standard vs Logic-Level MOSFETs (V_GS)
Complete High-Power MOSFET Motor Driver Schematic
Frequently Asked Questions
What is the difference between Low-Side and High-Side switching?
Low-Side switching connects the transistor between the load and Ground (N-MOSFET / NPN BJT), which is easiest because Gate control voltage is referenced directly to Ground. High-Side switching connects the transistor between Power (+12V) and the load (P-MOSFET / PNP BJT), which is used when the load must remain permanently grounded.