Skip to content

+49 1626571232

info@openelab.io

🚀 Free Shipping from 30€ in Germany, 50€ in the EU & US!

What is T-Dongle-S3 and how can it be used?

23 Jan 2025 0 Comments

The LilyGO T-Dongle S3 represents a significant advancement in development boards, integrating the high-performance ESP32-S3 chip with careful optimizations in both hardware and software. This board offers a promising solution for the development of wireless communication and embedded applications. This article will explore the key features and highlights of the LilyGO T-Dongle S3, as well as provide guidance on how to effectively initiate projects utilizing this innovative platform.

What is LilyGO T-Dongle S3?

The LilyGO T-Dongle S3 is a USB device that utilizes the ESP32-S3 chip, which is engineered by Espressif. The ESP32-S3 is a robust and efficient wireless communication chip, meticulously designed for low-power Internet of Things (IoT) applications. In comparison to its predecessor, the ESP32, the ESP32-S3 demonstrates substantial enhancements in terms of processing capabilities, interface expandability, and AI acceleration proficiency. It particularly excels in domains such as deep learning inference and image processing, thereby broadening the scope of potential applications.

The T-Dongle S3 provides seamless connectivity to a variety of devices, including personal computers and Raspberry Pi, via its USB interface, establishing it as both a compact and robust development tool. This device supports USB HID (Human Interface Device) functionality, enabling it to emulate peripherals such as mice and keyboards. Furthermore, it offers advanced capabilities related to USB devices, thereby affording developers a diverse array of application opportunities.

LILYGO T-Dongle S3

LILYGO T-Dongle S3

View Product

Main Hardware Features

ESP32-S3 Chip

  • Clock Speed: Up to 240 MHz
  • Memory: 512KB SRAM and up to 16MB flash storage
  • AI Acceleration: Built-in vector processing unit, optimized for neural network processing, with exceptional performance in machine learning and image recognition tasks.

USB Interface

  • The T-Dongle S3 establishes connections with other devices through a USB interface, thereby supporting the functionality of USB devices. This capability facilitates direct communication with personal computers and other devices, ultimately enhancing the development and debugging processes.

Low Power Design

  • The low-power mode of the T-Dongle S3 renders it particularly well-suited for battery-operated Internet of Things (IoT) applications, as it enhances energy efficiency for prolonged operational deployments.

Rich Peripheral Interfaces

  • Several GPIO pins are designed to support standard communication protocols, including I2C, SPI, and UART, facilitating seamless interaction with a variety of sensors and external devices.

Integrated Debugging Features

  • The device is equipped with a JTAG debugging interface, facilitating the troubleshooting, debugging, and validation processes for developers working on their applications.

Software Support

The LilyGO T-Dongle S3 is fully compatible with the development platform provided by Espressif, supporting widely utilized environments such as the Espressif IoT Development Framework (ESP-IDF) and Arduino. Furthermore, developers have the opportunity to utilize Espressif's Real-Time Operating System (RTOS) to create more sophisticated and efficient applications.

Getting Started with the LilyGO T-Dongle S3

To start using the LilyGO T-Dongle S3, developers need to set up the necessary software toolchain and configure the development environment. Here are a few simple steps to help you get started quickly:

  1. Install Development Environment
  • First, you'll need to install either ESP-IDF or Arduino IDE for programming.
    • For ESP-IDF, you can visit Espressif's official website to get the installation guide.
    • For Arduino IDE, developers can simply install the ESP32 core library from the Arduino IDE library manager.
  1. Flashing the Firmware
  • To flash the firmware, connect the T-Dongle S3 to your PC via USB.
    • If using ESP-IDF, you can use the idf.py tool to flash the firmware.
    • If using Arduino IDE, you can simply use the “Upload” function to flash the program to the device.
  1. Example Code
  • The T-Dongle S3 provides example code ranging from basic GPIO control to more complex wireless communication protocols. You can refer to the official example code to start implementing basic functions, such as communication with a PC over USB, or connecting to Wi-Fi and Bluetooth for data transmission.

