Wise Clock chronometer completed
As I briefly mentioned in my previous post , I re-started working on the Wise Clock chronometer . That old version only displayed the time from the RTC, and lacked basic user functions like setting the time from buttons. Even though it was called "chronometer" it did not have a proper timer functionality (besides showing the time with seconds). I implemented the new software(*) ( available here ) as a state machine, easy to describe, understand and upgrade. Below is the diagram with the states and transitions. This clock uses the same board as Wise Clock 4 , but a jumper connects SQW of DS3231 to D2 (INT2 interrupt pin of ATmega1284). This allows the software to take advantage of an ISR being called every second, which in turn updates the time on the display. Because this approach is in contrast to the existing Wise Clock 4 software (which did polling on RTC to update the time on the screen), its integration into the main trunk would be difficult, if not impossible. In any c