The following formula should give you value in centigrade.

((sensorValue / 4096 * 1.5) - 0.986) / 0.00355;


best regards,
-- 
Faisal Aslam

PhD Student
University of Freiburg
http://cone.informatik.uni-freiburg.de/people/aslam/

> Hi,
>
> When I am trying to run the application
> tinyos-2.x\apps\tests\mts300\PhotoTemp in Tinyos tutorial, I got the
> temperature readings 250 approximately. Is there any formula to convert
> the
> temperature. Or I was doing wrong?
>
> I am using micaz.
>
> Thanks in advance.
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to