Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320: Examples, Pinouts, and Specs

Image of Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320
Cirkit Designer LogoDesign with Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in Cirkit Designer

Introduction

The Waveshare ESP32-S3 2inch Capacitive Touch Display is a compact and versatile display module designed for interactive applications. Featuring a 2-inch IPS panel with a resolution of 240x320 pixels, it delivers vibrant colors and wide viewing angles. The module integrates seamlessly with the ESP32-S3 microcontroller, making it ideal for IoT projects, smart home devices, handheld interfaces, and educational tools. Its capacitive touch functionality enables intuitive user interaction, enhancing the usability of your projects.

Explore Projects Built with Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-C6 and ST7735S Display: Wi-Fi Controlled TFT Display Module
Image of ESP32-C6sm-ST7735: A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
This circuit features an ESP32-C6 microcontroller interfaced with a China ST7735S 160x128 TFT display. The ESP32-C6 controls the display via SPI communication, providing power, ground, and control signals to render graphics and text on the screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-S3 and ILI9488 TFT LCD Display for Interactive Graphics
Image of IOT_V1: A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
This circuit features an ESP32-S3 microcontroller connected to an ILI9488 TFT LCD display. The ESP32-S3 initializes and controls the display, demonstrating basic graphics and text rendering using the TFT_eSPI library.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Health Monitoring System with Touch Interface
Image of HEALTH  MONITORING  SYSTEM : A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
This circuit features an ESP32 Devkit V1 microcontroller connected to a MAX30100 pulse oximeter sensor, an mlx90614 infrared thermometer, a 128x64 OLED display, and four TTP233 touch sensors. The ESP32 facilitates communication with the I2C devices (MAX30100, mlx90614, OLED display) using its dedicated SDA and SCL pins, and it interfaces with each touch sensor through individual GPIO pins. The circuit is likely designed for a health monitoring system with touch input capability and visual output on the OLED display.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-C3 Mini OLED Display Analog Signal Visualizer
Image of scope: A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
This circuit features an ESP32-C3 Mini microcontroller connected to a 0.96" OLED display via I2C. The microcontroller reads an analog signal, processes it, and displays a waveform representation on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320

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-C6sm-ST7735: A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
ESP32-C6 and ST7735S Display: Wi-Fi Controlled TFT Display Module
This circuit features an ESP32-C6 microcontroller interfaced with a China ST7735S 160x128 TFT display. The ESP32-C6 controls the display via SPI communication, providing power, ground, and control signals to render graphics and text on the screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of IOT_V1: A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
ESP32-S3 and ILI9488 TFT LCD Display for Interactive Graphics
This circuit features an ESP32-S3 microcontroller connected to an ILI9488 TFT LCD display. The ESP32-S3 initializes and controls the display, demonstrating basic graphics and text rendering using the TFT_eSPI library.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of HEALTH  MONITORING  SYSTEM : A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
ESP32-Based Health Monitoring System with Touch Interface
This circuit features an ESP32 Devkit V1 microcontroller connected to a MAX30100 pulse oximeter sensor, an mlx90614 infrared thermometer, a 128x64 OLED display, and four TTP233 touch sensors. The ESP32 facilitates communication with the I2C devices (MAX30100, mlx90614, OLED display) using its dedicated SDA and SCL pins, and it interfaces with each touch sensor through individual GPIO pins. The circuit is likely designed for a health monitoring system with touch input capability and visual output on the OLED display.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of scope: A project utilizing Waveshare ESP32-S3 2inch Capacitive Touch Display IPS 240×320 in a practical application
ESP32-C3 Mini OLED Display Analog Signal Visualizer
This circuit features an ESP32-C3 Mini microcontroller connected to a 0.96" OLED display via I2C. The microcontroller reads an analog signal, processes it, and displays a waveform representation on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • IoT dashboards and control panels
  • Smart home automation interfaces
  • Portable device displays
  • Educational and prototyping projects
  • Interactive kiosks and handheld devices

Technical Specifications

Key Technical Details

