Re: [Tinyos-help] Adding precision to sensor data obtained

2011-06-14 Thread Mayank Gupta
> > Now your sensor may need some calibration and scaling > so the conversion you use will probably have a form > like (Mx + B), where M is a scale factor and B is an > offset, both of which you might derive from spec sheets > or brute force measurements. > > What are you se

Re: [Tinyos-help] Adding precision to sensor data obtained

2011-06-10 Thread Mayank Gupta
out .00025 per bit. You may > convert that to floating point to about 4 decimal places > if you like. > > MS > > Mayank Gupta wrote: >> >> Hi all, >> >> I am sending sensor readings from telosb mote to the pc and storing >> the data in mysql database.

[Tinyos-help] Adding precision to sensor data obtained

2011-06-10 Thread Mayank Gupta
Hi all, I am sending sensor readings from telosb mote to the pc and storing the data in mysql database. The problem I am facing is that I want data to be precise upto at least 2 decimal places but data in my database always comes out to be as integer. I have modified the mig generated file to push

Re: [Tinyos-help] Getting values of temperature and humidity read onto PC

2011-06-01 Thread Mayank Gupta
x27;s the most I can tell you. > > MS > > Mayank Gupta wrote: >> >> Hi everybody, >> >> I am developing an application which reads sensor values from sensors >> on telosb motes and sends these values in packet to base station mote >> connected to pc. No

[Tinyos-help] Getting values of temperature and humidity read onto PC

2011-06-01 Thread Mayank Gupta
Hi everybody, I am developing an application which reads sensor values from sensors on telosb motes and sends these values in packet to base station mote connected to pc. Now I am using MsgReader application to read the contents of the message. My problem is that MsgReader shows values in hexadeci

[Tinyos-help] Getting values of temperature and humidity read on PC

2011-05-31 Thread Mayank Gupta
Hi everybody, I am developing an application which reads sensor values from sensors on telosb motes and sends these values in packet to base station mote connected to pc. Now I am using MsgReader application to read the contents of the message. My problem is that MsgReader shows values in hexadeci

Re: [Tinyos-help] Floating point communication between telosb motes

2011-05-09 Thread Mayank Gupta
Hi, Turns out that I was having problems with size of the packet and AM type of the packet. Thanks for the hint. Regards, Mayank On Mon, May 9, 2011 at 7:15 PM, Eric Decker wrote: > > > On Mon, May 9, 2011 at 12:10 PM, Mayank Gupta wrote: >> >> Hello everybody, >>

[Tinyos-help] receive error for BlinkToRadioMsg (AM type 6): invalid length message received (too short)

2011-05-09 Thread Mayank Gupta
Can anybody tell me why am I receiving this error when I try to send floating point number from BlinkToRadio app to Base station app. And how can i rectify it.?? Regards, Mayank ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://ww

[Tinyos-help] Floating point communication between telosb motes

2011-05-09 Thread Mayank Gupta
also tried using normal float. Since communication is between two telosb motes I do not think there could be platform problems. But i was not able to send data correctly. Can someone guide me in the right direction for the same. Thanking you in anticipation. With best Regards, Mayank

[Tinyos-help] receive error for BlinkToRadioMsg (AM type 6): invalid length message received (too short)

2011-05-05 Thread Mayank Gupta
Can anybody tell me why am I receiving this error when I try to send floating point number from BlinkToRadio app to Base station app. And how can i rectify it.?? Regards, Mayank ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://ww

[Tinyos-help] Floating point communication between telosb motes

2011-05-05 Thread Mayank Gupta
also tried using normal float. Since communication is between two telosb motes I do not think there could be platform problems. But i was not able to send data correctly. Can someone guide me in the right direction for the same. Thanking you in anticipation. With best Regards, Mayank

Re: [Tinyos-help] Exchanging floating point variables between telosb motes using nx_float

2011-04-16 Thread Mayank Gupta
I am using version 1.3.1 with compiler version 1.2.4 Regards Mayank On Sat, Apr 16, 2011 at 4:06 PM, Thomas Schmid wrote: > Which version of nesc do you use? > > Thomas > > On Saturday, April 16, 2011, Mayank Gupta wrote: >> I was trying to use nx_float for exchangin

[Tinyos-help] Exchanging floating point variables between telosb motes using nx_float

2011-04-16 Thread Mayank Gupta
I was trying to use nx_float for exchanging floating point data between two telosb motes but apparently cannot compile the code. Can anyone help me solving this issue. Thanking you in anticipation Regards, Mayank ___ Tinyos-help mailing list Tinyos-help@