You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.2 KiB
C

/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
// 100k ParCan thermistor (104GT-2)
// ATC Semitec 104GT-2 (Used in ParCan)
// Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
// Calculated using 4.7kohm pullup, voltage divider math, and manufacturer provided temp/resistance
const short temptable_5[][2] PROGMEM = {
{ 1 * OVERSAMPLENR, 713 },
{ 17 * OVERSAMPLENR, 300 }, // top rating 300C
{ 20 * OVERSAMPLENR, 290 },
{ 23 * OVERSAMPLENR, 280 },
{ 27 * OVERSAMPLENR, 270 },
{ 31 * OVERSAMPLENR, 260 },
{ 37 * OVERSAMPLENR, 250 },
{ 43 * OVERSAMPLENR, 240 },
{ 51 * OVERSAMPLENR, 230 },
{ 61 * OVERSAMPLENR, 220 },
{ 73 * OVERSAMPLENR, 210 },
{ 87 * OVERSAMPLENR, 200 },
{ 106 * OVERSAMPLENR, 190 },
{ 128 * OVERSAMPLENR, 180 },
{ 155 * OVERSAMPLENR, 170 },
{ 189 * OVERSAMPLENR, 160 },
{ 230 * OVERSAMPLENR, 150 },
{ 278 * OVERSAMPLENR, 140 },
{ 336 * OVERSAMPLENR, 130 },
{ 402 * OVERSAMPLENR, 120 },
{ 476 * OVERSAMPLENR, 110 },
{ 554 * OVERSAMPLENR, 100 },
{ 635 * OVERSAMPLENR, 90 },
{ 713 * OVERSAMPLENR, 80 },
{ 784 * OVERSAMPLENR, 70 },
{ 846 * OVERSAMPLENR, 60 },
{ 897 * OVERSAMPLENR, 50 },
{ 937 * OVERSAMPLENR, 40 },
{ 966 * OVERSAMPLENR, 30 },
{ 986 * OVERSAMPLENR, 20 },
{ 1000 * OVERSAMPLENR, 10 },
{ 1010 * OVERSAMPLENR, 0 }
};