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 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.
- 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.
-
From above: the rotating probe holder, the actuator that lifts the probe, and one of the pumps. -
A float switch stops the pump before the beaker overflows. -
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.
Further possibilities
Not just kombucha.
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.