|
GPS Observing Clock
Accuracy was also a question, accurate time is always important when observing. Asteroid occultations, lunar and solar eclipses, iridium flares, twilight, jovian moon transits, the list of things where accurate time is useful is long in astronomy. The Specs... Of course being a electrical engineer makes designing and building a clock a fairly trivial exercise. But why stop there? Why not build in a few extra features...
The first was simple, I had used red 7-segment LED's in projects since I was a teenager. The second took a little more research, how to make the clock accurate and self setting. At first I considered using the WWV short wave radio signal, this would be suitably accurate and available at a remote site. But it turns out decoding the signal is non-trivial, could take quite a while (hours) to sync-up with correct time, and can be a problem with reception, requiring tuning each time.
Now you just need a GPS receiver. These can be purchased from several different sources. Small modules that contain all the needed circuitry. Just give the module power and it spits out serial data containing time, latitude, longitude and other useful data. Only a single satellite signal needs to be received to get good time data and a full lock can take as little as 40 seconds, good time data in much less than that. Getting it done... It took two evenings of wiring everything together, as well a a few hours in the shop to build the hardware. Add a few more evenings writing microcontroller assembly code to make it all work. The result was a functioning clock that pulled its time from GPS in just a few seconds from power on. A simple user interface using a single button and a rotary encoder allow control of the clock, including dimming and setting the time zone. Single button presses rotate through the various displays including GPS status, latitude, longitude, universal time and local time. The LED above the switch pulses with each passing second. At a star party this summer a fellow observer pulled out her short wave radio and tuned it to WWV to compare the accuracy with the radio standard. It was gratifying to watch the indicator LED pulse in perfect sync with the audio beat and the clock display perfect time, at least to the limit of human perception. The Mark II...
This time I have completed a proper PCB layout with surface mount circuitry instead of hand wiring the circuit with perfboard and older thru-hole components. I have added a better power supply to allow a wider range of input voltages. The result is much smaller, a PCB merely 2" x 4" with all the needed circuitry. Instead of an RS-232 serial port I have included a USB serial port for computer connectivity. This will allow easy connection to a modern laptop. The clock can take its power from the USB port as well, dispensing with the need for a separate battery when used with a computer. The physical layout is easier to build than the original. For a frame a piece of 2" angle aluminum can be used to create a simple desktop clock with the face angled at 45 degrees, while the antenna for the GPS receiver is better exposed to the sky.
The Mark 1 prototype GPS Observing Clock with acrylic frame and hand wired perfboard circuitry |