Raw data from GPS receiver

  • Context: Engineering 
  • Thread starter Thread starter wacki
  • Start date Start date
  • Tags Tags
    Gps Project
Click For Summary

Discussion Overview

The discussion revolves around obtaining raw GPS data for a school project, with a focus on the challenges of accessing such data from consumer devices like iPhones and potential alternatives using GPS modules with microcontrollers. Participants explore the limitations of available applications and the formats of data provided by GPS receivers.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses a desire to collect raw GPS data from an iPhone but struggles to find an appropriate app to do so.
  • Another participant explains that obtaining raw GPS data requires correlators and multiple channel receivers, which are built into GPS receiver modules.
  • It is noted that GPS receivers produce serial data strings every second, formatted according to the NMEA standard, which provides processed data in a human-readable form.
  • Some participants assert that iOS does not allow access to raw GPS data, while Android may offer this capability, though no specific applications are mentioned.
  • GPS modules for Arduino and Raspberry Pi are suggested as practical alternatives for accessing GPS data, with some modules supporting vendor-specific protocols for raw data.
  • Participants discuss the affordability of GPS modules, with some priced under $10, and their potential use in educational projects.
  • There is a sentiment that many consumer apps do not provide useful access to raw GPS data, as most users are only interested in processed location coordinates.
  • Clarification is provided that low-cost GPS modules typically only produce NMEA sentences and not raw GPS data, unless more expensive options are used.

Areas of Agreement / Disagreement

Participants generally agree on the limitations of consumer devices in accessing raw GPS data and the utility of GPS modules for educational purposes. However, there is no consensus on the availability of applications that can provide the desired raw data from iPhones or Android devices.

Contextual Notes

Participants note that raw signal data is not part of the NMEA standard and that not all GPS modules support access to raw data, which may depend on specific vendor protocols.

Who May Find This Useful

This discussion may be useful for students, educators, or hobbyists interested in GPS technology, data collection methods, and the practical applications of GPS modules in projects.

