Component guide · Beginner · 3 min read
Mini Peristaltic Dosing Pumps 6V and 12V

Calibration, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A peristaltic pump moves liquid by squeezing a flexible tube with rollers, so the liquid never touches the pump parts. It self-primes, can run dry and gives repeatable small volumes, which makes it ideal for dosing nutrients, pH solution, cocktails and lab liquids. Calibrate by measuring how many millilitres it moves per second.
Key specs at a glance
- Voltage
- 6 V or 12 V DC
- Current
- About 100 to 300 mA
- Flow
- About 20 to 100 mL/min
- Tube
- Silicone, replaceable
- Self-priming
- Yes
- Reversible
- Yes, swap polarity
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Mini Peristaltic Dosing Pump₹249
Option 2Peristaltic Dosing Pump 6V₹242
Option 3Silicone Pump Tube (1 m)₹35
What the Peristaltic dosing pump is
A peristaltic pump moves liquid by squeezing a flexible tube with rotating rollers. Only the tube touches the liquid, so it is clean, self-priming and doses small, repeatable volumes.
Flow depends on tube wear and voltage, so recalibrate every few weeks. The silicone tube is a wear part; replace it when flow drops.
Run it with an H-bridge to reverse and clear the line after dosing.
Peristaltic dosing pump pinout
The pins on the Peristaltic dosing pump and what each one does.
| Pin | Function |
|---|---|
| + | Motor lead |
| - | Motor lead |
- +
- Motor lead
- -
- Motor lead
Wiring the Peristaltic dosing pump
For a 6 V pump use a 6 V supply or a buck converter. Add a diode across the motor.
| Peristaltic dosing pump pin | Arduino Uno | ESP32 |
|---|---|---|
| Load + | 12 V supply + | 12 V supply + |
| Load - | MOSFET module OUT- (or relay NO) | MOSFET module OUT- |
| Module signal | D7 | GPIO 26 |
| GND | GND (shared with 12 V -) | GND |
- Load +
- Arduino Uno:
- 12 V supply +
- ESP32:
- 12 V supply +
- Load -
- Arduino Uno:
- MOSFET module OUT- (or relay NO)
- ESP32:
- MOSFET module OUT-
- Module signal
- Arduino Uno:
- D7
- ESP32:
- GPIO 26
- GND
- Arduino Uno:
- GND (shared with 12 V -)
- ESP32:
- GND
Example code
A minimal sketch to check the part works.
const int PUMP = 7;
const float ML_PER_S = 1.2; // measure yours
void dose(float ml) {
digitalWrite(PUMP, HIGH);
delay((unsigned long)(ml / ML_PER_S * 1000));
digitalWrite(PUMP, LOW);
}
void setup() { pinMode(PUMP, OUTPUT); dose(5.0); }
void loop() {}Setup and tuning
run the pump for 60 seconds into a measuring cylinder and divide by 60 to get mL per second.
repeat every few weeks, because the tube wears and the flow changes.
check the tube material suits the liquid; silicone is fine for water and nutrients, not for solvents.
drive it with an H-bridge to reverse and clear the line after dosing.
give each pump its own MOSFET or driver channel.
What you need
Shop this list7 of 9 found in our store · ₹1,380
Mini Peristaltic Dosing Pump: the part this guide coversMini Peristaltic Dosing Pump₹249
Peristaltic Dosing Pump 6V: another version this guide coversPeristaltic Dosing Pump 6V₹242
Silicone Pump Tube (1 m): another version this guide coversSilicone Pump Tube (1 m)₹35- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
MOSFET switch module (D4184 / LR7843): to switch or PWM it from a GPIOMOSFET Switch Module, Relay Replacement (D4184 / LR7843)₹39
L298N dual H-bridge motor driver module: to reverse itL298N Dual H-Bridge Motor Driver Module₹128- 1N4007 diode: flyback protection across the coil or motorFind this part
SMPS power supply in metal enclosure (5/12/24 V): a 12 V supplySMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
Alternatives and when to choose them
- R385 diaphragm pump: more flow, less precision.
- Analog pH sensor: measure what you dose.
- Water pumps overview.
Common mistakes to avoid
- Never recalibrating as the tube wears.
- Running a 6 V pump at 12 V.
- Pumping strong solvents through silicone tube.
- Leaving no way to reverse and clear the line.
Frequently asked questions
Can a peristaltic pump run dry?
Yes. Running dry does not harm it, which makes it safe for dosing from small bottles.
How accurate is a peristaltic dosing pump?
After calibration it repeats within a few percent, good enough for nutrients, pH up/down and drinks.
How do I reverse the pump?
Swap the motor polarity or drive it with an H-bridge so code can run it backwards.
How long does the tube last?
Hundreds of hours of running. Replace it when the flow drops or the tube looks flattened.
Is it food safe?
Use food-grade silicone tubing for drinks; the liquid never touches the pump mechanism.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


