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