{"id":581,"date":"2013-08-08T20:42:42","date_gmt":"2013-08-08T20:42:42","guid":{"rendered":"http:\/\/ava.upuaut.net\/?p=581"},"modified":"2013-08-13T09:47:19","modified_gmt":"2013-08-13T09:47:19","slug":"ntpi-raspberry-pi-as-a-stratum-1-ntp-server-hardware","status":"publish","type":"post","link":"https:\/\/ava.upuaut.net\/?p=581","title":{"rendered":"NTPi &#8211; Raspberry Pi as a Stratum-1 NTP Server Hardware"},"content":{"rendered":"<p>David Taylor over at Satsignal.Eu has done a <a href=\"http:\/\/www.satsignal.eu\/ntp\/Raspberry-Pi-NTP.html\">wonderful article<\/a> on turning your Raspberry Pi into a Stratum 1 NTP server. A Stratum 1 NTP server is one that is connected directly to a Stratum-0 device such as a GPS. I made an initial device up based one of the <a href=\"http:\/\/ava.upuaut.net\/store\" target=\"_blank\">Ublox GPS modules from Hab Supplies<\/a>\u00a0however with its passive antenna and limited wiring it had to be near a window to work.<\/p>\n<p>Also the MAX6Q GPS modules used aren&#8217;t designed for timing applications, however that said I achieved a fairly reasonable level of accuracy of 6ms. I decided to make up a PCB to utilise the proper timing module the <a href=\"http:\/\/ava.upuaut.net\/store\/index.php?route=product\/product&amp;path=59_64&amp;product_id=89\" target=\"_blank\">LEA-6T<\/a> this would act as an evaluation board featuring USB for connection to a PC, separate outputs for the PPS and PPS2 finally it would feature a header to permit direct connection to the Raspberry Pi.<\/p>\n<p>Osmocom have designed a <a href=\"http:\/\/openbsc.osmocom.org\/trac\/wiki\/osmo-lea6t-gps\" target=\"_blank\">PCB <\/a>which is similar however I have enhanced it a little with a PPS LED, Raspberry Pi header and I changed the regulators as the LEA doesn&#8217;t need the larger regulators. Additionally the Osmocom part for the LEA had some very odd solder mask on it and had to be <a href=\"https:\/\/github.com\/Upuaut\/Eagle-Libraries\" target=\"_blank\">redone<\/a>.<a href=\"http:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1937.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-582\" alt=\"IMG_1937\" src=\"\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1937-1024x870.jpg\" width=\"620\" height=\"526\" srcset=\"https:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1937-1024x870.jpg 1024w, https:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1937-300x255.jpg 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a>Here you can see the board with an LEA-5S on for testing. Although it looks similar to the Osmocom part the board was designed from scratch this fits on the Pi :<a href=\"http:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1934.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-583\" alt=\"IMG_1934\" src=\"\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1934-1024x768.jpg\" width=\"620\" height=\"465\" srcset=\"https:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1934-1024x768.jpg 1024w, https:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1934-300x225.jpg 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a>The case still fits on nicely (with a little modification!) :<a href=\"http:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1935.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-584\" alt=\"IMG_1935\" src=\"\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1935-1024x768.jpg\" width=\"620\" height=\"465\" srcset=\"https:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1935-1024x768.jpg 1024w, https:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1935-300x225.jpg 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/ava.upuaut.net\/wp-content\/uploads\/2013\/08\/IMG_1935.jpg\">I<\/a>&#8216;ve released this board as open source and its on <a href=\"https:\/\/github.com\/Upuaut\/NTPi\" target=\"_blank\">Github here<\/a>. I do have some spare PCB&#8217;s free which I can supply to your spec with either a LEA-5S fitted or the LEA-6T. PCB&#8217;s are \u00a33.50 , boards assembled with LEA-5S are \u00a340.00 and with the 6T \u00a3100.00. Send me a comment if this is of interest, these boards will be built to spec.<\/p>\n<p>A Stratum 1 NTP server for \u00a350 is a bit of a bargin!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>David Taylor over at Satsignal.Eu has done a wonderful article on turning your Raspberry Pi into a Stratum 1 NTP server. A Stratum 1 NTP server is one that is connected directly to a Stratum-0 device such as a GPS. &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/ava.upuaut.net\/?p=581\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-581","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts\/581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=581"}],"version-history":[{"count":6,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts\/581\/revisions"}],"predecessor-version":[{"id":591,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts\/581\/revisions\/591"}],"wp:attachment":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}