logging GPS Data directly on my laptop

Hi everyone,

I am currently running an individual project which involves getting my gps position and use it afterward. I am using the Adafruit GPS shield with an Arduino Uno, that i have directly plugged to my laptop to read off the data.
I would like to store the GPS data into a file on my laptop while the GPS is running.
As well i would like the file content to be uopdated so that i only keeps the last two set of gps data (lattitude, longitude, altitutde and speed) in it. (I suppose every time we update a new GPS data set, we would erase the first line of the file, so that the second line of the file would become the first one, and then we would update the new set of data)

I am not very good with Arduino sensors and coding so any help is welcome :slight_smile:

Thanks !!

My NeoGPS library has several examples that can be used to save in a file on a host PC. The default output format is CSV, which is easy to import to a spreadsheet for analysis. NeoGPS is smaller and faster than all other libraries, and it retains the full accuracy of your GPS device (see NMEAloc and NMEAdistance examples).

If you'd be ok with having a file with all the locations, many Terminal Emulator programs have a logging ability. The Serial Monitor window that comes with the IDE is actually a terminal emulator. You could start any terminal emulator instead of opening the Serial Monitor window.

If not, you'll need to write an application for the PC.

If you'd like to store the locations even when the PC isn't connected, you could write them to an SD card (see NMEASDlog.ino example).

Cheers,
/dev