PROBLEM WITH HYDRA AND GPS Module -.NET Gadgeteer Compatible

Hi to all,
we develop on Hydra board with GPS module and we used a plublic gps driver (downloaded from gadgeteer.codeplex.com).

We write some codes and the module works, but the gps position is always “$GPRMC,V,N*53”.
We move gps module outside the house with clear sky but nothing.
We try to using the car to move the module around the house but nothing.

The complete log are the follow:
GPS : $GPRMC,V,N53
GPS : $GPVTG,N
30
GPS : $GPGGA,0,00,99.99,48
GPS : $GPGSA,A,1,99.99,99.99,99.99
30
GPS : $GPGSV,1,1,0079
GPS : $GPGLL,V,N
64

We used a public driver downloaded from gadgeteer.codeplex.com/SourceCon … changesets
We connect the module on socket 7 and for other test on socket 4
Is there something wrong?
We are alone with this problem?

Thanks for supports

Dear customer,

This situation I also have been met before.

But you still need to testing the GPS module, with serial tools or U-blox software, make sure it is working correctly.

Then should be consider about your codes.

I just spent much time to test with the libraries, at last find our it is might be SD card libraries speed not enough for log the signal.

So I turn it to FAT16 libraries, and it is success.

Here is GPS WIKI and it is for Stalker code.
seeedstudio.com/wiki/index.p … ed_Antenna

You can refer to and hope can help you.

Best regards,

Yuri

Thanks for reply,
but we bought this module gadgeteer.codeplex.com/ sit. This is the right code or we adatpt it for our module? How we can test if the module works right op hydra?
We log on debug output windows , not on sd card.
We try to find a documentation how to implement the gps module on .net gadgeteer compatbile board to check if all pin are ok or there is something errors in code. Can you help us?

Thanks for supports
bye

Dear customer,

It is something missing, so you can try to use this code.

namespace GPSTestApp
{
public partial class Program
{
GTM.Seeed.GPS gps;

    void ProgramStarted()
    {
        /******************************************************************************************
        Access modules defined in the designer by typing their name:                            
        
        e.g.  button
              camera1

        Initialize event handlers here.
        e.g. button.ButtonPressed += new GTM.MSR.Button.ButtonEventHandler(button_ButtonPressed);             
        ***************************************************************************************** */

        gps = new GTM.Seeed.GPS(8);
       // gps.DebugPrintEnabled = true;
        gps.InvalidPositionReceived += new GTM.Seeed.GPS.InvalidPositionReceivedHandler(gps_InvalidPositionReceived);
        gps.PositionReceived += new GTM.Seeed.GPS.PositionReceivedHandler(gps_PositionReceived);
        gps.NMEASentenceReceived += new GTM.Seeed.GPS.NMEASentenceReceivedHandler(gps_NMEASentenceReceived);

        GT.Timer timer = new GT.Timer(5000);
        timer.Tick += new GT.Timer.TickEventHandler(timer_Tick);
        timer.Start();

        // Do one-time tasks here
        Debug.Print("Program Started");
    }

    void timer_Tick(GT.Timer timer)
    {
        Debug.Print("GPS last position " + gps.LastPosition + " age  " + gps.LastValidPositionAge);
    }

    void gps_InvalidPositionReceived(GTM.Seeed.GPS sender)
    {
        Debug.Print("Invalid position");
    }

    void gps_PositionReceived(GTM.Seeed.GPS sender, GTM.Seeed.GPS.Position position)
    {
        Debug.Print(position);
    }

    void gps_NMEASentenceReceived(GTM.Seeed.GPS sender, String nmeaSentence)
    {
        Debug.Print("gps_NMEA: " + nmeaSentence + "\n");
    }
}

}

you can refer to this code

Thanks for code.
we try your code, but the the module not works.
The logs are the follow:
gps_NMEA: $GPTXT,01,01,02,u-blox ag - u-blox.com*50
gps_NMEA: $GPTXT,01,01,02,HW UBX-G60xx 00040007 FF7FFFFFp53
gps_NMEA: $GPTXT,01,01,02,ROM CORE 6.02 (36023) Oct 15 2009 16:52:08
56
gps_NMEA: $GPTXT,01,01,02,ANTSUPERV=AC SD PDoS SR20
gps_NMEA: $GPTXT,01,01,02,ANTSTATUS=DONTKNOW
33
gps_NMEA: $GPRMC,V,N53
GPS : $GPRMC,V,N
53
Invalid position
gps_NMEA: $GPVTG,N30
gps_NMEA: $GPGGA,0,00,99.99,48
gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99
30
gps_NMEA: $GPGSV,1,1,00
79
gps_NMEA: $GPGLL,V,N64
gps_NMEA: $GPRMC,V,N
53
GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30
gps_NMEA: $GPGGA,0,00,99.99,48
gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99
30
gps_NMEA: $GPGSV,1,1,0079
gps_NMEA: $GPGLL,V,N
64
gps_NMEA: $GPTXT,01,01,02,ANTSTATUS=INIT25
gps_NMEA: $GPRMC,V,N
53
GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30
gps_NMEA: $GPGGA,0,00,99.99,48
gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99
30
gps_NMEA: $GPGSV,1,1,0079
gps_NMEA: $GPGLL,V,N
64
gps_NMEA: $GPTXT,01,01,02,ANTSTATUS=OK3B
gps_NMEA: $GPRMC,V,N
53
GPS : $GPRMC,V,N*53

This message are logs after more than 1 hour of clear sky.
Where we are wrongs?
Is there a place where I can download a seeed’s gps board documentation to check if the pins to set in the drivers are right?
Actually, the driver, set pin 3 for power and pin 6 to set a unknown gpsExtInt variable.
Can you explain us the correct procedure?

Thanks for reply

I tested the module with another antenna but the result is the same.

Have you any ideas?

Thanks for reply

Hi!

I have exactly same problem. If I’m using the NEMEA events, it keeps logging empty positions. Like this:

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

GPS last position NO POSITION FIX age 10675199.02:48:05.4775807
gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,01,05,28*77

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

gps_NMEA: $GPRMC,V,N*53

GPS : $GPRMC,V,N53
gps_NMEA: $GPVTG,N
30

gps_NMEA: $GPGGA,0,00,99.99,*48

gps_NMEA: $GPGSA,A,1,99.99,99.99,99.99*30

gps_NMEA: $GPGSV,1,1,00*79

gps_NMEA: $GPGLL,V,N*64

The point is, if I’m using the PositionReceived event, it never gets fired, since seems that the positions are not fixed on the module.

So, Seeed. We are having same problem.

Is there any solution for this? We need a replacement or even a refund for this modules if it don’t work.

Waiting to hear from you ASAP…

Gutemberg Ribeiro
RFine CTO

Just to complete, I’ve tried same sample either in Hydra or Spyder with same result…