Temperature versus ADC value
The temperature table below shows temperature versus thermistor ADC value (hex and dec) with gain=1, and ADC mv for the thermistor and ADC on the Mackerel AMW004-E03.x and the Moray AMW006-E02.x. See Peripherals, ADCs. The table assumes the nominal Vref of 3300mV.
The conversion to mV uses the formula
adc_mV = (Vref * adc_value)/adc_max_value
This table is accurate within a few degrees celsius. For full thermistor characteristics search for MuRata part NCP18XH103J03RB.
For a LUT corresponding to this table, see therm_celsius_lut.csv.
Note: Adjust as necessary if Vref is not equal to 3300mV. Different thermistors may have a different correspondence between voltage and temperature. To create an accurate table for your particular thermistor you can calibrate with an accurate thermometer.
ADC value hex | ADC value dec | ADC mv | Temp (deg. C) | Temp (deg. F) |
---|---|---|---|---|
0xBB2 | 2994 | 2413 | 0 | 32.0 |
0xB8F | 2960 | 2385 | 1 | 33.8 |
0xB6C | 2925 | 2357 | 2 | 35.6 |
0xB48 | 2889 | 2328 | 3 | 37.4 |
0xB24 | 2853 | 2299 | 4 | 39.2 |
0xAFF | 2816 | 2269 | 5 | 41.0 |
0xADB | 2780 | 2240 | 6 | 42.8 |
0xAB6 | 2742 | 2210 | 7 | 44.6 |
0xA8F | 2704 | 2179 | 8 | 46.4 |
0xA6A | 2667 | 2149 | 9 | 48.2 |
0xA44 | 2628 | 2118 | 10 | 50.0 |
0xA1D | 2590 | 2087 | 11 | 51.8 |
0x9F7 | 2551 | 2056 | 12 | 53.6 |
0x9D0 | 2513 | 2025 | 13 | 55.4 |
0x9AA | 2474 | 1994 | 14 | 57.2 |
0x983 | 2436 | 1963 | 15 | 59.0 |
0x95C | 2396 | 1931 | 16 | 60.8 |
0x935 | 2358 | 1900 | 17 | 62.6 |
0x90E | 2318 | 1868 | 18 | 64.4 |
0x8E7 | 2280 | 1837 | 19 | 66.2 |
0x8BF | 2240 | 1805 | 20 | 68.0 |
0x899 | 2201 | 1774 | 21 | 69.8 |
0x872 | 2163 | 1743 | 22 | 71.6 |
0x84C | 2124 | 1712 | 23 | 73.4 |
0x825 | 2086 | 1681 | 24 | 75.2 |
0x7FF | 2048 | 1650 | 25 | 77.0 |
0x7D9 | 2009 | 1619 | 26 | 78.8 |
0x7B3 | 1972 | 1589 | 27 | 80.6 |
0x78D | 1933 | 1558 | 28 | 82.4 |
0x768 | 1896 | 1528 | 29 | 84.2 |
0x742 | 1859 | 1498 | 30 | 86.0 |
0x71E | 1823 | 1469 | 31 | 87.8 |
0x6F9 | 1786 | 1439 | 32 | 89.6 |
0x6D5 | 1750 | 1410 | 33 | 91.4 |
0x6B1 | 1714 | 1381 | 34 | 93.2 |
0x68E | 1679 | 1353 | 35 | 95.0 |
0x66C | 1644 | 1325 | 36 | 96.8 |
0x649 | 1609 | 1297 | 37 | 98.6 |
0x627 | 1576 | 1270 | 38 | 100.4 |
0x606 | 1542 | 1243 | 39 | 102.2 |
0x5E4 | 1509 | 1216 | 40 | 104.0 |
0x5C3 | 1475 | 1189 | 41 | 105.8 |
0x5A3 | 1443 | 1163 | 42 | 107.6 |
0x584 | 1412 | 1138 | 43 | 109.4 |
0x565 | 1381 | 1113 | 44 | 111.2 |
0x546 | 1350 | 1088 | 45 | 113.0 |