Тёмный

DS1307 RTC Module with Arduino-Real Time Clock 

BINARYUPDATES
Подписаться 38 тыс.
Просмотров 33 тыс.
50% 1

Let's explore, how to Interface DS1307 RTC Module with Arduino Uno. DS1307 is very popular real time clock chip out there in the market. We'll be using TinyRTC Module. The DS1307 RTC Chip support I2C Serial Communication Protocol. We'll learn how to use Wire library to read clock and calendar parameter. Also we'll be Programming DS1307 RTC Chip to perform read and write operation.
Finally we'll make Clock and Calendar Project with Arduino Uno using RTC Real Time Clock Chip. The circuit conenction is as below
Arduino -- RTC Module
A4 -- SDA
A5 -- SCL
5V -- VCC
GND -- GND

Опубликовано:

 

2 май 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@judesbernd4055
@judesbernd4055 4 года назад
very useful presentation - that helps a lot, thanks!
@mangeshjaurkar7198
@mangeshjaurkar7198 4 года назад
Thanks for update in lockdown:-)
@jayeshvyavhare6217
@jayeshvyavhare6217 3 года назад
Sir it's really a Nice presentation
@Allahin_aslani_
@Allahin_aslani_ 3 года назад
Hi, how do we add microsalise? I need split-second in the project I am using. I would be glad if you could help.
@charlesnijanthan3686
@charlesnijanthan3686 2 года назад
Superb.....it's excellent
@techiteasy5725
@techiteasy5725 3 года назад
Really,Thank you
@050-ghiffaryramadhana9
@050-ghiffaryramadhana9 2 года назад
great presentation dudee, suscribed Btw that great typing tho 😂 👍
@BINARYUPDATES
@BINARYUPDATES 2 года назад
Thanks for the sub!
@girishahirrao7572
@girishahirrao7572 Год назад
please make more videos , excellent work .
@BINARYUPDATES
@BINARYUPDATES Год назад
Thank you Girish, I will try to make more videos on RTC as well as on EEPROM.
@goldenhawktechnology3009
@goldenhawktechnology3009 3 года назад
It was very helpful
@BINARYUPDATES
@BINARYUPDATES 3 года назад
Thanks for leaving nice words. Hope you've enjoyed!
@gartmorn
@gartmorn 3 года назад
Once the time is set do you deselect the time set coding so it isn't updating every time you upload the code?
@akshaygund7038
@akshaygund7038 4 года назад
Thanks
@jaysakhiya6344
@jaysakhiya6344 2 года назад
Can you clear my one dout. In RTC to read data we need to pass individual register address like for second 0x00, for minut 0x01... But you don't give this address in code than how it read?
@rajdatta3398
@rajdatta3398 4 года назад
impressive
@BINARYUPDATES
@BINARYUPDATES 4 года назад
Thanks Raj
@mohsenes8494
@mohsenes8494 2 года назад
Thanks a lot.
@BINARYUPDATES
@BINARYUPDATES 2 года назад
Mohsen, Most welcome!
@Avidiy
@Avidiy Год назад
thanks sir for this video and you spent time on it till 3:47 reealy thats great
@BINARYUPDATES
@BINARYUPDATES Год назад
Hi Avi, I'm glad you noted that. Thanks!
@Avidiy
@Avidiy Год назад
@@BINARYUPDATES thanks
@sasidharaneg4206
@sasidharaneg4206 6 месяцев назад
Very good description..Please shear code
@nurulwahidah5442
@nurulwahidah5442 3 года назад
Can i ask .. what's component that you use?? did you use lcd module display for arduino
@BINARYUPDATES
@BINARYUPDATES 3 года назад
Hi Nurul, in this video I've printed RTC Data Date Time on Serial monitor of Arduino IDE but if you wish you can display on any display module with Arduino. I've published another video for display module interfacing with Arduino Uno. I hope it will be useful to you Best Wishes Umesh Lokhande
@preetikhokhar8255
@preetikhokhar8255 3 года назад
Sir, i'm getting 165 value for date,time etc. i dont't understand why? Please help me out.
@tendtudo-hobbiestruquesman4672
@tendtudo-hobbiestruquesman4672 2 года назад
Demais, muito bom mesmo, parabéns, não sei nada de arduíno, estou aprendendo agora, mas, segui direitinho todo o seu passo a passo, e deu certo certo aqui, funcionou legal mesmo, e como faço pra colocar um display (1602A) professor? Quero fazer um projeto com hora programada pra minha horta com quatro horários diferente, é muito difícil? me ajuda por favor, obrigado, parabéns.
@nouuchhiengsung31
@nouuchhiengsung31 3 года назад
Hello ; this code can use with ds3231rtc or not ?
@johanbudiono2893
@johanbudiono2893 2 года назад
how come when i type *date its can't become an orange? * second , *minute, *hour its can become an orange? . And can we use the library #include to the coding? does it same for the syntax? thank you
@BINARYUPDATES
@BINARYUPDATES 2 года назад
Hi Johan, those are variable defined by us * second , *minute, *hour in our Arduino code. Arduino only recognises build in functions and turn them in orange syntax highlights. You can use DS1307 library to read RTC data but then code may change
@TheFullcharge13
@TheFullcharge13 3 года назад
does it make a difference if the *seconds , *hours are not highlighted while typing?
@BINARYUPDATES
@BINARYUPDATES 3 года назад
No
@nurwahyuddi4767
@nurwahyuddi4767 4 года назад
Sir, could you explain how to set rtc time using android app (made by app inventor ex) via bluetooth communication? I need to make an alarm device which can set the time using android. Could you help me please.
@2218256
@2218256 3 года назад
This is excellent. How do you calculate time elapsed between 2 RTC readings. Seems like a lot of code:(
@BINARYUPDATES
@BINARYUPDATES 3 года назад
Yes there need to write lots of code for your RTC Module and Arduino Project Best wishes
@Dhanan-J
@Dhanan-J 3 года назад
Amazing video 💕❤✨ But I am facing some issue plz help... 1. How do I remove "Day" from program. ( I tried but it gating some issue like year not showing properly because sequence from 'Seconds' register get changed.) how to do it safely. 2. time and date gating reset (at initial time) every time I open the serial monitor.
@TT-ud5gf
@TT-ud5gf 3 года назад
What is the purpose of adding RTC component?
@BINARYUPDATES
@BINARYUPDATES 3 года назад
Hi Thuyen Every data we read from sensor will be useful when we know that time that data has generated. This means timestamp is extremely useful to monitor and control embedded devices in real time. And RTC which is an Real Time Clock gives you the same. That's why hardly any embedded product will be build without using RTC in Projects. I hope you find this information useful. Best Wishes Umesh
@dark_musafir
@dark_musafir 8 месяцев назад
Sir i have recive a error 'Wire' was not declared in this scope At compile time
@BINARYUPDATES
@BINARYUPDATES 8 месяцев назад
This seems to be an issue with Wire.h library header file. As its a built in Arduino libraries. I'll suggest make sure your Arduino IDE is installed properly and linked all libs correctly. If not then, try reinstall or test with other computer. This will help to fix issue with arduino software. Good luck and best wishes
@parkjaehyoun
@parkjaehyoun 3 года назад
thank you. 59seconds-(0101 1001 (0) / 0011 1011(x))? right?
@antonolivermendez5000
@antonolivermendez5000 3 года назад
Hi, Nice tutorial, i have a few questions. 1. In my arduino IDE, second, minute, hour , day ... are not highlighted? i want to ask why? 2. i keep getting an error In function[ 'main': "undefined reference to 'loop' Thank you, and i'm sorry if they are obvious, i'm new
@nurulwahidah5442
@nurulwahidah5442 3 года назад
same goes with me :'( .. so how you resolve it .. can you share with me
@lambanvoimaytinh7359
@lambanvoimaytinh7359 2 года назад
i have tried like your code but the printout result with wrong format : 85:165:45 165 165/165/165. how can i fix it?
@BINARYUPDATES
@BINARYUPDATES 2 года назад
Hi Dung, this random value from RTC Ds1307 results due to loose connections between Arduino and RTC. Also check your coin cell in backside of RTC Module. I hope this may help you. Good luck!
@lambanvoimaytinh7359
@lambanvoimaytinh7359 2 года назад
@@BINARYUPDATES thanks sir, i have checked and found the problem. it lost connection between nano board and DS1307. thank you very much!
@sanjaykhurana3400
@sanjaykhurana3400 9 месяцев назад
Yeh mobile par nahi hai data.
@BINARYUPDATES
@BINARYUPDATES 9 месяцев назад
Hi Sanjay, is video me RTC (real time clock) ka data Serial monitor pe print kar ke dikhaya hai! mobile ke liye arduino ko internet connectivity provide karna hoga.
Далее
Arduino Real Time Clock - Using the Tiny RTC
31:29
Просмотров 199 тыс.
Arduino - DS1307 RTC
21:18
Просмотров 65 тыс.
ДВЕ МЕДИЦИНЫ В ОДНОЙ СТРАНЕ
43:03
How do I use a Real Time Clock with Arduino?  RTC 1307
10:29
Optimizing Arduino Code: no setup(), no loop() ⛔
9:27
Serial Communication with Arduino - The details!
16:51
DS1307 RTC module With Arduino (Tiny RTC ).
8:05
Просмотров 55 тыс.