Browse Source

Merge pull request #5557 from thinkyhead/rc_thermistor_breakup

Split up thermistor tables
Scott Lahteine 7 years ago
parent
commit
64a44f697c

+ 137
- 137
Marlin/speed_lookuptable.h View File

@@ -27,148 +27,148 @@
27 27
 
28 28
 #if F_CPU == 16000000
29 29
 
30
-const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {\
31
-  { 62500, 55556}, { 6944, 3268}, { 3676, 1176}, { 2500, 607}, { 1893, 369}, { 1524, 249}, { 1275, 179}, { 1096, 135},
32
-  { 961, 105}, { 856, 85}, { 771, 69}, { 702, 58}, { 644, 49}, { 595, 42}, { 553, 37}, { 516, 32},
33
-  { 484, 28}, { 456, 25}, { 431, 23}, { 408, 20}, { 388, 19}, { 369, 16}, { 353, 16}, { 337, 14},
34
-  { 323, 13}, { 310, 11}, { 299, 11}, { 288, 11}, { 277, 9}, { 268, 9}, { 259, 8}, { 251, 8},
35
-  { 243, 8}, { 235, 7}, { 228, 6}, { 222, 6}, { 216, 6}, { 210, 6}, { 204, 5}, { 199, 5},
36
-  { 194, 5}, { 189, 4}, { 185, 4}, { 181, 4}, { 177, 4}, { 173, 4}, { 169, 4}, { 165, 3},
37
-  { 162, 3}, { 159, 4}, { 155, 3}, { 152, 3}, { 149, 2}, { 147, 3}, { 144, 3}, { 141, 2},
38
-  { 139, 3}, { 136, 2}, { 134, 2}, { 132, 3}, { 129, 2}, { 127, 2}, { 125, 2}, { 123, 2},
39
-  { 121, 2}, { 119, 1}, { 118, 2}, { 116, 2}, { 114, 1}, { 113, 2}, { 111, 2}, { 109, 1},
40
-  { 108, 2}, { 106, 1}, { 105, 2}, { 103, 1}, { 102, 1}, { 101, 1}, { 100, 2}, { 98, 1},
41
-  { 97, 1}, { 96, 1}, { 95, 2}, { 93, 1}, { 92, 1}, { 91, 1}, { 90, 1}, { 89, 1},
42
-  { 88, 1}, { 87, 1}, { 86, 1}, { 85, 1}, { 84, 1}, { 83, 0}, { 83, 1}, { 82, 1},
43
-  { 81, 1}, { 80, 1}, { 79, 1}, { 78, 0}, { 78, 1}, { 77, 1}, { 76, 1}, { 75, 0},
44
-  { 75, 1}, { 74, 1}, { 73, 1}, { 72, 0}, { 72, 1}, { 71, 1}, { 70, 0}, { 70, 1},
45
-  { 69, 0}, { 69, 1}, { 68, 1}, { 67, 0}, { 67, 1}, { 66, 0}, { 66, 1}, { 65, 0},
46
-  { 65, 1}, { 64, 1}, { 63, 0}, { 63, 1}, { 62, 0}, { 62, 1}, { 61, 0}, { 61, 1},
47
-  { 60, 0}, { 60, 0}, { 60, 1}, { 59, 0}, { 59, 1}, { 58, 0}, { 58, 1}, { 57, 0},
48
-  { 57, 1}, { 56, 0}, { 56, 0}, { 56, 1}, { 55, 0}, { 55, 1}, { 54, 0}, { 54, 0},
49
-  { 54, 1}, { 53, 0}, { 53, 0}, { 53, 1}, { 52, 0}, { 52, 0}, { 52, 1}, { 51, 0},
50
-  { 51, 0}, { 51, 1}, { 50, 0}, { 50, 0}, { 50, 1}, { 49, 0}, { 49, 0}, { 49, 1},
51
-  { 48, 0}, { 48, 0}, { 48, 1}, { 47, 0}, { 47, 0}, { 47, 0}, { 47, 1}, { 46, 0},
52
-  { 46, 0}, { 46, 1}, { 45, 0}, { 45, 0}, { 45, 0}, { 45, 1}, { 44, 0}, { 44, 0},
53
-  { 44, 0}, { 44, 1}, { 43, 0}, { 43, 0}, { 43, 0}, { 43, 1}, { 42, 0}, { 42, 0},
54
-  { 42, 0}, { 42, 1}, { 41, 0}, { 41, 0}, { 41, 0}, { 41, 0}, { 41, 1}, { 40, 0},
55
-  { 40, 0}, { 40, 0}, { 40, 0}, { 40, 1}, { 39, 0}, { 39, 0}, { 39, 0}, { 39, 0},
56
-  { 39, 1}, { 38, 0}, { 38, 0}, { 38, 0}, { 38, 0}, { 38, 1}, { 37, 0}, { 37, 0},
57
-  { 37, 0}, { 37, 0}, { 37, 0}, { 37, 1}, { 36, 0}, { 36, 0}, { 36, 0}, { 36, 0},
58
-  { 36, 1}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 1},
59
-  { 34, 0}, { 34, 0}, { 34, 0}, { 34, 0}, { 34, 0}, { 34, 1}, { 33, 0}, { 33, 0},
60
-  { 33, 0}, { 33, 0}, { 33, 0}, { 33, 0}, { 33, 1}, { 32, 0}, { 32, 0}, { 32, 0},
61
-  { 32, 0}, { 32, 0}, { 32, 0}, { 32, 0}, { 32, 1}, { 31, 0}, { 31, 0}, { 31, 0},
62
-  { 31, 0}, { 31, 0}, { 31, 0}, { 31, 1}, { 30, 0}, { 30, 0}, { 30, 0}, { 30, 0}
63
-};
30
+  const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {
31
+    { 62500, 55556}, { 6944, 3268}, { 3676, 1176}, { 2500, 607}, { 1893, 369}, { 1524, 249}, { 1275, 179}, { 1096, 135},
32
+    { 961, 105}, { 856, 85}, { 771, 69}, { 702, 58}, { 644, 49}, { 595, 42}, { 553, 37}, { 516, 32},
33
+    { 484, 28}, { 456, 25}, { 431, 23}, { 408, 20}, { 388, 19}, { 369, 16}, { 353, 16}, { 337, 14},
34
+    { 323, 13}, { 310, 11}, { 299, 11}, { 288, 11}, { 277, 9}, { 268, 9}, { 259, 8}, { 251, 8},
35
+    { 243, 8}, { 235, 7}, { 228, 6}, { 222, 6}, { 216, 6}, { 210, 6}, { 204, 5}, { 199, 5},
36
+    { 194, 5}, { 189, 4}, { 185, 4}, { 181, 4}, { 177, 4}, { 173, 4}, { 169, 4}, { 165, 3},
37
+    { 162, 3}, { 159, 4}, { 155, 3}, { 152, 3}, { 149, 2}, { 147, 3}, { 144, 3}, { 141, 2},
38
+    { 139, 3}, { 136, 2}, { 134, 2}, { 132, 3}, { 129, 2}, { 127, 2}, { 125, 2}, { 123, 2},
39
+    { 121, 2}, { 119, 1}, { 118, 2}, { 116, 2}, { 114, 1}, { 113, 2}, { 111, 2}, { 109, 1},
40
+    { 108, 2}, { 106, 1}, { 105, 2}, { 103, 1}, { 102, 1}, { 101, 1}, { 100, 2}, { 98, 1},
41
+    { 97, 1}, { 96, 1}, { 95, 2}, { 93, 1}, { 92, 1}, { 91, 1}, { 90, 1}, { 89, 1},
42
+    { 88, 1}, { 87, 1}, { 86, 1}, { 85, 1}, { 84, 1}, { 83, 0}, { 83, 1}, { 82, 1},
43
+    { 81, 1}, { 80, 1}, { 79, 1}, { 78, 0}, { 78, 1}, { 77, 1}, { 76, 1}, { 75, 0},
44
+    { 75, 1}, { 74, 1}, { 73, 1}, { 72, 0}, { 72, 1}, { 71, 1}, { 70, 0}, { 70, 1},
45
+    { 69, 0}, { 69, 1}, { 68, 1}, { 67, 0}, { 67, 1}, { 66, 0}, { 66, 1}, { 65, 0},
46
+    { 65, 1}, { 64, 1}, { 63, 0}, { 63, 1}, { 62, 0}, { 62, 1}, { 61, 0}, { 61, 1},
47
+    { 60, 0}, { 60, 0}, { 60, 1}, { 59, 0}, { 59, 1}, { 58, 0}, { 58, 1}, { 57, 0},
48
+    { 57, 1}, { 56, 0}, { 56, 0}, { 56, 1}, { 55, 0}, { 55, 1}, { 54, 0}, { 54, 0},
49
+    { 54, 1}, { 53, 0}, { 53, 0}, { 53, 1}, { 52, 0}, { 52, 0}, { 52, 1}, { 51, 0},
50
+    { 51, 0}, { 51, 1}, { 50, 0}, { 50, 0}, { 50, 1}, { 49, 0}, { 49, 0}, { 49, 1},
51
+    { 48, 0}, { 48, 0}, { 48, 1}, { 47, 0}, { 47, 0}, { 47, 0}, { 47, 1}, { 46, 0},
52
+    { 46, 0}, { 46, 1}, { 45, 0}, { 45, 0}, { 45, 0}, { 45, 1}, { 44, 0}, { 44, 0},
53
+    { 44, 0}, { 44, 1}, { 43, 0}, { 43, 0}, { 43, 0}, { 43, 1}, { 42, 0}, { 42, 0},
54
+    { 42, 0}, { 42, 1}, { 41, 0}, { 41, 0}, { 41, 0}, { 41, 0}, { 41, 1}, { 40, 0},
55
+    { 40, 0}, { 40, 0}, { 40, 0}, { 40, 1}, { 39, 0}, { 39, 0}, { 39, 0}, { 39, 0},
56
+    { 39, 1}, { 38, 0}, { 38, 0}, { 38, 0}, { 38, 0}, { 38, 1}, { 37, 0}, { 37, 0},
57
+    { 37, 0}, { 37, 0}, { 37, 0}, { 37, 1}, { 36, 0}, { 36, 0}, { 36, 0}, { 36, 0},
58
+    { 36, 1}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 0}, { 35, 1},
59
+    { 34, 0}, { 34, 0}, { 34, 0}, { 34, 0}, { 34, 0}, { 34, 1}, { 33, 0}, { 33, 0},
60
+    { 33, 0}, { 33, 0}, { 33, 0}, { 33, 0}, { 33, 1}, { 32, 0}, { 32, 0}, { 32, 0},
61
+    { 32, 0}, { 32, 0}, { 32, 0}, { 32, 0}, { 32, 1}, { 31, 0}, { 31, 0}, { 31, 0},
62
+    { 31, 0}, { 31, 0}, { 31, 0}, { 31, 1}, { 30, 0}, { 30, 0}, { 30, 0}, { 30, 0}
63
+  };
64 64
 
65
-const uint16_t speed_lookuptable_slow[256][2] PROGMEM = {\
66
-  { 62500, 12500}, { 50000, 8334}, { 41666, 5952}, { 35714, 4464}, { 31250, 3473}, { 27777, 2777}, { 25000, 2273}, { 22727, 1894},
67
-  { 20833, 1603}, { 19230, 1373}, { 17857, 1191}, { 16666, 1041}, { 15625, 920}, { 14705, 817}, { 13888, 731}, { 13157, 657},
68
-  { 12500, 596}, { 11904, 541}, { 11363, 494}, { 10869, 453}, { 10416, 416}, { 10000, 385}, { 9615, 356}, { 9259, 331},
69
-  { 8928, 308}, { 8620, 287}, { 8333, 269}, { 8064, 252}, { 7812, 237}, { 7575, 223}, { 7352, 210}, { 7142, 198},
70
-  { 6944, 188}, { 6756, 178}, { 6578, 168}, { 6410, 160}, { 6250, 153}, { 6097, 145}, { 5952, 139}, { 5813, 132},
71
-  { 5681, 126}, { 5555, 121}, { 5434, 115}, { 5319, 111}, { 5208, 106}, { 5102, 102}, { 5000, 99}, { 4901, 94},
72
-  { 4807, 91}, { 4716, 87}, { 4629, 84}, { 4545, 81}, { 4464, 79}, { 4385, 75}, { 4310, 73}, { 4237, 71},
73
-  { 4166, 68}, { 4098, 66}, { 4032, 64}, { 3968, 62}, { 3906, 60}, { 3846, 59}, { 3787, 56}, { 3731, 55},
74
-  { 3676, 53}, { 3623, 52}, { 3571, 50}, { 3521, 49}, { 3472, 48}, { 3424, 46}, { 3378, 45}, { 3333, 44},
75
-  { 3289, 43}, { 3246, 41}, { 3205, 41}, { 3164, 39}, { 3125, 39}, { 3086, 38}, { 3048, 36}, { 3012, 36},
76
-  { 2976, 35}, { 2941, 35}, { 2906, 33}, { 2873, 33}, { 2840, 32}, { 2808, 31}, { 2777, 30}, { 2747, 30},
77
-  { 2717, 29}, { 2688, 29}, { 2659, 28}, { 2631, 27}, { 2604, 27}, { 2577, 26}, { 2551, 26}, { 2525, 25},
78
-  { 2500, 25}, { 2475, 25}, { 2450, 23}, { 2427, 24}, { 2403, 23}, { 2380, 22}, { 2358, 22}, { 2336, 22},
79
-  { 2314, 21}, { 2293, 21}, { 2272, 20}, { 2252, 20}, { 2232, 20}, { 2212, 20}, { 2192, 19}, { 2173, 18},
80
-  { 2155, 19}, { 2136, 18}, { 2118, 18}, { 2100, 17}, { 2083, 17}, { 2066, 17}, { 2049, 17}, { 2032, 16},
81
-  { 2016, 16}, { 2000, 16}, { 1984, 16}, { 1968, 15}, { 1953, 16}, { 1937, 14}, { 1923, 15}, { 1908, 15},
82
-  { 1893, 14}, { 1879, 14}, { 1865, 14}, { 1851, 13}, { 1838, 14}, { 1824, 13}, { 1811, 13}, { 1798, 13},
83
-  { 1785, 12}, { 1773, 13}, { 1760, 12}, { 1748, 12}, { 1736, 12}, { 1724, 12}, { 1712, 12}, { 1700, 11},
84
-  { 1689, 12}, { 1677, 11}, { 1666, 11}, { 1655, 11}, { 1644, 11}, { 1633, 10}, { 1623, 11}, { 1612, 10},
85
-  { 1602, 10}, { 1592, 10}, { 1582, 10}, { 1572, 10}, { 1562, 10}, { 1552, 9}, { 1543, 10}, { 1533, 9},
86
-  { 1524, 9}, { 1515, 9}, { 1506, 9}, { 1497, 9}, { 1488, 9}, { 1479, 9}, { 1470, 9}, { 1461, 8},
87
-  { 1453, 8}, { 1445, 9}, { 1436, 8}, { 1428, 8}, { 1420, 8}, { 1412, 8}, { 1404, 8}, { 1396, 8},
88
-  { 1388, 7}, { 1381, 8}, { 1373, 7}, { 1366, 8}, { 1358, 7}, { 1351, 7}, { 1344, 8}, { 1336, 7},
89
-  { 1329, 7}, { 1322, 7}, { 1315, 7}, { 1308, 6}, { 1302, 7}, { 1295, 7}, { 1288, 6}, { 1282, 7},
90
-  { 1275, 6}, { 1269, 7}, { 1262, 6}, { 1256, 6}, { 1250, 7}, { 1243, 6}, { 1237, 6}, { 1231, 6},
91
-  { 1225, 6}, { 1219, 6}, { 1213, 6}, { 1207, 6}, { 1201, 5}, { 1196, 6}, { 1190, 6}, { 1184, 5},
92
-  { 1179, 6}, { 1173, 5}, { 1168, 6}, { 1162, 5}, { 1157, 5}, { 1152, 6}, { 1146, 5}, { 1141, 5},
93
-  { 1136, 5}, { 1131, 5}, { 1126, 5}, { 1121, 5}, { 1116, 5}, { 1111, 5}, { 1106, 5}, { 1101, 5},
94
-  { 1096, 5}, { 1091, 5}, { 1086, 4}, { 1082, 5}, { 1077, 5}, { 1072, 4}, { 1068, 5}, { 1063, 4},
95
-  { 1059, 5}, { 1054, 4}, { 1050, 4}, { 1046, 5}, { 1041, 4}, { 1037, 4}, { 1033, 5}, { 1028, 4},
96
-  { 1024, 4}, { 1020, 4}, { 1016, 4}, { 1012, 4}, { 1008, 4}, { 1004, 4}, { 1000, 4}, { 996, 4},
97
-  { 992, 4}, { 988, 4}, { 984, 4}, { 980, 4}, { 976, 4}, { 972, 4}, { 968, 3}, { 965, 3}
98
-};
65
+  const uint16_t speed_lookuptable_slow[256][2] PROGMEM = {
66
+    { 62500, 12500}, { 50000, 8334}, { 41666, 5952}, { 35714, 4464}, { 31250, 3473}, { 27777, 2777}, { 25000, 2273}, { 22727, 1894},
67
+    { 20833, 1603}, { 19230, 1373}, { 17857, 1191}, { 16666, 1041}, { 15625, 920}, { 14705, 817}, { 13888, 731}, { 13157, 657},
68
+    { 12500, 596}, { 11904, 541}, { 11363, 494}, { 10869, 453}, { 10416, 416}, { 10000, 385}, { 9615, 356}, { 9259, 331},
69
+    { 8928, 308}, { 8620, 287}, { 8333, 269}, { 8064, 252}, { 7812, 237}, { 7575, 223}, { 7352, 210}, { 7142, 198},
70
+    { 6944, 188}, { 6756, 178}, { 6578, 168}, { 6410, 160}, { 6250, 153}, { 6097, 145}, { 5952, 139}, { 5813, 132},
71
+    { 5681, 126}, { 5555, 121}, { 5434, 115}, { 5319, 111}, { 5208, 106}, { 5102, 102}, { 5000, 99}, { 4901, 94},
72
+    { 4807, 91}, { 4716, 87}, { 4629, 84}, { 4545, 81}, { 4464, 79}, { 4385, 75}, { 4310, 73}, { 4237, 71},
73
+    { 4166, 68}, { 4098, 66}, { 4032, 64}, { 3968, 62}, { 3906, 60}, { 3846, 59}, { 3787, 56}, { 3731, 55},
74
+    { 3676, 53}, { 3623, 52}, { 3571, 50}, { 3521, 49}, { 3472, 48}, { 3424, 46}, { 3378, 45}, { 3333, 44},
75
+    { 3289, 43}, { 3246, 41}, { 3205, 41}, { 3164, 39}, { 3125, 39}, { 3086, 38}, { 3048, 36}, { 3012, 36},
76
+    { 2976, 35}, { 2941, 35}, { 2906, 33}, { 2873, 33}, { 2840, 32}, { 2808, 31}, { 2777, 30}, { 2747, 30},
77
+    { 2717, 29}, { 2688, 29}, { 2659, 28}, { 2631, 27}, { 2604, 27}, { 2577, 26}, { 2551, 26}, { 2525, 25},
78
+    { 2500, 25}, { 2475, 25}, { 2450, 23}, { 2427, 24}, { 2403, 23}, { 2380, 22}, { 2358, 22}, { 2336, 22},
79
+    { 2314, 21}, { 2293, 21}, { 2272, 20}, { 2252, 20}, { 2232, 20}, { 2212, 20}, { 2192, 19}, { 2173, 18},
80
+    { 2155, 19}, { 2136, 18}, { 2118, 18}, { 2100, 17}, { 2083, 17}, { 2066, 17}, { 2049, 17}, { 2032, 16},
81
+    { 2016, 16}, { 2000, 16}, { 1984, 16}, { 1968, 15}, { 1953, 16}, { 1937, 14}, { 1923, 15}, { 1908, 15},
82
+    { 1893, 14}, { 1879, 14}, { 1865, 14}, { 1851, 13}, { 1838, 14}, { 1824, 13}, { 1811, 13}, { 1798, 13},
83
+    { 1785, 12}, { 1773, 13}, { 1760, 12}, { 1748, 12}, { 1736, 12}, { 1724, 12}, { 1712, 12}, { 1700, 11},
84
+    { 1689, 12}, { 1677, 11}, { 1666, 11}, { 1655, 11}, { 1644, 11}, { 1633, 10}, { 1623, 11}, { 1612, 10},
85
+    { 1602, 10}, { 1592, 10}, { 1582, 10}, { 1572, 10}, { 1562, 10}, { 1552, 9}, { 1543, 10}, { 1533, 9},
86
+    { 1524, 9}, { 1515, 9}, { 1506, 9}, { 1497, 9}, { 1488, 9}, { 1479, 9}, { 1470, 9}, { 1461, 8},
87
+    { 1453, 8}, { 1445, 9}, { 1436, 8}, { 1428, 8}, { 1420, 8}, { 1412, 8}, { 1404, 8}, { 1396, 8},
88
+    { 1388, 7}, { 1381, 8}, { 1373, 7}, { 1366, 8}, { 1358, 7}, { 1351, 7}, { 1344, 8}, { 1336, 7},
89
+    { 1329, 7}, { 1322, 7}, { 1315, 7}, { 1308, 6}, { 1302, 7}, { 1295, 7}, { 1288, 6}, { 1282, 7},
90
+    { 1275, 6}, { 1269, 7}, { 1262, 6}, { 1256, 6}, { 1250, 7}, { 1243, 6}, { 1237, 6}, { 1231, 6},
91
+    { 1225, 6}, { 1219, 6}, { 1213, 6}, { 1207, 6}, { 1201, 5}, { 1196, 6}, { 1190, 6}, { 1184, 5},
92
+    { 1179, 6}, { 1173, 5}, { 1168, 6}, { 1162, 5}, { 1157, 5}, { 1152, 6}, { 1146, 5}, { 1141, 5},
93
+    { 1136, 5}, { 1131, 5}, { 1126, 5}, { 1121, 5}, { 1116, 5}, { 1111, 5}, { 1106, 5}, { 1101, 5},
94
+    { 1096, 5}, { 1091, 5}, { 1086, 4}, { 1082, 5}, { 1077, 5}, { 1072, 4}, { 1068, 5}, { 1063, 4},
95
+    { 1059, 5}, { 1054, 4}, { 1050, 4}, { 1046, 5}, { 1041, 4}, { 1037, 4}, { 1033, 5}, { 1028, 4},
96
+    { 1024, 4}, { 1020, 4}, { 1016, 4}, { 1012, 4}, { 1008, 4}, { 1004, 4}, { 1000, 4}, { 996, 4},
97
+    { 992, 4}, { 988, 4}, { 984, 4}, { 980, 4}, { 976, 4}, { 972, 4}, { 968, 3}, { 965, 3}
98
+  };
99 99
 
100 100
 #elif F_CPU == 20000000
101 101
 
