Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Data Format of GPS Module

Status
Not open for further replies.

K2DGR8

Junior Member level 3
Joined
Sep 23, 2011
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,503
What is the Data Format of a GPS Module, connected serially to 8051?
The o/p of GPS consists of many more data. But I want only Lat./Long. information from it.
How can I do it?
 

K2DGR8,

It depends on the module, but most current ones support standard NMEA183 output. You'll set up the GPS to output the
sentence of your choice (for instance, for lat/long, you would pick the GGA or RMC sentences). From there it's just a matter
of reading in the string and parsing it in your 8051, picking out the lat/long data).

Here is an example of the data you'll be dealing with, in this case using the RMC string:

$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A

Where:
RMC---------------------------Recommended Minimum sentence C
123519------------------------Fix taken at 12:35:19 UTC
A------------------------------Status A=active or V=Void.
4807.038,N--------------------Latitude 48 deg 07.038' N
01131.000,E-------------------Longitude 11 deg 31.000' E
022.4--------------------------Speed over the ground in knots
084.4--------------------------Track angle in degrees True
230394-------------------------Date - 23rd of March 1994
003.1,W------------------------Magnetic Variation
*6A----------------------------The checksum data, always begins with *

Here are a couple of links to get you started:

NMEA 0183 - Wikipedia, the free encyclopedia

NMEA data
 
  • Like
Reactions: K2DGR8

    K2DGR8

    Points: 2
    Helpful Answer Positive Rating
Gothrough this attached artical
Hopefully it will help you .

if you found any problem or have query ,dont hasitate to ask !!!!!!!!!!!!!!!
 

Attachments

  • NMEA Reference Manual1.pdf
    658.7 KB · Views: 121

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top