Hi all, This is my first message on the help list and I hope to get a good response.
I used the OscilloscopeRF application to sense the temperature instead of light by using Temp instead of Photo in the Oscilloscope.nc file. I am able to get the readings and display them on PC using TOSBase. These readings are hexadecimal values in little endian format and I want to convert them to celsius or kelvin. I am using the mica2 motes and micasb board. I found a formula for this 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 Motes ADC measurement. now I have 3 questions 1) Is this formula correct for micasb 2) How do I calculate this in nesc as it involves logarithmic calculations. 3) In what format is the ADC that is being used . Is it in the same format in which the sensor senses the data ie little endian format. Please reply to this asap as I am stuck at this point in my project Thanks a lot Vishal _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
