aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-10-08 15:24:19 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-10-08 15:25:09 -0400
commit930317fa2a40a4424ce0a65bb02f32e6472eeba0 (patch)
tree8b078084ef540d548a320323533043934e69d285
parentd9af6129eacacefa6b33d6ed45a593ef6e11fddb (diff)
downloadkutter-930317fa2a40a4424ce0a65bb02f32e6472eeba0.tar.gz
kutter-930317fa2a40a4424ce0a65bb02f32e6472eeba0.tar.xz
kutter-930317fa2a40a4424ce0a65bb02f32e6472eeba0.zip
thermistor: Add support for the board thermistor on the Einsy Rambo
Add in support for the "TDK NTCG104LH104JT1" thermistor. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--config/example.cfg7
-rw-r--r--config/generic-einsy-rambo.cfg6
-rw-r--r--klippy/extras/thermistor.py3
3 files changed, 13 insertions, 3 deletions
diff --git a/config/example.cfg b/config/example.cfg
index 0e0e5c4d..a25ac737 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -158,9 +158,10 @@ heater_pin: ar10
sensor_type: EPCOS 100K B57560G104F
# Type of sensor - common thermistors are "EPCOS 100K B57560G104F",
# "ATC Semitec 104GT-2", "NTC 100K beta 3950", "Honeywell 100K
-# 135-104LAG-J01", "NTC 100K MGB18-104F39050L32", and
-# "SliceEngineering 450". See the example-extras.cfg file for other
-# sensors. This parameter must be provided.
+# 135-104LAG-J01", "NTC 100K MGB18-104F39050L32",
+# "SliceEngineering 450", and "TDK NTCG104LH104JT1". See the
+# example-extras.cfg file for other sensors. This parameter must be
+# provided.
sensor_pin: analog13
# Analog input pin connected to the sensor. This parameter must be
# provided.
diff --git a/config/generic-einsy-rambo.cfg b/config/generic-einsy-rambo.cfg
index 7c7cb5c5..eca405b5 100644
--- a/config/generic-einsy-rambo.cfg
+++ b/config/generic-einsy-rambo.cfg
@@ -92,6 +92,12 @@ pin: PH5
#[heater_fan nozzle_cooling_fan]
#pin: PH3
+[temperature_sensor board_sensor]
+sensor_pin: PF6
+sensor_type: TDK NTCG104LH104JT1
+min_temp: 0
+max_temp: 50
+
[mcu]
serial: /dev/ttyACM0
diff --git a/klippy/extras/thermistor.py b/klippy/extras/thermistor.py
index ac815d99..475c1326 100644
--- a/klippy/extras/thermistor.py
+++ b/klippy/extras/thermistor.py
@@ -112,6 +112,9 @@ Sensors = {
"SliceEngineering 450": {
't1': 25., 'r1': 500000., 't2': 200., 'r2': 3734.,
't3': 400., 'r3': 240. },
+ "TDK NTCG104LH104JT1": {
+ 't1': 25., 'r1': 100000., 't2': 50., 'r2': 31230.,
+ 't3': 125., 'r3': 2066. },
"NTC 100K beta 3950": { 't1': 25., 'r1': 100000., 'beta': 3950. },
"Honeywell 100K 135-104LAG-J01": { 't1': 25., 'r1': 100000., 'beta': 3974.},
"NTC 100K MGB18-104F39050L32": { 't1': 25., 'r1': 100000., 'beta': 4100. },