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