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:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 8:55 PM
To: Giri Baleri
Cc: [email protected]; 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nikhil
Singhal
        
        Sent: Friday, February 15, 2008 3:04 AM
        To: Siirtola Harri
        Cc: [email protected]
        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
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nikhil
Singhal
                Sent: Friday, February 15, 2008 11:38 AM
                To: [email protected]
                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 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to