G
Garrett Mace
Guest
"Jim Thompson" <thegreatone@example.com> wrote in message
news:d3kt10tkk52ccu6laninceu6cc9jeso0a9@4ax.com...
Get any quartz wall clock. You know, the ones that can be anything on the
outside, but all have the same square movement inside.
Now:
Choose a time in hours and minutes. The time cannot be 12:00 for reasons
obvious later.
Now drill six small holes in the face of the clock, two pairs positioned
where the hour and minute hands will be located at your chosen time. The
third pair is positioned at the 12:00 or zero position, where the second
hand will pass above it. Insert an infrared LED and a photo transistor in
each pair of holes.
Next step is to glue a small pulley, rubber band, and motor to the adjusting
wheel on the back of the the clock movement.
Also, remove the battery and provide a controllable 1.5V source for the
clock.
Wire the motor, power leads, and phototransistors to a microcontroller and
serial port.
The software: Two minutes before synchronization time, begin watching for
the second hand to come around to the zero position. As soon as it does,
remove power from the clock. Then engage the motor and slowly advance the
clock until the hour and minute hands are reported to be in position. Wait
until the very instant that the computer time reaches the synchronization
time, and then re-engage the clock power.
You now have a NIST-synchronized wall clock.
news:d3kt10tkk52ccu6laninceu6cc9jeso0a9@4ax.com...
Anyone have an idea how one might output their PC clock information
though the serial (or USB) port?
My PC clock is NIST-synchronized and it would be nice to have a wall
clock with that accuracy.
Get any quartz wall clock. You know, the ones that can be anything on the
outside, but all have the same square movement inside.
Now:
Choose a time in hours and minutes. The time cannot be 12:00 for reasons
obvious later.
Now drill six small holes in the face of the clock, two pairs positioned
where the hour and minute hands will be located at your chosen time. The
third pair is positioned at the 12:00 or zero position, where the second
hand will pass above it. Insert an infrared LED and a photo transistor in
each pair of holes.
Next step is to glue a small pulley, rubber band, and motor to the adjusting
wheel on the back of the the clock movement.
Also, remove the battery and provide a controllable 1.5V source for the
clock.
Wire the motor, power leads, and phototransistors to a microcontroller and
serial port.
The software: Two minutes before synchronization time, begin watching for
the second hand to come around to the zero position. As soon as it does,
remove power from the clock. Then engage the motor and slowly advance the
clock until the hour and minute hands are reported to be in position. Wait
until the very instant that the computer time reaches the synchronization
time, and then re-engage the clock power.
You now have a NIST-synchronized wall clock.