Arduino Realtime Clock Using Ds1302

40,835

33

10

Introduction: Arduino Realtime Clock Using Ds1302

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

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

Be the First to Share

    Recommendations

    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Super-Size Speed Challenge

      Super-Size Speed Challenge
    • Audio Challenge 2020

      Audio Challenge 2020

    10 Discussions

    0
    Mere_Naga
    Mere_Naga

    2 years ago

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

    0
    CedricC36
    CedricC36

    2 years ago

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

    0
    TùngP13
    TùngP13

    2 years 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
    CurtR
    CurtR

    4 years ago

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

    0
    TechMaker_TM
    TechMaker_TM

    Reply 4 years ago

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

    0
    RiyadM3
    RiyadM3

    Reply 4 years ago

    pleaaase give us the library of the i2c

    0
    TechMaker_TM
    TechMaker_TM

    Reply 4 years ago

    I have put them into the code part right now.

    0
    GökhanB6
    GökhanB6

    4 years ago

    Hi where is the code. I could not found it.

    0
    GökhanB6
    GökhanB6

    Reply 4 years ago

    i did. thanks