Skip to content
A

Pump

Controlling Mini Water Pump with Arduino Uno

What is the Mini Water Pump?

Mini Water Pump practical reference

A low-voltage submersible pump commonly used in automated plant-watering systems, mini fountains, and liquid-cooling loops.

Key specifications

  • Operating voltage: 3V - 6V DC (5V typical)
  • Current draw: ~130-220 mA at 5V — more than a GPIO pin can source directly
  • Flow rate: ~80-120 L/hr at zero head height, model-dependent
  • Max lift height: ~40cm-1m typical for this size of pump
  • Duty notes: Submersible, brushed DC motor — not rated to run dry; running without water in the reservoir will burn out the motor

Pinout and connection notes

Drive through an NPN transistor or logic-level MOSFET (with a flyback diode across the motor) or a relay module — the pump's current draw exceeds what any microcontroller GPIO pin is rated to supply.

  • +: Positive lead — through a transistor/MOSFET or relay driver, never straight from a GPIO pin
  • -: Negative lead — common ground with the driver circuit

Integration checklist

  1. Confirm the exact part number and breakout-board revision.
  2. Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
  3. Check controller pin assignments and bus address or interface mode against the example code.
  4. Power up with external loads disconnected, then test signals before full integration.
  5. If readings or communication fail, check power and ground first, then pin mapping, interface settings, and library initialization.

Troubleshooting and reproducibility

Record the board used, wiring, library/version, supply arrangement, and measured behavior. Use the selected board-specific wiring example as the source of truth. Never assume visually similar modules share identical voltage tolerance or pin order.

Setting Up Mini Water Pump with Arduino Uno

Library

None — built-in digitalWrite/analogWrite by —

No library needed; driven via a transistor, not directly from a pin.

Wiring

Component pinArduino Uno pinNote
Transistor base (via 1kΩ resistor)D9Never wire the pump directly to a digital pin.
Transistor emitter / pump supply GNDGNDShared ground between Arduino and pump supply.
Pump + / external 5-6V supply—Pump draws 150-220mA — well over the ~20mA an Arduino pin can safely source.

Swipe sideways to see every column →

C++
  • This pump draws far more current than an Arduino pin can supply — drive it through an NPN transistor (e.g. 2N2222) or logic-level MOSFET, with the pump's own current on a separate 5-6V supply and only the transistor's base wired to the Arduino pin through a ~1kΩ resistor.
  • Add a flyback diode (e.g. 1N4001) across the pump terminals, cathode to the positive side — DC motors and pumps generate a voltage spike when switched off that can damage the driving transistor without one.
  • This is a submersible pump — keep the motor portion underwater during operation; running it dry can burn out the motor within seconds.

Related Components

Related Guides & Projects