An ESP32+TFT display with 2 screen:
- Main Screen: an NTP clock and WebAPI data including weather, TWSE stock, currency.
- Player Screen: connected to Foobar2000 running on Windows, and showing current playing song metadata, position, and synced lyrics.
DEMO: https://youtu.be/tnHw0xSMCKo
-
Circuit
- ESP32-WROOM-32E 16MB + ST7735S 160x128
-
Create
secrets.h
ininclude
folder#define WEATHER_API_KEY "weatherapi.com key" #define CURRENCY_API_KEY "app.currencyapi.com key"
-
Create
wifi_info.h
ininclude
folder#define WIFI_SSID "SSID" #define WIFI_PASSWORD "PASSWORD"
-
Install library using PlatformIO
- ArduinoJson v7.3.0
- TFT_eSPI v2.5.43
-
Set upload settings
- Board: ESP32 Dev Module
- Partition Scheme: Custom(partitions.csv)
- Flash Size: 16MB
- Upload Speed: 921600
-
Build & upload to ESP32