Add EEPROM configurations

This commit is contained in:
Thomas Kolb 2024-02-09 19:20:28 +01:00
parent aea2abc9ea
commit 0846a0572d
4 changed files with 74 additions and 4 deletions

2
.gitignore vendored
View File

@ -6,7 +6,7 @@
.*.sw?
# generated config HEX files
utils/*.hex
eeprom_config/*.hex
test/*
!test/*.c

View File

@ -0,0 +1,35 @@
# Values for the cooler of the FT-817 radio.
flags:
USE_DCDC_CONTROL: true
config:
# temperature corridor definition
CORRIDOR_MIN_TEMPERATURE: 28.0
CORRIDOR_MAX_TEMPERATURE: 32.0
# The fan is started when temperature rises above this temperature.
FAN_START_TEMPERATURE: 30.0
# The fan is stopped when the temperature falls below this point.
FAN_OFF_TEMPERATURE: 25.0
# Emergency temperature level. If this is reached, the duty cycle is directly
# set to the maximum to skip a long ramp-up phase.
EMERGENCY_TEMPERATURE: 40.0
# The fan PWM duty cycle cannot fall below this limit. It is held until
# temperature falls below the off-temperature.
DUTY_CYCLE_MIN: 25.0
# The fan PWM duty cycle cannot go above this limit. Should be set to 100.
DUTY_CYCLE_MAX: 100.0
# The fan is always started with this duty cycle. Do not set too low.
DUTY_CYCLE_START: 60.0
# gain unit: percent duty cycle change per °C deviation per update cycle (100 ms)
GAIN_T_HIGH_P: 2.000
GAIN_T_HIGH_I: 0.125
GAIN_T_LOW_P: 0.000
GAIN_T_LOW_I: 0.125

View File

@ -1,6 +1,6 @@
# Values for the cooler of the FT-817 radio.
flags:
USE_DCDC_CONTROL: true
USE_DCDC_CONTROL: false
config:
@ -20,13 +20,13 @@ config:
# The fan PWM duty cycle cannot fall below this limit. It is held until
# temperature falls below the off-temperature.
DUTY_CYCLE_MIN: 30.0
DUTY_CYCLE_MIN: 5.0
# The fan PWM duty cycle cannot go above this limit. Should be set to 100.
DUTY_CYCLE_MAX: 100.0
# The fan is always started with this duty cycle. Do not set too low.
DUTY_CYCLE_START: 70.0
DUTY_CYCLE_START: 20.0
# gain unit: percent duty cycle change per °C deviation per update cycle (100 ms)
GAIN_T_HIGH_P: 2.000

View File

@ -0,0 +1,35 @@
# Values for the cooler of the FT-817 radio.
flags:
USE_DCDC_CONTROL: true
config:
# temperature corridor definition
CORRIDOR_MIN_TEMPERATURE: 24.0
CORRIDOR_MAX_TEMPERATURE: 26.0
# The fan is started when temperature rises above this temperature.
FAN_START_TEMPERATURE: 20.0
# The fan is stopped when the temperature falls below this point.
FAN_OFF_TEMPERATURE: 0.0
# Emergency temperature level. If this is reached, the duty cycle is directly
# set to the maximum to skip a long ramp-up phase.
EMERGENCY_TEMPERATURE: 40.0
# The fan PWM duty cycle cannot fall below this limit. It is held until
# temperature falls below the off-temperature.
DUTY_CYCLE_MIN: 20.0
# The fan PWM duty cycle cannot go above this limit. Should be set to 100.
DUTY_CYCLE_MAX: 100.0
# The fan is always started with this duty cycle. Do not set too low.
DUTY_CYCLE_START: 60.0
# gain unit: percent duty cycle change per °C deviation per update cycle (100 ms)
GAIN_T_HIGH_P: 2.000
GAIN_T_HIGH_I: 0.125
GAIN_T_LOW_P: 0.000
GAIN_T_LOW_I: 0.125