I thought the temp reading of MSP430 means the internal temperature of MSP430.
And I think this is how to convert ADC reading to Celsius.

/**
 * Msp430InternalTemperatureC is the temperature sensor available on
 * the msp430-based platforms.
 *
 * To convert from ADC counts to temperature, convert to voltage by
 * dividing by 4096 and multiplying by Vref (1.5V). Then subtract
 * 0.986 from voltage and divide by 0.00355 to get degrees C.
 *
 * @author Gilman Tolle <[EMAIL PROTECTED]>
 * @version $Revision: 1.4 $ $Date: 2006/12/12 18:23:10 $
 */

On Dec 5, 2007 5:26 PM, Urs Hunkeler <[EMAIL PROTECTED]> wrote:
> Hi Chao,
>
> You can find the details in the Sht1x datasheet. As far as I can tell
> TinyOS samples the temperature with 14 bits and you probably expect the
> battery voltage to be 3V (small changes in the actual voltage have
> almost no effect). Then the formula for calculating the temperature in
> degrees Celsius would be -39.6 + 0.01 * temp.
>
> Cheers,
> Urs
>
> Chao Sun schrieb:
>
> > Hello,
> > I am wondering how can I transform the raw TempADC reading from MSP 430
> > sensor board into a more readable form of Celsius.
> > Can anyone tell me? Thanks!
> >
> > Sincerely,
> > Chao
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Reply via email to