application: recalibrate lid temperature
This commit is contained in:
parent
8b62d16436
commit
6d93633587
|
@ -207,8 +207,8 @@ static float lid_temperature(void)
|
||||||
|
|
||||||
// convert to °C
|
// convert to °C
|
||||||
// calibrated using a DS18B20 (accuracy = +- 0.5°C), with 12-bit precision
|
// calibrated using a DS18B20 (accuracy = +- 0.5°C), with 12-bit precision
|
||||||
// 2.7013 V = 20.500 °C, 0.35925 V = 84.062 °C
|
// 2.3491 V = 21.500 C, 0.1337 V = 104.9 °C
|
||||||
return -27.125 * voltages[1] + 93.7727;
|
return -37.6456 * voltages[1] + 109.933;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** set the power delivered to the lid heater
|
/** set the power delivered to the lid heater
|
||||||
|
|
Loading…
Reference in New Issue