diff options
author | Adrian Keet <arkeet@gmail.com> | 2020-09-02 06:32:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 09:32:30 -0400 |
commit | 37d7742468e71272dfd9acfa8bac79be8eca0460 (patch) | |
tree | 2047083489f038c2857ffe54f8ce3f71d6f3d6af | |
parent | 7c5b1085310fbb7818d9bb10b5336a975d6dbe12 (diff) | |
download | kutter-37d7742468e71272dfd9acfa8bac79be8eca0460.tar.gz kutter-37d7742468e71272dfd9acfa8bac79be8eca0460.tar.xz kutter-37d7742468e71272dfd9acfa8bac79be8eca0460.zip |
spi_temperature: fix MAX31865 temperature conversion (#3274)
Signed-off-by: Adrian Keet <arkeet@gmail.com>
-rw-r--r-- | docs/Config_Changes.md | 4 | ||||
-rw-r--r-- | klippy/extras/spi_temperature.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index 13257326..3c14307e 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -6,6 +6,10 @@ All dates in this document are approximate. # Changes +20200902: The RTD resistance-to-temperature calculation for MAX31865 +converters has been corrected to not read low. If you are using such a +device, you should recalibrate your print temperature and PID settings. + 20200816: The gcode macro `printer.gcode` object has been renamed to `printer.gcode_move`. Several undocumented variables in `printer.toolhead` and `printer.gcode` have been removed. See diff --git a/klippy/extras/spi_temperature.py b/klippy/extras/spi_temperature.py index d6f0a2ba..c7ae77a8 100644 --- a/klippy/extras/spi_temperature.py +++ b/klippy/extras/spi_temperature.py @@ -268,7 +268,7 @@ MAX31865_FAULT_RTDINLOW = 0x08 MAX31865_FAULT_OVUV = 0x04 VAL_A = 0.00390830 -VAL_B = 0.0000005775 +VAL_B = -0.0000005775 VAL_C = -0.00000000000418301 VAL_ADC_MAX = 32768.0 # 2^15 |