Chamber controller

June 1, 2025
Chamber controller

Background

I was using the brewpi@8266 for quite some time which has served me well. I tried to integrate and use this from my brewlogger setup at first but it but the integration was not straightforward. So I decided to give this a try and create my own controller.

Creating the PID controller

Since i already had the hardware devices (ESP32 PRO with TFT) this was the natural choice to use as a base.

The PID controller is one of the best I have found so I went back the original brewpi project and extracted that as a separate library which is availabile on github.com here

Since i have a lot of features in my espframework it was quite easy to add a wrapper and UI around this library to make it work. By using this approach i got the following;

  • Webserver and REST API
  • Firmware upgrade via UI
  • Web based UI for configuring device

I also added a few more features to make the software work for me and also integrate with my other projects.

  • Bluetooth temperature transmission, so Kegmon can receive temperature data
  • Touch based UI for controlling device locally (Optional)
  • Support for more Lolin boards (ESP32 PRO, ESP32s3 PRO, ESP32s2 mini)

If you want to use the touch based UI you will need a device with at least 16 Mb flash since the UI libraries are quite large. Without UI a standard 4 Mb board will work. I created this for my own needs (and for fun) so feedback and help with documentation is always appreciated.

Nowdays there are lots of bre-built PID controllers that are easy to use but I like the DIY approach and pushing my own limits.

Happy brewing, Magnus

Chamber controller