It's not to hard to do that...
Create lookup table in flash memory for this
1325,3 * 10^(7,5892 * T / (T+240,71))
for range you need, and step 1-10 degrees, depending on accuracy. Scale it to get most of byte, or word range. Then use interpolation to get more precise result.
Then just multiply Rv and value from lookup table. After that divide with absolute temp.
That way I have done this calculation http://www.picbasic.co.uk/forum/showthread.php?t=18483




Bookmarks