Revolution Watchface for Watchy
This is a watch face for the open-source e-paper smartwatch Watchy.
It shows the current date in the French Republican calendar (also called the French Revolutionary calendar) and the current decimal time.
Leap years are calculated using the Romme method: leap days are inserted at the end of each year divisible by four, except century years not divisible by 400, as part of that year.
By pressing up or down (top-right and bottom-right buttons), it is possible to cycle through 4 modes:
-
Digital time with the current date
-
Digital time only
-
Analog time with the current date
-
Analog time only
See Watchy-Revolution.ino for some customization options:
-
Dark or light mode
-
Size of the analog clock hands
-
Name of the days in French or English
By default the name of each day in the year is written in French.
Using arduino-cli
-
Install the ESP32 platform:
arduino-cli core update-index --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json arduino-cli core install esp32:esp32 --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
-
Install the Watchy library:
arduino-cli lib install Watchy@1.2.6
-
Compile the sketch:
arduino-cli compile --fqbn esp32:esp32:esp32 --build-property build.partitions=min_spiffs --build-property upload.maximum_size=1966080 Watchy-Revolution.ino
-
Upload the firmware to the watch:
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:esp32 Watchy-Revolution
Replace
/dev/ttyACM0
with the port listed byarduino-cli board list
.
Using the Arduino IDE
-
See https://watchy.sqfmi.com/docs/getting-started#arduino-setup and https://watchy.sqfmi.com/docs/getting-started#upload.
-
Open
Watchy-Revolution.ino
. -
Click on
Upload
.
- Thanks to the Calculateur watchface for the idea and the DS3231 RTC Alarm1 usage.
- This project uses the Libertinus Serif font.