Home/Support/Support Forum/Wrong temperature value XBee L/T/H

Wrong temperature value XBee L/T/H

0 votes
Hello,

I send the light, temperature, humidity data from a XBee Sensor L/T/H with S5 pro to a connectPort X2 (python script). I get all the data but the problem is that the temperature value is wrong (I get -10°C whereas it's around 24°C).
The value I get on ADC2 is around 0x0153 (339 in decimal) and I calculate the temperature with the following formula:
Temp_C = ( (ADC2/1023) * 1200) - 500 ) / 10

Here is the guide I used to configure my nodes:
http://www.digi.com/wiki/developer/index.php/XBee_Sensors

Any help would be much appreciated.
asked Jun 8, 2016 in RF Solutions and XBee by bl4sh20 New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
What is the exact module and firmware you are working with?
answered Jun 17, 2016 by mvut Veteran of the Digi Community (11,302 points)
The modules are X-Bee S5 Pro.
Product family : XBP08-DP
Firmware version : 1061
I would suggest looking at page 11 of the manual located at http://ftp1.digi.com/support/documentation/90001020_F.pdf

The VREF of 1.2V is for the Zigbee enabled products and not this one.
...