yukasolano / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

TinyOS Oscilloscope Application for Temperature Reading #158

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Oscilloscope application to read temperature from SensirionSht11 on 
TelosB Mote. I am getting a long data like 

00 FF 00 02 0A 00 93 00 00 01 00 00 02 00 00 19 1B 

Why i am getting too long data ?  I just need a temperature reading in Decimal 
Value. 

Original issue reported on code.google.com by 11msitma...@seecs.edu.pk on 27 Dec 2012 at 5:53

GoogleCodeExporter commented 9 years ago
you always get raw data with the sensors in hex values. the last 4 digits are 
what you ask for. convert 191B hex to dec and then use the formula

temp in celsius=-39.6+0.01*hextodec

Original comment by paolovl...@gmail.com on 25 Feb 2013 at 8:42

GoogleCodeExporter commented 9 years ago
Thank you so much !

Original comment by 11msitma...@seecs.edu.pk on 26 Feb 2013 at 3:53

GoogleCodeExporter commented 9 years ago
How to read temperature from SensirionSht11 on telosb mote?
I only see the trend of the graph

Original comment by daniele....@gmail.com on 5 Feb 2014 at 2:42