Add reading/writing of user 56 bytes SRAM of the DS1307 chip #3241
Unanswered
rapid32
asked this question in
Component enhancements
Replies: 1 comment
-
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
DS1307
Link to component documentation on our website
https://esphome.io/components/time/ds1307
Describe the enhancement
The ability to read/write the user's 56 bytes of SRAM on the DS1307 chip allows it to be used to store the current value of the counter registers (the Pulse Counter component) and restore them when the microcontroller (ESP32 and others) is rebooted. This eliminates the wear and tear of the microcontroller's flash memory.
Use cases
Storage of user variables, pulse counter, and accumulation of temperature and light level readings
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions