DS1302 RTC with arduino tutorial

preview_player
Показать описание
In this video, we learn how to use DS1302 RTC (Real Time Clock) with Arduino the simple way.

You can support us and unlock premium projects code by joining our membership by clicking the link below:

You can download library and sketch here :

Music :
"LAKEY INSPIRED - Chill Day" is licensed under a Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
Рекомендации по теме
Комментарии
Автор

WOW, after 2 days of pulling out my ever dwindling hair over getting this module set up to work, I find your library and sketch. Then after reading how to set the time, I have a WORKING MODULE!! You have come to my rescue, and are, at least for today, My hero!! Thanks for sorting this out for me! Now on with the build!

JerryEricsson
Автор

Thank you much. I have tried many DS1302 libraries with little to no success. Yours not only works well but is also considerably smaller and very easy to understand.

brianmudd
Автор

wow thanks alot ....after so much time been looking for the solution

tumusimebrian
Автор

2023, time goes fast, increases by 6 seconds for 1 second IRL

fabianralph
Автор

I want to integrate the ds1302 module with the max7219 dot matrix module and see the words and numbers written in the serialmonitor section over the dot matrix. what should i do? can you help me?

borakuran
Автор

After trying out all libraries from Arduino IDE library manager, only virtuabotixRTC you introduced in your video works. Thanks. One point to share with others reading this post. I can only read the time accurately when I also connect the GND pin to my Arduino board. Vçc pin is not necessary.😅

cluk
Автор

I just have the DS1302 alone (Not in a module) how can i connect it to my arduino UNO? And the link for downloading the library is not wotking

pccxp
Автор

im trying to get the olsed to work but all tutorials wont have rtc or wont have oled display im stuck

jeffcarpenter
Автор

Thanks for tutorial. I have a question about issue with not remember time after some day. Battery is alright = 3, 1 V. It's working okay, but after some day it is reset and go back to Current Date / Time: 00/00/2000 00:00:00 and then starting count again, but not time what it was set up during upload. Thanks for advice!.

cosanostra-
Автор

Hi, great video and easy to follow, but when the arduino is unplugged and then plugged back in the rtc starts counting from the values set with myRTC.setDS1302Time() can't you use something like "now" so that the time does not reset or take the time which is on the rtc

derekbrookes
Автор

hello, may I know when the start of the day starts? is it saturday? so if my day right now is friday, I'm gonna put 7?

graceramos
Автор

how to connect to the metrix display and whats the code for that

lasithaweerasinghe
Автор

can this code support auto adjust for DST - day light saving?

KL-fqwn
Автор

Sorry but the library didn't work! I went in the library manager,
searched for RTC by Makuna and opened File>Examples>Rtc by Makuna
compiled and it ran just great. I am surprised that not much people are having problem to compile it correctly...
I connected it on an Arduino Nano.

guillaume
Автор

Hi friend, you know. I have a problem with DS1302 module. Time is set at 01/ENE/2000 00:00 (suddenly) I mean, it works well for many days, if energy turn off, time is ok when energy turn on againg. You may think that the battery is not working right (less voltage than 3 V), however, battery is ok. The problem happends in every module I have. Have you heard about this problem with DS1302 module? . Thanks

waynex
Автор

Wow, you've really helped me here thanks!

goddess_ofchaos
Автор

Do this code work's in esp bords?

Apsr
Автор

how do I download the file from github?

eyram
Автор

Can I store counter data to external rtc module?

xdeathstrokex_o
Автор

Hi, I have a problem with the serial monitor because the time is not updated and it always appears, could you help me, I would appreciate it very much

javierosunavelarde