ALITOVE
ALITOVE 5 V 10 A Power Supply Adapter (50 W)
WS2812B panels and strips, 5 V LED projects, small 5 V electronics
The switch between a 3.3 V board and a 12 V pump — one pin turns the pump on and off.
An ESP32 pin can’t power a 12 V pump directly; it can only tell something else to. A MOSFET module is that something: the board sends a 3.3 V signal, and the module connects the 12 V supply to the pump. It’s silent, has no moving parts and, unlike a relay, it can also run the pump at reduced speed with PWM.
Many common MOSFET modules (the IRF520 kind) don’t switch fully on at 3.3 V. This dual-MOSFET type is listed for 3.3 V logic, which is why it suits an ESP32.
Pro tip Put a diode (1N4007 or 1N5819) across the pump’s two terminals, with the striped end on the + wire. When the motor switches off it kicks back a voltage spike, and the diode absorbs it before it reaches the MOSFET.
Why we like it
Keep in mind
As an Amazon Associate I earn from qualifying purchases. If you buy through a link on this page we may earn a small commission, at no extra cost to you. How this works.
ALITOVE
WS2812B panels and strips, 5 V LED projects, small 5 V electronics
Arduino
Wearables and props, controlling servos and LEDs, first Arduino projects
BOJACK
Smoothing LED power inputs, power-supply repairs, stocking an electronics bench
BTF-LIGHTING
Single-color LED strips and neon rope signs on 5, 12 or 24 V