mikalhart / TinyGPS

A compact Arduino NMEA (GPS) parsing library
http://arduiniana.org
390 stars 257 forks source link

sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long #4

Open Punithpeshva opened 9 years ago

Punithpeshva commented 9 years ago

am using GTPAO10 GPS module with antenna i used your library it will show some values for char and err but not showing any lat or long just shows garbage characters pls help me out

mikalhart commented 9 years ago

Probably a baud rate mismatch? I think GTPAO10 defaults to 9600, but the sample code is 4800.

From: Punithpeshva [mailto:notifications@github.com] Sent: Monday, March 16, 2015 7:10 AM To: mikalhart/TinyGPS Subject: [TinyGPS] sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long (#4)

am using GTPAO10 GPS module with antenna i used your library it will show some values for char and err but not showing any lat or long just shows garbage characters pls help me out

— Reply to this email directly or view it on GitHub https://github.com/mikalhart/TinyGPS/issues/4 .Image removed by sender.

Punithpeshva commented 9 years ago

I changed it to 9600 but end up with same result :( On 17 Mar 2015 02:48, "Mikal Hart" notifications@github.com wrote:

Probably a baud rate mismatch? I think GTPAO10 defaults to 9600, but the sample code is 4800.

From: Punithpeshva [mailto:notifications@github.com] Sent: Monday, March 16, 2015 7:10 AM To: mikalhart/TinyGPS Subject: [TinyGPS] sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long (#4)

am using GTPAO10 GPS module with antenna i used your library it will show some values for char and err but not showing any lat or long just shows garbage characters pls help me out

— Reply to this email directly or view it on GitHub < https://github.com/mikalhart/TinyGPS/issues/4> .Image removed by sender.

— Reply to this email directly or view it on GitHub https://github.com/mikalhart/TinyGPS/issues/4#issuecomment-81946651.

mikalhart commented 9 years ago

Please try to Serial.write() each character coming from the GPS, just to make sure you are getting readable data.

From: Punithpeshva [mailto:notifications@github.com] Sent: Monday, March 16, 2015 8:55 PM To: mikalhart/TinyGPS Cc: Mikal Hart Subject: Re: [TinyGPS] sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long (#4)

I changed it to 9600 but end up with same result :( On 17 Mar 2015 02:48, "Mikal Hart" notifications@github.com wrote:

Probably a baud rate mismatch? I think GTPAO10 defaults to 9600, but the sample code is 4800.

From: Punithpeshva [mailto:notifications@github.com] Sent: Monday, March 16, 2015 7:10 AM To: mikalhart/TinyGPS Subject: [TinyGPS] sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long (#4)

am using GTPAO10 GPS module with antenna i used your library it will show some values for char and err but not showing any lat or long just shows garbage characters pls help me out

— Reply to this email directly or view it on GitHub < https://github.com/mikalhart/TinyGPS/issues/4> .Image removed by sender.

— Reply to this email directly or view it on GitHub https://github.com/mikalhart/TinyGPS/issues/4#issuecomment-81946651.

— Reply to this email directly or view it on GitHub https://github.com/mikalhart/TinyGPS/issues/4#issuecomment-82029331 .Image removed by sender.

mikalhart commented 9 years ago

Make a test loop that just does this:

void loop()

{

if (ss.available() > 0)

  Serial.write(ss.read());

}

Assuming you have all the baud rates correctly set up for ss and Serial, this should print readable characters on the serial monitor.

From: Punithpeshva [mailto:notifications@github.com] Sent: Tuesday, March 17, 2015 3:10 AM To: mikalhart/TinyGPS Cc: Mikal Hart Subject: Re: [TinyGPS] sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long (#4)

Sorry I didn't get using serial.write where the data will be written I have used serialprint bt not write sorry that's why asked and thank you so much for your concern and reply And one doubt if device is not getting readable data means what's the fault may be?? On 17 Mar 2015 08:57, "Mikal Hart" notifications@github.com wrote:

Please try to Serial.write() each character coming from the GPS, just to make sure you are getting readable data.

From: Punithpeshva [mailto:notifications@github.com] Sent: Monday, March 16, 2015 8:55 PM To: mikalhart/TinyGPS Cc: Mikal Hart Subject: Re: [TinyGPS] sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long (#4)

I changed it to 9600 but end up with same result :( On 17 Mar 2015 02:48, "Mikal Hart" notifications@github.com wrote:

Probably a baud rate mismatch? I think GTPAO10 defaults to 9600, but the sample code is 4800.

From: Punithpeshva [mailto:notifications@github.com] Sent: Monday, March 16, 2015 7:10 AM To: mikalhart/TinyGPS Subject: [TinyGPS] sir am using GTPA010 GPS module with arduino uno am getting character and err but not getting any lat or long (#4)

am using GTPAO10 GPS module with antenna i used your library it will show some values for char and err but not showing any lat or long just shows garbage characters pls help me out

— Reply to this email directly or view it on GitHub < https://github.com/mikalhart/TinyGPS/issues/4> .Image removed by sender.

— Reply to this email directly or view it on GitHub https://github.com/mikalhart/TinyGPS/issues/4#issuecomment-81946651.

— Reply to this email directly or view it on GitHub < https://github.com/mikalhart/TinyGPS/issues/4#issuecomment-82029331> .Image removed by sender.

— Reply to this email directly or view it on GitHub https://github.com/mikalhart/TinyGPS/issues/4#issuecomment-82072223.

— Reply to this email directly or view it on GitHub https://github.com/mikalhart/TinyGPS/issues/4#issuecomment-82194632 .Image removed by sender.

Punithpeshva commented 9 years ago

when i use serial.Write its just shwoing "9999"