Slave PID algorithm or Master PID algorithm

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

sixhotdogneck

Well-Known Member
Joined
Jul 16, 2018
Messages
172
Reaction score
39
Is the PID algorithm in Brewery Automation Software normally implemented on the slave microcontrollers (Arduino) or is it implemented in the master controller?

I would guess if it's in the master controller you'd have to have some fail safe if communication was lost with the slave (microcontroller) (or any other number of errors that could occur).
 
In BruControl, it’s in the microcontroller. This is done for increased reliability and timing accuracy, but certainly there is no way to guarantee 100% failsafe operation.

Good to know. That must make for interesting code on some of these microcontrollers.

@BrunDog do you custom code these algorithms for each microcontroller you support?
 
Last edited:
Nice. So you coded it in C or some cross-platform language (or cross-platform platform?).
 
Back
Top