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