I am building a project with my daughter using the Adafruit Mini GPS PA1010D. The idea was to use the GPS to grab time wherever it may be and have the RTC hold it so when the project is indoors it still keeps the time.
However - I'm not sure this unit has an RTC - when I pull power and plug it back in, the RTC time shows 1/1/2000 - I've set the RTC using rtc.datetime = gps.datetime when I have a fix.
The learn guide doesn't mention the RTC feature other than to say to solder the battery holder on. The NPI video from Limor doesn't mention the RTC and the data sheet says it retains the satellite fix data - but doesn't mention the RTC
Perhaps I am doing something wrong? But I think the guide and description are misleading calling it an RTC
Has anyone gotten it to be an RTC?
RTC not working for Adafruit Mini GPS PA1010D
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- jwtadmin
- Posts: 53
- Joined: Thu Jan 07, 2016 2:50 pm
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: RTC not working for Adafruit Mini GPS PA1010D
The GPS module has an internal RTC, but you can't set it. The GPS firmware uses the clock to estimate locations of the satellites, and sets the clock every second when it has a fix.
The internal RTC continues to run when the module doesn't have a fix, to make it easier to estimate satellite positions when it tries to get a fix the next time. The clock runs from the coin cell when the main power source is disconnected. There's still no interface to set it.
If you want a parallel RTC, you'll want something like the DS3231:
https://www.adafruit.com/?q=DS3231&sort=BestMatch
The internal RTC continues to run when the module doesn't have a fix, to make it easier to estimate satellite positions when it tries to get a fix the next time. The clock runs from the coin cell when the main power source is disconnected. There's still no interface to set it.
If you want a parallel RTC, you'll want something like the DS3231:
https://www.adafruit.com/?q=DS3231&sort=BestMatch
- jwtadmin
- Posts: 53
- Joined: Thu Jan 07, 2016 2:50 pm
Re: RTC not working for Adafruit Mini GPS PA1010D
Thanks for the confirmation - might be a good thing to add this to the product description and the learn guide since there isn't a full explanation of the RTC features of the mini gps.
Please be positive and constructive with your questions and comments.