hpsaturn / esp32-s3-clock

Basic digital clock synced with Internet via NTP and configured via the serial console using a basic CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esp32-s3-clock

Basic digital clock synced with Internet via NTP and configured via command line (CLI via USB-Serial)

Build and Upload

Please install first PlatformIO open source ecosystem for IoT development compatible with Arduino IDE and its command line tools (Windows, MacOs and Linux). Also, you may need to install git in your system. After install that you should have the command line tools of PlatformIO. Please test it with pio --help. Then please run the next command for build and upload the firmware:

pio run --target upload

Configuration

Clock settings

Using your USB cable, connect it and run:

pio device monitor

Press enter and type help. You should see the configuration commands for setup your WiFi and time settings.

For instance to set Tokio time zone, select the correct time zone code here and set it:

ntpzone JST-9

Credits

The original version was from LilyGO, but this version burned the libraries and dependencies into the main repository. Also the LVGL config was into the hidden directory. For show the best practices I did this basic example using some tools from PlatformIO to suppress this bad practices.

About

Basic digital clock synced with Internet via NTP and configured via the serial console using a basic CLI

License:GNU General Public License v3.0


Languages

Language:C 99.7%Language:C++ 0.3%Language:Python 0.0%