Read more about the article How to use DS3231 RTC with SHAKTI in Arduino IDE?