Transistors & MOSFETs
Active switches and amplifiers. On digital boards they're mostly used as switches β turning power or loads on and off.
BJT vs MOSFETβ
| BJT | MOSFET | |
|---|---|---|
| Controlled by | Current (base) | Voltage (gate) |
| On-state | Vce(sat) drop | Low Rds(on) resistance |
| Use for | Small signal switching, level shift | Power switching, load switches |
For switching power, MOSFETs win (low loss). N-channel for low-side, P-channel (or a high- side driver) for high-side.
Common MOSFET circuitsβ
- Low-side switch β N-FET between load and GND; MCU drives the gate (add a gate resistor and a gate pull-down so it's off at boot).
- High-side / load switch β P-FET (or a dedicated load-switch IC) to gate a rail cleanly, often with controlled inrush.
- Reverse-polarity protection β a P-FET in the supply, lower loss than a diode.
- Level shifting β a small N-FET + two pull-ups bidirectionally shifts IΒ²C between voltage domains.
Gate-drive basicsβ
- The gate is capacitive β driving it fast needs current. For power switching use a proper gate driver; keep the gate loop short (see Power Electronics).
- Always define the gate at power-on (pull-down/up) so the FET isn't randomly on.
Logic-level gates
A normal MOSFET may need 10 V on the gate to fully turn on. For 3.3 V/5 V MCU control, pick a logic-level MOSFET (full enhancement at ~2.5β4.5 V) or it'll run hot and partially on.
See alsoβ
- Power Management β load switches, arbiters
- Power Electronics & High-Current