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
- Confirm the exact part number and breakout-board revision.
- Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
- Check controller pin assignments and bus address or interface mode against the example code.
- Power up with external loads disconnected, then test signals before full integration.
- 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 pin | Arduino Uno pin | Note |
|---|---|---|
| Transistor base (via 1kΩ resistor) | D9 | Never wire the pump directly to a digital pin. |
| Transistor emitter / pump supply GND | GND | Shared 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 →
- 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
Active Buzzer
Self-oscillating buzzer that beeps with just a single HIGH signal — no PWM required.
BLDC ESC
High-speed brushless motor and electronic speed controller combo.
Continuous Servo
Modified servo that spins continuously like a geared motor.
Peristaltic Pump
Precision tube pump for accurate liquid dosing.
Related Guides & Projects
Arduino Uno R4 Minima Pinout: Every GPIO, ADC, DAC, and Op-Amp Pin Explained
A complete Arduino Uno R4 Minima pinout reference — digital I/O, ADC, DAC, op-amp, CAN, dual UART, and exactly what it leaves out compared to the WiFi variant.
Mastering PWM on Arduino: Dimming LEDs and Controlling Motors
Understand what PWM actually is on Arduino, dim an LED smoothly, and safely control a DC motor's speed with a driver chip -- plus the mistakes (like wiring a motor straight to a pin) that damage boards.
4-Digit 7-Segment Counter with TM1637 & Arduino
Drive a TM1637-based 4-digit 7-segment display with Arduino Uno to show a real-time up/down counter, elapsed timer, and scrolling text. Covers library setup, brightness control, and custom segment mapping.
Arduino Uno R4 Minima vs WiFi: Which One Should You Choose?
Same processor, same memory, different price. Here's what the WiFi variant's extra hardware actually gets you, and when the Minima is the smarter buy.