Define either HUMIDISTAT_CONTROLLER_SINGLE or HUMIDISTAT_CONTROLLER_CASCADE. In the latter case, flow sensors must be connected to PIN_F1 and PIN_F2.
More...
|
const uint32_t | serialRate = 115200 |
| Serial communication symbol rate (baud)
|
|
const bool | overrideEEPROM = false |
| Set to true to override the values stored in EEPROM and use the default PID parameters defined below.
|
|
const uint8_t | EEPROMAddress = 0 |
| EEPROM address for storing the block.
|
|
const uint16_t | dt = 500 |
| Global interval for PID/logger (based on polling rate of sensor, in millis)
|
|
const double | S_lowValue = 0.75 |
| Minimum solenoid duty cycle (deadband)
|
|
const double | HC_totalFlowrate = 2 |
| Total flowrate (for cascade controller) (L/min)
|
|
const double | a = 0.75 |
| Smoothing factor of EMA filter for derivative.
|
|
|
const double | HC_Kp = 0.01 |
|
const double | HC_Ki = 0.001 |
|
const double | HC_Kd = 0.01 |
|
const double | HC_Kf = 0.01 |
|
|
const double | FC_Kp = 0.005 |
|
const double | FC_Ki = 0.05 |
|
const double | FC_Kd = 0 |
|
const double | FC_Kf = 0 |
|
const uint16_t | FC_dt = 100 |
|
|
Here you can define setpoint profiles (arrays of Point s, which are pairs of a time and setpoint value). The Point arrays must be sorted in time. Enter the profiles in profiles , which is an array of SPProfile s (which takes a pair of a label string and span of Point s)
|
const uint8_t | interval = 20 |
|
const Point | profile_tuningtest [] |
|
const SPProfile | profiles [] |
| Setpoint profile definitions.
|
|
|
const uint16_t | buttonDebounceInterval = 500 |
| For debouncing: interval the keypad state must be stable for (in micros)
|
|
const uint16_t | inputInterval = 200 |
| Repeat interval for keypress events (in millis)
|
|
const uint16_t | blinkInterval = 500 |
| Interval for blinking display elements (in millis)
|
|
const uint16_t | splashDuration = 2000 |
| Duration for which to show the splash screen (in millis)
|
|
const uint16_t | infoDuration = 0 |
| Duration for which to show the info screen (in millis)
|
|
const uint16_t | refreshInterval = 100 |
| Interval for updating the display (in millis)
|
|
const uint8_t | adjustStep = 10 |
| Step size by which to in-/de-crement for coarse adjustment.
|
|
const double | tolerance = 0.01 |
| Tolerance in difference between process variable and setpoint outside which the setpoint blinks (in percentage points)
|
|
|
const uint16_t | longPressDuration = 500 |
| Duration for counting a press as 'long' (in millis)
|
|
const uint8_t | configSaveCooldown = 20 * 1000 / refreshInterval |
| Cooldown on saving the config to EEPROM (in refresh cycles)
|
|
Define either HUMIDISTAT_CONTROLLER_SINGLE or HUMIDISTAT_CONTROLLER_CASCADE. In the latter case, flow sensors must be connected to PIN_F1 and PIN_F2.
Define either HUMIDISTAT_DHT (for DHT22/AM2302 sensors) or HUMIDISTAT_SHT (for Sensirion SHT85 sensors). In the former case, the data pin of the sensor should be connected to PIN_DHT. In the latter case, the sensor should be connected to the I2C bus. On the Arduino Uno, these pins (SDA and SCL) are shared with A4 and A5. Define either HUMIDISTAT_INPUT_KS0256 or HUMIDISTAT_INPUT_KS0466. In either case, the keypad must be connected to PIN_BTN specified below. Define either HUMIDISTAT_UI_CHAR HUMIDISTAT_UI_GRAPH for a HD44780 16x02 character display, or a ST7920 graphical display respectively. In the former case, the display must be connected to the pins specified below (PIN_LCD_x). in the latter case, the display must be connected to the hardware SPI bus.