The Control has been added. Presently using Relays directly controlled/wired to the RaspberryPi GPIO. Still waiting to receive my i2c Expansion Board so that all sensors/io communicate over a bus instead of being directly wired to the microcontroller. Just plugged turned it on and tested. You can see for Temp and pH that I am calling for the Heater (green dot) and the CO2 fertilisaton (green dot).
Using hysteresis for control.... to keep from constantly switching the relays on/off. For Temp, I want 27degC (about 80degF). So at 26.75 I will turn heat on.... at 27.25 I will turn heat off... That's reverse acting control. Not sweating the small temperature swing because with my inexpensive directly wired relays, I'm just tying to keep the duty cycles at a minimum. Ditto for pH... Desiring 7.0.. So at 7.05 I will turn on CO2, at 6.95 I will shut CO2 off. That's direct acting control.
Setpoints are set by a schedule, which of course doesn't change... but that allows the system to startup with defaults without going through a routine to set everything.. I will program the setpoint slider controls to override the schedule, but for now, they just follow and indicate what the schedule dictates.
I moved the controller over to a 'live' 5 gallon aquarium... Don't have a means for hooking up the flow meter with this particular setup.. so it's reading zero.... until I move the controller over to a 20L where I can hookup an external pump... and plumb in the flow meter and a flow switch..
FATG-AtlSci-Ctlr-Alpha.jpg
I created a 2nd screen that is used simply for monitoring and controlling the RaspberryPi4 Microcontroller. Just swiping the screen left or right changes the screens... It's a slicker way to navigate instead of adding page links to each screen...
FATG-RPI4-Ctlr-Alpha.jpg
Screen indicates my CPU is hardly working at all at 1%. However, it is running a little warmer than I would prefer. I do have it overclocked by 20% and I'm still waiting for my cooling fan... I can always knock the speeds back down to stock without affecting performance at all.