102
-const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {
103
-  {62500, 54055}, {8445, 3917}, {4528, 1434}, {3094, 745}, {2349, 456}, {1893, 307}, {1586, 222}, {1364, 167},
104
-  {1197, 131}, {1066, 105}, {961, 86}, {875, 72}, {803, 61}, {742, 53}, {689, 45}, {644, 40},
105
-  {604, 35}, {569, 32}, {537, 28}, {509, 25}, {484, 23}, {461, 21}, {440, 19}, {421, 17},
106
-  {404, 16}, {388, 15}, {373, 14}, {359, 13}, {346, 12}, {334, 11}, {323, 10}, {313, 10},
107
-  {303, 9}, {294, 9}, {285, 8}, {277, 7}, {270, 8}, {262, 7}, {255, 6}, {249, 6},
108
-  {243, 6}, {237, 6}, {231, 5}, {226, 5}, {221, 5}, {216, 5}, {211, 4}, {207, 5},
109
-  {202, 4}, {198, 4}, {194, 4}, {190, 3}, {187, 4}, {183, 3}, {180, 3}, {177, 4},
110
-  {173, 3}, {170, 3}, {167, 2}, {165, 3}, {162, 3}, {159, 2}, {157, 3}, {154, 2},
111
-  {152, 3}, {149, 2}, {147, 2}, {145, 2}, {143, 2}, {141, 2}, {139, 2}, {137, 2},
112
-  {135, 2}, {133, 2}, {131, 2}, {129, 1}, {128, 2}, {126, 2}, {124, 1}, {123, 2},
113
-  {121, 1}, {120, 2}, {118, 1}, {117, 1}, {116, 2}, {114, 1}, {113, 1}, {112, 2},
114
-  {110, 1}, {109, 1}, {108, 1}, {107, 2}, {105, 1}, {104, 1}, {103, 1}, {102, 1},
115
-  {101, 1}, {100, 1}, {99, 1}, {98, 1}, {97, 1}, {96, 1}, {95, 1}, {94, 1},
116
-  {93, 1}, {92, 1}, {91, 0}, {91, 1}, {90, 1}, {89, 1}, {88, 1}, {87, 0},
117
-  {87, 1}, {86, 1}, {85, 1}, {84, 0}, {84, 1}, {83, 1}, {82, 1}, {81, 0},
118
-  {81, 1}, {80, 1}, {79, 0}, {79, 1}, {78, 0}, {78, 1}, {77, 1}, {76, 0},
119
-  {76, 1}, {75, 0}, {75, 1}, {74, 1}, {73, 0}, {73, 1}, {72, 0}, {72, 1},
120
-  {71, 0}, {71, 1}, {70, 0}, {70, 1}, {69, 0}, {69, 1}, {68, 0}, {68, 1},
121
-  {67, 0}, {67, 1}, {66, 0}, {66, 1}, {65, 0}, {65, 0}, {65, 1}, {64, 0},
122
-  {64, 1}, {63, 0}, {63, 1}, {62, 0}, {62, 0}, {62, 1}, {61, 0}, {61, 1},
123
-  {60, 0}, {60, 0}, {60, 1}, {59, 0}, {59, 0}, {59, 1}, {58, 0}, {58, 0},
124
-  {58, 1}, {57, 0}, {57, 0}, {57, 1}, {56, 0}, {56, 0}, {56, 1}, {55, 0},
125
-  {55, 0}, {55, 1}, {54, 0}, {54, 0}, {54, 1}, {53, 0}, {53, 0}, {53, 0},
126
-  {53, 1}, {52, 0}, {52, 0}, {52, 1}, {51, 0}, {51, 0}, {51, 0}, {51, 1},
127
-  {50, 0}, {50, 0}, {50, 0}, {50, 1}, {49, 0}, {49, 0}, {49, 0}, {49, 1},
128
-  {48, 0}, {48, 0}, {48, 0}, {48, 1}, {47, 0}, {47, 0}, {47, 0}, {47, 1},
129
-  {46, 0}, {46, 0}, {46, 0}, {46, 0}, {46, 1}, {45, 0}, {45, 0}, {45, 0},
130
-  {45, 1}, {44, 0}, {44, 0}, {44, 0}, {44, 0}, {44, 1}, {43, 0}, {43, 0},
131
-  {43, 0}, {43, 0}, {43, 1}, {42, 0}, {42, 0}, {42, 0}, {42, 0}, {42, 0},
132
-  {42, 1}, {41, 0}, {41, 0}, {41, 0}, {41, 0}, {41, 0}, {41, 1}, {40, 0},
133
-  {40, 0}, {40, 0}, {40, 0}, {40, 1}, {39, 0}, {39, 0}, {39, 0}, {39, 0},
134
-  {39, 0}, {39, 0}, {39, 1}, {38, 0}, {38, 0}, {38, 0}, {38, 0}, {38, 0},
135
-};
102
+  const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {
103
+    {62500, 54055}, {8445, 3917}, {4528, 1434}, {3094, 745}, {2349, 456}, {1893, 307}, {1586, 222}, {1364, 167},
104
+    {1197, 131}, {1066, 105}, {961, 86}, {875, 72}, {803, 61}, {742, 53}, {689, 45}, {644, 40},
105
+    {604, 35}, {569, 32}, {537, 28}, {509, 25}, {484, 23}, {461, 21}, {440, 19}, {421, 17},
106
+    {404, 16}, {388, 15}, {373, 14}, {359, 13}, {346, 12}, {334, 11}, {323, 10}, {313, 10},
107
+    {303, 9}, {294, 9}, {285, 8}, {277, 7}, {270, 8}, {262, 7}, {255, 6}, {249, 6},
108
+    {243, 6}, {237, 6}, {231, 5}, {226, 5}, {221, 5}, {216, 5}, {211, 4}, {207, 5},
109
+    {202, 4}, {198, 4}, {194, 4}, {190, 3}, {187, 4}, {183, 3}, {180, 3}, {177, 4},
110
+    {173, 3}, {170, 3}, {167, 2}, {165, 3}, {162, 3}, {159, 2}, {157, 3}, {154, 2},
111
+    {152, 3}, {149, 2}, {147, 2}, {145, 2}, {143, 2}, {141, 2}, {139, 2}, {137, 2},
112
+    {135, 2}, {133, 2}, {131, 2}, {129, 1}, {128, 2}, {126, 2}, {124, 1}, {123, 2},
113
+    {121, 1}, {120, 2}, {118, 1}, {117, 1}, {116, 2}, {114, 1}, {113, 1}, {112, 2},
114
+    {110, 1}, {109, 1}, {108, 1}, {107, 2}, {105, 1}, {104, 1}, {103, 1}, {102, 1},
115
+    {101, 1}, {100, 1}, {99, 1}, {98, 1}, {97, 1}, {96, 1}, {95, 1}, {94, 1},
116
+    {93, 1}, {92, 1}, {91, 0}, {91, 1}, {90, 1}, {89, 1}, {88, 1}, {87, 0},
117
+    {87, 1}, {86, 1}, {85, 1}, {84, 0}, {84, 1}, {83, 1}, {82, 1}, {81, 0},
118
+    {81, 1}, {80, 1}, {79, 0}, {79, 1}, {78, 0}, {78, 1}, {77, 1}, {76, 0},
119
+    {76, 1}, {75, 0}, {75, 1}, {74, 1}, {73, 0}, {73, 1}, {72, 0}, {72, 1},
120
+    {71, 0}, {71, 1}, {70, 0}, {70, 1}, {69, 0}, {69, 1}, {68, 0}, {68, 1},
121
+    {67, 0}, {67, 1}, {66, 0}, {66, 1}, {65, 0}, {65, 0}, {65, 1}, {64, 0},
122
+    {64, 1}, {63, 0}, {63, 1}, {62, 0}, {62, 0}, {62, 1}, {61, 0}, {61, 1},
123
+    {60, 0}, {60, 0}, {60, 1}, {59, 0}, {59, 0}, {59, 1}, {58, 0}, {58, 0},
124
+    {58, 1}, {57, 0}, {57, 0}, {57, 1}, {56, 0}, {56, 0}, {56, 1}, {55, 0},
125
+    {55, 0}, {55, 1}, {54, 0}, {54, 0}, {54, 1}, {53, 0}, {53, 0}, {53, 0},
126
+    {53, 1}, {52, 0}, {52, 0}, {52, 1}, {51, 0}, {51, 0}, {51, 0}, {51, 1},
127
+    {50, 0}, {50, 0}, {50, 0}, {50, 1}, {49, 0}, {49, 0}, {49, 0}, {49, 1},
128
+    {48, 0}, {48, 0}, {48, 0}, {48, 1}, {47, 0}, {47, 0}, {47, 0}, {47, 1},
129
+    {46, 0}, {46, 0}, {46, 0}, {46, 0}, {46, 1}, {45, 0}, {45, 0}, {45, 0},
130
+    {45, 1}, {44, 0}, {44, 0}, {44, 0}, {44, 0}, {44, 1}, {43, 0}, {43, 0},
131
+    {43, 0}, {43, 0}, {43, 1}, {42, 0}, {42, 0}, {42, 0}, {42, 0}, {42, 0},
132
+    {42, 1}, {41, 0}, {41, 0}, {41, 0}, {41, 0}, {41, 0}, {41, 1}, {40, 0},
133
+    {40, 0}, {40, 0}, {40, 0}, {40, 1}, {39, 0}, {39, 0}, {39, 0}, {39, 0},
134
+    {39, 0}, {39, 0}, {39, 1}, {38, 0}, {38, 0}, {38, 0}, {38, 0}, {38, 0},
135
+  };
136 136
 
137
-const uint16_t speed_lookuptable_slow[256][2] PROGMEM = {
138
-  {62500, 10417}, {52083, 7441}, {44642, 5580}, {39062, 4340}, {34722, 3472}, {31250, 2841}, {28409, 2368}, {26041, 2003},
139
-  {24038, 1717}, {22321, 1488}, {20833, 1302}, {19531, 1149}, {18382, 1021}, {17361, 914}, {16447, 822}, {15625, 745},
140
-  {14880, 676}, {14204, 618}, {13586, 566}, {13020, 520}, {12500, 481}, {12019, 445}, {11574, 414}, {11160, 385},
141
-  {10775, 359}, {10416, 336}, {10080, 315}, {9765, 296}, {9469, 278}, {9191, 263}, {8928, 248}, {8680, 235},
142
-  {8445, 222}, {8223, 211}, {8012, 200}, {7812, 191}, {7621, 181}, {7440, 173}, {7267, 165}, {7102, 158},
143
-  {6944, 151}, {6793, 145}, {6648, 138}, {6510, 133}, {6377, 127}, {6250, 123}, {6127, 118}, {6009, 113},
144
-  {5896, 109}, {5787, 106}, {5681, 101}, {5580, 98}, {5482, 95}, {5387, 91}, {5296, 88}, {5208, 86},
145
-  {5122, 82}, {5040, 80}, {4960, 78}, {4882, 75}, {4807, 73}, {4734, 70}, {4664, 69}, {4595, 67},
146
-  {4528, 64}, {4464, 63}, {4401, 61}, {4340, 60}, {4280, 58}, {4222, 56}, {4166, 55}, {4111, 53},
147
-  {4058, 52}, {4006, 51}, {3955, 49}, {3906, 48}, {3858, 48}, {3810, 45}, {3765, 45}, {3720, 44},
148
-  {3676, 43}, {3633, 42}, {3591, 40}, {3551, 40}, {3511, 39}, {3472, 38}, {3434, 38}, {3396, 36},
149
-  {3360, 36}, {3324, 35}, {3289, 34}, {3255, 34}, {3221, 33}, {3188, 32}, {3156, 31}, {3125, 31},
150
-  {3094, 31}, {3063, 30}, {3033, 29}, {3004, 28}, {2976, 28}, {2948, 28}, {2920, 27}, {2893, 27},
151
-  {2866, 26}, {2840, 25}, {2815, 25}, {2790, 25}, {2765, 24}, {2741, 24}, {2717, 24}, {2693, 23},
152
-  {2670, 22}, {2648, 22}, {2626, 22}, {2604, 22}, {2582, 21}, {2561, 21}, {2540, 20}, {2520, 20},
153
-  {2500, 20}, {2480, 20}, {2460, 19}, {2441, 19}, {2422, 19}, {2403, 18}, {2385, 18}, {2367, 18},
154
-  {2349, 17}, {2332, 18}, {2314, 17}, {2297, 16}, {2281, 17}, {2264, 16}, {2248, 16}, {2232, 16},
155
-  {2216, 16}, {2200, 15}, {2185, 15}, {2170, 15}, {2155, 15}, {2140, 15}, {2125, 14}, {2111, 14},
156
-  {2097, 14}, {2083, 14}, {2069, 14}, {2055, 13}, {2042, 13}, {2029, 13}, {2016, 13}, {2003, 13},
157
-  {1990, 13}, {1977, 12}, {1965, 12}, {1953, 13}, {1940, 11}, {1929, 12}, {1917, 12}, {1905, 12},
158
-  {1893, 11}, {1882, 11}, {1871, 11}, {1860, 11}, {1849, 11}, {1838, 11}, {1827, 11}, {1816, 10},
159
-  {1806, 11}, {1795, 10}, {1785, 10}, {1775, 10}, {1765, 10}, {1755, 10}, {1745, 9}, {1736, 10},
160
-  {1726, 9}, {1717, 10}, {1707, 9}, {1698, 9}, {1689, 9}, {1680, 9}, {1671, 9}, {1662, 9},
161
-  {1653, 9}, {1644, 8}, {1636, 9}, {1627, 8}, {1619, 9}, {1610, 8}, {1602, 8}, {1594, 8},
162
-  {1586, 8}, {1578, 8}, {1570, 8}, {1562, 8}, {1554, 7}, {1547, 8}, {1539, 8}, {1531, 7},
163
-  {1524, 8}, {1516, 7}, {1509, 7}, {1502, 7}, {1495, 7}, {1488, 7}, {1481, 7}, {1474, 7},
164
-  {1467, 7}, {1460, 7}, {1453, 7}, {1446, 6}, {1440, 7}, {1433, 7}, {1426, 6}, {1420, 6},
165
-  {1414, 7}, {1407, 6}, {1401, 6}, {1395, 7}, {1388, 6}, {1382, 6}, {1376, 6}, {1370, 6},
166
-  {1364, 6}, {1358, 6}, {1352, 6}, {1346, 5}, {1341, 6}, {1335, 6}, {1329, 5}, {1324, 6},
167
-  {1318, 5}, {1313, 6}, {1307, 5}, {1302, 6}, {1296, 5}, {1291, 5}, {1286, 6}, {1280, 5},
168
-  {1275, 5}, {1270, 5}, {1265, 5}, {1260, 5}, {1255, 5}, {1250, 5}, {1245, 5}, {1240, 5},
169
-  {1235, 5}, {1230, 5}, {1225, 5}, {1220, 5}, {1215, 4}, {1211, 5}, {1206, 5}, {1201, 5},
170
-};
137
+  const uint16_t speed_lookuptable_slow[256][2] PROGMEM = {
138
+    {62500, 10417}, {52083, 7441}, {44642, 5580}, {39062, 4340}, {34722, 3472}, {31250, 2841}, {28409, 2368}, {26041, 2003},
139
+    {24038, 1717}, {22321, 1488}, {20833, 1302}, {19531, 1149}, {18382, 1021}, {17361, 914}, {16447, 822}, {15625, 745},
140
+    {14880, 676}, {14204, 618}, {13586, 566}, {13020, 520}, {12500, 481}, {12019, 445}, {11574, 414}, {11160, 385},
141
+    {10775, 359}, {10416, 336}, {10080, 315}, {9765, 296}, {9469, 278}, {9191, 263}, {8928, 248}, {8680, 235},
142
+    {8445, 222}, {8223, 211}, {8012, 200}, {7812, 191}, {7621, 181}, {7440, 173}, {7267, 165}, {7102, 158},
143
+    {6944, 151}, {6793, 145}, {6648, 138}, {6510, 133}, {6377, 127}, {6250, 123}, {6127, 118}, {6009, 113},
144
+    {5896, 109}, {5787, 106}, {5681, 101}, {5580, 98}, {5482, 95}, {5387, 91}, {5296, 88}, {5208, 86},
145
+    {5122, 82}, {5040, 80}, {4960, 78}, {4882, 75}, {4807, 73}, {4734, 70}, {4664, 69}, {4595, 67},
146
+    {4528, 64}, {4464, 63}, {4401, 61}, {4340, 60}, {4280, 58}, {4222, 56}, {4166, 55}, {4111, 53},
147
+    {4058, 52}, {4006, 51}, {3955, 49}, {3906, 48}, {3858, 48}, {3810, 45}, {3765, 45}, {3720, 44},
148
+    {3676, 43}, {3633, 42}, {3591, 40}, {3551, 40}, {3511, 39}, {3472, 38}, {3434, 38}, {3396, 36},
149
+    {3360, 36}, {3324, 35}, {3289, 34}, {3255, 34}, {3221, 33}, {3188, 32}, {3156, 31}, {3125, 31},
150
+    {3094, 31}, {3063, 30}, {3033, 29}, {3004, 28}, {2976, 28}, {2948, 28}, {2920, 27}, {2893, 27},
151
+    {2866, 26}, {2840, 25}, {2815, 25}, {2790, 25}, {2765, 24}, {2741, 24}, {2717, 24}, {2693, 23},
152
+    {2670, 22}, {2648, 22}, {2626, 22}, {2604, 22}, {2582, 21}, {2561, 21}, {2540, 20}, {2520, 20},
153
+    {2500, 20}, {2480, 20}, {2460, 19}, {2441, 19}, {2422, 19}, {2403, 18}, {2385, 18}, {2367, 18},
154
+    {2349, 17}, {2332, 18}, {2314, 17}, {2297, 16}, {2281, 17}, {2264, 16}, {2248, 16}, {2232, 16},
155
+    {2216, 16}, {2200, 15}, {2185, 15}, {2170, 15}, {2155, 15}, {2140, 15}, {2125, 14}, {2111, 14},
156
+    {2097, 14}, {2083, 14}, {2069, 14}, {2055, 13}, {2042, 13}, {2029, 13}, {2016, 13}, {2003, 13},
157
+    {1990, 13}, {1977, 12}, {1965, 12}, {1953, 13}, {1940, 11}, {1929, 12}, {1917, 12}, {1905, 12},
158
+    {1893, 11}, {1882, 11}, {1871, 11}, {1860, 11}, {1849, 11}, {1838, 11}, {1827, 11}, {1816, 10},
159
+    {1806, 11}, {1795, 10}, {1785, 10}, {1775, 10}, {1765, 10}, {1755, 10}, {1745, 9}, {1736, 10},
160
+    {1726, 9}, {1717, 10}, {1707, 9}, {1698, 9}, {1689, 9}, {1680, 9}, {1671, 9}, {1662, 9},
161
+    {1653, 9}, {1644, 8}, {1636, 9}, {1627, 8}, {1619, 9}, {1610, 8}, {1602, 8}, {1594, 8},
162
+    {1586, 8}, {1578, 8}, {1570, 8}, {1562, 8}, {1554, 7}, {1547, 8}, {1539, 8}, {1531, 7},
163
+    {1524, 8}, {1516, 7}, {1509, 7}, {1502, 7}, {1495, 7}, {1488, 7}, {1481, 7}, {1474, 7},
164
+    {1467, 7}, {1460, 7}, {1453, 7}, {1446, 6}, {1440, 7}, {1433, 7}, {1426, 6}, {1420, 6},
165
+    {1414, 7}, {1407, 6}, {1401, 6}, {1395, 7}, {1388, 6}, {1382, 6}, {1376, 6}, {1370, 6},
166
+    {1364, 6}, {1358, 6}, {1352, 6}, {1346, 5}, {1341, 6}, {1335, 6}, {1329, 5}, {1324, 6},
167
+    {1318, 5}, {1313, 6}, {1307, 5}, {1302, 6}, {1296, 5}, {1291, 5}, {1286, 6}, {1280, 5},
168
+    {1275, 5}, {1270, 5}, {1265, 5}, {1260, 5}, {1255, 5}, {1250, 5}, {1245, 5}, {1240, 5},
169
+    {1235, 5}, {1230, 5}, {1225, 5}, {1220, 5}, {1215, 4}, {1211, 5}, {1206, 5}, {1201, 5},
170
+  };
171 171
 
