Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ESP32 Text-Based Generative Art Project

Overview

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.

Requirements

  • ESP32 TTGO T-Display board
  • Data-capable USB-C cable
  • Visual Studio Code (VS Code)

Reproducibility Steps

1. Install USB Driver

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.

2. Install PlatformIO in VS Code

3. Create PlatformIO Project

  • In PlatformIO, create a new project
  • Select board: TTGO T1

4. Install TFT_eSPI Library

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_eSPI

Or install directly via the PlatformIO tab in VS Code (recommended)

5. Configure platformio.ini

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.h

Feel free to add to build_flags section manually if needed.

6. Build and Upload

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages