Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
How to create a lookup table for NTC temperature sensor to convert Adc values to temperature.
c programming
Thanks.Ntc which iam using is different company,it doesnt have a table in its datasheet.can i create table with the one you have mentioned.
Eric... Good tool, I didn't see that when I looked in the tools page.
Case >= 580
ftemps = 56
bdegree = 9
base = 580
Case >= 542
ftemps = 60
bdegree = 9
base = 542
Case >= 507
ftemps = 64
bdegree = 9
base = 507
Case >= 470
ftemps = 68
bdegree = 9
base = 470
Case >= 434
ftemps = 72
bdegree = 9
base = 470
Case Else
ftemps = 80 'TOP TEMP RANGE
If i > 1000 Then ftemps.7 = True 'MAKE IT VERY -VE
EndSelect
bdegree = (i - base) / bdegree 'CALC TEMP CORRECTION
If ftemps.7 = False Then 'SIGNED INTEGER CHECK
ftemps = ftemps - bdegree 'IF TEMPS IS +VE DEGREES
Else
ftemps = ftemps + bdegree 'IF FTEMPS IS -VE DEGREES.
signed = True
Endif
ftemps.7 = False 'CLEAR SIGN