Close

More firmware developments

A project log for GPS Clock

A simple desk clock that gets extremely accurate time from GPS

nick-sayerNick Sayer 12/12/2016 at 15:260 Comments

The firmware now has support for DST with U.S., European and Australian rules. This, in addition to being able to support any hour offset from -12 to +12 hours from GMT gives the clock a wide ability to be used around the world.

I'm mulling over whether to add a tenths digit or not. Now that I've added one of the timers back, the way it would be done would be to measure the number of system ticks between adjacent seconds and use that measurement to interpolate the tenths. I'm contemplating it because I took a slow-motion video of the clock with my phone and even slowed down there was no trace at all of any display flicker. The display is supposedly updating at something like 700 kHz... maybe we can do a tenth digit after all.

But that will require hardware changes not only to add the next digit, but also to reroute the PPS from the INT0 pin to the timer's ICP pin. That's easy to do, but it does mean spinning a new board. I'm not sure I'll get to that before the end of the 1K contest (support for tenths wouldn't fit in any event).

Discussions