The MashBerry software uses a modified Raspberry Linux-Kernel. To control the SSR in realtime the timer- interrupt was modified to control the Raspberry’s GPIO’s. The main application is written in C++ and uses Qt. For small TFT-Displays there’s a simple GUI that can be controlled by an IR-remote or by keyboard/mouse. For the configuration of MashBerry’s parameters like PID-Parameters, Language or recipes the builtin webinterface can be used. For temperature-control a PID-controller is used.
For the implementation of the Webinterface QtWebApp by Stefan Frings ist used. The Webinterface can be used for entering brewing-recipes and settings and the brewing process can be controlled.
The PID-implementation used in MashBerry is a modified version of the Arduino PID-Implementation from Brett Beauregard. For tuning the PID the autotune-algorithm from the same developer is integrated. The PID-Autotune should be started using the waterfilled mashing-pot that will be later used for brewing. It’s best to add the amount of malt used in later brewing-processes.
To get a better accuracy of the temperature it is possible to do a PID-Autotune for all the singel steps of a recipe. Depending on the system used the autotune for single temperature can take up to 2 hours or longer. Finetuning of the PID-parameters later can be done via the Web-interface. As an Example for PID-parameters the parameters for a 25L insolated cooking-pot are included.