

To assemble all the equipment correctly follow the following instructions: The time along with the date will be displayed on the LCD at the same time. We would be setting the beeping time to be for 2 minutes in our code, but the variable values depend on the user, so you can set the same according to your wish. In order to work perfectly, when the current time would match with the alarm time (preset in the code), the buzzer will start to beep.To use the time data from the module and in order to make it work like an Alarm clock we will be using the library functions of Arduino IDE and then we will set the program to compare the time data with the alarm time that we have set in the program. As the DS3231 real-time clock module contains a built-in 3V battery, so the device keeps tracking the time even when not powered externally.

The working Principal of Arduino-based Alarm Clock

Which compensates the frequency changes by adding or removing clock ticks so that the timekeeping stays on track. Temperature Compensated Crystal Oscillator(TCXO) is packaged inside the RTC chip, making the whole package bulky.Īlso a temperature sensor inside the IC package. So the external temperature can not affect the oscillation frequency of this crystal. It’s highly immune to external temperature changes. The DS3231 is driven by a 32kHz temperature compensated crystal oscillator (TCXO). Temperature Compensated Crystal Oscillator(TCXO).The end of the month date is automatically adjusted the months which has less than 31 days. This IC clock operates in the format of either the 24-hour or 12-hour with AM/PM indicator. This Chip clock/calendar can provide seconds, minutes, hours, day, date, month, and year information.
