{"id":2695,"date":"2012-02-21T01:00:49","date_gmt":"2012-02-21T11:00:49","guid":{"rendered":"http:\/\/darkerview.com\/wordpress\/?p=2695"},"modified":"2013-05-29T12:59:54","modified_gmt":"2013-05-29T22:59:54","slug":"a-gps-observing-clock","status":"publish","type":"post","link":"https:\/\/darkerview.com\/wordpress\/?p=2695","title":{"rendered":"A GPS Observing Clock"},"content":{"rendered":"<p><figure id=\"attachment_2646\" aria-describedby=\"caption-attachment-2646\" style=\"width: 150px\" class=\"wp-caption alignright\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=2646\" rel=\"attachment wp-att-2646\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2012\/02\/ObsClkMk1-150x150.jpg\" alt=\"Observing Clock\" title=\"Observing Clock\" width=\"150\" height=\"150\" class=\"size-thumbnail wp-image-2646\" \/><\/a><figcaption id=\"caption-attachment-2646\" class=\"wp-caption-text\">A hand made GPS clock for the observing table<\/figcaption><\/figure>For years, when observing, I found myself wanting a clock on my observing table when recording observations. I have used either a wrist watch or a cell phone, but looking at these was uncomfortable as these modern devices use bright backlit LCD displays, not a nice night-vision friendly red. The cell phone also has the additional problem of using up its battery quite quickly when out of range of a digital cell tower at some remote observing site. I needed a simple desk clock for my observing setup.<\/p>\n<p>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.<\/p>\n<h4>The Specs<\/h4>\n<p>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&#8230;<\/p>\n<ul>\n<li>Use red 7-segment LED&#8217;s and build in some type of selectable dimming mechanism.\n<li>Why bother setting the clock each time you set it up? Make the clock self setting and very accurate.\n<li>Since the clock is accurate add a serial port to allow the clock to supply accurate time to a laptop when taking astrophotos.\n<\/ul>\n<p><!--more-->The first was simple, I had used red 7-segment LED&#8217;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.<\/p>\n<p><figure id=\"attachment_2693\" aria-describedby=\"caption-attachment-2693\" style=\"width: 150px\" class=\"wp-caption alignright\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=2693\" rel=\"attachment wp-att-2693\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2012\/02\/EM401Module-150x150.jpg\" alt=\"EM401 GPS Module\" title=\"EM401 GPS Module\" width=\"150\" height=\"150\" class=\"size-thumbnail wp-image-2693\" \/><\/a><figcaption id=\"caption-attachment-2693\" class=\"wp-caption-text\">EM401 GPS Module <\/figcaption><\/figure>The answer is to use the GPS system instead. Along with the ability to give accurate latitude and longitude the GPS system also provides exceptionally accurate time. Navigation is all about time, accurate time from several satellites is used to solve the position of each receiver. Each GPS satellite carries an atomic clock and transmits this time signal.<\/p>\n<p>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.<\/p>\n<h4>Getting it Done<\/h4>\n<p>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.<\/p>\n<p><figure id=\"attachment_2694\" aria-describedby=\"caption-attachment-2694\" style=\"width: 150px\" class=\"wp-caption alignright\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=2694\" rel=\"attachment wp-att-2694\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2012\/02\/handwired-150x150.jpg\" alt=\"Point-to-Point\" title=\"Point-to-Point\" width=\"150\" height=\"150\" class=\"size-thumbnail wp-image-2694\" \/><\/a><figcaption id=\"caption-attachment-2694\" class=\"wp-caption-text\">A GPS clock constructed with point-to-point wiring<\/figcaption><\/figure>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.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For years, when observing, I found myself wanting a clock on my observing table when recording observations. I have used either a wrist watch or a cell phone, but looking at these was uncomfortable as these modern devices use bright backlit LCD displays, not a nice night-vision friendly red. The cell phone also has the &hellip; <a href=\"https:\/\/darkerview.com\/wordpress\/?p=2695\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A GPS Observing Clock&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[253,1110,206],"tags":[207,243,242,60],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2695"}],"collection":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2695"}],"version-history":[{"count":0,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2695\/revisions"}],"wp:attachment":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}