1 / 1
7 Segment Clock DST Addition — zdjęcie 1

7 Segment Clock DST Addition

Zamów wydruk tego modelu

Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.

Zapisane na tym urządzeniu.

This updated code includes automatic DST adjustment for the US and EU rules

Ocena
0 / 5
Polubienia
5
Pobrania
37
Wydruki
0
Wyświetlenia
407
Oceny
0

Aktualizacja u źródła:

Informacje o modelu

Źródło
Printables
Kategoria
Other Ideas
Licencja
Creative Commons — Attribution — Noncommercial — Share Alike

This remix of the excellent 7 segment mechanical clock updates nothing about the actual 3D printed parts, just updates the Arduino sketch to account for DST automatically.  Code commented where it was changed.   I didn't thoroughly test the EU rules, but it works for US.  In other words (for the US rules), when it hits 2AM on the second Sunday of March, the clock goes from 1:59 to 3:00.  And, conversely, on the first Sunday of November, at 3:00, the hour doesn't change.  (It goes through the 3:00 hour twice).  This seems to be an artifact of how the DST RTC library does the calculations.

 

Libraries required (in addition to those for the original model).  Both are available through the Arduino IDE library manager.  I used Arduino IDE version 2.3.6

DST RTC by Andy Doro.  I used version 1.1.1 (current as of posting)

RTClib by Adafruit.  I used version 2.1.4 (current as of posting)

 

All credit for the original idea and code go to the original author. 

 

The cube STL is there because an STL is required to post a make…There's no need to print it!

Tagi