LILYGO T-Dongle-S3

Contents

LILYGO T-Dongle-S3 ESP32-S3 Development Board User Manual

Model: T-Dongle-S3

1. Product Overview

The LILYGO T-Dongle-S3 is a feature-rich ESP32-S3 USB dongle development board designed in a compact USB Type-A plug form factor. It integrates the powerful ESP32-S3 dual-core Xtensa LX7 microprocessor, offering Wi-Fi 802.11 b/g/n and Bluetooth 5 LE connectivity. This versatile board is ideal for a wide range of applications, including USB HID gadgets, wireless display sticks, portable data loggers, and educational IoT projects.

Key features include an optional 0.96-inch ST7735 IPS color TFT LCD, an APA102 RGB LED, a hidden TF card slot, 16 MB Flash, and 8 MB PSRAM. It also provides expansion options with a JST SH 1.0 mm UART connector and a 1.25 mm battery connector with charging circuit.

LILYGO T-Dongle-S3 with LCD, front and back view
Figure 1: LILYGO T-Dongle-S3 with LCD (Front and Back)
Comparison of T-Dongle-S3 with LCD and without LCD
Figure 2: T-Dongle-S3 available in versions with and without LCD.

2. Specifications

The following table details the technical specifications of the LILYGO T-Dongle-S3:

ParameterValue
MCUESP32-S3 (Xtensa dual-core LX7, 240 MHz)
Wireless ConnectivityWi-Fi 802.11 b/g/n, Bluetooth 5 LE
Flash16 MB
PSRAM8 MB
Display (Optional)0.96-inch ST7735 IPS TFT (80 × 160, 65k colors)
RGB LEDAPA102 × 1
StorageTF card slot
USB InterfaceUSB Type-A plug
Battery ConnectorMX 1.25 mm 2-pin (with charging circuit)
UART ConnectorJST SH 1.0 mm 4-pin
AntennaOn-board + IPEX connector for external antenna
Dimensions58.6 × 17.9 × 8.7 mm
Detailed specifications of the T-Dongle-S3, including MCU, wireless, platform, onboard functions, and LCD details.
Figure 3: Detailed Specifications of T-Dongle-S3.
Image showing dimensions of the T-Dongle-S3: Length 58.6mm, Width 17.9mm, Height 8.7mm.
Figure 4: T-Dongle-S3 Dimensions.

3. Setup and Development

The T-Dongle-S3 supports various development platforms, including Arduino IDE, PlatformIO, and MicroPython.

3.1. Hardware Connection

Simply plug the T-Dongle-S3 into a standard USB Type-A port on your computer or a powered USB hub. Ensure the device is securely seated.

T-Dongle-S3 plugged into a computer's USB port
Figure 5: T-Dongle-S3 connected to a PC.

3.2. PlatformIO Setup

  1. Install Visual Studio Code and Python.
  2. Search for and install the PlatformIO IDE extension within VS Code.
  3. Open the T-Dongle-S3 project folder.
  4. Open platformio.ini and select your desired example.
  5. Click the "Build" button (✓) to compile, connect the device via USB-A, then click the "Upload" button (→) to flash the firmware.

3.3. Arduino IDE Setup

  1. Install Arduino IDE.
  2. Install the Arduino ESP32 core.
  3. In Tools → Board, configure the following settings:
    Arduino IDE SettingValue
    BoardESP32S3 Dev Module
    PortYour device's serial port
    USB CDC On BootEnable
    CPU Frequency240 MHz (WiFi)
    Flash ModeQIO 80 MHz
    Flash Size16MB (128Mb)
    Partition Scheme16M Flash (3MB APP/9.9MB FATFS)
    PSRAMOPI PSRAM
    Upload ModeUARTO/Hardware CDC
    Upload Speed921600
  4. Click "Upload" to flash your sketch to the board.

4. Pin Diagram

Understanding the pin assignments is crucial for custom development. The T-Dongle-S3 provides access to various GPIOs for its integrated components.

Pinout diagram for the T-Dongle-S3, showing Boot Button, TF Card, USB_DN, USB_DP, and LCD pins.
Figure 6: LILYGO T-Dongle-S3 Pinout Diagram.

4.1. Display (ST7735) Pin Assignments

ST7735 FunctionESP32-S3 GPIO
BLGPIO38
CSGPIO4
SCKGPIO5
MOSIGPIO3
DCGPIO2
RSTGPIO1

4.2. TF Card Pin Assignments

TF Card FunctionESP32-S3 GPIO
CLKGPIO5
CMDGPIO3
D0GPIO7
CSGPIO4

The TF card slot is hidden inside the USB-A connector housing.

T-Dongle-S3 showing the hidden TF card slot
Figure 7: Hidden TF Card Slot.

4.3. APA102 LED Pin Assignments

APA102 FunctionESP32-S3 GPIO
CIGPIO40
DIGPIO39

4.4. Boot Button Pin Assignment

Button FunctionESP32-S3 GPIO
Boot ButtonGPIO0

5. Operating Instructions

Once programmed, the T-Dongle-S3 operates according to the firmware loaded onto it. It can function as a standalone device or interact with a host computer via its USB interface or wireless capabilities.

  • USB HID Gadgets: The ESP32-S3 can emulate various USB Human Interface Devices (HID) such as keyboards, mice, or gamepads, allowing for custom input devices or automation tools.
  • Wireless Display Sticks: Utilize the Wi-Fi and Bluetooth capabilities for wireless data transmission or display applications.
  • Portable Data Loggers: With the integrated TF card slot, the T-Dongle-S3 can store data from sensors or other inputs, making it suitable for portable data logging projects.
  • IoT Projects: Leverage the Wi-Fi and Bluetooth connectivity for various Internet of Things applications, connecting to cloud services or other devices.

For specific operational details, refer to the documentation and examples provided in the LILYGO GitHub repository for the T-Dongle-S3.

6. Maintenance

To ensure the longevity and optimal performance of your LILYGO T-Dongle-S3, follow these maintenance guidelines:

  • Storage: Store the device in a cool, dry place away from direct sunlight and extreme temperatures.
  • Cleaning: Use a soft, dry cloth to clean the exterior. Avoid using liquids or abrasive cleaners.
  • Handling: Handle the device carefully to prevent physical damage to the USB connector or internal components.
  • Firmware Updates: Regularly check the official GitHub repository for firmware updates and security patches to keep your device up-to-date.

7. Troubleshooting

  • Device Not Recognized by PC:
    • Ensure the T-Dongle-S3 is fully inserted into the USB port.
    • Try a different USB port or a different computer.
    • Install the necessary USB drivers for ESP32-S3 if prompted by your operating system.
    • Verify the USB cable (if using an extension) is functional.
  • Firmware Upload Failure:
    • Check that the correct board and port are selected in your IDE (Arduino IDE, PlatformIO).
    • Ensure the device is in bootloader mode if required by your specific firmware.
    • Verify that the USB CDC On Boot option is enabled in Arduino IDE settings.
    • Consult the specific error message for clues and refer to the GitHub repository for common issues.
  • LCD Not Displaying:
    • Confirm you have the LCD version of the T-Dongle-S3.
    • Ensure your code correctly initializes and drives the ST7735 LCD using the specified pin assignments.
    • Check for any loose connections if you are using external wiring (though this is less common for the integrated LCD).
  • Need Configuration Video:
    • While a specific video may not be available, the official LILYGO GitHub repository often provides detailed examples and documentation that can guide you through configuration steps.

8. User Tips

  • Versatile Storage: The hidden TF card slot makes the T-Dongle-S3 excellent for applications requiring local data storage, such as portable data loggers or even as a secure "memory stick" for custom applications.
  • Custom Applications: Many users leverage the ESP32-S3's power to run various background applications, making it a highly adaptable tool for different projects.
  • BadUSB Capabilities: Due to its USB HID emulation capabilities, the T-Dongle-S3 can be configured to act as a "BadUSB" device for security testing or automation, though this requires advanced programming knowledge and should only be used responsibly and ethically.
  • Community Support: Engage with the LILYGO community or ESP32 forums for project ideas, troubleshooting, and sharing your creations.

9. Support and Resources

For further technical documentation, schematics, software libraries, and examples, please refer to the official LILYGO resources:

  • Official GitHub Repository: T-Dongle-S3 GitHub (Includes hardware schematics, software libraries like TFT_eSPI and FastLED, and example code).
  • User Manual (PDF): A detailed user manual in PDF format is available for download. You can access it here: LILYGO T-Dongle-S3 User Manual PDF.

For any specific inquiries or issues not covered in this manual or the online resources, please contact LILYGO support through their official channels.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.