Setting time on ChronoDot 2.1

I just bought two ChrolonDat 2.1s. The example on the Adafruit page that I ordered from works and demonstrates the clock module is working, but doesn't explain how to set it. I've read as many threads on Git and Adafruit as I can find, but can't seem to find an example of code using the DS3231. I've tried the DS3231 library and the RTClib with no success. As a newbie, it's probably "the nut behind the wheel". Any suggestions for code examples of loading the time into the DS3231 with an Adruino?

Stan Sutton

Do you want to synchronise the time with your PC?

Yes, that would work. I was thinking of manually entering time via the program, but getting the time from the computer would do what I want.

"Report to moderator" is NOT a reply button LOL

rssutton9:
Yes, that would work. I was thinking of manually entering time via the program, but getting the time from the computer would do what I want.

Have a look at https://www.instructables.com/id/Synchronise-DS3221-RTC-with-PC-via-Arduino/

Thank you!. Got it working and doing what I needed. Off to the next project for this old man.