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