Daylight Saving Time with DS3231 and no Wifi

More
2 months 6 days ago #11278 by olivers
Hello,

Can anyone point me in the right direction about how to add support for DST in the Arduino UNO All-In-One Clock?

I'm pretty confident I can write and add the code myself, and would just like some insight about the best way to do it.

I need this because the clock is a gift for my grandmother who lives far away, and it's impossible for her to manually adjust the time (she can barely use a microwave). She doesn't have wifi.

Love the clock by the way!

Please Log in or Create an account to join the conversation.

More
2 months 5 days ago - 2 months 5 days ago #11282 by Ian
There are plenty of good DST solutions out there, it shouldn't be too hard to add this.

For a simple, fixed change approach, you can use TimeZone

Original forum post:
https://forum.arduino.cc/index.php?topic=96891.0

Library on Github
https://github.com/JChristensen/Timezone

I didn't use TimeZone, because the time change rules are hard to get people to understand, but if you want to use a fixed rule, that should be just fine.
Last edit: 2 months 5 days ago by Ian. Reason: Unmunged the URLs

Please Log in or Create an account to join the conversation.

More
2 months 5 days ago #11290 by olivers
Thank you for your answer. I'll share my results here.

Please Log in or Create an account to join the conversation.

Moderators: AccutronTy_EeberfestIan
Time to create page: 0.142 seconds

Search

Tube Suppliers

Go to top
JSN Boot template designed by JoomlaShine.com