172 172
 #endif
173 173
 
174
-#endif
174
+#endif // SPEED_LOOKUPTABLE_H

+ 89
- 0
Marlin/thermistortable_1.h View File

@@ -0,0 +1,89 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k bed thermistor
24
+const short temptable_1[][2] PROGMEM = {
25
+  {   23 * OVERSAMPLENR, 300 },
26
+  {   25 * OVERSAMPLENR, 295 },
27
+  {   27 * OVERSAMPLENR, 290 },
28
+  {   28 * OVERSAMPLENR, 285 },
29
+  {   31 * OVERSAMPLENR, 280 },
30
+  {   33 * OVERSAMPLENR, 275 },
31
+  {   35 * OVERSAMPLENR, 270 },
32
+  {   38 * OVERSAMPLENR, 265 },
33
+  {   41 * OVERSAMPLENR, 260 },
34
+  {   44 * OVERSAMPLENR, 255 },
35
+  {   48 * OVERSAMPLENR, 250 },
36
+  {   52 * OVERSAMPLENR, 245 },
37
+  {   56 * OVERSAMPLENR, 240 },
38
+  {   61 * OVERSAMPLENR, 235 },
39
+  {   66 * OVERSAMPLENR, 230 },
40
+  {   71 * OVERSAMPLENR, 225 },
41
+  {   78 * OVERSAMPLENR, 220 },
42
+  {   84 * OVERSAMPLENR, 215 },
43
+  {   92 * OVERSAMPLENR, 210 },
44
+  {  100 * OVERSAMPLENR, 205 },
45
+  {  109 * OVERSAMPLENR, 200 },
46
+  {  120 * OVERSAMPLENR, 195 },
47
+  {  131 * OVERSAMPLENR, 190 },
48
+  {  143 * OVERSAMPLENR, 185 },
49
+  {  156 * OVERSAMPLENR, 180 },
50
+  {  171 * OVERSAMPLENR, 175 },
51
+  {  187 * OVERSAMPLENR, 170 },
52
+  {  205 * OVERSAMPLENR, 165 },
53
+  {  224 * OVERSAMPLENR, 160 },
54
+  {  245 * OVERSAMPLENR, 155 },
55
+  {  268 * OVERSAMPLENR, 150 },
56
+  {  293 * OVERSAMPLENR, 145 },
57
+  {  320 * OVERSAMPLENR, 140 },
58
+  {  348 * OVERSAMPLENR, 135 },
59
+  {  379 * OVERSAMPLENR, 130 },
60
+  {  411 * OVERSAMPLENR, 125 },
61
+  {  445 * OVERSAMPLENR, 120 },
62
+  {  480 * OVERSAMPLENR, 115 },
63
+  {  516 * OVERSAMPLENR, 110 },
64
+  {  553 * OVERSAMPLENR, 105 },
65
+  {  591 * OVERSAMPLENR, 100 },
66
+  {  628 * OVERSAMPLENR,  95 },
67
+  {  665 * OVERSAMPLENR,  90 },
68
+  {  702 * OVERSAMPLENR,  85 },
69
+  {  737 * OVERSAMPLENR,  80 },
70
+  {  770 * OVERSAMPLENR,  75 },
71
+  {  801 * OVERSAMPLENR,  70 },
72
+  {  830 * OVERSAMPLENR,  65 },
73
+  {  857 * OVERSAMPLENR,  60 },
74
+  {  881 * OVERSAMPLENR,  55 },
75
+  {  903 * OVERSAMPLENR,  50 },
76
+  {  922 * OVERSAMPLENR,  45 },
77
+  {  939 * OVERSAMPLENR,  40 },
78
+  {  954 * OVERSAMPLENR,  35 },
79
+  {  966 * OVERSAMPLENR,  30 },
80
+  {  977 * OVERSAMPLENR,  25 },
81
+  {  985 * OVERSAMPLENR,  20 },
82
+  {  993 * OVERSAMPLENR,  15 },
83
+  {  999 * OVERSAMPLENR,  10 },
84
+  { 1004 * OVERSAMPLENR,   5 },
85
+  { 1008 * OVERSAMPLENR,   0 },
86
+  { 1012 * OVERSAMPLENR,  -5 },
87
+  { 1016 * OVERSAMPLENR, -10 },
88
+  { 1020 * OVERSAMPLENR, -15 }
89
+};

+ 56
- 0
Marlin/thermistortable_10.h View File

@@ -0,0 +1,56 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k RS thermistor 198-961 (4.7k pullup)
24
+const short temptable_10[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 929 },
26
+  {   36 * OVERSAMPLENR, 299 },
27
+  {   71 * OVERSAMPLENR, 246 },
28
+  {  106 * OVERSAMPLENR, 217 },
29
+  {  141 * OVERSAMPLENR, 198 },
30
+  {  176 * OVERSAMPLENR, 184 },
31
+  {  211 * OVERSAMPLENR, 173 },
32
+  {  246 * OVERSAMPLENR, 163 },
33
+  {  281 * OVERSAMPLENR, 154 },
34
+  {  316 * OVERSAMPLENR, 147 },
35
+  {  351 * OVERSAMPLENR, 140 },
36
+  {  386 * OVERSAMPLENR, 134 },
37
+  {  421 * OVERSAMPLENR, 128 },
38
+  {  456 * OVERSAMPLENR, 122 },
39
+  {  491 * OVERSAMPLENR, 117 },
40
+  {  526 * OVERSAMPLENR, 112 },
41
+  {  561 * OVERSAMPLENR, 107 },
42
+  {  596 * OVERSAMPLENR, 102 },
43
+  {  631 * OVERSAMPLENR,  97 },
44
+  {  666 * OVERSAMPLENR,  91 },
45
+  {  701 * OVERSAMPLENR,  86 },
46
+  {  736 * OVERSAMPLENR,  81 },
47
+  {  771 * OVERSAMPLENR,  76 },
48
+  {  806 * OVERSAMPLENR,  70 },
49
+  {  841 * OVERSAMPLENR,  63 },
50
+  {  876 * OVERSAMPLENR,  56 },
51
+  {  911 * OVERSAMPLENR,  48 },
52
+  {  946 * OVERSAMPLENR,  38 },
53
+  {  981 * OVERSAMPLENR,  23 },
54
+  { 1005 * OVERSAMPLENR,   5 },
55
+  { 1016 * OVERSAMPLENR,   0 }
56
+};

+ 38
- 0
Marlin/thermistortable_1010.h View File

@@ -0,0 +1,38 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// Pt1000 with 1k0 pullup
24
+const short temptable_1010[][2] PROGMEM = {
25
+  PtLine(  0, 1000, 1000)
26
+  PtLine( 25, 1000, 1000)
27
+  PtLine( 50, 1000, 1000)
28
+  PtLine( 75, 1000, 1000)
29
+  PtLine(100, 1000, 1000)
30
+  PtLine(125, 1000, 1000)
31
+  PtLine(150, 1000, 1000)
32
+  PtLine(175, 1000, 1000)
33
+  PtLine(200, 1000, 1000)
34
+  PtLine(225, 1000, 1000)
35
+  PtLine(250, 1000, 1000)
36
+  PtLine(275, 1000, 1000)
37
+  PtLine(300, 1000, 1000)
38
+};

+ 33
- 0
Marlin/thermistortable_1047.h View File

@@ -0,0 +1,33 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// Pt1000 with 4k7 pullup
24
+const short temptable_1047[][2] PROGMEM = {
25
+  // only a few values are needed as the curve is very flat
26
+  PtLine(  0, 1000, 4700)
27
+  PtLine( 50, 1000, 4700)
28
+  PtLine(100, 1000, 4700)
29
+  PtLine(150, 1000, 4700)
30
+  PtLine(200, 1000, 4700)
31
+  PtLine(250, 1000, 4700)
32
+  PtLine(300, 1000, 4700)
33
+};

+ 75
- 0
Marlin/thermistortable_11.h View File

@@ -0,0 +1,75 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// QU-BD silicone bed QWG-104F-3950 thermistor
24
+const short temptable_11[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 938 },
26
+  {   31 * OVERSAMPLENR, 314 },
27
+  {   41 * OVERSAMPLENR, 290 },
28
+  {   51 * OVERSAMPLENR, 272 },
29
+  {   61 * OVERSAMPLENR, 258 },
30
+  {   71 * OVERSAMPLENR, 247 },
31
+  {   81 * OVERSAMPLENR, 237 },
32
+  {   91 * OVERSAMPLENR, 229 },
33
+  {  101 * OVERSAMPLENR, 221 },
34
+  {  111 * OVERSAMPLENR, 215 },
35
+  {  121 * OVERSAMPLENR, 209 },
36
+  {  131 * OVERSAMPLENR, 204 },
37
+  {  141 * OVERSAMPLENR, 199 },
38
+  {  151 * OVERSAMPLENR, 195 },
39
+  {  161 * OVERSAMPLENR, 190 },
40
+  {  171 * OVERSAMPLENR, 187 },
41
+  {  181 * OVERSAMPLENR, 183 },
42
+  {  191 * OVERSAMPLENR, 179 },
43
+  {  201 * OVERSAMPLENR, 176 },
44
+  {  221 * OVERSAMPLENR, 170 },
45
+  {  241 * OVERSAMPLENR, 165 },
46
+  {  261 * OVERSAMPLENR, 160 },
47
+  {  281 * OVERSAMPLENR, 155 },
48
+  {  301 * OVERSAMPLENR, 150 },
49
+  {  331 * OVERSAMPLENR, 144 },
50
+  {  361 * OVERSAMPLENR, 139 },
51
+  {  391 * OVERSAMPLENR, 133 },
52
+  {  421 * OVERSAMPLENR, 128 },
53
+  {  451 * OVERSAMPLENR, 123 },
54
+  {  491 * OVERSAMPLENR, 117 },
55
+  {  531 * OVERSAMPLENR, 111 },
56
+  {  571 * OVERSAMPLENR, 105 },
57
+  {  611 * OVERSAMPLENR, 100 },
58
+  {  641 * OVERSAMPLENR,  95 },
59
+  {  681 * OVERSAMPLENR,  90 },
60
+  {  711 * OVERSAMPLENR,  85 },
61
+  {  751 * OVERSAMPLENR,  79 },
62
+  {  791 * OVERSAMPLENR,  72 },
63
+  {  811 * OVERSAMPLENR,  69 },
64
+  {  831 * OVERSAMPLENR,  65 },
65
+  {  871 * OVERSAMPLENR,  57 },
66
+  {  881 * OVERSAMPLENR,  55 },
67
+  {  901 * OVERSAMPLENR,  51 },
68
+  {  921 * OVERSAMPLENR,  45 },
69
+  {  941 * OVERSAMPLENR,  39 },
70
+  {  971 * OVERSAMPLENR,  28 },
71
+  {  981 * OVERSAMPLENR,  23 },
72
+  {  991 * OVERSAMPLENR,  17 },
73
+  { 1001 * OVERSAMPLENR,   9 },
74
+  { 1021 * OVERSAMPLENR, -27 }
75
+};

+ 33
- 0
Marlin/thermistortable_110.h View File

@@ -0,0 +1,33 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// Pt100 with 1k0 pullup
24
+const short temptable_110[][2] PROGMEM = {
25
+  // only a few values are needed as the curve is very flat
26
+  PtLine(  0, 100, 1000)
27
+  PtLine( 50, 100, 1000)
28
+  PtLine(100, 100, 1000)
29
+  PtLine(150, 100, 1000)
30
+  PtLine(200, 100, 1000)
31
+  PtLine(250, 100, 1000)
32
+  PtLine(300, 100, 1000)
33
+};

+ 55
- 0
Marlin/thermistortable_12.h View File

