|
|
|
|
211
|
|
211
|
|
212
|
#if (THERMISTORHEATER_0 == 6) || (THERMISTORHEATER_1 == 6) || (THERMISTORHEATER_2 == 6) || (THERMISTORBED == 6) // 100k Epcos thermistor
|
212
|
#if (THERMISTORHEATER_0 == 6) || (THERMISTORHEATER_1 == 6) || (THERMISTORHEATER_2 == 6) || (THERMISTORBED == 6) // 100k Epcos thermistor
|
213
|
const short temptable_6[][2] PROGMEM = {
|
213
|
const short temptable_6[][2] PROGMEM = {
|
214
|
- {28*OVERSAMPLENR, 250},
|
|
|
|
|
214
|
+ {1*OVERSAMPLENR, 350}
|
|
|
215
|
+ {28*OVERSAMPLENR, 250}, //top rating 250C
|
215
|
{31*OVERSAMPLENR, 245},
|
216
|
{31*OVERSAMPLENR, 245},
|
216
|
{35*OVERSAMPLENR, 240},
|
217
|
{35*OVERSAMPLENR, 240},
|
217
|
{39*OVERSAMPLENR, 235},
|
218
|
{39*OVERSAMPLENR, 235},
|
|
|
|
|
252
|
|
253
|
|
253
|
#if (THERMISTORHEATER_0 == 7) || (THERMISTORHEATER_1 == 7) || (THERMISTORHEATER_2 == 7) || (THERMISTORBED == 7) // 100k Honeywell 135-104LAG-J01
|
254
|
#if (THERMISTORHEATER_0 == 7) || (THERMISTORHEATER_1 == 7) || (THERMISTORHEATER_2 == 7) || (THERMISTORBED == 7) // 100k Honeywell 135-104LAG-J01
|
254
|
const short temptable_7[][2] PROGMEM = {
|
255
|
const short temptable_7[][2] PROGMEM = {
|
255
|
- {46*OVERSAMPLENR, 270},
|
|
|
|
|
256
|
+ {1*OVERSAMPLENR, 500}
|
|
|
257
|
+ {46*OVERSAMPLENR, 270}, //top rating 300C
|
256
|
{50*OVERSAMPLENR, 265},
|
258
|
{50*OVERSAMPLENR, 265},
|
257
|
{54*OVERSAMPLENR, 260},
|
259
|
{54*OVERSAMPLENR, 260},
|
258
|
{58*OVERSAMPLENR, 255},
|
260
|
{58*OVERSAMPLENR, 255},
|
|
|
|
|
315
|
// Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
|
317
|
// Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
|
316
|
// Advantage: Twice the resolution and better linearity from 150C to 200C
|
318
|
// Advantage: Twice the resolution and better linearity from 150C to 200C
|
317
|
const short temptable_51[][2] PROGMEM = {
|
319
|
const short temptable_51[][2] PROGMEM = {
|
318
|
- {190*OVERSAMPLENR, 250},
|
|
|
|
|
320
|
+ {1*OVERSAMPLENR, 350}
|
|
|
321
|
+ {190*OVERSAMPLENR, 250}, //top rating 250C
|
319
|
{203*OVERSAMPLENR, 245},
|
322
|
{203*OVERSAMPLENR, 245},
|
320
|
{217*OVERSAMPLENR, 240},
|
323
|
{217*OVERSAMPLENR, 240},
|
321
|
{232*OVERSAMPLENR, 235},
|
324
|
{232*OVERSAMPLENR, 235},
|
|
|
|
|
376
|
// Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
|
379
|
// Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
|
377
|
// Advantage: More resolution and better linearity from 150C to 200C
|
380
|
// Advantage: More resolution and better linearity from 150C to 200C
|
378
|
const short temptable_52[][2] PROGMEM = {
|
381
|
const short temptable_52[][2] PROGMEM = {
|
379
|
- {125*OVERSAMPLENR, 300},
|
|
|
|
|
382
|
+ {1*OVERSAMPLENR, 500}
|
|
|
383
|
+ {125*OVERSAMPLENR, 300}, //top rating 300C
|
380
|
{142*OVERSAMPLENR, 290},
|
384
|
{142*OVERSAMPLENR, 290},
|
381
|
{162*OVERSAMPLENR, 280},
|
385
|
{162*OVERSAMPLENR, 280},
|
382
|
{185*OVERSAMPLENR, 270},
|
386
|
{185*OVERSAMPLENR, 270},
|