---

but not all together.

Armed and Dangerous wrote this:

Stratum 1 time server on a tiny SBC?

I’ve been working on GPSD a lot recently – we’re heading towards a 3.10 release with a lot of new features. As part of this release I’ve decided to ship a HOWTO on setting up a high-quality NTP time server using GPSD. In the course of working on that, I’ve had an idea.

The idea has two antecedents. One is that if you start with any one of several inexpensive GPS modules (my favorite of which is the u-blox 6), and add GPSD to read it and feed an ntpd instance, it’s possible to build an NTP server that meets the usual standard for public Stratum 1 time servers – 10mSec or better accuracy to UTC.

The other is that there is a raft of inexpensive SBCs that run Linux out there – Arduino, Raspberry Pi and the current new hotness BeagleBone. So here’s my thought: why not build a low-power Stratum 1 timeserver on a credit-card-sized SBC?

A little googling tells me that someone has already mated a GPS to a BeagleBone Black. His design uses a u-blox, but has one serious drawback – he doesn’t wire up 1PPS from the receiver. This is a must if you want sub-second precision on your time service.

Now, to be fair, the D2523T he’s using might not bring 1PPS out from the u-blox5 to the module header. On the other hand, I looked up the D2523T’s data sheet on Sparkfun and their pinout for it has a lead labeled “GPS LED”.

Bingo! Boys and girls, the LED on your GPS is driven by 1PPS – the once-per-second flash it emits is top of GPS second accurate to 50 nanoseconds. It seems likely that we could take the right small variant of this design, add ntpd to it, do a little configuration, and stand back! Instant Stratum 1 in a smaller package than your smartphone, powered off its USB cable.

Well, that is, if the RS232 headers on the BeagleBone include any handshake line. Carrier Detect, Ring Indicator, even Clear To Send – any of these would be good enough. 1PPS has to travel over something that isn’t TX.

It would be a fun project. I wish I had time to do it.

I don’t have a clue what it it means, but it sounds interesting as hell.

I say, “Go For It!”




You must be logged in to post a comment.

Name (required)

Email (required)

Website

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Share your wisdom

FFL

Updated Daily

Inventory as of 7/21/2018:

I currently list 25,999 hand guns with a retail value of $16,030,941, 17,278 long guns with a retail value of $12,945,956, and 1,251,637 boxes of ammunition with a retail value of $22,457,926.

Orders are usually available for local pickup or shipment to your FFL in five to seven business days.



"Anyone who still wants guns, rifles or ammo should go to Traction Control/Well-Regulated Militia: http://tinyurl.com/2ea4lhn Still pre-panic prices and a huge inventory and good reliable service. Tell everyone you know"

Posted by: DAve at December 23, 2012 02:55 PM (XDC0v) at AoSHQ





StatsViewer


Top 100 Gun Blog
GBR

NRA

Join the NRA
TSRA

Support the TSRA

  • Political Continuum

  • Unorganized Militia Propaganda Corps

Iowahawk