Our favorite Soviet-Era display that found its way into a present-day kit now displays time from orbiting satellites. A GPS module patched into an Ice Tube Clock with modified firmware will be able to provide a satellite-synced time. The firmware, modified by yours truly, parses the GPS module’s NMEA RMC sentences for the time and date information and then updates the clock’s time and date. Fun was had making sure the alarm went off at the correct times when the time was updated by the GPS. Overall, it was a fun project and we look forward to seeing additional Ice Tube Clock hacks.
22 thoughts on “Ice Tube Clock GPS”
Nice job, but wouldn’t it have been cheaper, easier, and more practical/accurate to sync up with an atomic clock? I seem to recall HaD running a simple project that used one of the atomic clock radios; the module only cost something like $10 and was exceptionally easy to interface with.
Bonus points for style using GPS, but certainly a downside to this build is that it won’t work unless near a window with a clear view of the sky.
with all projects, it’s about trade offs. you can use an atomic clock but for some people they do not work in many areas, and the there are many things to design around depending on the project –
here’s a project that details some of the challenges (interference, grounding, shielding, antennae needed, etc)
for the gps it’s just getting time so the same type of fix isn’t required, we’re using ours in nyc, works great.
all that said, it’s an open source hardware project – we expect there to be a variety of hacks and mods, from gps to atomic.
The next feature to add would be time zone adjustment based on current location. “Never set your clock for anything again!”
This has the added bonus of being easily hackable. How many people have issues with old clocks, VCRs, etc, because they had incorrect Daylight Savings Time dates, and I couldn’t find a way to correct it? That changeover in the US was maddening! I still have to go across the street to reset my neighbor’s VCR twice a year. The date only goes up to 2010 on it now, so I’ve had to loop back as well.
@MS3FGX: I can pick up GPS in the middle of my house with no direct line of sight to the sky. I have a Garmin GPS18 USB and a Moto Droid, both of which get good signal. Just check your position first.
Plus, with this hack, you can run a wire to the window, or if you’re really fancy, use a solar panel and a wireless transmitter to get it inside the house.
As one of the few lucky to not have to deal with DST (arizona), I hate when auto-set clocks don’t have the option to turn it off.
Anyway, that display is awesome looking.
VCR? wow… do they also have a hand crank phonograph?
Operator Give me Falco 6 9000…..
Dang it I left me bloomers at the cleaners!
@MS3FGX, and to clarify what pt said:
The GPS module, once it has received a time and date from the system, will keep time without a fix as long as its RTC is powered. In testing, I placed the clock and GPS in a cast iron dutch oven and it still kept time.
Well sure, it will keep time without a GPS lock…but it is just using the RTC on the chip which is no more or less accurate than any other RTC chip you could plug into this device. So what would be the advantage there? You might as well just add the ability to set the time over serial from a computer and let the onboard RTC run with it. Unless you are getting constant drift adjustments, there is no point. So the GPS module must always have a good lock to maintain accuracy.
I have experimented with using GPS time on my server over NTP in the past, and found that the biggest problem was that the time accuracy seemed to change with lock quality. It looks like your code simply makes the assumption that if the date is set right, so will the time. But in practice (at least with my hardware) I noticed drifts of several minutes when the GPS had only a few locked satellites compared to a full lock.
That said, when it did work, accuracy with GPS was pretty good. Looked to be somewhat more accurate than NTP when you consider network latency delays. But overall I found it not worth the trouble, so scrapped the whole thing.
The iGoogle widget is showing the full size pic without expanding this article, blows out the whole page layout. Just sayin’.
…oh yeah, and also, anyone having this same problem, go to the [v] menu and “minimize this gadget” to fix the layout until this article gets fixed or moves off the page.
Does it take Leap Seconds into account?
it is sad that gps doesn’t work indoor
Hey that’s pretty neat, but shouldn’t you be getting your time from GLONASS?
@MS3FGX: Since GPS requires a particularly good clock, I suspect that the RTC on the GPS module is likely quite a bit more accurate than the cheap one in the clock itself. But who knows…
If your GPS was drifting by minutes something was more wrong than reception, I reckon. If the GPS is decoding any satellites at all it will be getting the full UTC time code. If it’s unable to decode them, it shouldn’t be using a partially decoded signal, and it certainly shouldn’t drift any more than a normal RTC.
GPS itself should be quite a bit more accurate than decoding a radio time signal like WWV, but you really need a receiver designed for timing that outputs a 1PPS signal to get to the few-us accuracy that is possible. Just going by NMEA timing most receivers are only spec’d within 50ms or something, which isn’t very good. NTP can probably do better with a stable network against a stratum 1 server.
But does it matter? The clock only displays time anyway, it’s not like it’s some kind of precision measuring device, so in the end I agree: cheaper = better in this situation :P
heh.. i bought a bunch of these tubes a little while ago.
Maybe mount some on a bicycle wheel and make a “VFDPOV” ? :-)
thats how mil tac comm gets time
I bought a lot of 5 tubes several months back, I really need to break them out one day.
i have one of those gps modules.. pretty sure. its on a board, theres that one, then one for Rx and one for Tx. guess i couldnt just rip it off and wire it up..
What a cool project!
It even looks like it should! ;)
I like the idea of combining a couple of different schemes for the “never set again ever” clock idea too…and with Nixies! :D
Nice! I happen to have just picked up a bare Ice Tube PCB just this week and should have some IV-18s on the way _and_ I have a couple of vehicle-embedded GPS pods that would all play nice together. I’ll have to see about grabbing the new firmware and hacking on it.
Perfect timing. Thanks!
I’ve been thinking of adding this to my own Nixie clock build. It seems like it’d be easier and have fewer potential pitfalls than trying to build a VLF receiver for WWVB.
What’s a good source for inexpensive GPS modules?
As an aside, I think an interesting coding exercise would be to use GPS time to “rate” an internal crystal oscillator and slew it to the correct time, kind of like NTP does, so you could get consistently accurate time with no abrupt jumps. In theory, if you save the correction factor in non-volatile RAM, this should create a clock that gets more accurate over time, even when a GPS signal isn’t present.
Just thinking out loud, but would it be possible to get timestamps off of SSIDs that are floating all around us these days?
I really need a clock this accurate… NOT :-)
Please be kind and respectful to help make the comments section excellent. (Comment Policy)