Skip to content

Kampi/esp32-lvgl-watchface

 
 

Repository files navigation

ZSWatch LVGL Watchfaces

Table of Contents

About

Important

This script only supports ZSWatch v4 and above!

This project renders pre-built binary watchfaces on ESP32 using LVGL. A Kotlin script transforms the binary watchfaces into LVGL code, which is then compiled for the ZSWatch.

It was forked from esp32-lvgl-watchface.

Video

Watchfaces demo

Watchfaces

Watchfaces can be obtained from watch-face-wearfit or Chronos Dials. Since the ZSWatch uses a 240x240 screen, watchfaces of the same resolution are recommended.

"LVGL watchface"

Preview

"Analog" "Shadow" "Blue"
"Radar" "Outline" "Red"
"Tix" "Pixel" "Smart"
"Kenya" "B & W" "WFB"

Preparation (Linux)

  • Install the Java JDK by running sudo apt-get install openjdk-11-jdk
  • Install Kotlin by using sudo apt-get install kotlin
  • Run export ZSWATCH_ROOT=<ZSWatch-Root> and replace ZSWatch-Root with the root directory of your ZSWatch project

Usage

  • Run generate.sh and pass in the URL of the target watchface (i. e. https://github.com/fbiego/watch-face-wearfit/raw/main/dials/HW21/107_2_dial.bin)
generate.sh https://github.com/fbiego/watch-face-wearfit/raw/main/dials/HW21/107_2_dial.bin
  • If the script is executed without an error you can compile the ZSWatch firmware
  • Enjoy the new watchface

Maintainer

About

This is a fork of the the ESP32 LVGL Watchfaces project which can be used for the ZSWatch Open-Source Smartwatch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 95.7%
  • Shell 4.3%