wacki
Messages
21
Reaction score
3
Homework Statement
Calculation of my own position from GPS raw data
Relevant Equations
Just raw data required
I have a school project about GPS and would like to get some GPS “raw data” and then determine my position. There are nice and very detailed descriptions in the net how to perform the calculations, but I have a problem to get some real “raw data”. Ideally, I would collect my own “raw data” e.g. read out some data from my iPhone (I haven't found any appropriate app for that).

It might be naïve, but I’m dreaming of some “raw data” in human readable form like a table with an entry for each received satellite signal e.g.

Satellite No, Signal Arrival Time, x , y , z (where x,y,z are the current Cartesian coordinates of the satellite)

I can live with other human readable formats as long as the conventions are clear as well

So far I haven’t even found some “real life” example data (observed from an arbitrary point on earth), but my own “real life raw data” would make the project really more tangible and personal.

All help greatly appreciated!!
 
Physics news on Phys.org
The problem is that you need correlators and multiple channel receivers to get the raw data. That is built into the GPS receiver module.
The GPS receivers produce a string of serial data every one second.
There are many different strings you can use to communicate with the GPS receiver, to obtain additional data, or to change the mode of operation.
That contains all the processed data you need in human-readable form.
The formatting of the data follows a NEMA standard.
https://www.gpsworld.com/what-exactly-is-gps-nmea-data/
https://www.academia.edu/37808562/GPS_Data_formats_An_Introduction_NMEA_format
 
Last edited:
wacki said:
Ideally, I would collect my own “raw data” e.g. read out some data from my iPhone (I haven't found any appropriate app for that).

I am pretty sure iOS does not make raw GPS data available to applications so that is not possible.

In theory this is possible in Android but I am not aware of any application that is available.

There are GPS modules available for Arduino/Raspberry Pi etc. and this is the only practical way to access the data you are looking for. Note that raw signal data is not part of the NMEA standard and not all modules support it: those that do use vendor-specific protocols such as ublox's UBX.

wacki said:
I have a school project
When you say "school", what level is this (I notice you were asking questions about QM and GR 10 years ago)?
 
  • Informative
Likes   Reactions: berkeman
Baluncore said:
The problem is that you need correlators and multiple channel receivers to get the raw data. That is built into the GPS receiver module.
The GPS receivers produce a string of serial data every one second.
There are many different strings you can use to communicate with the GPS receiver, to obtain additional data, or to change the mode of operation.
That contains all the processed data you need in human-readable form.
The formatting of the data follows a NEMA standard.
https://www.gpsworld.com/what-exactly-is-gps-nmea-data/
https://www.academia.edu/37808562/GPS_Data_formats_An_Introduction_NMEA_format
Thanks a lot for your comment and the 2 links for the NEMA standard!
When I said "raw data" of course I was thinking of pre processed data. Something like the the communication string (in NEMA standard) you mention.
If the The GPS receivers would produce such a string that would be wonderful, but my iPhone doesn't seem to expose this data.
 
GPS modules are low cost, less than $10, and can be connected through a microcontroller, that can be programmed to read (and write) the NEMA strings, to display, or to send that data to a personal computer.

Search 'Raspberry Pi GPS' or 'Arduino GPS' to see ways of reading the NEMA strings or making your own navigation system.

https://discussions.apple.com/thread/252823306?sortBy=rank
 
  • Like
Likes   Reactions: FactChecker
pbuk said:
I am pretty sure iOS does not make raw GPS data available to applications so that is not possible.

In theory this is possible in Android but I am not aware of any application that is available.

There are GPS modules available for Arduino/Raspberry Pi etc. and this is the only practical way to access the data you are looking for. Note that raw signal data is not part of the NMEA standard and not all modules support it: those that do use vendor-specific protocols such as ublox's UBX.


When you say "school", what level is this (I notice you were asking questions about QM and GR 10 years ago)?
Thanks for your hint. I might try it with the Samsung of a friend of mine.

You are very observant, indeed my school days are over :cool: . I'm supposed to supervise a GPS project at my daughter's school. But I wanted to make it fun (real life data not data from years ago, data of our own position not a random place on earth, using "kind of raw data" but without boring data pre processing). With GPS there is a lot to learn about geometry and iterative solutions of simultaneous equations.
I'm totally baffled by the fact that there are so many useless apps on the iPhone but none that let's you explore the GPS data in a sensible way.
 
  • Like
Likes   Reactions: pbuk
Baluncore said:
GPS modules are low cost, less than $10, and can be connected through a microcontroller, that can be programmed to read (and write) the NEMA strings, to display, or to send that data to a personal computer.

Search 'Raspberry Pi GPS' or 'Arduino GPS' to see ways of reading the NEMA strings or making your own navigation system.

https://discussions.apple.com/thread/252823306?sortBy=rank
Wow, just 10 bugs sounds affordable. Thanks a lot for this hint!!
I'm now convinced that I'll never get the data I want from the iPhone (with so many useless apps from the app store)
 
wacki said:
I'm totally baffled by the fact that there are so many useless apps on the iPhone but none that let's you explore the GPS data in a sensible way.

wacki said:
I'm now convinced that I'll never get the data I want from the iPhone (with so many useless apps from the app store)

Why are you so surprised? Most end-users are only interested in the location coordinates processed from the GPS data. Just as most end-users are only interested in the texts, voice transmissions, and webpages processed by the phone, not the raw digital streams. You're expecting way too much from a consumer end-user device.
 
Baluncore said:
GPS modules are low cost, less than $10, and can be connected through a microcontroller, that can be programmed to read (and write) the NEMA strings, to display, or to send that data to a personal computer.

Search 'Raspberry Pi GPS' or 'Arduino GPS' to see ways of reading the NEMA strings or making your own navigation system.

https://discussions.apple.com/thread/252823306?sortBy=rank
For clarification, the $10 GPS modules only produce NMEA sentences, not the raw GPS data (unless anyone knows different - there may be stuff available direct from Chinese markets that does more).

These cheap GPS units are fantastic, I use them instead of real time clocks as they are cheaper and more accurate and can particularly recommend those based on the Grove Air530 module (although the documentation is in Chinese it can easily be translated via an online translation service, or pre-translated versions are available on the interweb). But for a school project this wouldn't be very useful as all you can do is echo the position data NMEA sentences.

If you want raw GPS data (and this would make an excellent high school project) then you need to spend a little more: e.g. about USD 50 for something based on the ublox chip I mentioned earlier.

wacki said:
I'm totally baffled by the fact that there are so many useless apps on the iPhone but none that let's you explore the GPS data in a sensible way.

This is Apple's choice - the data is simply not exposed to applications.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
7K
Replies
19
Views
6K
Replies
1
Views
3K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K