This undertaking goals to construct a digital clock utilizing a real-time clock chip (DS3231) with battery backup, a liquid crystal show (JHD 204A), and an Arduino Uno board.
Allow us to attempt to design our personal real-time digital clock that can be utilized in time-related initiatives, like preserving the information of a sensor with time, a time-based alarm system, or an influence cut-off system.
POC Video Tutorial in English:
POC Video Tutorial in Hindi:
An actual-time digital clock (RTC) is commonly required in initiatives and designs the place we have to cope with time. RTC helps in preserving observe of time even when the principle processor is asleep or switched off.
It’s due to RTC that your PC/laptop computer clock retains exhibiting the right time even after it has been switched off for a while, and even when the pc’s battery is eliminated for alternative with a brand new one. RTC module has its personal small coin cell that runs for years and helps hold observe of time when the entire circuit is powered off.
The elements required for the circuit are listed within the Invoice of Materials desk.
Invoice of Materials | |
Elements | Amount |
RTC DS3231 (MOD1) | 1 |
CR2032 coin cell | 1 |
LCD JHD 204A / 1602 I2C / SPI (MOD2) | 1 |
10k pot (P1) | 1 |
220Ω resistor (R1) | 1 |
Arduino Uno with USB cable | 1 |
Energy adaptor (12V, 2A) | 1 |
Jumper wires (male-female) | 20 |
The undertaking has two components. Within the first half, we learn to interface the LCD to Arduino Uno. Within the second half, we add a clock chip to this setup and show the time.
This RTC clock is to be made utilizing Arduino Uno and programmed in Arduino IDE. So, obtain Arduino IDE and unzip it in a handy folder. Fig. 1 exhibits the Arduino Uno board.
Fig. 2(a) exhibits the show facet (entrance facet) of the LCD, whereas Fig. 2(b) exhibits its bottom. The time is displayed on liquid crystal show JHD204A. This can be a 20-column, 4-row show with a blue backlight however it’s also possible to use a 16×2 LCD with two rows of the show. Every character is displayed in a dot-matrix method.