Arduino - DS1307 RTC

preview_player
Показать описание
In this video we will be looking at how to control a Real Time Clock. RTC using the Arduino Leonardo.

Library Downoad

Checkout the Forum!!

Follow me on Instructables

Follow me on Twitter

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

Such an amazing video. Been through many others but none are as useful as yours. Got my time module working.

mountainbiker
Автор

Sir this video tutorial of yours has helped me a lot in my project. I really want to thank you. Cheers!!

linusmiranda
Автор

Very nice job.
This is the simplest way i have ever seen that someone uses DS1307.
I have joined this code with some other codes and i have great result.

thanks

Ultraread
Автор

i am new in programming an arduino and i have a question i need a time 17:59:59 (read it) and will set an output 13 HIGH for 10sec how did i make that. endtime 18:00:09 set output pin 13 LOW

mariokiefer
Автор

Can an rtc send a signal to an Arduino to make a pin go high once an hour? If so any clue on how to go about it ?

rccanuck
Автор

I didn't find the explanation of the circuit useful because I have a data logging shield but the code walkthrough was great. Thanks!

cupbowlspoonforkknif
Автор

Very helpful tutorial. But I have a little problem. I removed the lines with 50s and just added the lines to switch the led off after a second after its on at 30s. Now after it is off the time in the serial monitor suddenly switches to 2000/0/1 0:1:0 or something like that.

Santosh-tqnj
Автор

Sir what's that some ic kind of thing on the breadboard is it necessary for the circuit

shubhamnsun
Автор

hello im new att this. i wonder if its posible to make a line that says that i like the led to start when i press a bottom and be on x time and then turn another light for a xtime
maybe 72h

gonza
Автор

i want to turn the servo in specific time.it this right. pls help

if (now.second () == 02)
{
myservo.write(100);
}
Serial.println();
delay(3000);
}

tobyran
Автор

Great work misperry. Just wondering whether you can explain how to attach a LCD to this project which can display time and date. Thank you very much

isuru
Автор

I am having issues getting this to run on my serial monitor. I have copied the code exactly the way it was provided but the date and time simply won't display.
I managed to narrow down the problem in this section of the code:
rtc.adjust(DateTime(2015, 5, 21, 18, 0, 0));
DateTime now = rtc.now();

By commenting out this section, I can get the serial monitor to run a simple text message. But with these two lines active, nothing is displayed. Any suggestions?

yuannwang
Автор

Hi, first of all thanks for this video I've download the library into arduino but i have this error ==>
sketch_mar06a.ino:20:20: error: RTClib.h: no such file or directory

kararsabih
Автор

Hey! Great video!
I have one problem. My serial monitor does not display anything. I have set the serial monitor to 57600 baud, but still doesn't work. Any ideas why?

jonathanaeruthayan
Автор

could you help me? there is no display in my lcd.

gherzel
Автор

Hi, do I get this right, if I remove rtc.adjust line (just set the time once) then module should count itself (i have one with battery on) and when I remove power and connect it again it should display current date/time?

Instead upon every reset/power disconnect just displaying fixed values which was set with rtc.adjust and not counting.

RoSiYou
Автор

Can you add external buttons to change time without the use of computer?

seamusflint
Автор

does the same library, class and functions work for any rtc???

nikhil
Автор

Thanks for amazing video. Can I ask u a question? I use RTC module DS3231, i get the time and everything is like what u showed in the video until i turn off the arduino, after 5 minutes I turn it on. In the serial port the time continues where it left off which means 5 minutes later than real time. Can u tell me where i did wrong? I think with the RTC module it is supposed to keep time without the power thanks to the battery.

thienkyo
Автор

how can i get day of week. ex: sunday?

trantrung