Tom nailed the issue.
First problem is I was native in thinking “Oh this will be easy to interface to the NTP or GPS”. WRONG :)
But the good news I am learning a lot about accurate time from you guys.
The second issue is Tom is right. This is a cheap jumbo clock that at the heart uses a Holtek HT48R30A
8 bit processor. Everything is contained in the chip except the 32khz crystal and led drivers.
http://pdf1.alldatasheet.com/datasheet-pdf/view/82435/HOLTEK/HT48R30A.html
This is certainly not the most sophisticated clock chip available.
My original idea was to hijack the timing signal and replace it with something more accurate. But the more info
you guys share the more I see there are a couple of ways to do this. Obviously the easiest might be to just replace the
crystal with a TCXO and hope for the best. But my guess as soon as it is off by one second from my other sources I will
be back into tearing it apart again. LOL
A lot of my other clocks are 6 digit NTP POE clocks so they are not GPS accurate but I would at like them to all agree.
Lee - N2LEE
Right, but that trick only works with analog stepper motor clocks. OP has a "big digital clock" with 8-bit cpu and 32 kHz xtal. He didn't mention the make/model of digital clock but in my experience very few commodity clocks actually accept a 1PPS input. These clocks use 32 kHz:
The problem is that all these functions are usually integrated into one chip or even raw die/epoxy as in COB (Chip On Board). When hacking these sort of clocks it is often impossible to separate 32 kHz frequency features from the 1 Hz timing feature.
So when your goal is to improve timekeeping accuracy in these self-contained digital clocks it's usually easier and less invasive to make the clock use your precise 32 kHz signal instead of its own cheap xtal. You almost always have access to the xtal, but rarely access inside the MCU.
Note that you don't even need to unsolder the xtal -- you can "jam" the existing signal with an external 32 kHz sine or square wave applied to the XI pin (xtal in) of the MCU. Your external GPSDO/32kHz signal will "pull" the cheap xtal for free. Best yet, if your external signal goes away the clock keeps running using its own xtal without skipping a beat, like getting hold-over for free.
For a "no solder" or "no wires" solution, I have also tried to acoustically discipline a tuning fork xtal with an GPS-based 32 kHz signal and ultrasonic transducer. Poor results. I think I needed better coupling between the transducer and the xtal tuning fork. But in theory it should work. Plus it would keep small mammals and insects away from your clock.
/tvb
On Wed, Oct 19, 2016 at 8:32 PM, Lee - N2LEE via time-nuts <
time-nuts@febo.com> wrote:
A lot of my other clocks are 6 digit NTP POE clocks so they are not GPS
accurate but I would at like them to all agree.
Can you point all of those POE NTP clocks to a common LOCAL NTP server?
Time will be within a couple tens of milliseconds they will be in sync well
enough that the eye can not notice. But this means setting up a local
NTP server. Any spare computer can do this you can connect a GPS if you
like but will not help much in this use case
--
Chris Albertson
Redondo Beach, California
If the heart of your clock is a micro, you may be able to reset the
processor and set the time once a second fastest enough not to have any
visual artifacts. Even if you have a perfect 32.768 kHz clock you still
have to set the phase (time) manually and deal with DST, leap seconds,
and power failures if your total setup doesn't have battery backup.
On Wednesday, 19 October 2016, Lee - N2LEE via time-nuts time-nuts@febo.com
wrote:
Tom nailed the issue.
First problem is I was native in thinking “Oh this will be easy to
interface to the NTP or GPS”. WRONG :)
But the good news I am learning a lot about accurate time from you guys.
The second issue is Tom is right. This is a cheap jumbo clock that at the
heart uses a Holtek HT48R30A
8 bit processor. Everything is contained in the chip except the 32khz
crystal and led drivers.
http://pdf1.alldatasheet.com/datasheet-pdf/view/82435/HOLTEK/HT48R30A.html
This is certainly not the most sophisticated clock chip available.
My original idea was to hijack the timing signal and replace it with
something more accurate. But the more info
you guys share the more I see there are a couple of ways to do this.
Obviously the easiest might be to just replace the
crystal with a TCXO and hope for the best. But my guess as soon as it is
off by one second from my other sources I will
be back into tearing it apart again. LOL
A lot of my other clocks are 6 digit NTP POE clocks so they are not GPS
accurate but I would at like them to all agree.
Lee - N2LEE
Right, but that trick only works with analog stepper motor clocks. OP has
a "big digital clock" with 8-bit cpu and 32 kHz xtal. He didn't mention the
make/model of digital clock but in my experience very few commodity clocks
actually accept a 1PPS input. These clocks use 32 kHz:
The problem is that all these functions are usually integrated into one
chip or even raw die/epoxy as in COB (Chip On Board). When hacking these
sort of clocks it is often impossible to separate 32 kHz frequency features
from the 1 Hz timing feature.
So when your goal is to improve timekeeping accuracy in these
self-contained digital clocks it's usually easier and less invasive to make
the clock use your precise 32 kHz signal instead of its own cheap xtal. You
almost always have access to the xtal, but rarely access inside the MCU.
Note that you don't even need to unsolder the xtal -- you can "jam" the
existing signal with an external 32 kHz sine or square wave applied to the
XI pin (xtal in) of the MCU. Your external GPSDO/32kHz signal will "pull"
the cheap xtal for free. Best yet, if your external signal goes away the
clock keeps running using its own xtal without skipping a beat, like
getting hold-over for free.
For a "no solder" or "no wires" solution, I have also tried to
acoustically discipline a tuning fork xtal with an GPS-based 32 kHz signal
and ultrasonic transducer. Poor results. I think I needed better coupling
between the transducer and the xtal tuning fork. But in theory it should
work. Plus it would keep small mammals and insects away from your clock.
/tvb
time-nuts mailing list -- time-nuts@febo.com javascript:;
To unsubscribe, go to https://www.febo.com/cgi-bin/
mailman/listinfo/time-nuts
and follow the instructions there.