开发板lilygo

LILYGO T-Display-S3

LILYGO T-Display-S3:板载 170x320 ST7789 并口屏(背光 38、D0-D7=39/40/41/42/45/46/47/48、RST 5、CS 6、DC 7、WR 8、RD 9)的 ESP32-S3 板,触摸 INT=16/RES=21,双 12 位排针全量映射(P1/P2);GPIO15 是外设电源控制,电池供电必须拉高。

装配与兼容

修订

引脚图

LILYGO T-Display-S3P1 header. Vendor pin diagram view: board back, USB down - P2 left, P1 right, both columns numbered 12-to-1 top-down. Rotate the board on the same face so USB points up: P1 moves to the left, numbered 1-to-12 top-down3V3GNDGNDNCGPIO16GPIO21GPIO17GPIO18GPIO44GPIO43GNDGNDP2 header. Vendor pin diagram view: board back, USB down - P2 left, P1 right, both columns numbered 12-to-1 top-down. Rotate the board on the same face so USB points up: P2 moves to the right, numbered 1-to-12 top-down5VGNDNCNCGPIO13GPIO12GPIO11GPIO10GPIO3GPIO2GPIO13V3

电源 · 地 · GPIO / 信号 · 板载 LED

P1 header. Vendor pin diagram view: board back, USB down - P2 left, P1 right, both columns numbered 12-to-1 top-down. Rotate the board on the same face so USB points up: P1 moves to the left, numbered 1-to-12 top-down (12 针位)

Both readings are the same physical column seen after a same-face rotation; no mirroring involved · 来源: LILYGO T-Display-S3 repo (README pinout table, base/Touch/MIDI schematics, PlatformIO board def; commit 2025-10-13) · schematic PDF at repo ref 1cc41eb1, net labels on the P1 header nets, cross-checked against the official board image T-DISPLAY-S3.jpg

编号名称类型GPIO功能
13V3P3.3 V output
2GNDGGround
3GNDGGround (silkscreen 'G')
4NCNCNot connected
5GPIO16I/O16TP_INT net (touch interrupt)
6GPIO21I/O21TP_RESET net (touch reset)
7GPIO17I/O17I2C SCL (wire name; general GPIO)
8GPIO18I/O18I2C SDA (wire name; general GPIO)
9GPIO44I/O44U0RXD (UART0 fallback RX)
10GPIO43I/O43U0TXD (UART0 fallback TX)
11GNDGGround
12GNDGGround

P2 header. Vendor pin diagram view: board back, USB down - P2 left, P1 right, both columns numbered 12-to-1 top-down. Rotate the board on the same face so USB points up: P2 moves to the right, numbered 1-to-12 top-down (12 针位)

编号名称类型GPIO功能
15VP5 V input/output (USB or battery rail)
2GNDGGround
3NCNCNot connected
4NCNCNot connected
5GPIO13I/O13Free header GPIO; SD_CMD on the SD Shield
6GPIO12I/O12Free header GPIO; SD_D0 on the SD Shield
7GPIO11I/O11Free header GPIO; SD_CLK on the SD Shield
8GPIO10I/O10Free header GPIO
9GPIO3I/O3Free header GPIO
10GPIO2I/O2Free header GPIO
11GPIO1I/O1Free header GPIO
123V3P3.3 V output

T-Display-S3 是 LILYGO 的板载屏 ESP32-S3:170x320 ST7789 LCD 走并行总线——背光 G38、数据 D0-D7 在 G39/G40/G41/G42/G45/G46/G47/G48、RST G5、CS G6、DC G7、WR G8、RD G9——再加电容触摸(INT G16、RES G21)。它不是 SPI 屏;十四个 GPIO 属于面板本身(背光、八根数据线、RST、CS、DC、WR、RD)。

这板最值得记的一条事实:GPIO15 是外设电源控制。用电池或 5V 排针供电时,必须先把它设 OUTPUT/HIGH,否则 LCD 和其他外设一律不亮。另有两个怪点:GPIO4(ADC)上的电池电压只在 USB 未插入时可读;关掉 USB CDC 后控制台回退到 GPIO43/44。

两根排针均已全量映射。原厂针图(板背面、USB 朝下)中 P1 在右、两组 Pin 1 在下;同面旋转 180° 让 USB 朝上后,P1 在左列、P2 在右列,两列 Pin 1 均在上:P1 自上而下 1→12 为 3V3 / GND / GND(丝印 G)/ NC / G16 / G21 / G17 / G18 / G44 / G43 / GND / GND,P2 为 5V / GND / NC / NC / G13 / G12 / G11 / G10 / G3 / G2 / G1 / 3V3——顺序由原理图网络标签重建并与官方板图交叉核对。G16/G21 是 TP_INT/TP_RESET 触摸网络(无触摸控制器的变体上就是自由 GPIO),G13/G12/G11 兼作 SD Shield 扩展板的 SD_CMD/D0/CLK 走线。

按 README Supported Products 表,基础款与 Touch 均为 ESP32-S3R8:16MB flash + 8MB OPI PSRAM——基础款本身就有 1.9 寸屏,Touch 只是加 CST 电容触摸层、不加内存(早先「基础款无 PSRAM」的记录有误)。MIDI 变体已在 LILYGO 商店开售、仓库带 SCH_MIDI_V1.1 原理图,但该表中 MIDI 的规格格仍为空,这里只记录其存在。上述 SD 引脚只在加 SD Shield 时存在:标准板没有卡槽。本页渲染该家族的 MCUID 数据记录。