RTC Clock - tnl3pdx/SleepBud GitHub Wiki
Libraries that are used for RTC implementation:
Datasheet
10/31/2024 (Truong)
I2C connection
- To calculate resistor for I2C pullup, used https://www.ti.com/lit/an/slva689/slva689.pdf?ts=1730373190625 as reference.
- For testing, used 5k for pullup
RTC interface
- DS3231 has a simple library called RTC (https://github.com/cvmanjoo/RTC)
- Allows for easy setup of time, date, and alarms.
11/8/2024 (Truong)
Parameters
- For integration, needed to have saved parameters that can be used to pick if the clock needed an update to the WiFi server.
- Used Parameters to save values such as time update, sleep time, and UTC offset for RTC.