Hello folks,
I´m Building a datalogger, which writes its measurements to SD-Card. The current time is needed to identify the order of the logs and to backtrack the log to the day and hour of creation.
Accuracy is not that important, when it´s reproducable. E.g. idc if my "clock" runs some minutes late as long as it is doing it always. Every 5 minutes a log is written to sd-card, so this determines the reproducability-needs.
Further requirements are positional independance and small footprint.
I have found multiple Solutions to this problem but im unsure which one to choose.
- DCF77 or other time signal senders: position of ferrite antenna determines signal strength -> Other antenna(no space for that), second DCF77-receiver(90° to first one) or servo to turn the antenna(in that case it would be mounted outside of the case looking like a little Radio telescope; funny, but error-prone)
- GPS: You would only need 1 satelite-connection, but IDK if that works in a building.
- GSM: Nitz: you need a sim-card and nitz-coverage is not guaranteed
- RTC: User would have to type in current time. Thats not very appealing. But as a last resort or in conjunction with another sensor, i would choose it. (Reproducabilty can be a problem after some months/years and i can´t take care of summer/winter time because i don´t know the date)
- NTP: There is no reliable Wifi-Connection.
- used "High Precision Rubidium Atomic Clock": too expensive ~ 200 bucks and too big
To my questions:
- How are the chances GPS would work in a building and/or shipping container? (I don´t mean positioning, just time information)
- If it would probably work, how long would it take approximately?
- Are there any unlisted options of gathering the current time?
- Any general and/or to-this-question-specific Pros and Cons of the available options?
P.S.:
Right now I would choose a rtc in conjunction with dcf77-receiver, that syncs the rtc if it works. And when time isn´t reasonable, user will be prompted to enter current time. (In my case unreasonable would be between 18:00 and 8:00 o'clock.)
But i would rather use a GPS module if possible as the user has to know less about operation/maintenance.
Edit 1:
During further research i also came across Radio Data System (RDS), but RTC and GPS are already bought and RTC is even soldered.
GPS works in my building when placing the antenna about a meter from the window. I´m going to update my post, when I make further progress.
Btw my Location is Bavaria/Germany.