Lab project · Fermentation

Automated pH monitoring for kombucha.

A measurement station that samples the brew, calibrates itself and sends temperature-compensated pH readings to the cloud. No handheld meter, no testing at 11 PM.

beakers on the station
4
samples, for example
2×/h
running unattended
Weeks
The measurement station seen from above, with labels pointing to the rotating probe holder, the actuator that lifts the probe, and a peristaltic pump next to the glass beakers.

The problem

Kombucha lives and dies by its pH.

Drop below 2.5 and the SCOBY stalls. Drift above 4.5 and you risk contamination. Manual testing with a handheld meter is tedious and inconsistent, and it is easy to skip.

pH range for kombucha
  • Below 2.5 The SCOBY stalls
  • 2.5 – 4.5 Healthy fermentation
  • Above 4.5 Risk of contamination

The solution

A station that does the measuring.

We built an automated platform that moves a glass pH probe between four beakers, takes the reading and keeps the probe in good shape between samples.

  • Two batches, or two depths

    Two of the beakers are filled by food-grade peristaltic pumps. They can draw from two fermentation vessels to follow two batches at once, or from one vessel at two depths to see how the fermentation varies inside it.

  • Stirs when it is needed

    If the readings show that the vessel needs agitation, the station can run a motor-driven spatula at a controlled speed (RPM).

  • Calibrates itself

    Calibration buffers and conservation fluid keep the pH probe accurate and stop it from drying out. Every reading is temperature-compensated.

  • Results in the cloud

    Measurements are sent to a cloud service that analyses them, shows the curves and sends warnings.

  • Runs on its own

    A full cycle, for example two samplings an hour, runs unattended for weeks.

  • Food-grade build

    The station is 3D printed. Beakers, pumps and electronics are mounted on it, and the whole station sits in a food-grade box.

The station

A closer look at the hardware.

  • The measurement station seen from above, with labels pointing to the rotating probe holder, the actuator that lifts the probe, and a peristaltic pump.
    From above: the rotating probe holder, the actuator that lifts the probe, and one of the pumps.
  • Close-up of a sample beaker with a float switch above it and a blue peristaltic pump mounted beside it, both labelled.
    A float switch stops the pump before the beaker overflows.
  • Close-up of the pH probe and temperature probe lowered into a beaker, with a float switch and a peristaltic pump, all labelled.
    The pH probe and temperature probe measure the sample together.

Designed in OpenSCAD

Printed, not bought.

The base plate is modelled in OpenSCAD and printed in one piece. It has rings for the beakers, mounts for the pumps, posts for the float switches and the central tower for the rotating probe holder. Changing the layout is a matter of editing the model and printing it again.

A yellow 3D render of the base plate with four beaker rings, two pump mounts, vertical posts and a tall curved central tower.
The OpenSCAD model of the base plate.
A grey 3D view of the same base plate as it is sent to the 3D printer.
The exported model, ready for the printer.

Further possibilities

Not just kombucha.

  1. 01

    Beer brewing

    The station works for other fermentation processes too. Beer brewing is the obvious next step.

  2. 02

    Specific gravity

    The cloud service can also log specific gravity from standard fermentation pills, such as the RAPT Pill.

  3. 03

    Alcohol in the air

    Experimentally, the station can measure alcohol in the air above the sample beaker.

Technical details

Under the hood.

The short version. The write-up covers the hardware, the measurement pipeline and the firmware in detail.

PDF, 4 pages

ESP32 over WiFi
An ESP32 runs the station. A servo rotates the probe arm, and a linear actuator dips the probe into each beaker.
Clean signal
Median-of-means filtering of the probe signal rejects electrical noise and single outlier readings.
Calibration done right
Two-point calibration at pH 4.01 and 6.86, with both the buffer values and the Nernst slope corrected for temperature.
Probe health
After each calibration the probe is checked against the theoretical slope, so an ageing probe is flagged before it gives bad data.
Fail-safe
A watchdog restarts the controller if it hangs, and the probe goes back into conservation fluid on its own if it has been out too long.

Monitoring your own fermentation?

Want pH monitoring for a brewery or fermentation process, or a measurement station for something else? Get in touch.

Get in touch