Arduino Realtime Clock Using Ds1302

About: TechMaker is a channel loaded with awesome Electronics Tutorials, Projects and How To´s using Arduino's

Intro: Arduino Realtime Clock Using Ds1302

This week I decided that I want to build a clock. I want a clock that

always have the right time so I need a component that can do this I did some research and I found the ds1302.

Step 1: Watch the Video

I made a video on YouTube where i show you how to do it! So go check that one out.

Step 2: Code

Here are the sketches used in this project http://bit.ly/codeclock

there are three sketches and two libraries make sure you installed these

you need to install the libraries "ds1302" and "lcdi²c"

Step 3: No I²c Lcd?

if you don't have a i²c lcd it's not a problem. open the folder ds1302 and then go to examples then open DS1302_LCD connect the normal lcd screen and this would work fine.

Step 4: TechMaker

If you want you can always subscribe on my channel on youtube and follow me on other networks. they are linked below.

✖ YouTube http://bit.ly/TechMakerYouTube

✖ Twitter: https://twitter.com/TechMaker_TM

✖ Facebook: https://twitter.com/TechMaker_TM

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Metalworking Contest

      Metalworking Contest
    • Tiny Home Contest

      Tiny Home Contest

    10 Discussions

    0
    None
    Mere_Naga

    5 months ago

    I can't find the code...!!!

    0
    None
    CedricC36

    7 months ago

    salut comment vous faite pour lancer le timer et la dates ???????

    0
    None
    TùngP13

    1 year ago

    Hi . Can i ask you a question ? The thing is i am working a door lock project and my arduino has only 1 digital pin left . I want to ask you is there any solution for adding 3 more pins for the real time module ? I have 2 pins for led , 1 pin for buzzer , 1 pin for button and 8 pins for keypad. Your project is great so i want to add it in mine project . Thanks

    0
    None
    CurtR

    2 years ago

    Can you give a part number or better description of the module for the Ds1302.

    3 replies
    0
    None
    TechMaker_TMCurtR

    Reply 2 years ago

    Hi here is a link of the product http://m.aliexpress.com/item/32316287195.html

    0
    None
    TechMaker_TMRiyadM3

    Reply 2 years ago

    I have put them into the code part right now.