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:
Any help would be much appreciated.