Resetting The Current Time In A DS1302
KatyBri
Posts: 171
I'm working on the design of another STAMP BS2 / DS1302 application.
How does one deal with the situation of needing to reload the current time when the DS1302 looses it?
Even with power backup, there could be times when the power is lost long enough, that the time may need to be reloaded.
How does one deal with this during the design phase of a project- what do you do to allow the current time to be loaded easily into the DS1302 if it is required- hardware/software?
Thanks.
How does one deal with the situation of needing to reload the current time when the DS1302 looses it?
Even with power backup, there could be times when the power is lost long enough, that the time may need to be reloaded.
How does one deal with this during the design phase of a project- what do you do to allow the current time to be loaded easily into the DS1302 if it is required- hardware/software?
Thanks.
Comments
http://forums.parallax.com/showthread.php?p=531080
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
There will be circuitry that will force a reset of the Stamp when changing from one eeprom to the other while the RTC continues to run.
One eeprom would be programmed with the normal "run" code, the other will have the "setting" code.
This of course will only work with some type of OEM Stamp where the eeprom is accessible and is not for the normal pre-assembled Stamps. It is intended for use in a situation where the normal "run" code is large and it is not feasible to fit the "setting" code in the same eeprom and there will be no PC available (or no port provided) to re-program the Stamp.
The additional eeprom and switching circuitry should not add more than a few dollars to the cost of the final project.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
Try this link:·· http://www.parallax.com/detail.asp?product_id=27220
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