Fluid delivery apparatus includes a peristaltic pump having an upstream end for receiving a fluid from a fluid source and a downstream end for delivering the fluid to a fluid target. A single pressure sensor is configured to measure, in alternation, an input pressure of the pump at the upstream end and an output pressure of the pump at the downstream end.