Browse Source

✨ Pt1000 with 2k2 pullup (SKR 3 / EZ) (#24790)

discip 1 year ago
parent
commit
f84d51ec06
No account linked to committer's email address

+ 1
- 0
Marlin/Configuration.h View File

@@ -518,6 +518,7 @@
518 518
  *   110 : Pt100  with 1kΩ pullup (atypical)
519 519
  *   147 : Pt100  with 4.7kΩ pullup
520 520
  *  1010 : Pt1000 with 1kΩ pullup (atypical)
521
+ *  1022 : Pt1000 with 2.2kΩ pullup
521 522
  *  1047 : Pt1000 with 4.7kΩ pullup (E3D)
522 523
  *    20 : Pt100  with circuit in the Ultimainboard V2.x with mainboard ADC reference voltage = INA826 amplifier-board supply voltage.
523 524
  *                NOTE: (1) Must use an ADC input with no pullup. (2) Some INA826 amplifiers are unreliable at 3.3V so consider using sensor 147, 110, or 21.

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

@@ -124,6 +124,8 @@
124 124
   #define THERMISTOR_NAME "ATC104GT-2 1K"
125 125
 #elif THERMISTOR_ID == 1047
126 126
   #define THERMISTOR_NAME "PT1000 4K7"
127
+#elif THERMISTOR_ID == 1022
128
+  #define THERMISTOR_NAME "PT1000 2K2"
127 129
 #elif THERMISTOR_ID == 1010
128 130
   #define THERMISTOR_NAME "PT1000 1K"
129 131
 #elif THERMISTOR_ID == 147

+ 45
- 0
Marlin/src/module/thermistor/thermistor_1022.h View File

@@ -0,0 +1,45 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2022 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
+#define REVERSE_TEMP_SENSOR_RANGE_1022 1
25
+
26
+// Pt1000 with 1k0 pullup
27
+constexpr temp_entry_t temptable_1022[] PROGMEM = {
28
+  PtLine(  0, 1000, 2200),
29
+  PtLine( 25, 1000, 2200),
30
+  PtLine( 50, 1000, 2200),
31
+  PtLine( 75, 1000, 2200),
32
+  PtLine(100, 1000, 2200),
33
+  PtLine(125, 1000, 2200),
34
+  PtLine(150, 1000, 2200),
35
+  PtLine(175, 1000, 2200),
36
+  PtLine(200, 1000, 2200),
37
+  PtLine(225, 1000, 2200),
38
+  PtLine(250, 1000, 2200),
39
+  PtLine(275, 1000, 2200),
40
+  PtLine(300, 1000, 2200),
41
+  PtLine(350, 1000, 2200),
42
+  PtLine(400, 1000, 2200),
43
+  PtLine(450, 1000, 2200),
44
+  PtLine(500, 1000, 2200)
45
+};

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

@@ -193,6 +193,9 @@ typedef struct { raw_adc_t value; celsius_t celsius; } temp_entry_t;
193 193
 #if ANY_THERMISTOR_IS(1010) // Pt1000 with 1k0 pullup
194 194
   #include "thermistor_1010.h"
195 195
 #endif
196
+#if ANY_THERMISTOR_IS(1022) // Pt1000 with 2k2 pullup
197
+  #include "thermistor_1022.h"
198
+#endif
196 199
 #if ANY_THERMISTOR_IS(1047) // Pt1000 with 4k7 pullup
197 200
   #include "thermistor_1047.h"
198 201
 #endif

Loading…
Cancel
Save