Hi!
I am trying to get a gps location with a GPS module (Link to Bangood) using a arduino nano. I have tried a couple of libraries like TinyGPS, TinyGPS++ and Gpsneo (with google) but nothing works... When I try this code:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(4, -1); // RX, TX
void setup()
{
// Open serial communications
Serial.begin(9600);
Serial.println("Neo6M GPS module test code");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}
void loop()
{
if (mySerial.available())
{
Serial.print(char(mySerial.read()));
}
}
I get this output:
Neo6M GPS module test code
99.99,99.99,99.99*30
$GPGSV,1,1,00*79
$GPGLL,,,,,,V,N*64
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPGSV,1,1,00*79
$GPGLL,,,,,,V,N*64
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPGSV,1,1,00*79
$GPGLL,,,,,,V,N*64
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
Thanks beforehand!
Best regards Max