Go Down

Topic: Time ! (Read 550 times) previous topic - next topic

halejandro

Hi,

I´m using DS1307 RTC, I wanna know, what do I have to do to keep the time and date after I turn off the circuit ?!

Thanks!
I am Learning, please be Patient !

bubulindo

Use a battery in the Vbat pins of the DS1307 RTC... and make sure your code is not going to override the time inside the RTC when you boot up.
This... is a hobby.

halejandro

Sorry, but I´m using the examples that has the library and it already has a batery , where do I have to verify, if the code canceled the time and date inside the RTC?
I am Learning, please be Patient !

Graynomad

As long as you only write the time/date to the RTC under operator control or some other similar event you should be OK.

How DO you set the time/date?

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up