Accéder au contenu principal
Publicités

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:

Publicités

Yassine Tout afficher

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

7 commentaires sur “How to setup DS1302 RTC module with Keypad + Arduino + LCD Laisser un commentaire

Répondre

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l'aide de votre compte WordPress.com. Déconnexion /  Changer )

Photo Google

Vous commentez à l'aide de votre compte Google. Déconnexion /  Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion /  Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion /  Changer )

Connexion à %s

%d blogueurs aiment cette page :