LilyGo T-Embed image

LilyGo T-Embed

Development Board LILYGO_T_EMBED

LilyGo T-Embed is a development board based on the ESP32S3 microcontroller using XTENSA architecture.

This board features a maximum CPU frequency of 240 MHz and 16MB flash memory.

240 MHz CPU 16MB Flash USB-C WiFi + BT 5.0 ~$39.99 per unit

About LilyGo T-Embed

ESP32S3 Xtensa dual-core 32-bit LX7 ยท 240 MHz

๐Ÿš€ The LilyGo T-Embed is an ESP32-S3-based development board designed for versatile embedded applications. With an integrated 1.54-inch IPS LCD touch screen and a rotary encoder, it is perfect for UI-based projects. โšก

๐Ÿ“ก Featuring WiFi 802.11 b/g/n and Bluetooth 5 (LE), the T-Embed allows seamless wireless connectivity for IoT and automation applications.

๐Ÿ’พ Equipped with 8MB PSRAM and 16MB Flash, it is capable of handling complex processing tasks efficiently.

Technical Specifications

Complete technical specification details for LilyGo T-Embed

ESP32S3 ยท Dual-Core + AI
Arch
XTENSA
Clock
240 MHz
Flash
16MB
PSRAM
8MB
Connectivity
WiFi
802.11 b/g/n (2.4 GHz)
Bluetooth 5.0
Classic + BLE
170x320pixels
Type
LCD
Size
1.54"
Driver
ST7789
USB
Port
USB-C
48
Digital IO
20
Analog In
27
PWM
46
Interrupts
Full datasheet & reference manual
Download

Quick Setup

Copy-paste configs for LilyGo T-Embed - auto‑generated from this board's exact hardware specs.

ESP32S3 240 MHz 16MB DIO Xtensa

In Arduino IDE 2 select Lilygo T Embed from the esp32 by Espressif package. In PlatformIO use board = esp32-s3-devkitm-1. ESP32S3 · 240 MHz · 16MB · DIO.

Tools menu settings
Board (select in Arduino IDE) Lilygo T Embed
CPU Frequency 240 MHz
Flash Size 16MB
Flash Mode DIO
Upload Speed 921600
Architecture Xtensa

In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools โ†’ Board and select "Lilygo T Embed" for the LilyGo T-Embed.

LilyGo T-Embed Pinout Diagram

Complete pin reference for LilyGo T-Embed

LilyGo T-Embed pinout diagram

Safe Pins to Use

These pins are safe for general GPIO usage without boot or system conflicts.

IO1 IO2 IO16 IO17 IO18 IO21 IO22 IO23 IO25 IO26 IO27 IO28 IO29
โœ“ No boot sequence involvement
โœ“ No flash/PSRAM connections
โœ“ No USB or JTAG conflicts
โœ“ Freely assignable without issues

Pins to Avoid or Use with Caution

Reserved for critical functions. Misuse may cause boot failures, programming issues, or system conflicts.

Strapping JTAG USB Flash/SPI UART
PinLabelWhy AvoidType
IO3GPIO3Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface.๐Ÿ› ๏ธ Strapping
IO19USB_D-By default connected to the on-chip USB Serial/JTAG controller. Using it as general GPIO without reconfiguring IO MUX will interfere with USB functionality.๐Ÿ”Œ USB

LilyGo T-Embed Custom Pin Mapping

Pin configuration and GPIO mapping for LilyGo T-Embed

48
Digital I/O Pins
46
Interrupt Pins
20
Analog Inputs
27
PWM Pins
PinFunctionESP PinI/O TypeDescription
13V33.3VPOWER OUTPUT3.3V power output
2GNDGNDPOWER GROUNDGround connection
35V5VPOWER INPUT5V power input
4IO1GPIO1BIDIRECTIONALGPIO, ADC, I2C
5IO2GPIO2BIDIRECTIONALGPIO, ADC
6IO3GPIO3BIDIRECTIONALGPIO, ADC
7IO16SPI_CSBIDIRECTIONALGPIO, SPI Chip Select
8IO17SPI_DBIDIRECTIONALGPIO, SPI Data
9IO18SPI_CLKBIDIRECTIONALGPIO, SPI Clock
10IO19SPI_QBIDIRECTIONALGPIO, SPI Q
11IO21LCD_DCOUTPUTGPIO, LCD Data/Command
12IO22LCD_RSTOUTPUTGPIO, LCD Reset
13IO23LCD_BLOUTPUTGPIO, LCD Backlight
14IO25TOUCH_SDABIDIRECTIONALGPIO, I2C Data for Touch
15IO26TOUCH_SCLBIDIRECTIONALGPIO, I2C Clock for Touch
16IO27ENCODER_AINPUTGPIO, Rotary Encoder A
17IO28ENCODER_BINPUTGPIO, Rotary Encoder B
18IO29ENCODER_SWITCHINPUTGPIO, Rotary Encoder Switch
Legend
Function Pin role
GPIO ESP32 pin
I/O Direction
# Pin number

Default Tools & Configuration

Build and upload settings for LilyGo T-Embed

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x0
Flash modedio
Boot modeqio
PSRAM typeopi
Maximum upload size
3072 KB (3145728 bytes)
Maximum data size
320 KB (327680 bytes)
Configuration Summary

The LilyGo T-Embed uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x0.

Flash mode: dio | Boot mode: qio | PSRAM: opi

Max sketch size: 3072 KB | Max data size: 320 KB