[time-nuts] Time Code generator

Chris Albertson albertson.chris at gmail.com
Fri Dec 3 23:14:34 UTC 2010


On Fri, Dec 3, 2010 at 12:54 PM, jimlux <jimlux at earthlink.net> wrote:
> Jeroen Bastemeijer - EWI wrote:

>> A PIC based IRIG timecode generator sounds very interesting! Would like to
>> build a new stand-alone IRIG-timecode generator since my Brandywine died....

I just read the source code for the irig generator that is included with NTP.
The code is not really all that complex but there are a number a cases to
handles, for "leap warnings" and such.  The code handles not only irig but
also wwv/h simulation so yu could cut out half of the lines for irig only

Of course you can't use this C code on a PIC but the algoritm is there for
you to copy.  And if yu are reading this list there is agood chance it's
alrady on your computer

But to build a PIC based IRIG generator you need a way to get the
absolute time of day into the PIC, the periodic interrupt can drive it
after that point and y'd get that from deviding down a frequency
reference


=====
Chris Albertson
Redondo Beach, California




More information about the Time-nuts_lists.febo.com mailing list