Also, make sure the battery level is between the recommended values of
operation of your temp sensor, below.

Just to be sure.

Antonio,

On Sun, Jul 24, 2011 at 6:11 PM, José A. Tarifa <[email protected]> wrote:
> Hi!
>
> These results are the output of the Analog to Digital Converter (ADC12). You
> have to make sure the ADC reference voltage: it's usually 1.5V or 2.5V.
>
> For example, if you set the reference to 2.5V, a value of 0=0V and
> 4095(2^12-1)=2.5V.
>
> Also you need to know the sensor transfer function (it relates the
> temperature with analog voltage). Are you using external temperature sensor
> (Sensirion) or the internal sensor (inside the CPU)?
>
> If you're using the internal sensor, this function is:
> Vo=0.00355*(TempC)+0.986  -->  Temp(ºC)=(Vo-0.986)/0.00355.  So if you get a
> value 1405 and your ADC12 has 2.5V of voltage reference, the temperature is
> -36ºC approx.
>
> ---
>
> José A. Tarifa Galisteo
> Telecommunication Engineer
> University of Seville
> email      Website
>
> On Sun, 24 Jul 2011 14:22:07 +0300, Geo Gkolfin wrote:
>
> Hello,
>
> I am reading from a telosb temperature sensor and I get huge values, e.g.
> 1331, 1405 etc. I have defined a uint16_t temp variable and at readDone
> event I set:
> temp=data;
> Can anyone help?
> Thank you in advance,
> Georgia
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
--
Antonio Liñan Colina
R+D+I Engineer
@: [email protected]
@: [email protected]
------------------------------
Advancare
T: +34 93 582 02 70
http://www.advancare.com
http://www.zolertia.com
http://zolertia.sourceforge.net
http://webshop.zolertia.com

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

Reply via email to