[Tinyos-help] GPS module of MTS420 not working
Giri Baleri
mbaleri at xbow.com
Mon Apr 21 17:01:45 PDT 2008
The packet structure and conversion info is provided in the appendices
of the XServe manual.
http://www.xbow.com/Support/Support_pdf_files/XServe_Users_Manual.pdf
You may also use ConfigXML file pertaining to MTS420 board for this
parsing/conversion info (found under \xserve2\configxml folder).
I hope that helps,
Giri
________________________________
From: Nikhil Singhal [mailto:nikhil.singhal at gmail.com]
Sent: Monday, April 21, 2008 4:56 PM
To: Giri Baleri
Cc: tinyos-help at millennium.berkeley.edu; Siirtola Harri
Subject: Re: [Tinyos-help] re: GPS module of MTS420 not working
Hi
It works! Thank you so much for all your help :) I have one final
question though. I need to interface the GPS information with the rest
of our project, which is written in TinyOS and Java. Would you happen to
know the packet format of the data packet so that I can parse it and use
it without MoteView? Or is there some way to send MoteView data over a
socket or something?
Thanks!
Nikhil
On Mon, Apr 21, 2008 at 11:36 AM, Giri Baleri <mbaleri at xbow.com> wrote:
Here's something I would suggest you to try.
Program your MTS420 sensor Mote with /apps/xmesh/XMTS420 app and
node ID non-zero
Program the Base Mote with /apps/XMeshBase app and node ID=0
Then use XServe or MoteView to read the data.
Giri
________________________________
From: Nikhil Singhal [mailto:nikhil.singhal at gmail.com]
Sent: Sunday, April 20, 2008 11:39 PM
To: Giri Baleri
Cc: tinyos-help at millennium.berkeley.edu; Siirtola Harri
Subject: Re: [Tinyos-help] re: GPS module of MTS420 not working
Hi
I have acquired the MoteWorks SDK and installed the patch as
given on the web page. I'm now running into a problem with actually
getting the data.
I have a MIB520 programming board, a micaZ board and the
MTS420CC GPS mote (with the ublox chip). I installed TestMTS420cc
application (apps/xsensor/XSensorMTS420CC/) on one mote, and attached
the GPS board to it. I then installed XSniffer on another mote, which
stayed hooked up to the computer. I run MoteView with the database
mts420_results, but I don't see any sensor information showing up in the
table. Also, when I tried sniffing the data with XSniffer and xlisten, I
get a stream of data with no fixed size (that xlisten is unable to
parse).
I would really appreciate any help with this as I'm completely
stuck.
Thank you!
Nikhil
On Tue, Feb 19, 2008 at 12:48 PM, Giri Baleri <mbaleri at xbow.com>
wrote:
This patch was written/tested on MoteWorks SDK. I don't
know if it would work seamlessly in any version of TinyOS.
Giri
________________________________
From: Nikhil Singhal [mailto:nikhil.singhal at gmail.com]
Sent: Friday, February 15, 2008 8:55 PM
To: Giri Baleri
Cc: tinyos-help at millennium.berkeley.edu; Siirtola Harri
Subject: Re: [Tinyos-help] re: GPS module of MTS420 not
working
Thanks! I do have the new MTS420CC board. I downloaded
the drivers from the link you sent. I have a question though: Do I need
to load the /opt/tinyos-1.x/contrib/xbow/apps/XSensorMTS400 app or the
/opt/tinyos-1.x/contrib/xbow/apps/xmesh/XMTS420CC app? I get a ton of
compile errors when I try to compile the xmesh one, and the XSensor one
still doesn't give me GPS data when I use XListen. I did change the
SENSORBOARD variable in the XSensor makefile to mts420cc. Is it
possible that I'm using an old version of TinyOS, or am I doing
something incorrectly? This is the output I get:
[2008/02/15 23:35:46]
MTS420 [sensor data converted to engineering units]:
health: node id = 2
battery: = 3278 mv
humidity: = 28 %
Temperature: = 26 degC
IntersemaTemperature: = -78 degC
IntersemaPressure: = -402 mbar
Light: = 0.192361 lux
X-axis Accel: = 533.333333 mg
Y-axis Accel: = 96.446701 mg
[2008/02/15 23:36:06]
MTS420 [sensor data converted to engineering units]:
health: node id = 2
battery: = 3278 mv
humidity: = 28 %
Temperature: = 26 degC
IntersemaTemperature: = -78 degC
IntersemaPressure: = -402 mbar
Light: = 0.486144 lux
X-axis Accel: = 533.333333 mg
Y-axis Accel: = 101.522843 mg
Thanks for all the help!
On Fri, Feb 15, 2008 at 11:36 AM, Giri Baleri
<mbaleri at xbow.com> wrote:
Do you know if you are using MTS420CA/CB or
MTS420CC? The latter has a uBlox GPS receiver and requires newer GPS
drivers. These are available in MoteWorks and an update has been posted
to our knowledgebase.
http://www.xbow.com/Support/wobjectDetail.aspx?id=50160000000KuHhAAK&typ
e=Solution&page=0
If you try to use older GPS drivers with the new
MTS420CC, you might not get GPS data.
If you believe that you have the older board and
are using compatible older drivers, please check your GPS antenna
connections and make sure that it is placed outdoors with optimal sky
visibility.
I hope that helps,
Giri
________________________________
From:
tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Nikhil
Singhal
Sent: Friday, February 15, 2008 3:04 AM
To: Siirtola Harri
Cc: tinyos-help at millennium.berkeley.edu
Subject: Re: [Tinyos-help] re: GPS module of
MTS420 not working
It seems like I am getting all the MTS400 data,
and that there should be a separate packet with the GPS data which, if
is 0x0a packet is the heartbeat, never arrives.
Any ideas?
Thanks!
On Fri, Feb 15, 2008 at 5:43 AM, Siirtola Harri
<Harri.Siirtola at vtt.fi> wrote:
IIRC, the 0x0a packet is the heartbeat
(health) packet that motes send indicating they're alive. Might be that
XListen won't parse it but it's not the source of your problem. The
parsed packet also looks odd, considering there should be some GPS info.
Although it reads MTS420, is the MTS400 app sending all required data?
Sorry, haven't used MTS420 but wrote
just to give something to think about.
Regards,
Harri
________________________________
From:
tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Nikhil
Singhal
Sent: Friday, February 15, 2008 11:38 AM
To: tinyos-help at millennium.berkeley.edu
Subject: [Tinyos-help] re: GPS module of
MTS420 not working
Hi all
In my previous message, I had mentioned
that I was using XListen with a CrossBow MTS420 mote and wasn't getting
any output on the screen. As it turns out, my sensor board was faulty.
I'm using another one now, and I get readings from all the other
sensors, but nothing from the GPS. I have installed the XSensorMTS400
app on the board, and am using TinyOS 1.x. This is the output I get:
[2008/02/15 04:31:31]
error: no packet handler for tos type
0x0a
[2008/02/15 04:31:31]
MTS420 [sensor data converted to
engineering units]:
health: node id = 2
battery: = 3278 mv
humidity: = 28 %
Temperature: = 25 degC
IntersemaTemperature: = 24 degC
IntersemaPressure: = 1011 mbar
Light: = 4.600000 lux
X-axis Accel: = 616.666667 mg
Y-axis Accel: = 116.751269 mg
I'm guessing that the line "error: no
packet handler for tos type 0x0a" might be the problem, but I have no
idea how to fix it. Any help would be highly appreciated!
Thanks!
--
Nikhil Singhal
--
Nikhil
--
Nikhil
--
Nikhil
--
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080421/6a6f65eb/attachment.htm
More information about the Tinyos-help
mailing list