Introduction
RTC modules like the DS3231 are essential components in virtually any device that requires reliable timekeeping, as they maintain accurate time even during power outages or device downtime. Applications include digital clocks, data loggers, alarm systems.
The Circuit
Program Description
This program interfaces with a DS3231 real-time clock module to display the current date and time in various formats through the Serial Monitor.
In the setup phase, the program initializes the clock and sets a specific date and time.
In the main loop, it continuously retrieves the current date and time, formatting it into different readable representations and printing this information every half second, allowing the user to see real-time updates.
See the flowchart below for more information

