Again, I am guessing that what you got was from serial forwarder? right? serial forwarder prints on screent the whole TinyOS packet as far as I know. You have to make your own implementation of serial forwarder (basically make a program that knows which byte sequence is representing the temp sensor, and just print out that byte sequence, as decimal). And sorry I don't have such code at the moment.

Regards,
Saeid.
http://www.electronicspub.com


On 27-12-2012 10:57, Muhammad Arslan wrote:

Thank you for replying on my question Saeid !
Do you have any code which only send temperature reading ?



On Thu, Dec 27, 2012 at 2:18 PM, Saeid Yazdani <[email protected]> wrote:
I think what you are getting is the whole TinyOS packet (in form of message_t type) you have to see what is the AM Packet you have defined in the wireless message and see which bytes of the byte series you have received represents the temparature. My guess is "93" or "00 93" should be your reading from temp sensor, of course you have to convert that to decimal.

Regards,
Saeid.
http://www.electronicspub.com


On 27-12-2012 7:07, Octopus wrote:
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.



--
View this message in context: http://tinyos-help.10906.n7.nabble.com/Temperature-Reading-from-Telosb-Mote-tp22258.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



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

Reply via email to