application: recalibrate lid temperature

This commit is contained in:
King Kévin 2020-12-08 23:14:57 +01:00
parent 8b62d16436
commit 6d93633587
1 changed files with 2 additions and 2 deletions

View File

@ -207,8 +207,8 @@ static float lid_temperature(void)
// convert to °C
// calibrated using a DS18B20 (accuracy = +- 0.5°C), with 12-bit precision
// 2.7013 V = 20.500 °C, 0.35925 V = 84.062 °C
return -27.125 * voltages[1] + 93.7727;
// 2.3491 V = 21.500 C, 0.1337 V = 104.9 °C
return -37.6456 * voltages[1] + 109.933;
}
/** set the power delivered to the lid heater