// default thermistor lookup table // How many thermistor tables we have #define NUMTABLES 2 #define THERMISTOR_EXTRUDER 0 #define THERMISTOR_BED 1 // Thermistor lookup table, generated with --num-temps=50 and trimmed in lower temperature ranges. // You may be able to improve the accuracy of this table in various ways. // 1. Measure the actual resistance of the resistor. It's "nominally" 4.7K, but that's ± 5%. // 2. Measure the actual beta of your thermistor:http://reprap.org/wiki/MeasuringThermistorBeta // 3. Generate more table entries than you need, then trim down the ones in uninteresting ranges. (done) // In either case you'll have to regenerate this table, which requires python, which is difficult to install on windows. // Since you'll have to do some testing to determine the correct temperature for your application anyway, you // may decide that the effort isn't worth it. Who cares if it's reporting the "right" temperature as long as it's // keeping the temperature steady enough to print, right? #define NUMTEMPS 20 // {ADC, temp*4 }, // temp uint16_t temptable[NUMTABLES][NUMTEMPS][2] PROGMEM = { // Thermistor table for the Extruder. If you want to get exact readings make sure to measure R2 appropriately! // The thermistor used for this table was a honeywell // ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=3974 --max-adc=1023 // r0: 100000 // t0: 25 // r1: 0 // r2: 4555 // beta: 4092 // max adc: 1023 { {1, 916}, {54, 265}, {107, 216}, {160, 189}, {213, 171}, {266, 157}, {319, 146}, {372, 136}, {425, 127}, {478, 118}, {531, 110}, {584, 103}, {637, 95}, {690, 88}, {743, 80}, {796, 71}, {849, 62}, {902, 50}, {955, 34}, {1008, 2} }, // Thermistor table for the Heatbed. If you want to get exact readings make sure to measure R2 appropriately! // The thermistor used for this table was an Epocs B57560G104F // ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=3974 --max-adc=1023 // r0: 100000 // t0: 25 // r1: 0 // r2: 4580 // beta: 4092 // max adc: 1023 { {1, 916}, {54, 265}, {107, 216}, {160, 189}, {213, 171}, {266, 157}, {319, 146}, {372, 136}, {425, 127}, {478, 118}, {531, 110}, {584, 103}, {637, 95}, {690, 88}, {743, 80}, {796, 71}, {849, 62}, {902, 50}, {955, 34}, {1008, 2} } };