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/
Locked
User avatar
si77
 
Posts: 1
Joined: Fri Jun 28, 2013 11:43 am

Raspberry Pi / Ultimate GPS / Built in Data Logging

Post by si77 »

I have the GPS working fine using the UART and this extremely useful guide here - http://learn.adafruit.com/adafruit-ulti ... spberry-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-ulti ... 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!

Regards
Simon

PS - Apparently Scot-land (without the dash!) is a spam word according to this forum?!?!

User avatar
mike808
 
Posts: 74
Joined: Sat May 25, 2013 10:22 pm

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

Post by mike808 »

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
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

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

Post by adafruit_support_mike »

@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/

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”