Categories

RTCSetup – Real Time Clock setup tool

Posted on Sunday, December 1st, 2013 in code, open source, tools by the machinegeek

rtc_visioLuca’s Blog.

Via the contact form.

This entry was posted on Sunday, December 1st, 2013 at 2:00 pm and is filed under code, open source, tools. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “RTCSetup – Real Time Clock setup tool”

  1. Drone says:

    The sketch should take the settings from the PC application (C# – ugh!) then wait for the next second on the Arduino to set the RTC. This would help resolve the “measured” 150ms delay in setting the clock from the PC. Of-course there may be one second midnight and/or leap-second roll-over issues with this, but there are some pretty good Arduino libs for timekeeping that can handle this. Personally, I think a simple PC application could set the RTC on the Arduino without a GUI if the PC is NTP disciplined in the first place. Somebody must have done this already. The Author of this referenced article uses the prolific DS1307 RTC part, but for a bit more money, I think the DS3xxx series parts are Much more stable yet code compatible with the DS1307 at basic levels. Arduino – not deep into that myself.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?
  • KH: Agree, so okay, I guess he must have learned from somewhere. 100nF and 1000uF is so far apart, that was jarring; it's more magic incantation...
  • Max: I have a suspicion the hefty electrolytic cap might be some sort of cargo cult carry-over from other RF-based projects - for instance, I've seen...