Skip to content
Advertisements

How to setup DS1302 RTC module with Keypad + Arduino + LCD

Hello everyone,

In this tutorial we gonna make a project suggested by one of the viewers, which is setting up the DS1302 Real Time Clock module using a Keypad, of cours we’re using a LCD screen to show the date and time, also helps us to set them up.

The functionning is quiet simple, the LCD is continuously showing the current time and date, when we press “*” button it let us to set the date and time and then it shows the new value until you change them again. The code also is simple and easy to understand you can put it in your project if it’s more complexe.

Before you start this project I recommend always to start by knowing well every module (if you have enough time for sure) then combine them until you get to your goal, by this way you can easily spot a problem and find the soution, here you can check every module I used with its own tutorial:

How to simply use DS1302 RTC module with Arduino board and LCD screen

Arduino LCD I2C simple use and direct write from serial monitor

Arduino uno + 4×4 Keypad Matrix + LCD i2c screen

Watch the video above for more explanations.

Wiring:

Wiring

This is the wiring you can add or not that 1k resistor it depends if you have the same problem as I got (see in RTC tutorial)

Libraries and codes:

Clic on what you need to download:

And here’s the code I’ve used to download:

Advertisements

Yassine View All

Electronics, Automation engineering student... I try to share my little experience with other electronics amateur.

One thought on “How to setup DS1302 RTC module with Keypad + Arduino + LCD Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: