
Popular 'MOSFET module' whose IRF520 is not logic-level: barely turns on from 3.3/5 V GPIO.
Verdict. IRF520 needs ~10 V gate drive; from an Arduino or ESP32 it runs half-on and hot. Use a D4184/LR7843 module or an IRLZ44N/AO3400.
| MOSFET | IRF520 (Vgs(th) 2-4 V, specified at 10 V) |
|---|---|
| Load | 0-24 V |
| Real current @5 V gate | ~1 A before heating |
| Input | direct gate, no driver |
| AliExpress | €1.25 | 1 pc; discounted from €2.5; +3 Tsd. sold; card price = cheapest variant, incl. VAT· from search results | |
| Botland | €1.90 | Iduino ST1168, incl. VAT |
r/esp32 answers repeatedly note its 2-4 V threshold makes it unreliable from 3.3 V.
“IRF520 has Vgs 2 to 4V. If you are lucky and your IRF520 has Vgs less than 3.3V, then the output from ESP will open the transistor completely” — Reddit r/esp32, 2026-05