GPS datalogger for raspberry pi

Eran Goldman-Malka · March 7, 2017

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

  1. 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
  1. run the ~/gpslogger.sh using cron to capture data
  2. 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>

Twitter, Facebook