General

Update RTC SD2403

userHead anonymous 2015-05-20 11:20:12 7774 Views7 Replies
hello,

I am new to programming. I bought a romeo ble and sd2403 module for a project.
I would like to update the clock but I can not find a program showing the solution.
Anyone have a link to explain or solution.

thank you
2015-05-25 23:08:36 HI

Thanks for your finding about the method, I tried that way on this Real Time Clock Module (DS1307) V1.1
https://www.dfrobot.com/index.php?route=product/product&product_id=879&search=TIME&description=true#.VWLJJfml-1U
it works fine just as the website( only support updating time manually):



But the sd2403 what you bought doesn't have a library( I didn't find it), so it cannot support this method except you write a library for it(since there are an available datasheet ). a little hard. userHeadPic Leff
2015-05-22 08:39:31 My english is bad. i understand you well.
yes a program "rtcsetup" allow to recover the clock of computer for a ds1307.

http://www.lucadentella.it/2013/11/27/rtcsetup/

it's just important for me to have a correct precision and not 1 to 2 min of delay. :)
perhaps later.
userHeadPic anonymous
2015-05-22 01:07:50 Seems you have a high demand for the time accuracy. Sorry for my poor english, you mean you have found a program for ds1307 which could update the clock automatically according to computer?
:?:
eric.pussat wrote:Hi.

I understand. I saw for the ds1307 a program update the rtc with the clock of computer. I updated rtc manually but the precision is less.
userHeadPic Leff
2015-05-21 22:55:32 Hi.

I understand. I saw for the ds1307 a program update the rtc with the clock of computer. I updated rtc manually but the precision is less.
userHeadPic anonymous
2015-05-21 18:28:34 Hi,

In the Introduction, I saw this:

That means even if keep running one year, the deviation of this RTC module should be less than 2.5 minutes without the calibration.

So, you don't have to calibrate it each time once you've done it.

And further more, if you want to make it, mabe you have to find a wireless module like GPRS/WIFI to get the web time and send it to SD2403, it's more complecated. :roll:
userHeadPic Leff
2015-05-21 08:39:59 Hi,
thanks for your answer!
I've seen this page. I see the I2CWriteDate function to edit the registry, but you must enter the values manually. Will there a way to directly recover the computer time? a piece of code?

thanks
userHeadPic anonymous