Quantcast
Channel: Reprap Forum - Controllers
Viewing all articles
Browse latest Browse all 10211

Re: Choosing Thermistor based on table - Marlin

$
0
0
Assuming exact numbers of 5v and 4700ohms, and the pdf with your temperatures and resistances my math looks like this:
Thermistor table
Adc Temperature
1007.71 1
985.91 20
939.93 40
859.42 60
740.71 80
595.75 100
448.8 120
269.25 150
186.24 170
154.56 180
128.37 190
106.79 200
89.06 210
74.51 220
62.55 230
52.73 240
44.63 250
37.94 260
27.76 280
19.49 304

For your firmware apparently the left side colum needs to be multiplied * 16, which you can do directly, and invert the order.
I copied the format from above so i hope i got that right. So here it is your thermistor table to test:

//Thermistor table
// For given temperature: Resistance to Adc voltage to Adc value
// 100k NTC van SMDKING (from pdf values)
const short temptable_11[][2] PROGMEM = {
{ 312 , 304 }
{ 444 , 280 }
{ 607 , 260 }
{ 714 , 250 }
{ 844 , 240 }
{ 1001 , 230 }
{ 1192 , 220 }
{ 1425 , 210 }
{ 1709 , 200 }
{ 2054 , 190 }
{ 2473 , 180 }
{ 2980 , 170 }
{ 4308 , 150 }
{ 7181 , 120 }
{ 9532 , 100 }
{ 11851 , 80 }
{ 13751 , 60 }
{ 15039 , 40 }
{ 15775 , 20 }
{ 16123 , 1 }
} ;
#endif

So its already multiplied * 16, dont use that oversample again on it, just copy-paste. Or if you want to use the oversample divide them by 16 first (you should get smth like first table column around). Let me know how this works out.

Viewing all articles
Browse latest Browse all 10211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>