FW error corrected PIC clock source
PIC Clock Divider I schematic
r02 source code
r01 source code
r00 source code

Simple clock generator that puts out 1cps, 1cpm and 1cph square waves from a 32.768kHz clock crystal.  The next level of complexity would be to add a frequency trim to tune out the crystal error which on my first try was about +6 seconds per 4 days.  This could be from a better quality crystal, a TCXO as the clock source (No change to the code) or perhaps even a pulse skip programmed into the firmware; drop a second pulse after a seconds' worth of error which would look like a leap year adjustment.

  Any questions or comments?
This page last updated on June 28, 2009