This project provides everything you need to set up an ESP32 TTGO T-Display to show poem snippets, as demonstrated in the demo video. More details on artistic vision behind this piece can be found at this blog post.
Follow the instructions below to reproduce the results using the provided src/main.cpp.
- ESP32 TTGO T-Display board
- Data-capable USB-C cable
- Visual Studio Code (VS Code)
On macOS:
- Run:
brew install --cask wch-ch34x-usb-serial-driver
On Windows:
- Install the appropriate CH34x USB serial driver (search for the latest version).
After installation, restart your computer.
- Open VS Code
- Install the PlatformIO extension: https://platformio.org/install/ide?install=vscode
- In PlatformIO, create a new project
- Select board: TTGO T1
In your project directory, run the following commands within VS Code's built-in terminal:
pio pkg search "tft espi"
pio pkg install -l bodmer/TFT_eSPIOr install directly via the PlatformIO tab in VS Code (recommended)
Your platformio.ini should include:
[env:ttgo-t1]
platform = espressif32
board = ttgo-t1
framework = arduino
lib_deps = bodmer/TFT_eSPI@^2.5.43
build_flags =
;###############################################################
; TFT_eSPI library setting here (no need to edit library files):
;###############################################################
-D USER_SETUP_LOADED=1 ; Set this settings as valid
-include $PROJECT_LIBDEPS_DIR/$PIOENV/TFT_eSPI/User_Setups/Setup25_TTGO_T_Display.hFeel free to add to build_flags section manually if needed.
Use the data-capable USB-C cable to connect ESP32 device to your laptop and
- Use the PlatformIO tab in VS Code to Build and Upload (recommended)
- Or run in the VS Code terminal:
pio run pio run -t upload
You should be able to reproduce the visuals from the demo video on your own ESP32 device!