LilyGo T-Dongle S3 Development Board
Code name: LILYGO_T_DONGLE_S3
LilyGo T-Dongle S3 development board is based on esp32s3 microcontroller and uses xtensa architecture. This board has a maximum CPU frequency of 240 MHz and a flash size of 16MB.
About LilyGo T-Dongle S3
π The LilyGo T-Dongle S3 is a compact development board featuring an ESP32-S3 processor with integrated WiFi and Bluetooth 5. It is designed as a USB-powered dongle for easy plug-and-play development. β‘
π‘ The T-Dongle S3 is equipped with 8MB PSRAM and 16MB Flash, providing ample memory for IoT and embedded applications.
πΎ With multiple GPIOs, ADC, PWM, I2C, and SPI support, this board is ideal for prototyping and rapid development.
LilyGo T-Dongle S3 Technical Specifications
π₯οΈ Display
π°οΈ Connectivity
π§ Microcontroller
β¨ Features
- 21 digital IO pins
- 46 external interrupt pins
- 6 analog input pins
- 14 PWM pins
LilyGo T-Dongle S3 Pinout
β Safe Pins to Use
For general GPIO usage, these are the safest and most flexible choices:
Why Are These Pins Safe?
- Not involved in bootstrapping β No impact on device boot mode or system startup
- Not linked to flash memory or PSRAM β Won't interfere with storage or memory access
- Not dedicated to USB or JTAG β Free for general use without affecting debugging
- No special hardware connections β Freely assignable without internal conflicts
β οΈ Pins to Avoid or Use with Caution
Some pins are reserved for critical functions like bootstrapping, JTAG debugging, USB communication, and flash memory operations. Misusing these pins may lead to boot failures, programming issues, USB conflicts, or disruptions in flash storage.
Critical Pin Categories:
- π οΈ Strapping Pins: Control boot behavior and flash voltage selection
- π JTAG Debugging Pins: Required for low-level debugging
- π USB Communication Pins: Used for USB Serial/JTAG communication
- β‘ Flash Memory & SPI Pins: Connected to SPI flash memory and PSRAM
- π‘ UART Serial Communication Pins: Used for debugging and firmware uploads
PIN | Label | Reason | Function |
---|---|---|---|
IO3 | GPIO3 | Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface. | π οΈ Strapping |
IO19 | USB_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-Dongle S3 Pin Mappings
This development board provides 21 digital IO pins, out of which 46 can be used as external interrupt pins , 6 as analog input pins and 14 pins have Pulse-Width Modulation (PWM) .
Pin | Function | ESP Pin | Input/Output | Description |
---|---|---|---|---|
1 | 3V3 | 3.3V | POWER OUTPUT | 3.3V power output |
2 | GND | GND | POWER GROUND | Ground connection |
3 | 5V | 5V | POWER INPUT | 5V power input |
4 | IO1 | GPIO1 | BIDIRECTIONAL | GPIO, ADC, I2C |
5 | IO2 | GPIO2 | BIDIRECTIONAL | GPIO, ADC |
6 | IO3 | GPIO3 | BIDIRECTIONAL | GPIO, ADC |
7 | IO16 | SPI_CS | BIDIRECTIONAL | GPIO, SPI Chip Select |
8 | IO17 | SPI_D | BIDIRECTIONAL | GPIO, SPI Data |
9 | IO18 | SPI_CLK | BIDIRECTIONAL | GPIO, SPI Clock |
10 | IO19 | SPI_Q | BIDIRECTIONAL | GPIO, SPI Q |
11 | IO21 | USB_D+ | BIDIRECTIONAL | GPIO, USB Data+ |
12 | IO22 | USB_D- | BIDIRECTIONAL | GPIO, USB Data- |
13 | IO23 | RGB_LED | OUTPUT | GPIO, Addressable RGB LED |
Default Tools for LilyGo T-Dongle S3
Bootloader tool | esptool_py |
Uploader tool | esptool_py |
Network uploader tool | esp_ota |
Bootloader address | 0x0 |
Flash mode | dio |
Boot mode | qio |
PSRAM type | opi |
Maximum upload size | 3072 Kb (3145728 B) |
Maximum data size | 320 Kb (327680 B) |
The LilyGo T-Dongle S3 development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x0". Flash mode and boot mode for LilyGo T-Dongle S3 development board by default is dio and qio respectively. The board uses opi PSRAM type. When using Arduino IDE, the maximum sketch upload size is 3072 Kb (3145728 B) and maximum data size for variables is 320 Kb (327680 B).