GPS Shield log file date

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
wesg
 
Posts: 118
Joined: Thu Mar 18, 2010 10:00 pm

GPS Shield log file date

Post by wesg »

I'm using the GPS logger for a data visualization project, and the data acquisition component of that requires me to leave the box in my car for a long time. Each time I drive the shield creates a new file but the file dates on them aren't accurate. Yes, they're named in order, but I'd also like to be able to sort by date to find exactly which file I need.

Interestingly, I have a single file that does have the correct date. How can I ensure the correct dates are set for the other files?


User avatar
wesg
 
Posts: 118
Joined: Thu Mar 18, 2010 10:00 pm

Re: GPS Shield log file date

Post by wesg »

Thanks, ada support! Next time I'll learn to use the search. The shield itself doesn't seem to have an RTC, but does the Arduino board?

User avatar
adafruit_support_bill
 
Posts: 88089
Joined: Sat Feb 07, 2009 10:11 am

Re: GPS Shield log file date

Post by adafruit_support_bill »

You should be able to get the time-stamp from the GPS. If it makes it easier, you could use that to initialize "SoftRTC" using RTCLib.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”