@@ -0,0 +1,55 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
24
+const short temptable_12[][2] PROGMEM = {
25
+  {   35 * OVERSAMPLENR, 180 }, // top rating 180C
26
+  {  211 * OVERSAMPLENR, 140 },
27
+  {  233 * OVERSAMPLENR, 135 },
28
+  {  261 * OVERSAMPLENR, 130 },
29
+  {  290 * OVERSAMPLENR, 125 },
30
+  {  328 * OVERSAMPLENR, 120 },
31
+  {  362 * OVERSAMPLENR, 115 },
32
+  {  406 * OVERSAMPLENR, 110 },
33
+  {  446 * OVERSAMPLENR, 105 },
34
+  {  496 * OVERSAMPLENR, 100 },
35
+  {  539 * OVERSAMPLENR,  95 },
36
+  {  585 * OVERSAMPLENR,  90 },
37
+  {  629 * OVERSAMPLENR,  85 },
38
+  {  675 * OVERSAMPLENR,  80 },
39
+  {  718 * OVERSAMPLENR,  75 },
40
+  {  758 * OVERSAMPLENR,  70 },
41
+  {  793 * OVERSAMPLENR,  65 },
42
+  {  822 * OVERSAMPLENR,  60 },
43
+  {  841 * OVERSAMPLENR,  55 },
44
+  {  875 * OVERSAMPLENR,  50 },
45
+  {  899 * OVERSAMPLENR,  45 },
46
+  {  926 * OVERSAMPLENR,  40 },
47
+  {  946 * OVERSAMPLENR,  35 },
48
+  {  962 * OVERSAMPLENR,  30 },
49
+  {  977 * OVERSAMPLENR,  25 },
50
+  {  987 * OVERSAMPLENR,  20 },
51
+  {  995 * OVERSAMPLENR,  15 },
52
+  { 1001 * OVERSAMPLENR,  10 },
53
+  { 1010 * OVERSAMPLENR,   0 },
54
+  { 1023 * OVERSAMPLENR, -40 }
55
+};

+ 48
- 0
Marlin/thermistortable_13.h View File

@@ -0,0 +1,48 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// Hisens thermistor B25/50 =3950 +/-1%
24
+const short temptable_13[][2] PROGMEM = {
25
+  {  20.04 * OVERSAMPLENR, 300 },
26
+  {  23.19 * OVERSAMPLENR, 290 },
27
+  {  26.71 * OVERSAMPLENR, 280 },
28
+  {  31.23 * OVERSAMPLENR, 270 },
29
+  {  36.52 * OVERSAMPLENR, 260 },
30
+  {  42.75 * OVERSAMPLENR, 250 },
31
+  {  50.68 * OVERSAMPLENR, 240 },
32
+  {  60.22 * OVERSAMPLENR, 230 },
33
+  {  72.03 * OVERSAMPLENR, 220 },
34
+  {  86.84 * OVERSAMPLENR, 210 },
35
+  { 102.79 * OVERSAMPLENR, 200 },
36
+  { 124.46 * OVERSAMPLENR, 190 },
37
+  { 151.02 * OVERSAMPLENR, 180 },
38
+  { 182.86 * OVERSAMPLENR, 170 },
39
+  { 220.72 * OVERSAMPLENR, 160 },
40
+  { 316.96 * OVERSAMPLENR, 140 },
41
+  { 447.17 * OVERSAMPLENR, 120 },
42
+  { 590.61 * OVERSAMPLENR, 100 },
43
+  { 737.31 * OVERSAMPLENR,  80 },
44
+  { 857.77 * OVERSAMPLENR,  60 },
45
+  { 939.52 * OVERSAMPLENR,  40 },
46
+  { 986.03 * OVERSAMPLENR,  20 },
47
+  { 1008.7 * OVERSAMPLENR,   0 }
48
+};

+ 33
- 0
Marlin/thermistortable_147.h View File

@@ -0,0 +1,33 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// Pt100 with 4k7 pullup
24
+const short temptable_147[][2] PROGMEM = {
25
+  // only a few values are needed as the curve is very flat
26
+  PtLine(  0, 100, 4700)
27
+  PtLine( 50, 100, 4700)
28
+  PtLine(100, 100, 4700)
29
+  PtLine(150, 100, 4700)
30
+  PtLine(200, 100, 4700)
31
+  PtLine(250, 100, 4700)
32
+  PtLine(300, 100, 4700)
33
+};

+ 61
- 0
Marlin/thermistortable_2.h View File

@@ -0,0 +1,61 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+//
24
+// 200k ATC Semitec 204GT-2
25
+// Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
26
+// Calculated using 4.7kohm pullup, voltage divider math, and manufacturer provided temp/resistance
27
+//
28
+const short temptable_2[][2] PROGMEM = {
29
+  {    1 * OVERSAMPLENR, 848 },
30
+  {   30 * OVERSAMPLENR, 300 }, // top rating 300C
31
+  {   34 * OVERSAMPLENR, 290 },
32
+  {   39 * OVERSAMPLENR, 280 },
33
+  {   46 * OVERSAMPLENR, 270 },
34
+  {   53 * OVERSAMPLENR, 260 },
35
+  {   63 * OVERSAMPLENR, 250 },
36
+  {   74 * OVERSAMPLENR, 240 },
37
+  {   87 * OVERSAMPLENR, 230 },
38
+  {  104 * OVERSAMPLENR, 220 },
39
+  {  124 * OVERSAMPLENR, 210 },
40
+  {  148 * OVERSAMPLENR, 200 },
41
+  {  176 * OVERSAMPLENR, 190 },
42
+  {  211 * OVERSAMPLENR, 180 },
43
+  {  252 * OVERSAMPLENR, 170 },
44
+  {  301 * OVERSAMPLENR, 160 },
45
+  {  357 * OVERSAMPLENR, 150 },
46
+  {  420 * OVERSAMPLENR, 140 },
47
+  {  489 * OVERSAMPLENR, 130 },
48
+  {  562 * OVERSAMPLENR, 120 },
49
+  {  636 * OVERSAMPLENR, 110 },
50
+  {  708 * OVERSAMPLENR, 100 },
51
+  {  775 * OVERSAMPLENR,  90 },
52
+  {  835 * OVERSAMPLENR,  80 },
53
+  {  884 * OVERSAMPLENR,  70 },
54
+  {  924 * OVERSAMPLENR,  60 },
55
+  {  955 * OVERSAMPLENR,  50 },
56
+  {  977 * OVERSAMPLENR,  40 },
57
+  {  993 * OVERSAMPLENR,  30 },
58
+  { 1004 * OVERSAMPLENR,  20 },
59
+  { 1012 * OVERSAMPLENR,  10 },
60
+  { 1016 * OVERSAMPLENR,   0 }
61
+};

+ 96
- 0
Marlin/thermistortable_20.h View File

@@ -0,0 +1,96 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// PT100 with INA826 amp on Ultimaker v2.0 electronics
24
+// The PT100 in the Ultimaker v2.0 electronics has a high sample value for a high temperature.
25
+// This does not match the normal thermistor behaviour so we need to set the following defines
26
+#if (THERMISTORHEATER_0 == 20)
27
+  #define HEATER_0_RAW_HI_TEMP 16383
28
+  #define HEATER_0_RAW_LO_TEMP 0
29
+#endif
30
+#if (THERMISTORHEATER_1 == 20)
31
+  #define HEATER_1_RAW_HI_TEMP 16383
32
+  #define HEATER_1_RAW_LO_TEMP 0
33
+#endif
34
+#if (THERMISTORHEATER_2 == 20)
35
+  #define HEATER_2_RAW_HI_TEMP 16383
36
+  #define HEATER_2_RAW_LO_TEMP 0
37
+#endif
38
+#if (THERMISTORHEATER_3 == 20)
39
+  #define HEATER_3_RAW_HI_TEMP 16383
40
+  #define HEATER_3_RAW_LO_TEMP 0
41
+#endif
42
+#if (THERMISTORBED == 20)
43
+  #define HEATER_BED_RAW_HI_TEMP 16383
44
+  #define HEATER_BED_RAW_LO_TEMP 0
45
+#endif
46
+const short temptable_20[][2] PROGMEM = {
47
+  {   0 * OVERSAMPLENR,    0 },
48
+  { 227 * OVERSAMPLENR,    1 },
49
+  { 236 * OVERSAMPLENR,   10 },
50
+  { 245 * OVERSAMPLENR,   20 },
51
+  { 253 * OVERSAMPLENR,   30 },
52
+  { 262 * OVERSAMPLENR,   40 },
53
+  { 270 * OVERSAMPLENR,   50 },
54
+  { 279 * OVERSAMPLENR,   60 },
55
+  { 287 * OVERSAMPLENR,   70 },
56
+  { 295 * OVERSAMPLENR,   80 },
57
+  { 304 * OVERSAMPLENR,   90 },
58
+  { 312 * OVERSAMPLENR,  100 },
59
+  { 320 * OVERSAMPLENR,  110 },
60
+  { 329 * OVERSAMPLENR,  120 },
61
+  { 337 * OVERSAMPLENR,  130 },
62
+  { 345 * OVERSAMPLENR,  140 },
63
+  { 353 * OVERSAMPLENR,  150 },
64
+  { 361 * OVERSAMPLENR,  160 },
65
+  { 369 * OVERSAMPLENR,  170 },
66
+  { 377 * OVERSAMPLENR,  180 },
67
+  { 385 * OVERSAMPLENR,  190 },
68
+  { 393 * OVERSAMPLENR,  200 },
69
+  { 401 * OVERSAMPLENR,  210 },
70
+  { 409 * OVERSAMPLENR,  220 },
71
+  { 417 * OVERSAMPLENR,  230 },
72
+  { 424 * OVERSAMPLENR,  240 },
73
+  { 432 * OVERSAMPLENR,  250 },
74
+  { 440 * OVERSAMPLENR,  260 },
75
+  { 447 * OVERSAMPLENR,  270 },
76
+  { 455 * OVERSAMPLENR,  280 },
77
+  { 463 * OVERSAMPLENR,  290 },
78
+  { 470 * OVERSAMPLENR,  300 },
79
+  { 478 * OVERSAMPLENR,  310 },
80
+  { 485 * OVERSAMPLENR,  320 },
81
+  { 493 * OVERSAMPLENR,  330 },
82
+  { 500 * OVERSAMPLENR,  340 },
83
+  { 507 * OVERSAMPLENR,  350 },
84
+  { 515 * OVERSAMPLENR,  360 },
85
+  { 522 * OVERSAMPLENR,  370 },
86
+  { 529 * OVERSAMPLENR,  380 },
87
+  { 537 * OVERSAMPLENR,  390 },
88
+  { 544 * OVERSAMPLENR,  400 },
89
+  { 614 * OVERSAMPLENR,  500 },
90
+  { 681 * OVERSAMPLENR,  600 },
91
+  { 744 * OVERSAMPLENR,  700 },
92
+  { 805 * OVERSAMPLENR,  800 },
93
+  { 862 * OVERSAMPLENR,  900 },
94
+  { 917 * OVERSAMPLENR, 1000 },
95
+  { 968 * OVERSAMPLENR, 1100 }
96
+};

+ 53
- 0
Marlin/thermistortable_3.h View File

@@ -0,0 +1,53 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// mendel-parts
24
+const short temptable_3[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 864 },
26
+  {   21 * OVERSAMPLENR, 300 },
27
+  {   25 * OVERSAMPLENR, 290 },
28
+  {   29 * OVERSAMPLENR, 280 },
29
+  {   33 * OVERSAMPLENR, 270 },
30
+  {   39 * OVERSAMPLENR, 260 },
31
+  {   46 * OVERSAMPLENR, 250 },
32
+  {   54 * OVERSAMPLENR, 240 },
33
+  {   64 * OVERSAMPLENR, 230 },
34
+  {   75 * OVERSAMPLENR, 220 },
35
+  {   90 * OVERSAMPLENR, 210 },
36
+  {  107 * OVERSAMPLENR, 200 },
37
+  {  128 * OVERSAMPLENR, 190 },
38
+  {  154 * OVERSAMPLENR, 180 },
39
+  {  184 * OVERSAMPLENR, 170 },
40
+  {  221 * OVERSAMPLENR, 160 },
41
+  {  265 * OVERSAMPLENR, 150 },
42
+  {  316 * OVERSAMPLENR, 140 },
43
+  {  375 * OVERSAMPLENR, 130 },
44
+  {  441 * OVERSAMPLENR, 120 },
45
+  {  513 * OVERSAMPLENR, 110 },
46
+  {  588 * OVERSAMPLENR, 100 },
47
+  {  734 * OVERSAMPLENR,  80 },
48
+  {  856 * OVERSAMPLENR,  60 },
49
+  {  938 * OVERSAMPLENR,  40 },
50
+  {  986 * OVERSAMPLENR,  20 },
51
+  { 1008 * OVERSAMPLENR,   0 },
52
+  { 1018 * OVERSAMPLENR, -20 }
53
+};

+ 45
- 0
Marlin/thermistortable_4.h View File

@@ -0,0 +1,45 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 10k thermistor
24
+const short temptable_4[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 430 },
26
+  {   54 * OVERSAMPLENR, 137 },
27
+  {  107 * OVERSAMPLENR, 107 },
28
+  {  160 * OVERSAMPLENR,  91 },
29
+  {  213 * OVERSAMPLENR,  80 },
30
+  {  266 * OVERSAMPLENR,  71 },
31
+  {  319 * OVERSAMPLENR,  64 },
32
+  {  372 * OVERSAMPLENR,  57 },
33
+  {  425 * OVERSAMPLENR,  51 },
34
+  {  478 * OVERSAMPLENR,  46 },
35
+  {  531 * OVERSAMPLENR,  41 },
36
+  {  584 * OVERSAMPLENR,  35 },
37
+  {  637 * OVERSAMPLENR,  30 },
38
+  {  690 * OVERSAMPLENR,  25 },
39
+  {  743 * OVERSAMPLENR,  20 },
40
+  {  796 * OVERSAMPLENR,  14 },
41
+  {  849 * OVERSAMPLENR,   7 },
42
+  {  902 * OVERSAMPLENR,   0 },
43
+  {  955 * OVERSAMPLENR, -11 },
44
+  { 1008 * OVERSAMPLENR, -35 }
45
+};

