How to connect and use a DS1307 Real Time Clock with Arduino - Tutorial

preview_player
Показать описание
Let's use a DS1307 RTC with an Arduino, and display the time and date on the OLED display.

Рекомендации по теме
Комментарии
Автор

I was having trouble setting the time on the DS1307, but was able to update the date. This example program updated the date and time from my computer and worked perfectly. Thanks for the help. I wasted a whole day trying other ways to set the time and date. Subscribed and liked. Thanks for your time to make this video.

RTOHIO
Автор

Thanks to one of our viewers for these tips:

Thanks for the excellent tutorial, I managed to get my rtc module working using it. A couple of improvement suggestions:

* On Arduino Micro (and I guess others using the same MCU) the pins are 2 (SDA) and 3 (SCL).

Again, thanks for the excellent tutorial!
Cheers, Pertti

BrainybitsCanada
Автор

Very good tutorial! I just found a new favorite Youtube-Channel ;-) 
These are some of the (or even the) best Arduino tutorials I've seen… Keep the quality stuff coming! :D

DisturbinThaPeece
Автор

thanks a lot! I had a lot of problems with my RTC, but this video solved them all!

profesorjan
Автор

First tutorial helped me with setting time.
I tried tons but not sucessed.
Awesome :)

hostingsrbijacom
Автор

i just bought one of these exact modules and it is coming with a cr2032 battery.. the ones youre saying to not use.. so i have to break the charging circuit on a brand new thing because they included a battery i cant use in it??

jstagzsr
Автор

What if I'm just watching this and only have an LCD screen, not OLED. What changes would I make to the code?

randynunez
Автор

Again an awesome tutorial. You do the best explaining of the code I have ever seen. Happily subscribed to your channel.
Merci beaucoup.

iHayri
Автор

hello sir please help me i want to make an automatic egg incubator i did every thing but i have a question can i use arduino to rotate a motor 5 time a day with three hours of delay
i also connected dht11 sensor to read temperature and humidity but when i gave delay to the relay (which is used for motor rotation) between the delay time the dht11 sensor also on hold and dont show the temperature
i have tiny rtc i connected to give the hours and times but when the date goes is i need to connect to computer and write another date sorry for my english please help me 😍

zeemixvideos
Автор

Could this RTC take the time from a smartphone as opposed to a computer?

cobragermany
Автор

Why there are two sets of pins for I2C communication ?

RGify
Автор

Thanks a lot for tutorial!! Thanks the others to solve some issues in comments!

atriumdomy
Автор

I am haven a problem setting the rtc. i get ser_open(): can't open device:/dev/ttyACMO" i have it wired up to a mega. Do you have any suggestions?

bwalker
Автор

thnx a lot but the link in the description is not quite working with my laptaop but is working with my phone, pls try to fix that .If i use right click and open in new tab then it works

vedantmomaya
Автор

sir can we modify it to simple time base switch without depending on actual time.

akshaykumar-thps
Автор

I am facing a small problem please help me. When i run example code SetTime from the library it gives an error at (RTC.write(tm) and says
could not convert tm)))' to 'bool'
Please help me out.
Shall be grateful

umarz
Автор

Removing these circuits R4, R5 R6 and D1 will it dammage or affect performance of the EEPROM that it has integrated?

baltazarmtzgalla
Автор

Cant get you code and schematic please upload the link direct link here not you website link please sor

neerajhebbar
Автор

how to keep rtc running even the arduino off? help me

jiggle
Автор

My arduino turns off when I connect it's power to the time module and the 7905 fuse starts to heat up, also my RTC came with the CR2023 battery already in it, please someone help me! Could the battery's inability to charge be causing this problem?

ZombieGamingable