The other day I added a Chronodot to my Peggy 2, using the Evil Mad Scientist blog post Peggy 2: Adding a Chronodot as a guide. Instead of buying the 4 pin female header connectors used in the blog post, I used an 8 pin DIP socket from my parts bin that I cut in half with wire cutters and cleaned up by filing it down a bit.
I had written a clock program for Peggy a while back, but it used millis() to keep track of time, which wasn’t as accurate as I would have liked. The time also got reset whenever Peggy lost power. The Chronodot fixes both those issues. Chronodot Clock is a modified version of my original Peggy 2 clock program to read the time from the Chronodot using the Arduino-Chronodot library. It is available on GitHub and on my Peggy 2 Projects page.



