[time-nuts] NTP/PTP to SMPTE

Ryan Stasel rstasel at uoregon.edu
Wed Jul 4 23:22:55 EDT 2018

> On Jul 3, 2018, at 9:40 PM, Magnus Danielson <magnus at rubidium.dyndns.org> wrote:
> Hi,
> On 07/04/2018 05:19 AM, Ryan Stasel wrote:
>> Hi All,
>> I see a couple hits in google for this being discussed before, but they’re being shown as not found on febo.com<http://febo.com>. =/
>> I’m curious if anyone has done work on getting something like a raspberry pi, Arduino, etc running ntp or ptp (possibly sync’d with a 1PPS signal) and outputting SMTPE over audio, or some GPIO pins. I have a studio clock (Leitch 5225) that can be sync’d over SMPTE (or EBU). I will admit I’m still trying to digest all of this, but this seems like it should be possible.
>> Basically, I’m trying to make build a DIY master clock similar to one of these: https://www.masterclock.com/products/time-code-generators/gps500
>> Thanks!
> OK, it is not too hard to code it up. I did it for IRIG-B, and it's
> possible to do for SMPTE 12M LTC code too. Validating it is however
> something that needs care.

Hi Magnus, 

Cool. Do you have any example code for IRIG-B you could share? I’m not looking for extremely high level precision since the clock only displays to the second. Just enough to keep from having to reset the clock as it drifts (right now it’s referenced off line frequency, which is “okay” but will drift over the days/weeks/months… not to mention it’s only as accurate as I could set it in the first place. =)


-Ryan Stasel

More information about the time-nuts mailing list