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 |
//
|
|
|
24 |
// R25 = 200 kOhm, beta25 = 4338 K, 4.7 kOhm pull-up, 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 |
{ OV( 1), 848 },
|
|
|
30 |
{ OV( 30), 300 }, // top rating 300C
|
|
|
31 |
{ OV( 34), 290 },
|
|
|
32 |
{ OV( 39), 280 },
|
|
|
33 |
{ OV( 46), 270 },
|
|
|
34 |
{ OV( 53), 260 },
|
|
|
35 |
{ OV( 63), 250 },
|
|
|
36 |
{ OV( 74), 240 },
|
|
|
37 |
{ OV( 87), 230 },
|
|
|
38 |
{ OV( 104), 220 },
|
|
|
39 |
{ OV( 124), 210 },
|
|
|
40 |
{ OV( 148), 200 },
|
|
|
41 |
{ OV( 176), 190 },
|
|
|
42 |
{ OV( 211), 180 },
|
|
|
43 |
{ OV( 252), 170 },
|
|
|
44 |
{ OV( 301), 160 },
|
|
|
45 |
{ OV( 357), 150 },
|
|
|
46 |
{ OV( 420), 140 },
|
|
|
47 |
{ OV( 489), 130 },
|
|
|
48 |
{ OV( 562), 120 },
|
|
|
49 |
{ OV( 636), 110 },
|
|
|
50 |
{ OV( 708), 100 },
|
|
|
51 |
{ OV( 775), 90 },
|
|
|
52 |
{ OV( 835), 80 },
|
|
|
53 |
{ OV( 884), 70 },
|
|
|
54 |
{ OV( 924), 60 },
|
|
|
55 |
{ OV( 955), 50 },
|
|
|
56 |
{ OV( 977), 40 },
|
|
|
57 |
{ OV( 993), 30 },
|
|
|
58 |
{ OV(1004), 20 },
|
|
|
59 |
{ OV(1012), 10 },
|
|
|
60 |
{ OV(1016), 0 }
|
|
|
61 |
};
|