+ 60
- 0
Marlin/thermistortable_5.h View File

@@ -0,0 +1,60 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k ParCan thermistor (104GT-2)
24
+// ATC Semitec 104GT-2 (Used in ParCan)
25
+// Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
26
+// Calculated using 4.7kohm pullup, voltage divider math, and manufacturer provided temp/resistance
27
+const short temptable_5[][2] PROGMEM = {
28
+  {    1 * OVERSAMPLENR, 713 },
29
+  {   17 * OVERSAMPLENR, 300 }, // top rating 300C
30
+  {   20 * OVERSAMPLENR, 290 },
31
+  {   23 * OVERSAMPLENR, 280 },
32
+  {   27 * OVERSAMPLENR, 270 },
33
+  {   31 * OVERSAMPLENR, 260 },
34
+  {   37 * OVERSAMPLENR, 250 },
35
+  {   43 * OVERSAMPLENR, 240 },
36
+  {   51 * OVERSAMPLENR, 230 },
37
+  {   61 * OVERSAMPLENR, 220 },
38
+  {   73 * OVERSAMPLENR, 210 },
39
+  {   87 * OVERSAMPLENR, 200 },
40
+  {  106 * OVERSAMPLENR, 190 },
41
+  {  128 * OVERSAMPLENR, 180 },
42
+  {  155 * OVERSAMPLENR, 170 },
43
+  {  189 * OVERSAMPLENR, 160 },
44
+  {  230 * OVERSAMPLENR, 150 },
45
+  {  278 * OVERSAMPLENR, 140 },
46
+  {  336 * OVERSAMPLENR, 130 },
47
+  {  402 * OVERSAMPLENR, 120 },
48
+  {  476 * OVERSAMPLENR, 110 },
49
+  {  554 * OVERSAMPLENR, 100 },
50
+  {  635 * OVERSAMPLENR,  90 },
51
+  {  713 * OVERSAMPLENR,  80 },
52
+  {  784 * OVERSAMPLENR,  70 },
53
+  {  846 * OVERSAMPLENR,  60 },
54
+  {  897 * OVERSAMPLENR,  50 },
55
+  {  937 * OVERSAMPLENR,  40 },
56
+  {  966 * OVERSAMPLENR,  30 },
57
+  {  986 * OVERSAMPLENR,  20 },
58
+  { 1000 * OVERSAMPLENR,  10 },
59
+  { 1010 * OVERSAMPLENR,   0 }
60
+};

+ 81
- 0
Marlin/thermistortable_51.h View File

