Browse Source

🐛 Board Temp Sensor followup (#22350)

Keith Bennett 3 years ago
parent
commit
3797549e7e
No account linked to committer's email address

+ 1
- 0
Marlin/Configuration.h View File

@@ -451,6 +451,7 @@
451 451
  *    67 : 500kΩ  SliceEngineering 450°C Thermistor
452 452
  *    70 : 100kΩ  bq Hephestos 2
453 453
  *    75 : 100kΩ  Generic Silicon Heat Pad with NTC100K MGB18-104F39050L32
454
+ *  2000 : 100kΩ  Ultimachine Rambo TDK NTCG104LH104KT1 NTC100K motherboard Thermistor
454 455
  *
455 456
  *  Analog Thermistors - 1kΩ pullup - Atypical, and requires changing out the 4.7kΩ pullup for 1kΩ.
456 457
  *  -------                           (but gives greater accuracy and more stable PID)

+ 2
- 0
Marlin/src/lcd/thermistornames.h View File

@@ -128,6 +128,8 @@
128 128
   #define THERMISTOR_NAME "Pt100 1K"
129 129
 #elif THERMISTOR_ID == 666
130 130
   #define THERMISTOR_NAME "Einstart S"
131
+#elif THERMISTOR_ID == 2000
132
+  #define THERMISTOR_NAME "TDK NTCG104LH104JT1"
131 133
 
132 134
 // High Temperature thermistors
133 135
 #elif THERMISTOR_ID == 61

+ 60
- 0
Marlin/src/module/thermistor/thermistor_2000.h View File

@@ -0,0 +1,60 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+#pragma once
23
+
24
+// R25 = 100 KOhm, beta25 = 4550 K, 4.7 kOhm pull-up, TDK NTCG104LH104KT1 https://product.tdk.com/en/search/sensor/ntc/chip-ntc-thermistor/info?part_no=NTCG104LH104KT1
25
+constexpr temp_entry_t temptable_2000[] PROGMEM = {
26
+{ OV(313),   125 },
27
+{ OV(347),   120 },
28
+{ OV(383),   115 },
29
+{ OV(422),   110 },
30
+{ OV(463),   105 },
31
+{ OV(506),   100 },
32
+{ OV(549),   95 },
33
+{ OV(594),   90 },
34
+{ OV(638),   85 },
35
+{ OV(681),   80 },
36
+{ OV(722),   75 },
37
+{ OV(762),   70 },
38
+{ OV(799),   65 },
39
+{ OV(833),   60 },
40
+{ OV(863),   55 },
41
+{ OV(890),   50 },
42
+{ OV(914),   45 },
43
+{ OV(934),   40 },
44
+{ OV(951),   35 },
45
+{ OV(966),   30 },
46
+{ OV(978),   25 },
47
+{ OV(988),   20 },
48
+{ OV(996),   15 },
49
+{ OV(1002),  10 },
50
+{ OV(1007),   5 },
51
+{ OV(1012),   0 },
52
+{ OV(1015),  -5 },
53
+{ OV(1017), -10 },
54
+{ OV(1019), -15 },
55
+{ OV(1020), -20 },
56
+{ OV(1021), -25 },
57
+{ OV(1022), -30 },
58
+{ OV(1023), -35 },
59
+{ OV(1023), -40 }
60
+};

+ 3
- 0
Marlin/src/module/thermistor/thermistors.h View File

@@ -201,6 +201,9 @@ typedef struct { int16_t value; celsius_t celsius; } temp_entry_t;
201 201
 #if ANY_THERMISTOR_IS(1047) // Pt1000 with 4k7 pullup
202 202
   #include "thermistor_1047.h"
203 203
 #endif
204
+#if ANY_THERMISTOR_IS(2000) // "Ultimachine Rambo TDK NTCG104LH104KT1 NTC100K motherboard Thermistor" https://product.tdk.com/en/search/sensor/ntc/chip-ntc-thermistor/info?part_no=NTCG104LH104KT1
205
+  #include "thermistor_2000.h"
206
+#endif
204 207
 #if ANY_THERMISTOR_IS(998) // User-defined table 1
205 208
   #include "thermistor_998.h"
206 209
 #endif

+ 1
- 1
Marlin/src/pins/rambo/pins_EINSY_RAMBO.h View File

@@ -116,7 +116,7 @@
116 116
 //
117 117
 #define TEMP_0_PIN                             0  // Analog Input, Header J2
118 118
 #define TEMP_1_PIN                             1  // Analog Input, Header J3
119
-#define TEMP_BOARD_PIN                TEMP_1_PIN  // Analog Input, Header J3
119
+#define TEMP_BOARD_PIN                        91  // Onboard thermistor, 100k TDK NTCG104LH104JT1
120 120
 #define TEMP_BED_PIN                           2  // Analog Input, Header J6
121 121
 #define TEMP_PROBE_PIN                         3  // Analog Input, Header J15
122 122
 

+ 1
- 1
Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h View File

@@ -161,7 +161,7 @@
161 161
 //
162 162
 #define TEMP_0_PIN                          PA2   // T0 <-> E0
163 163
 #define TEMP_1_PIN                          PA0   // T1 <-> E1
164
-#define TEMP_BOARD_PIN               TEMP_1_PIN   // Onboard sensor shared with T1
164
+#define TEMP_BOARD_PIN                      PC2   // Onboard thermistor, NTC100K
165 165
 #define TEMP_BED_PIN                        PA1   // T2 <-> Bed
166 166
 #define TEMP_PROBE_PIN                      PC3   // Shares J4 connector with PD1
167 167
 

Loading…
Cancel
Save