In this project we will see how to display hour and date on a Crystal Liquid screen with Arduino. This project can be really useful to make an alarm clock or display hour and date. You just need to add batteries at your arduino card and print a box with a 3d printer to have a real clock.
We will see the necessary equipment for this project:
The potentiometer is used to adjust the brightness of the Liquid Crystal screen. If you don’t want to use you can directly plug the brown wire to 5V and Ground to the first pin of the Liquid Crystal screen.
As you can see in the picture, the hour and date at the beginning is not at the right day. you can change it by yourself if you want.
To do that you have to modify this line in the program:
As you may see, the clock and date is not maintained once the Arduino is turn off. It’s annoying when you want to do a clock for example. To fix that you can add to the project a RTC clock module (such as DS3231) which calculate the time even when the Arduino is turned off thanks to battery independent of the Arduino card.
Here is the project simulation on tinkercad: