Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use T-Display-S3: Examples, Pinouts, and Specs

Image of T-Display-S3Design with T-Display-S3 in Cirkit Designer

Introduction

The T-Display-S3 by Lilygo (Manufacturer Part ID: Lilygo ESP32-S3) is a compact display module featuring a 1.14-inch TFT screen. It is powered by the ESP32-S3 microcontroller, which provides robust processing capabilities and wireless connectivity (Wi-Fi and Bluetooth). This module is designed for projects requiring graphical output, making it ideal for IoT devices, portable displays, and user interfaces.

Explore Projects Built with T-Display-S3

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32-S3 Powered Tri-Color E-Ink Display Demo: A project utilizing T-Display-S3 in a practical application
ESP32-S3 Powered Tri-Color E-Ink Display Demo

This circuit integrates an ESP32-S3 microcontroller with a 2.9" Tri-Color E-Ink display, enabling the microcontroller to control the display for rendering graphics and text. The ESP32-S3 communicates with the display using SPI protocol, allowing for dynamic visual output such as animations and text updates in red, black, and white.

Open Project in Cirkit Designer
Image of T-Display S3 and HX711-Based Load Cell Measurement System with Audio Alert: A project utilizing T-Display-S3 in a practical application
T-Display S3 and HX711-Based Load Cell Measurement System with Audio Alert

This circuit is designed to measure weight using a load cell and process the data with an HX711 bridge sensor interface. The T-Display-S3 microcontroller is connected to the HX711 to receive the weight data and control a buzzer. The load cell interfaces with the HX711, which in turn communicates with the T-Display-S3 for data processing and potential alerting through the buzzer based on specific weight measurements.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Parameter Specification
Microcontroller ESP32-S3
Display Type 1.14-inch TFT LCD
Resolution 135 x 240 pixels
Display Driver ST7789
Communication Interface SPI
Operating Voltage 3.3V
Power Supply USB-C (5V)
Wireless Connectivity Wi-Fi 802.11 b/g/n, Bluetooth 5.0
Flash Memory 16MB
PSRAM 8MB
GPIO Pins 14 (including I2C, SPI, UART support)
Dimensions 51mm x 25mm

Pin Configuration and Descriptions

Pin Name Pin Number Description
GND - Ground
3V3 - 3.3V Power Output
GPIO0 0 General Purpose I/O, Boot Mode Select
GPIO1 1 General Purpose I/O
GPIO2 2 General Purpose I/O
GPIO3 3 General Purpose I/O
GPIO4 4 General Purpose I/O
GPIO5 5 General Purpose I/O
SDA 21 I2C Data Line
SCL 22 I2C Clock Line
MOSI 23 SPI Master Out, Slave In
MISO 19 SPI Master In, Slave Out
SCK 18 SPI Clock
CS 5 SPI Chip Select

Usage Instructions

How to Use the T-Display-S3 in a Circuit

  1. Powering the Module: Connect the module to a 5V USB-C power source. The onboard voltage regulator will step down the voltage to 3.3V for internal use.
  2. Connecting to a Microcontroller: Use the SPI interface to communicate with the display. Ensure the correct pins (MOSI, MISO, SCK, CS) are connected to the corresponding pins on your microcontroller.
  3. Programming: The T-Display-S3 can be programmed using the Arduino IDE or ESP-IDF. Install the necessary libraries (e.g., TFT_eSPI) to control the display.

Important Considerations and Best Practices

Example Code for Arduino UNO

Below is an example of how to display text on the T-Display-S3 using the Arduino IDE and the TFT_eSPI library:

#include <TFT_eSPI.h> // Include the TFT library

TFT_eSPI tft = TFT_eSPI(); // Create an instance of the display

void setup() {
  tft.init(); // Initialize the display
  tft.setRotation(1); // Set display orientation (1 = landscape)
  tft.fillScreen(TFT_BLACK); // Clear the screen with black color

  tft.setTextColor(TFT_WHITE, TFT_BLACK); // Set text color (white on black)
  tft.setTextSize(2); // Set text size

  tft.setCursor(10, 10); // Set cursor position
  tft.println("Hello, T-Display-S3!"); // Print text to the display
}

void loop() {
  // No actions in the loop for this example
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Display Not Turning On:

    • Ensure the module is properly powered (check the USB-C connection).
    • Verify that the SPI connections are correct and secure.
  2. No Output on the Display:

    • Check the User_Setup.h file in the TFT_eSPI library to ensure the correct pin configuration and driver (ST7789) are selected.
    • Confirm that the display initialization code (tft.init()) is included in your sketch.
  3. Wi-Fi or Bluetooth Not Working:

    • Ensure the ESP32-S3 firmware is correctly flashed.
    • Verify that the Wi-Fi credentials or Bluetooth pairing settings are correct.
  4. Module Overheating:

    • Avoid running the module at maximum performance for extended periods.
    • Use a heatsink or ensure proper ventilation.

FAQs

This concludes the documentation for the T-Display-S3. For further assistance, refer to the official Lilygo documentation or community forums.