-
• #2
Hi,
There is an RTC in the Puck (and all of the Bluetooth Espruinos), but yeah, when the battery dies, the time is lost... But it would be in any RTC.
A simple option would be to add another battery to it via a diode - so when the first battery gets low or gets removed, the other one will take over and everything will be fine. Even just adding a big capacitor would allow you to swap the battery over quickly without a reset.
Otherwise you could add an external RTC like the DS3231 that there's a module for already - however that will require its own external voltage source as well.
Is there any way to build an RTC into a Puck? I understand how to set the clock from the Web IDE, but I'm concerned about losing the clock anytime the battery dies or is removed.
Thanks