Parameter Specification
Display Type IPS LCD
Screen Size 2 inches
Resolution 240×320 pixels
Touch Type Capacitive
Touch Points Single-point
Controller ILI9341 (Display), FT6236 (Touch)
Interface SPI
Operating Voltage 3.3V
Backlight Control PWM
Dimensions 40.8mm × 55.8mm

Pin Configuration and Descriptions

Display Module Pinout

Pin Name Description
VCC Power input (3.3V)
GND Ground
SCK SPI clock input
MOSI SPI data input
MISO SPI data output (not used in some configurations)
CS Chip select for the display
DC Data/Command control pin
RST Reset pin
BL Backlight control (PWM supported)
INT Interrupt pin for touch controller
SDA I2C data line for touch controller
SCL I2C clock line for touch controller

Usage Instructions

Connecting the Display to an ESP32-S3

To use the Waveshare ESP32-S3 2inch Capacitive Touch Display, connect the module to the ESP32-S3 microcontroller as follows:

Display Pin ESP32-S3 Pin
VCC 3.3V
GND GND
SCK GPIO18
MOSI GPIO23
CS GPIO5
DC GPIO16
RST GPIO17
BL GPIO4
SDA GPIO21
SCL GPIO22

Example Code for Arduino IDE

Below is an example of how to initialize and use the display with the ESP32-S3 using the Arduino IDE. This example uses the Adafruit_GFX and Adafruit_ILI9341 libraries for the display and the Wire library for touch input.

#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#include <Wire.h>

// Define pins for the display
#define TFT_CS   5   // Chip select
#define TFT_DC   16  // Data/Command
#define TFT_RST  17  // Reset
#define TFT_BL   4   // Backlight control

// Initialize the display
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);

void setup() {
  // Initialize serial communication for debugging
  Serial.begin(115200);
  Serial.println("Initializing display...");

  // Initialize the display
  tft.begin();
  tft.setRotation(1); // Set display orientation
  tft.fillScreen(ILI9341_BLACK); // Clear the screen

  // Display a test message
  tft.setTextColor(ILI9341_WHITE);
  tft.setTextSize(2);
  tft.setCursor(10, 10);
  tft.println("Hello, ESP32-S3!");

  // Turn on the backlight
  pinMode(TFT_BL, OUTPUT);
  digitalWrite(TFT_BL, HIGH);
}

void loop() {
  // Add your main code here
}

Important Considerations

  1. Power Supply: Ensure the module is powered with 3.3V. Supplying higher voltages may damage the display.
  2. Backlight Control: Use the BL pin to control the backlight brightness via PWM or turn it on/off.
  3. Touch Controller: The touch functionality uses the I2C interface. Ensure the SDA and SCL pins are correctly connected.
  4. Library Dependencies: Install the Adafruit_GFX and Adafruit_ILI9341 libraries in the Arduino IDE for display control.

Troubleshooting and FAQs

Common Issues

  1. Display Not Turning On

    • Verify the power connections (VCC and GND).
    • Ensure the backlight pin (BL) is set to HIGH or connected to 3.3V.
  2. No Display Output

    • Check the SPI connections (SCK, MOSI, CS, DC).
    • Ensure the correct pins are defined in the code.
  3. Touch Not Responding

    • Verify the I2C connections (SDA and SCL).
    • Check if the touch controller (FT6236) is properly initialized in your code.
  4. Flickering or Dim Display

    • Ensure a stable 3.3V power supply.
    • Check the backlight control pin (BL) for proper PWM signals.

FAQs

Q: Can I use this display with a 5V microcontroller?
A: No, the display operates at 3.3V. Using a 5V microcontroller requires level shifters for the SPI and I2C lines.

Q: How do I adjust the screen brightness?
A: Use the BL pin to control the backlight brightness via PWM or connect it to 3.3V for full brightness.

Q: What libraries are required for this display?
A: The Adafruit_GFX and Adafruit_ILI9341 libraries are recommended for display control. For touch functionality, use an I2C library like Wire.

Q: Can I use this display in landscape mode?
A: Yes, the display orientation can be changed using the setRotation() function in the code.