Mini water pump does not start or resets the board: use a driver, not a pin

Never drive a pump straight from a pin. Use a switch and a separate supply.

What the message means

A pump draws far more current than a pin can give, and its coil produces voltage spikes when it switches off.

Fix it in this order

  1. Read the pump voltage and current rating.
  2. Switch it with a logic-level MOSFET, a transistor or a relay module.
  3. Put a flyback diode across the pump.
  4. Power the pump from a supply that fits its rating.
  5. Join the grounds of the pump supply and the board.
  6. Never run the pump dry, and keep wiring away from water.

Why it happens

A small pump motor draws far more current than a microcontroller pin can supply, and its start-up surge and switching spikes can reset the board.

Switch the pump through a relay or a logic-level MOSFET, power it from its own supply with a common ground, and put a flyback diode across the motor. Check the pump voltage and current in its specification.

If you see this, do this

You seeDo this
Board resets when pump startsSpike or shared supply.
Pump hums, no flowDry run or low voltage.

flyback diode, relay module.

Last reviewed: November 2026. These are the usual causes and the order that finds them fastest. Test on your own board; clones and cables differ.