Skip to content

T-Encoder get it now

Overview

LILYGO T-Encoder is a compact ESP32-S3 development board combining a 1.28-inch GC9A01 round TFT display (240 × 240) with an integrated rotary encoder and push button. Powered by the ESP32-S3 dual-core LX7 @ 240 MHz with Wi-Fi 802.11 b/g/n and Bluetooth 5.0 LE, it provides a sleek, knob-style interface form factor ideal for volume controls, smart dimmers, menus, and wearable-style embedded HMI applications. Supports Arduino IDE, PlatformIO, and ESP-IDF.

Quick Start

Example Support

ExamplePlatformIO/ArduinoESP-IDFDescription
T-EncoderRound display, encoder, BLE examples

PlatformIO

  1. Install Visual Studio Code and Python
  2. Search for and install the PlatformIO IDE extension in VS Code
  3. Open the T-Encoder project folder
  4. Open platformio.ini and select your example
  5. Click to compile, connect via USB-C, click to upload

Arduino

  1. Install Arduino IDE
  2. Install Arduino ESP32
  3. In ToolsBoard, configure:
Arduino IDE SettingValue
BoardESP32S3 Dev Module
PortYour port
USB CDC On BootEnable
CPU Frequency240 MHz (WiFi)
Flash Size4MB (32Mb)
Partition SchemeDefault 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
PSRAMDisabled
Upload ModeUART0/Hardware CDC
Upload Speed921600
USB ModeCDC and JTAG
  1. Click Upload

Development Platforms

  1. Arduino IDE
  2. PlatformIO
  3. ESP-IDF

Key Features

  • ESP32-S3 dual-core LX7 @ 240 MHz, Wi-Fi + Bluetooth 5.0
  • 1.28-inch GC9A01 round TFT display (240 × 240, SPI)
  • Integrated rotary encoder with push button
  • Compact knob-style form factor
  • USB-C for power and programming
  • QWIIC connector for I2C expansion

Specifications

ParameterValue
SOCESP32-S3, Dual-core LX7 @ 240 MHz
Flash4 MB
PSRAM
WirelessWi-Fi 2.4 GHz 802.11 b/g/n, Bluetooth 5.0 LE
Display1.28-inch GC9A01 round TFT, 240 × 240
InterfaceRotary encoder with push button
USB1 × USB-C
Expansion1 × QWIIC

T-Encoder Specifications

Pin Diagram

T-Encoder Pinout

Display (GC9A01)

SignalGPIO
SPI MOSI13
SPI SCK12
CS10
DC11
RST14
BL9

Rotary Encoder

SignalGPIO
ENC A4
ENC B5
Button0

Dimensions

Schematic

Datasheet

Software Libraries

Dependent Libraries

FAQ

  • Q. How do I read the rotary encoder direction? A. Use the RotaryEncoder library, monitoring GPIO4 (A) and GPIO5 (B). The library handles debounce and direction detection automatically.

  • Q. Can I use LVGL with the round GC9A01 display? A. Yes. LVGL works with the GC9A01 driver. Define the display resolution as 240 × 240 and set the GC9A01_DRIVER flag in your TFT_eSPI User_Setup.h.

Changelog

VersionDateNotes
V1.0Initial release