Choosing pumps
CocktailPi supports three kinds of dispensing units. They have different strengths and can be mixed in one machine.
DC pumps
The default choice. Each pump is calibrated by measuring how long it needs for a reference amount; CocktailPi scales that time for every ingredient.
- ✅ Cheap and simple
- ✅ Can run in parallel with other DC and stepper pumps
- ❌ Not suitable for carbonated drinks – the underpressure removes the carbonation
Use for: non-carbonated ingredients that make up a large part of drinks, e.g. juices and spirits.
Stepper pumps
Peristaltic pumps driven by a stepper motor through a stepper driver. Very precise: with 200 steps per revolution you get a resolution of 1.8°.
- ✅ Precise dosing
- ✅ Can run in parallel with other pumps
- ❌ More expensive and often slower than DC pumps
- ❌ Not suitable for carbonated drinks
Use for: ingredients that need accurate dosing, with small tubing – e.g. lemon / lime juice, bitters.
Valves
For carbonated drinks. The liquid comes from a pressurised container. The valve opens and the liquid flows into the glass, which stands on a load cell. When the target weight is reached, the valve closes.
- ✅ Works with carbonated ingredients
- ❌ Requires a load cell and a pressurised container (or gravity feed)
- ❌ Only one valve can dispense at a time – valve ingredients are added sequentially at the end of a production step
- ❌ Cannot pump backwards
Use for: soda, cola, tonic – but also usable for juices and spirits.
Comparison
| DC pump | Stepper pump | Valve | |
|---|---|---|---|
| Cheap | ✅ | ❌ | ✅ |
| Concurrent dispensing | ✅ | ✅ | ❌ |
| Precise to fractions of a rotation | ❌ | ✅ | ❌ |
| Carbonated ingredients | ❌ | ❌ | ✅ |
| No load cell required | ✅ | ✅ | ❌ |
| No pressurised container required | ✅ | ✅ | ❌ |
| Can pump backwards | ✅ | ✅ | ❌ |