nis2311
Member level 2
Hi,
I am having an air conditioner temperature sensor for ambient temperature measurement, which value is not in linearity. How to make out the temperature by using only the ADC Value to get degrees in the C code like any formulas.
For a example this is my temperature sensor chart:
Help me to solve this problem......
I am having an air conditioner temperature sensor for ambient temperature measurement, which value is not in linearity. How to make out the temperature by using only the ADC Value to get degrees in the C code like any formulas.
For a example this is my temperature sensor chart:
Code:
Celsius Ohms(K) Voltage ADC value
15 7.447 2.968 151.349725
16 7.148 2.918 148.8211329
17 6.863 2.868 146.2916277
18 6.591 2.819 143.762488
19 6.332 2.769 141.2354022
20 6.084 2.720 138.7136521
21 5.847 2.671 136.1970731
22 5.621 2.621 133.6903596
23 5.404 2.572 131.1935588
24 5.198 2.524 128.7084369
25 5.000 2.475 126.2376238
26 4.811 2.427 123.7795133
27 4.630 2.379 121.34396
28 4.457 2.332 118.9245804
29 4.292 2.285 116.5251927
30 4.133 2.238 114.1480651
31 3.981 2.192 111.7936309
Help me to solve this problem......