0

How to get only latitude and longitude from Adafruit Ultimat
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to get only latitude and longitude from Adafruit Ultimat

by JerrySK on Tue Feb 13, 2018 12:04 pm

Hi. First of all I am new to Arduino and not good in programming. For my project I need my device's location information. For that I am using Arduino YUN and Adafruit Ultimate GPS Breakout V3. I am using leo_echo program from the adafruit_gps library. Now when I am using
Code: Select all | TOGGLE FULL SIZE
mySerial.println(PMTK_SET_NMEA_OUTPUT_ALLDATA);
I am getting full NMEA data.
But I need only the latitude and longitude information and nothing else. So, can anyone please help me out this? Is there any command that will only return me GPS data in (lat, long) format?

JerrySK
 
Posts: 1
Joined: Tue Feb 13, 2018 11:51 am

Re: How to get only latitude and longitude from Adafruit Ult

by asteroid on Wed Feb 14, 2018 12:51 am

You might be able to get some source code from this Adafruit website: https://learn.adafruit.com/adafruit-ultimate-gps/parsed-data-output

asteroid
 
Posts: 281
Joined: Tue Oct 22, 2013 9:10 pm

Please be positive and constructive with your questions and comments.