Raspberry Pi / Ultimate GPS / Built in Data Logging
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Raspberry Pi / Ultimate GPS / Built in Data Logging

by si77 on Fri Jun 28, 2013 11:55 am

I have the GPS working fine using the UART and this extremely useful guide here - http://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi. I can view the current data using the 'cgps -s' command. Only advice I would give here is that on the initial 'boot' of the GPS, I did have to be patient and wait a good 5 mins.
Unfortunately I am currently in the North Sea (I live in Scot-land so close!). I'm indoors by a window so perhaps an antenna may provide more accuracy?

However the only issue I'm having is issuing the "Start Logging command", as per text - http://www.adafruit.com/products/746 & http://learn.adafruit.com/adafruit-ultimate-gps/built-in-logging.

Do I have to issue this within a python script? If so, what is the command? And how do I retrieve the log afterwards?

Any tips would be appreciated!


PS - Apparently Scot-land (without the dash!) is a spam word according to this forum?!?!
Posts: 1
Joined: Fri Jun 28, 2013 11:43 am

Re: Raspberry Pi / Ultimate GPS / Built in Data Logging

by mike808 on Tue Jul 02, 2013 9:51 pm

I'd be interested in this as well, but I'm using C++. What is the API to start/stop/retrieve the log? I have mine hooked using the hardware UART on the pi. I was able to get it working using gpsd, but am curious about this log. I have pictures on my blog if that helps. http://pauhanafun.blogspot.com
User avatar
Posts: 55
Joined: Sat May 25, 2013 10:22 pm

Re: Raspberry Pi / Ultimate GPS / Built in Data Logging

by adafruit_support_mike on Wed Jul 03, 2013 12:19 am

@mike808: Check out the sample code here: http://www.adafruit.com/datasheets/Locu ... e_Code.zip . It's in C, and should at least give you some ideas on how things work.

@si77: The page you linked is from the tutorial for using the GPS module with an Arduino. The code on that page is mostly C, but calls functioned defined in the Arduino libraries or in the library we wrote to support the GPS module: https://github.com/adafruit/Adafruit-GPS-Library

You can both get a Whole Lot More Information at the GPSD website: http://www.catb.org/gpsd/
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.

Posts: 15849
Joined: Thu Feb 11, 2010 2:51 pm