Go Down

Topic: GPS Question (Venus GPS module) (Read 2722 times) previous topic - next topic


Hi all,

I have the following GPS mmodule:


Connected to an Arduino Mega with the following code:

Code: [Select]
#include <string.h>
#include <ctype.h>
#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

char CharIn;    //character string length 55 chars

void setup() {
  Serial.begin(9600);  // Start serial to host computer
  Serial1.begin(9600);   // Start serial to GPS

void loop() {
  Serial1.print("A0 A1 00 09 08 00 00 00 00 00 01 00 00 08 0D 0A");

  while ( Serial1.available() > 0 )       // if data is available to read
    CharIn = Serial1.read();

I have 2 questions, Firstly...

Is it possible to write to the GPS module such that the serial output is in my desired format rather than having to specify Serial1.print("A0 A1 00 09 08 00 00 00 00 00 01 00 00 08 0D 0A"); ?


All I want to display on the LCD is "  010.2,K      Ground speed, Kilometers per hour" from the $GPVTG.

Is it possible to specify somewhere (either in the Arduino code or on the GPS module) that is should only output $GPVTG ?

Using the configuration manual:


I have tried to disable all except the VTG (<0xA0,0xA1>< PL><08>< message body><CS><0x0D,0x0A>) via  Serial1.print...

However the output is as follows:

Code: [Select]

Is the first line always transmitted? ($GPGGA,175514.999,2400.0000,N,12100.0000,E,0,00,0.0,0.0,M,0.0,M,,0000*63)

Is the output correct? (I have no way to move the module to see if the velocity >0), if so will I just have to add some code to remove the extra characters?

Many thanks!


Looks ok to me... but I don't know what you asked it to do and did not look...

You don't have to go for a walk... unless you have a very stable signal you will get some "apparent movement" and hence a velocity.

Just wait for a while I suspect that you will have about a 10 meter radius of positions within an hour.

The DOP will tell you after a while .... (Dilution of Position).

We use GPS trackers in our business.... so I see these files a bit.

Go Up