FET Lab: transistor and MOSFET driving

Drive real loads from an MCU or FPGA pin: a circuit simulator with real parts, hands-on chapters, application circuits and a quiz.

Animation

A GPIO pin drives a MOSFET

Pink dots show load current (conventional direction), cyan dots show gate charge/discharge current. Gate current only flows during transitions; an ON MOSFET draws no steady gate current.

What is in this lab?

Chapters build on each other: know the load, pick the switch, drive it properly, then protect it. Every chapter has at least one lab panel you can play with using sliders.

Simulator

Fundamentals

Driving

Fast switching

Protection

Practice

BJT or MOSFET? First look

BJT (NPN/PNP)MOSFET (N/P)
Controlled byBase current (IB)Gate–source voltage (VGS)
Steady drive currentIC/β … IC/10≈ 0 (leakage only)
On-state dropVCE(sat) ≈ 0,05–0,3 V (roughly fixed)ID · RDS(on) (resistive)
Sweet spotSmall currents (< 0.5 A), cheap, turns on at 0.7 VHigh current, PWM, low loss
Speed limitComing out of saturation (storage time)How fast you charge the gate capacitance
Typical mistakeForgetting the base resistor, too little IBChoosing a MOSFET that won’t fully turn on at 3.3 V

Color language

Copper = power

Load current, drain/collector path, losses and heat.

Blue = control

Gate/base signal, the microcontroller side.

Red = danger

Overvoltage, overcurrent, outside SOA, a limit exceeded.

Current animations use conventional current (+ to −). Where electron flow is shown instead, it is labelled.