Choosing Thermistor based on table - Marlin April 10, 2013 05:28PM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Choosing Thermistor based on table - Marlin April 10, 2013 06:14PM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 10, 2013 06:21PM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 10, 2013 06:23PM |
Admin Registered: 11 years ago Posts: 3,096 |
#define OVERSAMPLENR 16
const short temptable_1[][2] PROGMEM = { { 23*OVERSAMPLENR , 300 }, { 25*OVERSAMPLENR , 295 }, { 27*OVERSAMPLENR , 290 }, { 28*OVERSAMPLENR , 285 }, { 31*OVERSAMPLENR , 280 }, { 33*OVERSAMPLENR , 275 }, { 35*OVERSAMPLENR , 270 }, { 38*OVERSAMPLENR , 265 }, { 41*OVERSAMPLENR , 260 }, { 44*OVERSAMPLENR , 255 }, { 48*OVERSAMPLENR , 250 },
Re: Choosing Thermistor based on table - Marlin April 10, 2013 06:33PM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 10, 2013 06:39PM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 10, 2013 06:57PM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Choosing Thermistor based on table - Marlin April 10, 2013 07:21PM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 11, 2013 03:09AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Choosing Thermistor based on table - Marlin April 11, 2013 07:25AM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 11, 2013 09:40AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Choosing Thermistor based on table - Marlin April 11, 2013 12:06PM |
Registered: 13 years ago Posts: 643 |
Re: Choosing Thermistor based on table - Marlin April 11, 2013 12:37PM |
Admin Registered: 11 years ago Posts: 3,096 |
// Thermistor lookup table for RepRap Temperature Sensor Boards (http://make.rrrf.org/ts) // Made with createTemperatureLookup.py (http://svn.reprap.org/trunk/reprap/firmware/Arduino/utilities/createTemperatureLookup.py) // ./createTemperatureLookup.py --r0=124922 --t0=20 --r1=0 --r2=4700 --beta=2514 --max-adc=1023 // r0: 124922 // t0: 20 // r1: 0 // r2: 4700 // beta: 2514 // max adc: 1023 #define NUMTEMPS 20 short temptable[NUMTEMPS][2] = { {1, -1810}, {54, 771}, {107, 525}, {160, 423}, {213, 361}, {266, 318}, {319, 285}, {372, 257}, {425, 234}, {478, 213}, {531, 195}, {584, 177}, {637, 160}, {690, 144}, {743, 127}, {796, 110}, {849, 92}, {902, 71}, {955, 44}, {1008, -6} };
Traceback (most recent call last): File "MakeTempTable.py", line 101, in main(sys.argv[1:]) File "MakeTempTable.py", line 97, in main r = exp((x - y / 2) ** (1.0/3) - (x + y / 2) ** (1.0/3)) ValueError: negative number cannot be raised to a fractional power
Re: Choosing Thermistor based on table - Marlin April 11, 2013 01:05PM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 11, 2013 01:09PM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Choosing Thermistor based on table - Marlin April 11, 2013 01:18PM |
Admin Registered: 11 years ago Posts: 3,096 |
#if (THERMISTORHEATER_0 == 11) || (THERMISTORHEATER_1 == 11) || (THERMISTORHEATER_2 == 11) || (THERMISTORBED == 11) // 100k NTC van SMDKING (4.7k pullup) const short temptable_11[][2] PROGMEM = { {1*OVERSAMPLENR, 937}, {27*OVERSAMPLENR, 326}, {53*OVERSAMPLENR, 268}, {79*OVERSAMPLENR, 239}, {105*OVERSAMPLENR, 219}, {131*OVERSAMPLENR, 204}, {157*OVERSAMPLENR, 192}, {183*OVERSAMPLENR, 182}, {209*OVERSAMPLENR, 174}, {235*OVERSAMPLENR, 166}, {261*OVERSAMPLENR, 159}, {287*OVERSAMPLENR, 153}, {313*OVERSAMPLENR, 148}, {339*OVERSAMPLENR, 143}, {365*OVERSAMPLENR, 138}, {391*OVERSAMPLENR, 133}, {417*OVERSAMPLENR, 129}, {443*OVERSAMPLENR, 124}, {469*OVERSAMPLENR, 120}, {495*OVERSAMPLENR, 116}, {521*OVERSAMPLENR, 112}, {547*OVERSAMPLENR, 109}, {573*OVERSAMPLENR, 105}, {599*OVERSAMPLENR, 101}, {625*OVERSAMPLENR, 97}, {651*OVERSAMPLENR, 94}, {677*OVERSAMPLENR, 90}, {703*OVERSAMPLENR, 86}, {729*OVERSAMPLENR, 82}, {755*OVERSAMPLENR, 78}, {781*OVERSAMPLENR, 74}, {807*OVERSAMPLENR, 70}, {833*OVERSAMPLENR, 65}, {859*OVERSAMPLENR, 60}, {885*OVERSAMPLENR, 54}, {911*OVERSAMPLENR, 48}, {937*OVERSAMPLENR, 41}, {963*OVERSAMPLENR, 31}, {989*OVERSAMPLENR, 18}, {1015*OVERSAMPLENR, -8} }; #endif
Re: Choosing Thermistor based on table - Marlin April 11, 2013 01:47PM |
Admin Registered: 11 years ago Posts: 3,096 |
// 6 is 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)
Re: Choosing Thermistor based on table - Marlin April 11, 2013 03:15PM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 12, 2013 05:08AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Choosing Thermistor based on table - Marlin April 12, 2013 07:06AM |
Registered: 13 years ago Posts: 1,352 |
Re: Choosing Thermistor based on table - Marlin April 13, 2013 05:32AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Choosing Thermistor based on table - Marlin September 03, 2013 04:40AM |
Re: Choosing Thermistor based on table - Marlin September 03, 2013 05:57AM |
Registered: 13 years ago Posts: 1,352 |