Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
Loading...
Searching...
No Matches
Public Attributes | List of all members
ControlConfig Struct Reference

Tunable limits and hysteresis settings for cooling control. More...

#include <control_engine.h>

Public Attributes

float defaultTargetTemperatureC
 Fallback target water temperature in degrees Celsius.
 
float minimumTargetTemperatureC
 Lowest accepted configured target in degrees Celsius.
 
float maximumTargetTemperatureC
 Highest accepted configured target in degrees Celsius.
 
uint8_t fallbackPwmPercent
 Fan PWM used when water temperature is unavailable.
 
float minimumCoolingOnDeltaC
 Lowest accepted upper hysteresis delta.
 
float maximumCoolingOnDeltaC
 Highest accepted upper hysteresis delta.
 
float coolingOnDeltaC
 Water delta above target where cooling starts.
 
float minimumCoolingOffDeltaC
 Lowest accepted lower hysteresis delta.
 
float maximumCoolingOffDeltaC
 Highest accepted lower hysteresis delta.
 
float coolingOffDeltaC
 Water delta below target where cooling stops.
 
float minimumHighCoolingDeltaC
 Lowest accepted delta where fan-high is allowed.
 
float maximumHighCoolingDeltaC
 Highest accepted delta where fan-high is allowed.
 
float highCoolingDeltaC
 Water delta above target where fan-high starts.
 
uint8_t minimumFanLowPwmPercent
 Lowest accepted fixed PWM for fan-low.
 
uint8_t maximumFanLowPwmPercent
 Highest accepted fixed PWM for fan-low.
 
uint8_t fanLowPwmPercent
 Fixed PWM used during fan-low cooling.
 
uint8_t minimumFanHighPwmPercent
 Lowest accepted fixed PWM for fan-high.
 
uint8_t maximumFanHighPwmPercent
 Highest accepted fixed PWM for fan-high.
 
uint8_t fanHighPwmPercent
 Fixed PWM used during fan-high cooling.
 

Detailed Description

Tunable limits and hysteresis settings for cooling control.

The configuration describes the safe operating envelope for water-temperature control. Temperature values are expressed in degrees Celsius and PWM values use the controller-wide 0 to 100 percent scale.


The documentation for this struct was generated from the following file: