Source: https://mokxi.com/parts/waterpump
Updated: 2026-11-16

Part

# Mini water pump

A thumb-sized submersible pump: a motor and impeller, up to 120 L/h on 6 V.

See every part

- 2 pins
- 6 settings
- In 8 projects

Drawn live by the editor's own code, at the size you see it.

At a glance

## The Mini water pump in brief

What it is, and every setting the properties panel gives it.

The mini submersible water pump is a small brushed DC motor sealed around an impeller, with two leads, sold for 3 to 6 volts and 130 to 220 mA: the pump in almost every Arduino plant-watering build. Electrically it is just a motor, so it never goes on a board pin, which supplies about 20 mA. Switch it with a relay module, a logic-level MOSFET or a transistor from its own supply, and let the Uno or ESP32 only decide when. Mokxi models it as a motor with a 4 ohm winding and back EMF at 0.85 of the supply, so it draws about 220 mA running at 6 volts and far more stalled, and a 50 millisecond inertia spins the impeller up rather than instantly. Flow follows speed, up to 120 liters an hour at full voltage, so PWM through a MOSFET pumps less. The model property swaps in a 12 volt peristaltic doser, an R385 diaphragm pump or an aquarium air pump. Head height and running dry are not modeled, and a missing flyback diode is forgiven here.

Family

Outputs

Pins

2

model

custom (or peristaltic 12V, diaphragm 12V (R385), air pump 12V (370))

voltage

6

flow

120

resistance

4

inertia

50

back_emf

0.85

Pins

## 2 pins

Named as the editor names them, so a wire lands where you expect it.

Pin

What it does

V+

The red lead.

V-

The black lead.

How to use it

## How to use a mini water pump with an Arduino

The pump never goes on a pin. Here a relay module does the switching: pin 7 drives IN, the pump’s own 6 V supply goes to COM, NO goes to the pump’s V+, and V- goes to ground. The relay’s coil side and the soil probe run from the Uno’s 5 V, so the pump’s current never passes through the board at all.

The sketch reads a capacitive soil probe on A0, turns it into a percentage, and below 35% runs the pump for three seconds with digitalWrite(7, HIGH), then waits ten seconds for the water to soak in before it looks again. That wait matters: without it the sketch floods the pot chasing a probe that has not caught up. Drag the soil drier to start it.

Part pin

Board pin

V+

Relay NO, with COM on the 6 V supply

V-

GND

Relay IN

Pin 7

Soil probe AOUT

A0

Many cheap relay boards switch when IN is pulled low, which the relay’s trigger property models. A logic-level MOSFET module does the same job from any board, and lets PWM set the flow.

Click to open it in the editor

This is the simulator itself, running here. Click anything to open it in the editor.

Open this project in the editor Read the full tutorial

How it is modeled

## What is true about the Mini water pump, here

In its help article’s own words: what the simulation gets right, and where it stops.

### Modeled

It is a motor. A stalled pump draws far more than a running one, and on a bare pin
it barely turns. The flow follows the speed, so a lower voltage or a PWM duty pumps
less.

### Not modeled

The head (pumping higher lowers the flow), running dry (which ruins a real one), and
the water. Run backwards, a real impeller pump still pushes water out, more weakly;
here it pumps the same either way.

From Mini water pump, in full.

Projects

## See the Mini water pump in a project

8 built-in projects use it. Each opens in the editor, already wired.

Boards

## The boards it is shown on

This board has a built-in project with the Mini water pump in it.

- Arduino Uno R3

More parts

## The rest of the bench

Every one of these is drawn and simulated the same way.

Full-size breadboard

A real 0.1 inch grid with the rails and the center channel, 63 columns wide.

Jumper wires

Drag from any pin or hole to any other. Corners snap, and you can drag them.

Power

A supply rail at the voltage you choose.

Ground

The other end of every circuit.

LED

Lights when current flows. Five colors, and the brightness is what your eye would see.

Filament lamp

A tungsten bulb in a holder: an inrush when it is switched on cold, tens of milliseconds to warm up, and dim on half its voltage.

Resistor

Any value you like, with the color bands drawn to match.

ESP32-C3-DevKitM-1

A RISC-V board that runs your firmware at 160 MHz on the real memory map.

Pushbutton

A 12 mm tactile switch. Hold it while the simulation runs.

Raspberry Pi Pico

The RP2040 board on our own Cortex-M0+ core. Pick a program and press Run.

Raspberry Pi Pico W

Raspberry Pi Pico W (RP2040). The same board and the same pinout as a Pico, with the CYW43439 on it. The WiFi is simulated (no radio; real internet through the Cloud panel’s switch), and the on-board LED, which hangs off that chip rather than off GP25, is driven through the same path. Everything else is the Pico.

Raspberry Pi 4 Model B

Raspberry Pi 4 Model B: the 40-pin header, driven by main.py with RPi.GPIO or gpiozero.

See every part

## Wire up the Mini water pump

Open the editor and push it into the breadboard. It is free, and it runs on your own machine.

Start building free Open the editor