@@ -0,0 +1,81 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k EPCOS (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
24
+// Verified by linagee.
25
+// Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
26
+// Advantage: Twice the resolution and better linearity from 150C to 200C
27
+const short temptable_51[][2] PROGMEM = {
28
+  {    1 * OVERSAMPLENR, 350 },
29
+  {  190 * OVERSAMPLENR, 250 }, // top rating 250C
30
+  {  203 * OVERSAMPLENR, 245 },
31
+  {  217 * OVERSAMPLENR, 240 },
32
+  {  232 * OVERSAMPLENR, 235 },
33
+  {  248 * OVERSAMPLENR, 230 },
34
+  {  265 * OVERSAMPLENR, 225 },
35
+  {  283 * OVERSAMPLENR, 220 },
36
+  {  302 * OVERSAMPLENR, 215 },
37
+  {  322 * OVERSAMPLENR, 210 },
38
+  {  344 * OVERSAMPLENR, 205 },
39
+  {  366 * OVERSAMPLENR, 200 },
40
+  {  390 * OVERSAMPLENR, 195 },
41
+  {  415 * OVERSAMPLENR, 190 },
42
+  {  440 * OVERSAMPLENR, 185 },
43
+  {  467 * OVERSAMPLENR, 180 },
44
+  {  494 * OVERSAMPLENR, 175 },
45
+  {  522 * OVERSAMPLENR, 170 },
46
+  {  551 * OVERSAMPLENR, 165 },
47
+  {  580 * OVERSAMPLENR, 160 },
48
+  {  609 * OVERSAMPLENR, 155 },
49
+  {  638 * OVERSAMPLENR, 150 },
50
+  {  666 * OVERSAMPLENR, 145 },
51
+  {  695 * OVERSAMPLENR, 140 },
52
+  {  722 * OVERSAMPLENR, 135 },
53
+  {  749 * OVERSAMPLENR, 130 },
54
+  {  775 * OVERSAMPLENR, 125 },
55
+  {  800 * OVERSAMPLENR, 120 },
56
+  {  823 * OVERSAMPLENR, 115 },
57
+  {  845 * OVERSAMPLENR, 110 },
58
+  {  865 * OVERSAMPLENR, 105 },
59
+  {  884 * OVERSAMPLENR, 100 },
60
+  {  901 * OVERSAMPLENR,  95 },
61
+  {  917 * OVERSAMPLENR,  90 },
62
+  {  932 * OVERSAMPLENR,  85 },
63
+  {  944 * OVERSAMPLENR,  80 },
64
+  {  956 * OVERSAMPLENR,  75 },
65
+  {  966 * OVERSAMPLENR,  70 },
66
+  {  975 * OVERSAMPLENR,  65 },
67
+  {  982 * OVERSAMPLENR,  60 },
68
+  {  989 * OVERSAMPLENR,  55 },
69
+  {  995 * OVERSAMPLENR,  50 },
70
+  { 1000 * OVERSAMPLENR,  45 },
71
+  { 1004 * OVERSAMPLENR,  40 },
72
+  { 1007 * OVERSAMPLENR,  35 },
73
+  { 1010 * OVERSAMPLENR,  30 },
74
+  { 1013 * OVERSAMPLENR,  25 },
75
+  { 1015 * OVERSAMPLENR,  20 },
76
+  { 1017 * OVERSAMPLENR,  15 },
77
+  { 1018 * OVERSAMPLENR,  10 },
78
+  { 1019 * OVERSAMPLENR,   5 },
79
+  { 1020 * OVERSAMPLENR,   0 },
80
+  { 1021 * OVERSAMPLENR,  -5 }
81
+};

+ 60
- 0
Marlin/thermistortable_52.h View File

@@ -0,0 +1,60 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 200k ATC Semitec 204GT-2 (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
24
+// Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
25
+// Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
26
+// Advantage: More resolution and better linearity from 150C to 200C
27
+const short temptable_52[][2] PROGMEM = {
28
+  {    1 * OVERSAMPLENR, 500 },
29
+  {  125 * OVERSAMPLENR, 300 }, // top rating 300C
30
+  {  142 * OVERSAMPLENR, 290 },
31
+  {  162 * OVERSAMPLENR, 280 },
32
+  {  185 * OVERSAMPLENR, 270 },
33
+  {  211 * OVERSAMPLENR, 260 },
34
+  {  240 * OVERSAMPLENR, 250 },
35
+  {  274 * OVERSAMPLENR, 240 },
36
+  {  312 * OVERSAMPLENR, 230 },
37
+  {  355 * OVERSAMPLENR, 220 },
38
+  {  401 * OVERSAMPLENR, 210 },
39
+  {  452 * OVERSAMPLENR, 200 },
40
+  {  506 * OVERSAMPLENR, 190 },
41
+  {  563 * OVERSAMPLENR, 180 },
42
+  {  620 * OVERSAMPLENR, 170 },
43
+  {  677 * OVERSAMPLENR, 160 },
44
+  {  732 * OVERSAMPLENR, 150 },
45
+  {  783 * OVERSAMPLENR, 140 },
46
+  {  830 * OVERSAMPLENR, 130 },
47
+  {  871 * OVERSAMPLENR, 120 },
48
+  {  906 * OVERSAMPLENR, 110 },
49
+  {  935 * OVERSAMPLENR, 100 },
50
+  {  958 * OVERSAMPLENR,  90 },
51
+  {  976 * OVERSAMPLENR,  80 },
52
+  {  990 * OVERSAMPLENR,  70 },
53
+  { 1000 * OVERSAMPLENR,  60 },
54
+  { 1008 * OVERSAMPLENR,  50 },
55
+  { 1013 * OVERSAMPLENR,  40 },
56
+  { 1017 * OVERSAMPLENR,  30 },
57
+  { 1019 * OVERSAMPLENR,  20 },
58
+  { 1021 * OVERSAMPLENR,  10 },
59
+  { 1022 * OVERSAMPLENR,   0 }
60
+};

+ 60
- 0
Marlin/thermistortable_55.h View File

@@ -0,0 +1,60 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k ATC Semitec 104GT-2 (Used on ParCan) (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
24
+// Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
25
+// Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
26
+// Advantage: More resolution and better linearity from 150C to 200C
27
+const short temptable_55[][2] PROGMEM = {
28
+  {    1 * OVERSAMPLENR, 500 },
29
+  {   76 * OVERSAMPLENR, 300 },
30
+  {   87 * OVERSAMPLENR, 290 },
31
+  {  100 * OVERSAMPLENR, 280 },
32
+  {  114 * OVERSAMPLENR, 270 },
33
+  {  131 * OVERSAMPLENR, 260 },
34
+  {  152 * OVERSAMPLENR, 250 },
35
+  {  175 * OVERSAMPLENR, 240 },
36
+  {  202 * OVERSAMPLENR, 230 },
37
+  {  234 * OVERSAMPLENR, 220 },
38
+  {  271 * OVERSAMPLENR, 210 },
39
+  {  312 * OVERSAMPLENR, 200 },
40
+  {  359 * OVERSAMPLENR, 190 },
41
+  {  411 * OVERSAMPLENR, 180 },
42
+  {  467 * OVERSAMPLENR, 170 },
43
+  {  527 * OVERSAMPLENR, 160 },
44
+  {  590 * OVERSAMPLENR, 150 },
45
+  {  652 * OVERSAMPLENR, 140 },
46
+  {  713 * OVERSAMPLENR, 130 },
47
+  {  770 * OVERSAMPLENR, 120 },
48
+  {  822 * OVERSAMPLENR, 110 },
49
+  {  867 * OVERSAMPLENR, 100 },
50
+  {  905 * OVERSAMPLENR,  90 },
51
+  {  936 * OVERSAMPLENR,  80 },
52
+  {  961 * OVERSAMPLENR,  70 },
53
+  {  979 * OVERSAMPLENR,  60 },
54
+  {  993 * OVERSAMPLENR,  50 },
55
+  { 1003 * OVERSAMPLENR,  40 },
56
+  { 1010 * OVERSAMPLENR,  30 },
57
+  { 1015 * OVERSAMPLENR,  20 },
58
+  { 1018 * OVERSAMPLENR,  10 },
59
+  { 1020 * OVERSAMPLENR,   0 }
60
+};

+ 63
- 0
Marlin/thermistortable_6.h View File

@@ -0,0 +1,63 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k Epcos thermistor
24
+const short temptable_6[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 350 },
26
+  {   28 * OVERSAMPLENR, 250 }, // top rating 250C
27
+  {   31 * OVERSAMPLENR, 245 },
28
+  {   35 * OVERSAMPLENR, 240 },
29
+  {   39 * OVERSAMPLENR, 235 },
30
+  {   42 * OVERSAMPLENR, 230 },
31
+  {   44 * OVERSAMPLENR, 225 },
32
+  {   49 * OVERSAMPLENR, 220 },
33
+  {   53 * OVERSAMPLENR, 215 },
34
+  {   62 * OVERSAMPLENR, 210 },
35
+  {   71 * OVERSAMPLENR, 205 }, // fitted graphically
36
+  {   78 * OVERSAMPLENR, 200 }, // fitted graphically
37
+  {   94 * OVERSAMPLENR, 190 },
38
+  {  102 * OVERSAMPLENR, 185 },
39
+  {  116 * OVERSAMPLENR, 170 },
40
+  {  143 * OVERSAMPLENR, 160 },
41
+  {  183 * OVERSAMPLENR, 150 },
42
+  {  223 * OVERSAMPLENR, 140 },
43
+  {  270 * OVERSAMPLENR, 130 },
44
+  {  318 * OVERSAMPLENR, 120 },
45
+  {  383 * OVERSAMPLENR, 110 },
46
+  {  413 * OVERSAMPLENR, 105 },
47
+  {  439 * OVERSAMPLENR, 100 },
48
+  {  484 * OVERSAMPLENR,  95 },
49
+  {  513 * OVERSAMPLENR,  90 },
50
+  {  607 * OVERSAMPLENR,  80 },
51
+  {  664 * OVERSAMPLENR,  70 },
52
+  {  781 * OVERSAMPLENR,  60 },
53
+  {  810 * OVERSAMPLENR,  55 },
54
+  {  849 * OVERSAMPLENR,  50 },
55
+  {  914 * OVERSAMPLENR,  45 },
56
+  {  914 * OVERSAMPLENR,  40 },
57
+  {  935 * OVERSAMPLENR,  35 },
58
+  {  954 * OVERSAMPLENR,  30 },
59
+  {  970 * OVERSAMPLENR,  25 },
60
+  {  978 * OVERSAMPLENR,  22 },
61
+  { 1008 * OVERSAMPLENR,   3 },
62
+  { 1023 * OVERSAMPLENR,   0 } // to allow internal 0 degrees C
63
+};

+ 105
- 0
Marlin/thermistortable_60.h View File

@@ -0,0 +1,105 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// Maker's Tool Works Kapton Bed Thermistor
24
+// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=3950
25
+// r0: 100000
26
+// t0: 25
27
+// r1: 0 (parallel with rTherm)
28
+// r2: 4700 (series with rTherm)
29
+// beta: 3950
30
+// min adc: 1 at 0.0048828125 V
31
+// max adc: 1023 at 4.9951171875 V
32
+const short temptable_60[][2] PROGMEM = {
33
+  {   51 * OVERSAMPLENR, 272 },
34
+  {   61 * OVERSAMPLENR, 258 },
35
+  {   71 * OVERSAMPLENR, 247 },
36
+  {   81 * OVERSAMPLENR, 237 },
37
+  {   91 * OVERSAMPLENR, 229 },
38
+  {  101 * OVERSAMPLENR, 221 },
39
+  {  131 * OVERSAMPLENR, 204 },
40
+  {  161 * OVERSAMPLENR, 190 },
41
+  {  191 * OVERSAMPLENR, 179 },
42
+  {  231 * OVERSAMPLENR, 167 },
43
+  {  271 * OVERSAMPLENR, 157 },
44
+  {  311 * OVERSAMPLENR, 148 },
45
+  {  351 * OVERSAMPLENR, 140 },
46
+  {  381 * OVERSAMPLENR, 135 },
47
+  {  411 * OVERSAMPLENR, 130 },
48
+  {  441 * OVERSAMPLENR, 125 },
49
+  {  451 * OVERSAMPLENR, 123 },
50
+  {  461 * OVERSAMPLENR, 122 },
51
+  {  471 * OVERSAMPLENR, 120 },
52
+  {  481 * OVERSAMPLENR, 119 },
53
+  {  491 * OVERSAMPLENR, 117 },
54
+  {  501 * OVERSAMPLENR, 116 },
55
+  {  511 * OVERSAMPLENR, 114 },
56
+  {  521 * OVERSAMPLENR, 113 },
57
+  {  531 * OVERSAMPLENR, 111 },
58
+  {  541 * OVERSAMPLENR, 110 },
59
+  {  551 * OVERSAMPLENR, 108 },
60
+  {  561 * OVERSAMPLENR, 107 },
61
+  {  571 * OVERSAMPLENR, 105 },
62
+  {  581 * OVERSAMPLENR, 104 },
63
+  {  591 * OVERSAMPLENR, 102 },
64
+  {  601 * OVERSAMPLENR, 101 },
65
+  {  611 * OVERSAMPLENR, 100 },
66
+  {  621 * OVERSAMPLENR,  98 },
67
+  {  631 * OVERSAMPLENR,  97 },
68
+  {  641 * OVERSAMPLENR,  95 },
69
+  {  651 * OVERSAMPLENR,  94 },
70
+  {  661 * OVERSAMPLENR,  92 },
71
+  {  671 * OVERSAMPLENR,  91 },
72
+  {  681 * OVERSAMPLENR,  90 },
73
+  {  691 * OVERSAMPLENR,  88 },
74
+  {  701 * OVERSAMPLENR,  87 },
75
+  {  711 * OVERSAMPLENR,  85 },
76
+  {  721 * OVERSAMPLENR,  84 },
77
+  {  731 * OVERSAMPLENR,  82 },
78
+  {  741 * OVERSAMPLENR,  81 },
79
+  {  751 * OVERSAMPLENR,  79 },
80
+  {  761 * OVERSAMPLENR,  77 },
81
+  {  771 * OVERSAMPLENR,  76 },
82
+  {  781 * OVERSAMPLENR,  74 },
83
+  {  791 * OVERSAMPLENR,  72 },
84
+  {  801 * OVERSAMPLENR,  71 },
85
+  {  811 * OVERSAMPLENR,  69 },
86
+  {  821 * OVERSAMPLENR,  67 },
87
+  {  831 * OVERSAMPLENR,  65 },
88
+  {  841 * OVERSAMPLENR,  63 },
89
+  {  851 * OVERSAMPLENR,  62 },
90
+  {  861 * OVERSAMPLENR,  60 },
91
+  {  871 * OVERSAMPLENR,  57 },
92
+  {  881 * OVERSAMPLENR,  55 },
93
+  {  891 * OVERSAMPLENR,  53 },
94
+  {  901 * OVERSAMPLENR,  51 },
95
+  {  911 * OVERSAMPLENR,  48 },
96
+  {  921 * OVERSAMPLENR,  45 },
97
+  {  931 * OVERSAMPLENR,  42 },
98
+  {  941 * OVERSAMPLENR,  39 },
99
+  {  951 * OVERSAMPLENR,  36 },
100
+  {  961 * OVERSAMPLENR,  32 },
101
+  {  981 * OVERSAMPLENR,  23 },
102
+  {  991 * OVERSAMPLENR,  17 },
103
+  { 1001 * OVERSAMPLENR,   9 },
104
+  { 1008 * OVERSAMPLENR,   0 }
105
+};

+ 52
- 0
Marlin/thermistortable_66.h View File

@@ -0,0 +1,52 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// DyzeDesign 500°C Thermistor
24
+const short temptable_66[][2] PROGMEM = {
25
+  {   17.5 * OVERSAMPLENR, 850 },
26
+  {   17.9 * OVERSAMPLENR, 500 },
27
+  {   21.7 * OVERSAMPLENR, 480 },
28
+  {   26.6 * OVERSAMPLENR, 460 },
29
+  {   33.1 * OVERSAMPLENR, 440 },
30
+  {   41.0 * OVERSAMPLENR, 420 },
31
+  {   52.3 * OVERSAMPLENR, 400 },
32
+  {   67.7 * OVERSAMPLENR, 380 },
33
+  {   86.5 * OVERSAMPLENR, 360 },
34
+  {  112.0 * OVERSAMPLENR, 340 },
35
+  {  147.2 * OVERSAMPLENR, 320 },
36
+  {  194.0 * OVERSAMPLENR, 300 },
37
+  {  254.3 * OVERSAMPLENR, 280 },
38
+  {  330.2 * OVERSAMPLENR, 260 },
39
+  {  427.9 * OVERSAMPLENR, 240 },
40
+  {  533.4 * OVERSAMPLENR, 220 },
41
+  {  646.5 * OVERSAMPLENR, 200 },
42
+  {  754.4 * OVERSAMPLENR, 180 },
43
+  {  844.3 * OVERSAMPLENR, 160 },
44
+  {  911.7 * OVERSAMPLENR, 140 },
45
+  {  958.6 * OVERSAMPLENR, 120 },
46
+  {  988.8 * OVERSAMPLENR, 100 },
47
+  { 1006.6 * OVERSAMPLENR,  80 },
48
+  { 1015.8 * OVERSAMPLENR,  60 },
49
+  { 1021.3 * OVERSAMPLENR,  30 },
50
+  {   1023 * OVERSAMPLENR - 1, 25},
51
+  {   1023 * OVERSAMPLENR,  20}
52
+};

+ 83
- 0
Marlin/thermistortable_7.h View File

@@ -0,0 +1,83 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k Honeywell 135-104LAG-J01
24
+const short temptable_7[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 941 },
26
+  {   19 * OVERSAMPLENR, 362 },
27
+  {   37 * OVERSAMPLENR, 299 }, // top rating 300C
28
+  {   55 * OVERSAMPLENR, 266 },
29
+  {   73 * OVERSAMPLENR, 245 },
30
+  {   91 * OVERSAMPLENR, 229 },
31
+  {  109 * OVERSAMPLENR, 216 },
32
+  {  127 * OVERSAMPLENR, 206 },
33
+  {  145 * OVERSAMPLENR, 197 },
34
+  {  163 * OVERSAMPLENR, 190 },
35
+  {  181 * OVERSAMPLENR, 183 },
36
+  {  199 * OVERSAMPLENR, 177 },
37
+  {  217 * OVERSAMPLENR, 171 },
38
+  {  235 * OVERSAMPLENR, 166 },
39
+  {  253 * OVERSAMPLENR, 162 },
40
+  {  271 * OVERSAMPLENR, 157 },
41
+  {  289 * OVERSAMPLENR, 153 },
42
+  {  307 * OVERSAMPLENR, 149 },
43
+  {  325 * OVERSAMPLENR, 146 },
44
+  {  343 * OVERSAMPLENR, 142 },
45
+  {  361 * OVERSAMPLENR, 139 },
46
+  {  379 * OVERSAMPLENR, 135 },
47
+  {  397 * OVERSAMPLENR, 132 },
48
+  {  415 * OVERSAMPLENR, 129 },
49
+  {  433 * OVERSAMPLENR, 126 },
50
+  {  451 * OVERSAMPLENR, 123 },
51
+  {  469 * OVERSAMPLENR, 121 },
52
+  {  487 * OVERSAMPLENR, 118 },
53
+  {  505 * OVERSAMPLENR, 115 },
54
+  {  523 * OVERSAMPLENR, 112 },
55
+  {  541 * OVERSAMPLENR, 110 },
56
+  {  559 * OVERSAMPLENR, 107 },
57
+  {  577 * OVERSAMPLENR, 105 },
58
+  {  595 * OVERSAMPLENR, 102 },
59
+  {  613 * OVERSAMPLENR,  99 },
60
+  {  631 * OVERSAMPLENR,  97 },
61
+  {  649 * OVERSAMPLENR,  94 },
62
+  {  667 * OVERSAMPLENR,  92 },
63
+  {  685 * OVERSAMPLENR,  89 },
64
+  {  703 * OVERSAMPLENR,  86 },
65
+  {  721 * OVERSAMPLENR,  84 },
66
+  {  739 * OVERSAMPLENR,  81 },
67
+  {  757 * OVERSAMPLENR,  78 },
68
+  {  775 * OVERSAMPLENR,  75 },
69
+  {  793 * OVERSAMPLENR,  72 },
70
+  {  811 * OVERSAMPLENR,  69 },
71
+  {  829 * OVERSAMPLENR,  66 },
72
+  {  847 * OVERSAMPLENR,  62 },
73
+  {  865 * OVERSAMPLENR,  59 },
74
+  {  883 * OVERSAMPLENR,  55 },
75
+  {  901 * OVERSAMPLENR,  51 },
76
+  {  919 * OVERSAMPLENR,  46 },
77
+  {  937 * OVERSAMPLENR,  41 },
78
+  {  955 * OVERSAMPLENR,  35 },
79
+  {  973 * OVERSAMPLENR,  27 },
80
+  {  991 * OVERSAMPLENR,  17 },
81
+  { 1009 * OVERSAMPLENR,   1 },
82
+  { 1023 * OVERSAMPLENR,   0 } // to allow internal 0 degrees C
83
+};

+ 86
- 0
Marlin/thermistortable_70.h View File

@@ -0,0 +1,86 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// bqh2 stock thermistor
24
+const short temptable_70[][2] PROGMEM = {
25
+  {   22 * OVERSAMPLENR, 300 },
26
+  {   24 * OVERSAMPLENR, 295 },
27
+  {   25 * OVERSAMPLENR, 290 },
28
+  {   27 * OVERSAMPLENR, 285 },
29
+  {   29 * OVERSAMPLENR, 280 },
30
+  {   32 * OVERSAMPLENR, 275 },
31
+  {   34 * OVERSAMPLENR, 270 },
32
+  {   37 * OVERSAMPLENR, 265 },
33
+  {   40 * OVERSAMPLENR, 260 },
34
+  {   43 * OVERSAMPLENR, 255 },
35
+  {   46 * OVERSAMPLENR, 250 },
36
+  {   50 * OVERSAMPLENR, 245 },
37
+  {   54 * OVERSAMPLENR, 240 },
38
+  {   59 * OVERSAMPLENR, 235 },
39
+  {   64 * OVERSAMPLENR, 230 },
40
+  {   70 * OVERSAMPLENR, 225 },
41
+  {   76 * OVERSAMPLENR, 220 },
42
+  {   83 * OVERSAMPLENR, 215 },
43
+  {   90 * OVERSAMPLENR, 210 },
44
+  {   99 * OVERSAMPLENR, 205 },
45
+  {  108 * OVERSAMPLENR, 200 },
46
+  {  118 * OVERSAMPLENR, 195 },
47
+  {  129 * OVERSAMPLENR, 190 },
48
+  {  141 * OVERSAMPLENR, 185 },
49
+  {  154 * OVERSAMPLENR, 180 },
50
+  {  169 * OVERSAMPLENR, 175 },
51
+  {  185 * OVERSAMPLENR, 170 },
52
+  {  203 * OVERSAMPLENR, 165 },
53
+  {  222 * OVERSAMPLENR, 160 },
54
+  {  243 * OVERSAMPLENR, 155 },
55
+  {  266 * OVERSAMPLENR, 150 },
56
+  {  290 * OVERSAMPLENR, 145 },
57
+  {  317 * OVERSAMPLENR, 140 },
58
+  {  346 * OVERSAMPLENR, 135 },
59
+  {  376 * OVERSAMPLENR, 130 },
60
+  {  408 * OVERSAMPLENR, 125 },
61
+  {  442 * OVERSAMPLENR, 120 },
62
+  {  477 * OVERSAMPLENR, 115 },
63
+  {  513 * OVERSAMPLENR, 110 },
64
+  {  551 * OVERSAMPLENR, 105 },
65
+  {  588 * OVERSAMPLENR, 100 },
66
+  {  626 * OVERSAMPLENR,  95 },
67
+  {  663 * OVERSAMPLENR,  90 },
68
+  {  699 * OVERSAMPLENR,  85 },
69
+  {  735 * OVERSAMPLENR,  80 },
70
+  {  768 * OVERSAMPLENR,  75 },
71
+  {  800 * OVERSAMPLENR,  70 },
72
+  {  829 * OVERSAMPLENR,  65 },
73
+  {  856 * OVERSAMPLENR,  60 },
74
+  {  881 * OVERSAMPLENR,  55 },
75
+  {  903 * OVERSAMPLENR,  50 },
76
+  {  922 * OVERSAMPLENR,  45 },
77
+  {  939 * OVERSAMPLENR,  40 },
78
+  {  954 * OVERSAMPLENR,  35 },
79
+  {  966 * OVERSAMPLENR,  30 },
80
+  {  977 * OVERSAMPLENR,  25 },
81
+  {  986 * OVERSAMPLENR,  20 },
82
+  {  994 * OVERSAMPLENR,  15 },
83
+  { 1000 * OVERSAMPLENR,  10 },
84
+  { 1005 * OVERSAMPLENR,   5 },
85
+  { 1009 * OVERSAMPLENR,   0 } // safety
86
+};

+ 171
- 0
Marlin/thermistortable_71.h View File

@@ -0,0 +1,171 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k Honeywell 135-104LAF-J01
24
+// R0 = 100000 Ohm
25
+// T0 = 25 °C
26
+// Beta = 3974
27
+// R1 = 0 Ohm
28
+// R2 = 4700 Ohm
29
+const short temptable_71[][2] PROGMEM = {
30
+  {   35 * OVERSAMPLENR, 300 },
31
+  {   51 * OVERSAMPLENR, 270 },
32
+  {   54 * OVERSAMPLENR, 265 },
33
+  {   58 * OVERSAMPLENR, 260 },
34
+  {   59 * OVERSAMPLENR, 258 },
35
+  {   61 * OVERSAMPLENR, 256 },
36
+  {   63 * OVERSAMPLENR, 254 },
37
+  {   64 * OVERSAMPLENR, 252 },
38
+  {   66 * OVERSAMPLENR, 250 },
39
+  {   67 * OVERSAMPLENR, 249 },
40
+  {   68 * OVERSAMPLENR, 248 },
41
+  {   69 * OVERSAMPLENR, 247 },
42
+  {   70 * OVERSAMPLENR, 246 },
43
+  {   71 * OVERSAMPLENR, 245 },
44
+  {   72 * OVERSAMPLENR, 244 },
45
+  {   73 * OVERSAMPLENR, 243 },
46
+  {   74 * OVERSAMPLENR, 242 },
47
+  {   75 * OVERSAMPLENR, 241 },
48
+  {   76 * OVERSAMPLENR, 240 },
49
+  {   77 * OVERSAMPLENR, 239 },
50
+  {   78 * OVERSAMPLENR, 238 },
51
+  {   79 * OVERSAMPLENR, 237 },
52
+  {   80 * OVERSAMPLENR, 236 },
53
+  {   81 * OVERSAMPLENR, 235 },
54
+  {   82 * OVERSAMPLENR, 234 },
55
+  {   84 * OVERSAMPLENR, 233 },
56
+  {   85 * OVERSAMPLENR, 232 },
57
+  {   86 * OVERSAMPLENR, 231 },
58
+  {   87 * OVERSAMPLENR, 230 },
59
+  {   89 * OVERSAMPLENR, 229 },
60
+  {   90 * OVERSAMPLENR, 228 },
61
+  {   91 * OVERSAMPLENR, 227 },
62
+  {   92 * OVERSAMPLENR, 226 },
63
+  {   94 * OVERSAMPLENR, 225 },
64
+  {   95 * OVERSAMPLENR, 224 },
65
+  {   97 * OVERSAMPLENR, 223 },
66
+  {   98 * OVERSAMPLENR, 222 },
67
+  {   99 * OVERSAMPLENR, 221 },
68
+  {  101 * OVERSAMPLENR, 220 },
69
+  {  102 * OVERSAMPLENR, 219 },
70
+  {  104 * OVERSAMPLENR, 218 },
71
+  {  106 * OVERSAMPLENR, 217 },
72
+  {  107 * OVERSAMPLENR, 216 },
73
+  {  109 * OVERSAMPLENR, 215 },
74
+  {  110 * OVERSAMPLENR, 214 },
75
+  {  112 * OVERSAMPLENR, 213 },
76
+  {  114 * OVERSAMPLENR, 212 },
77
+  {  115 * OVERSAMPLENR, 211 },
78
+  {  117 * OVERSAMPLENR, 210 },
79
+  {  119 * OVERSAMPLENR, 209 },
80
+  {  121 * OVERSAMPLENR, 208 },
81
+  {  123 * OVERSAMPLENR, 207 },
82
+  {  125 * OVERSAMPLENR, 206 },
83
+  {  126 * OVERSAMPLENR, 205 },
84
+  {  128 * OVERSAMPLENR, 204 },
85
+  {  130 * OVERSAMPLENR, 203 },
86
+  {  132 * OVERSAMPLENR, 202 },
87
+  {  134 * OVERSAMPLENR, 201 },
88
+  {  136 * OVERSAMPLENR, 200 },
89
+  {  139 * OVERSAMPLENR, 199 },
90
+  {  141 * OVERSAMPLENR, 198 },
91
+  {  143 * OVERSAMPLENR, 197 },
92
+  {  145 * OVERSAMPLENR, 196 },
93
+  {  147 * OVERSAMPLENR, 195 },
94
+  {  150 * OVERSAMPLENR, 194 },
95
+  {  152 * OVERSAMPLENR, 193 },
96
+  {  154 * OVERSAMPLENR, 192 },
97
+  {  157 * OVERSAMPLENR, 191 },
98
+  {  159 * OVERSAMPLENR, 190 },
99
+  {  162 * OVERSAMPLENR, 189 },
100
+  {  164 * OVERSAMPLENR, 188 },
101
+  {  167 * OVERSAMPLENR, 187 },
102
+  {  170 * OVERSAMPLENR, 186 },
103
+  {  172 * OVERSAMPLENR, 185 },
104
+  {  175 * OVERSAMPLENR, 184 },
105
+  {  178 * OVERSAMPLENR, 183 },
106
+  {  181 * OVERSAMPLENR, 182 },
107
+  {  184 * OVERSAMPLENR, 181 },
108
+  {  187 * OVERSAMPLENR, 180 },
109
+  {  190 * OVERSAMPLENR, 179 },
110
+  {  193 * OVERSAMPLENR, 178 },
111
+  {  196 * OVERSAMPLENR, 177 },
112
+  {  199 * OVERSAMPLENR, 176 },
113
+  {  202 * OVERSAMPLENR, 175 },
114
+  {  205 * OVERSAMPLENR, 174 },
115
+  {  208 * OVERSAMPLENR, 173 },
116
+  {  212 * OVERSAMPLENR, 172 },
117
+  {  215 * OVERSAMPLENR, 171 },
118
+  {  219 * OVERSAMPLENR, 170 },
119
+  {  237 * OVERSAMPLENR, 165 },
120
+  {  256 * OVERSAMPLENR, 160 },
121
+  {  300 * OVERSAMPLENR, 150 },
122
+  {  351 * OVERSAMPLENR, 140 },
123
+  {  470 * OVERSAMPLENR, 120 },
124
+  {  504 * OVERSAMPLENR, 115 },
125
+  {  538 * OVERSAMPLENR, 110 },
126
+  {  552 * OVERSAMPLENR, 108 },
127
+  {  566 * OVERSAMPLENR, 106 },
128
+  {  580 * OVERSAMPLENR, 104 },
129
+  {  594 * OVERSAMPLENR, 102 },
130
+  {  608 * OVERSAMPLENR, 100 },
131
+  {  622 * OVERSAMPLENR,  98 },
132
+  {  636 * OVERSAMPLENR,  96 },
133
+  {  650 * OVERSAMPLENR,  94 },
134
+  {  664 * OVERSAMPLENR,  92 },
135
+  {  678 * OVERSAMPLENR,  90 },
136
+  {  712 * OVERSAMPLENR,  85 },
137
+  {  745 * OVERSAMPLENR,  80 },
138
+  {  758 * OVERSAMPLENR,  78 },
139
+  {  770 * OVERSAMPLENR,  76 },
140
+  {  783 * OVERSAMPLENR,  74 },
141
+  {  795 * OVERSAMPLENR,  72 },
142
+  {  806 * OVERSAMPLENR,  70 },
143
+  {  818 * OVERSAMPLENR,  68 },
144
+  {  829 * OVERSAMPLENR,  66 },
145
+  {  840 * OVERSAMPLENR,  64 },
146
+  {  850 * OVERSAMPLENR,  62 },
147
+  {  860 * OVERSAMPLENR,  60 },
148
+  {  870 * OVERSAMPLENR,  58 },
149
+  {  879 * OVERSAMPLENR,  56 },
150
+  {  888 * OVERSAMPLENR,  54 },
151
+  {  897 * OVERSAMPLENR,  52 },
152
+  {  905 * OVERSAMPLENR,  50 },
153
+  {  924 * OVERSAMPLENR,  45 },
154
+  {  940 * OVERSAMPLENR,  40 },
155
+  {  955 * OVERSAMPLENR,  35 },
156
+  {  967 * OVERSAMPLENR,  30 },
157
+  {  970 * OVERSAMPLENR,  29 },
158
+  {  972 * OVERSAMPLENR,  28 },
159
+  {  974 * OVERSAMPLENR,  27 },
160
+  {  976 * OVERSAMPLENR,  26 },
161
+  {  978 * OVERSAMPLENR,  25 },
162
+  {  980 * OVERSAMPLENR,  24 },
163
+  {  982 * OVERSAMPLENR,  23 },
164
+  {  984 * OVERSAMPLENR,  22 },
165
+  {  985 * OVERSAMPLENR,  21 },
166
+  {  987 * OVERSAMPLENR,  20 },
167
+  {  995 * OVERSAMPLENR,  15 },
168
+  { 1001 * OVERSAMPLENR,  10 },
169
+  { 1006 * OVERSAMPLENR,   5 },
170
+  { 1010 * OVERSAMPLENR,   0 }
171
+};

+ 45
- 0
Marlin/thermistortable_8.h View File

@@ -0,0 +1,45 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
24
+const short temptable_8[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 704 },
26
+  {   54 * OVERSAMPLENR, 216 },
27
+  {  107 * OVERSAMPLENR, 175 },
28
+  {  160 * OVERSAMPLENR, 152 },
29
+  {  213 * OVERSAMPLENR, 137 },
30
+  {  266 * OVERSAMPLENR, 125 },
31
+  {  319 * OVERSAMPLENR, 115 },
32
+  {  372 * OVERSAMPLENR, 106 },
33
+  {  425 * OVERSAMPLENR,  99 },
34
+  {  478 * OVERSAMPLENR,  91 },
35
+  {  531 * OVERSAMPLENR,  85 },
36
+  {  584 * OVERSAMPLENR,  78 },
37
+  {  637 * OVERSAMPLENR,  71 },
38
+  {  690 * OVERSAMPLENR,  65 },
39
+  {  743 * OVERSAMPLENR,  58 },
40
+  {  796 * OVERSAMPLENR,  50 },
41
+  {  849 * OVERSAMPLENR,  42 },
42
+  {  902 * OVERSAMPLENR,  31 },
43
+  {  955 * OVERSAMPLENR,  17 },
44
+  { 1008 * OVERSAMPLENR,   0 }
45
+};

