I have 3 buoys that need’s a GPS logger,
Each buoy got it’s own raspberry pi 3 and GPS module.
I used gpspipe and for the translation to csv gpsbabel
- set up a GPS logger ,
mkdir ~/gpsdata
vi ~/gpslogger.sh
gpspipe -r -d -l -o /home/pi/gpsdata/data.`date +%F.%H:%M:%S`.nmea
- run the ~/gpslogger.sh using cron to capture data
- to translate the nmea to csv I use gpsbabel <pre>for f in ~/gpsdata/*.nmea; do gpsbabel -t -i nmea -f $f -o unicsv -F - >> ~/uni.csv; echo “$f done”; done</pre>