Marlin 2.0 for Flying Bear 4S/5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.9 KiB

/**
* Marlin 3D Printer Firmware
5 years ago
* Copyright (c) 2020 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
4 years ago
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once
//
// R25 = 200 kOhm, beta25 = 4338 K, 4.7 kOhm pull-up, ATC Semitec 204GT-2
4 years ago
// Verified by linagee. Source: https://www.mouser.com/datasheet/2/362/semitec%20usa%20corporation_gtthermistor-1202937.pdf
// Calculated using 4.7kohm pullup, voltage divider math, and manufacturer provided temp/resistance
//
3 years ago
constexpr temp_entry_t temptable_2[] PROGMEM = {
{ OV( 1), 848 },
{ OV( 30), 300 }, // top rating 300C
{ OV( 34), 290 },
{ OV( 39), 280 },
{ OV( 46), 270 },
{ OV( 53), 260 },
{ OV( 63), 250 },
{ OV( 74), 240 },
{ OV( 87), 230 },
{ OV( 104), 220 },
{ OV( 124), 210 },
{ OV( 148), 200 },
{ OV( 176), 190 },
{ OV( 211), 180 },
{ OV( 252), 170 },
{ OV( 301), 160 },
{ OV( 357), 150 },
{ OV( 420), 140 },
{ OV( 489), 130 },
{ OV( 562), 120 },
{ OV( 636), 110 },
{ OV( 708), 100 },
{ OV( 775), 90 },
{ OV( 835), 80 },
{ OV( 884), 70 },
{ OV( 924), 60 },
{ OV( 955), 50 },
{ OV( 977), 40 },
{ OV( 993), 30 },
{ OV(1004), 20 },
{ OV(1012), 10 },
{ OV(1016), 0 }
};