Home/Support/Support Forum/How do you convert the raw data from device cloud to actual temperature reading?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How do you convert the raw data from device cloud to actual temperature reading?

0 votes
I am using an xbee gateway to connect to the device cloud. I see my raw data, but I need to convert it to show the temperature readings. How do you convert the raw data. Where do I insert the conversion factor?
asked Oct 29, 2014 in Device Cloud by paco82866 New to the Community (1 point)

Please log in or register to answer this question.

2 Answers

0 votes
Which gateway model are you using exactly? What is sending the temperature (i.e. XBee LTH, external temp. sensor, etc..)?
answered Oct 29, 2014 by userid0 Veteran of the Digi Community (2,158 points)
0 votes
Model: XBee Gateway-ZB, Ethernet

Its sending a reading form ADC-0 connected to an LM34.
I am getting raw data, but I need to convert to temp reading. How can I run it to a conversion factor?
answered Oct 29, 2014 by paco82866 New to the Community (1 point)
You might want to have a look at the XBee Gateway Dashboard:

https://xbeegateway.herokuapp.com

You would place a group of python files on your gateway and configure the xbgw_main.py file to auto-start.

Documentation for using the kit, can be found here:

http://ftp1.digi.com/support/documentation/html/90001399/90001399_A/Files/kit-getting-started.html

The following shows temperature configuration in the dashboard application along with the formula to convert the temperature on a  TMP36 temperature sensor (the LM34 specifications may be different):

http://examples.digi.com/xbee-gateway/temperature-example-xbee-cloud-kit/5/

If you are proficient with Python, you can design your own application using Digi ESP:

http://www.digi.com/support/productdetail?pid=3632&type=drivers

Additional Python examples can be found on the Digi developer wiki:

http://www.digi.com/wiki/developer/index.php/Main_Page
...