#include 

void setup() {
  Serial.begin(115200);
  delay(1000);
  Serial.println("LilyGO T-Dongle S3 is running!");
}

void loop() {
  // Additional code can be added here
  delay(1000);
}


 ✔ Copied!

  1. Testing and Debugging
The serial monitor enables the real-time observation of a program's output, facilitating a better understanding of the code's behavior. During the development phase, the JTAG interface can be employed for advanced debugging, which allows for tracing and rectifying any issues within the program. This tool serves as an effective resource for diagnosing problems and ensuring that the application operates according to expectations.

How to use the example

Hardware Required

This example illustrates the utilization of the espp::TDongleS3 hardware abstraction component to initialize the various modules on the LilyGo T-Dongle-S3. It establishes the touch, display, and keyboard subsystems while continuously monitoring the state of the touchpad. Each time the screen is touched, the program employs LVGL to render a circle at the location of contact. Additionally, if the home button on the display is pressed, the circle will be removed. This example is designed to run on the LilyGo T-Dongle S3 dev board which has:
  • WiFi / BLE
  • uSD card (hidden in the USB A connector!)
  • RGB LED
  • Color TFT LCD (ST7735, 80x160 0.96” IPS LCD)

T-Dongle S3 Pin Configuration

LED Pin ESP32S3 IO Pin Number
Data 40
Clock 39
LCD Pin ESP32S3 IO Pin Number
CS 4
SDA 3
SCL 5
DC 2
Reset 1
Backlight 38
TF / uSD Card Pin ESP32S3 IO Pin Number
D0 14
D1 17
D2 21
D3 18
CLK 12
CMD 16

Build and Flash

Build the project and flash it to the board, then run the monitor tool to view the serial output:
idf.py -p PORT flash monitor
(Replace PORT with the name of the serial port to use.)
(To exit the serial monitor, type Ctrl-].)
See the Getting Started Guide for the full steps on how to configure and use ESP-IDF to build projects.  

API Reference   

Recommended Articles

  • What is the Difference between LILYGO T-Embedand T-Embed CC1101
  • Difference between LILYGO t-embed and flipper zero  

FAQs

What is LilyGO?

LILYGO (Shenzhen Xinyuan Electronic Technology Co., Ltd.) is a company focused on the Internet of Things (IoT) and embedded development, offering a wide range of affordable development boards and modules. These products are widely used in smart homes, sensors, automation, and other IoT applications. Most of LILYGO's products are open-source and support popular development platforms like Arduino IDE and ESP-IDF, helping developers and makers bring their ideas to life and simplifying the development process.

How do l activate my T-Dongle S3?

    1. Install Development Environment:
    • ESP-IDF: Download and install ESP-IDF from Espressif's official website, following the installation guide.
    • Arduino IDE: In Arduino IDE, install the ESP32 library. Go to FilePreferences and add the following URL in the "Additional Boards Manager URLs" field:
    1. Use a USB Type-C cable to connect the T-Dongle S3 to your computer.
    2. Select the Board
    • ESP-IDF: Choose the correct board in the configuration file (or configure it manually).
    • Arduino IDE: Select the appropriate ESP32 board in ToolsBoard.
    1. Upload Code
    • In Arduino IDE, open FileExamplesBasicsBlink and click Upload.
    • In ESP-IDF, use the idf.py flash command to upload the firmware.
    1. View Output
    • In Arduino IDE, open the Serial Monitor to see the output.
    • In ESP-IDF, use the idf.py monitor to view the serial output.

     

    Prev Post
    Next Post

    Leave a comment

    All blog comments are checked prior to publishing

    Someone recently bought a

    Thanks for subscribing!

    This email has been registered!

    Shop the look

    Choose Options

    Recently Viewed

    Edit Option
    Back In Stock Notification
    this is just a warning
    Login
    Shopping Cart
    0 items
    RuffRuff App RuffRuff App by Tsun