Hi, I am trying to convert sensor readings to Celcius but I could not figure it out yet.
Can anyone tell me how to do it, I tried formula on the manual but it gives me wrong numbers or I made a mistake while calculations. 6.2 Conversion to Engineering Units The Mote’s ADC output can be converted to Kelvin using the following approximation over 0 to 50 °C: 1/T(K) = a + b × ln(Rthr) + c × [ln(Rthr)]3 where: Rthr = R1(ADC_FS-ADC)/ADC a = 0.001010024 b = 0.000242127 c = 0.000000146 R1 = 10 kΩ ADC_FS = 1023, and ADC = output value from Mote’s ADC measurement. http://courses.ece.ubc.ca/494/files/MTS-MDA_Series_Users_Manual_7430-0020-04_B.pdf _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help