+ 56
- 0
Marlin/thermistortable_9.h View File

@@ -0,0 +1,56 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
24
+const short temptable_9[][2] PROGMEM = {
25
+  {    1 * OVERSAMPLENR, 936 },
26
+  {   36 * OVERSAMPLENR, 300 },
27
+  {   71 * OVERSAMPLENR, 246 },
28
+  {  106 * OVERSAMPLENR, 218 },
29
+  {  141 * OVERSAMPLENR, 199 },
30
+  {  176 * OVERSAMPLENR, 185 },
31
+  {  211 * OVERSAMPLENR, 173 },
32
+  {  246 * OVERSAMPLENR, 163 },
33
+  {  281 * OVERSAMPLENR, 155 },
34
+  {  316 * OVERSAMPLENR, 147 },
35
+  {  351 * OVERSAMPLENR, 140 },
36
+  {  386 * OVERSAMPLENR, 134 },
37
+  {  421 * OVERSAMPLENR, 128 },
38
+  {  456 * OVERSAMPLENR, 122 },
39
+  {  491 * OVERSAMPLENR, 117 },
40
+  {  526 * OVERSAMPLENR, 112 },
41
+  {  561 * OVERSAMPLENR, 107 },
42
+  {  596 * OVERSAMPLENR, 102 },
43
+  {  631 * OVERSAMPLENR,  97 },
44
+  {  666 * OVERSAMPLENR,  92 },
45
+  {  701 * OVERSAMPLENR,  87 },
46
+  {  736 * OVERSAMPLENR,  81 },
47
+  {  771 * OVERSAMPLENR,  76 },
48
+  {  806 * OVERSAMPLENR,  70 },
49
+  {  841 * OVERSAMPLENR,  63 },
50
+  {  876 * OVERSAMPLENR,  56 },
51
+  {  911 * OVERSAMPLENR,  48 },
52
+  {  946 * OVERSAMPLENR,  38 },
53
+  {  981 * OVERSAMPLENR,  23 },
54
+  { 1005 * OVERSAMPLENR,   5 },
55
+  { 1016 * OVERSAMPLENR,   0 }
56
+};

+ 32
- 0
Marlin/thermistortable_998.h View File

@@ -0,0 +1,32 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// User-defined table 1
24
+// Dummy Thermistor table.. It will ALWAYS read a fixed value.
25
+#ifndef DUMMY_THERMISTOR_998_VALUE
26
+  #define DUMMY_THERMISTOR_998_VALUE 25
27
+#endif
28
+
29
+const short temptable_998[][2] PROGMEM = {
30
+  {    1 * OVERSAMPLENR, DUMMY_THERMISTOR_998_VALUE },
31
+  { 1023 * OVERSAMPLENR, DUMMY_THERMISTOR_998_VALUE }
32
+};

+ 32
- 0
Marlin/thermistortable_999.h View File

@@ -0,0 +1,32 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+
23
+// User-defined table 2
24
+// Dummy Thermistor table.. It will ALWAYS read a fixed value.
25
+#ifndef DUMMY_THERMISTOR_999_VALUE
26
+  #define DUMMY_THERMISTOR_999_VALUE 25
27
+#endif
28
+
29
+const short temptable_999[][2] PROGMEM = {
30
+  {    1 * OVERSAMPLENR, DUMMY_THERMISTOR_999_VALUE },
31
+  { 1023 * OVERSAMPLENR, DUMMY_THERMISTOR_999_VALUE }
32
+};

+ 105
- 1205
Marlin/thermistortables.h
File diff suppressed because it is too large
View File


Loading…
Cancel
Save