|
@@ -0,0 +1,77 @@
|
|
1
|
+/**
|
|
2
|
+ * Marlin 3D Printer Firmware
|
|
3
|
+ * Copyright (c) 2019 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 <http://www.gnu.org/licenses/>.
|
|
20
|
+ *
|
|
21
|
+ */
|
|
22
|
+#pragma once
|
|
23
|
+
|
|
24
|
+#define REVERSE_TEMP_SENSOR_RANGE
|
|
25
|
+
|
|
26
|
+#undef OV_SCALE
|
|
27
|
+#define OV_SCALE(N) (float((N) * 5) / 3.3f)
|
|
28
|
+
|
|
29
|
+// Pt100 with INA826 amp with 3.3v excitation based on "Pt100 with INA826 amp on Ultimaker v2.0 electronics"
|
|
30
|
+const short temptable_21[][2] PROGMEM = {
|
|
31
|
+ { OV( 0), 0 },
|
|
32
|
+ { OV(227), 1 },
|
|
33
|
+ { OV(236), 10 },
|
|
34
|
+ { OV(245), 20 },
|
|
35
|
+ { OV(253), 30 },
|
|
36
|
+ { OV(262), 40 },
|
|
37
|
+ { OV(270), 50 },
|
|
38
|
+ { OV(279), 60 },
|
|
39
|
+ { OV(287), 70 },
|
|
40
|
+ { OV(295), 80 },
|
|
41
|
+ { OV(304), 90 },
|
|
42
|
+ { OV(312), 100 },
|
|
43
|
+ { OV(320), 110 },
|
|
44
|
+ { OV(329), 120 },
|
|
45
|
+ { OV(337), 130 },
|
|
46
|
+ { OV(345), 140 },
|
|
47
|
+ { OV(353), 150 },
|
|
48
|
+ { OV(361), 160 },
|
|
49
|
+ { OV(369), 170 },
|
|
50
|
+ { OV(377), 180 },
|
|
51
|
+ { OV(385), 190 },
|
|
52
|
+ { OV(393), 200 },
|
|
53
|
+ { OV(401), 210 },
|
|
54
|
+ { OV(409), 220 },
|
|
55
|
+ { OV(417), 230 },
|
|
56
|
+ { OV(424), 240 },
|
|
57
|
+ { OV(432), 250 },
|
|
58
|
+ { OV(440), 260 },
|
|
59
|
+ { OV(447), 270 },
|
|
60
|
+ { OV(455), 280 },
|
|
61
|
+ { OV(463), 290 },
|
|
62
|
+ { OV(470), 300 },
|
|
63
|
+ { OV(478), 310 },
|
|
64
|
+ { OV(485), 320 },
|
|
65
|
+ { OV(493), 330 },
|
|
66
|
+ { OV(500), 340 },
|
|
67
|
+ { OV(507), 350 },
|
|
68
|
+ { OV(515), 360 },
|
|
69
|
+ { OV(522), 370 },
|
|
70
|
+ { OV(529), 380 },
|
|
71
|
+ { OV(537), 390 },
|
|
72
|
+ { OV(544), 400 },
|
|
73
|
+ { OV(614), 500 }
|
|
74
|
+};
|
|
75
|
+
|
|
76
|
+#undef OV_SCALE
|
|
77
|
+#define OV_SCALE(N) (N)
|