[Keith] got his hands on a few grandfather clocks. Apparently the price tag is greatly reduced if you are able to get them second-hand. The mechanical timepieces require weekly winding, which is a good thing since you’ll also need to correct the time at least that often. But this drift got [Keith] thinking about improving the accuracy of these clocks. He figured out a high-tech way to adjust the timepiece while it’s ticking.
The first thing he needed was a source of super-accurate time. He could have used a temperature compensated RTC chip, but instead went the more traditional route of using the frequency of mains power as a reference. The next part of the puzzle is to figure out how to both monitor the grandfather clock and make small tweaks to its pendulum.
The answer is magnets. By adding a magnet to the bottom of the pendulum, and adjusting the proximity of a metal plate positioned below it, he can speed up or slow down the ticking. The addition of a hall effect sensor lets the Arduino measure the rate of each swing and calculate the accuracy compared to the high voltage frequency reference.