This is an Arduino based digital Clock to display real time on a 16x2 LCD using a DS1307RTC module. The date and time can be set via serial interface or push button switches.
Video:
Features
- Shows date and time on serial monitor.
- Shows date and time on a mini LCD.
- Alarm clock - turn ON or turn OFF an IO pin.
- Settings can be set via serial interface or push button switches.
- Keeps time running after electricity failure.
- Using an Arduino UNO & a LCD Keypard Shield.
- Using a DS1307 RTC module.
Set the Date via Push Buttons
- Push the Right button in order to change the system date.
- Use the Up/Down buttons to change the date.
- Push the Select button to accept changes.
- Timeout will occur after idle for 10 seconds, changes made will not save.
Set the Time via Push Buttons
- Push the Left button in order to change the system time.
- Use the Up/Down buttons to change the time.
- Push the Select button to accept changes.
- Timeout will occur after idle for 10 seconds, changes made will not save.
Set the Alarm Time via Push Buttons
- Push the Up button in order to change the alarm time.
- Use the Up/Down buttons to change the time.
- Push the Select button to accept changes.
- Timeout will occur after idle for 10 seconds, changes made will not save.
Disable/Enable Alarm
- Push the Down button to disable or enable Alarm.
- If Alarm is enabled, its time is shown on the right corner of the LCD.
- If Alarm is disabled, its time is hidden.
Source code:
More documentation is available on eDIY - Arduino based LCD Digital Clock
LCD_digital_clock_ds1307_alarm.zip (6.78 KB)