
This circuit connects an ESP32 microcontroller to a 1.3 inch TFT display module (ST7789). The ESP32 provides power and control signals to the display, enabling it to show graphical data.

The 1.47" 320x172 Round Rectangle Color IPS TFT Display (Manufacturer Part ID: 5393) by Adafruit is a compact and vibrant display module designed for modern applications. With its IPS (In-Plane Switching) technology, it offers wide viewing angles and excellent color reproduction, making it ideal for projects requiring high-quality visuals. Its unique round rectangle shape adds a sleek and modern aesthetic to wearable devices, handheld gadgets, and IoT projects.

This circuit connects an ESP32 microcontroller to a 1.3 inch TFT display module (ST7789). The ESP32 provides power and control signals to the display, enabling it to show graphical data.

This circuit features an RTL8720DN microcontroller interfaced with a China ST7735S 160x128 TFT LCD display and four pushbuttons. The microcontroller reads the states of the pushbuttons and displays their statuses on the TFT LCD, providing a visual feedback system for button presses.

This circuit connects a 1.3 inch TFT Module 240×240 ST7789 display, a GY-MCU90640 thermal camera module, and a XIAO ESP32C3 microcontroller to create a thermal imaging system. The ESP32C3 microcontroller is programmed to read temperature data from the thermal camera, process it, and display a visual representation of the temperature distribution on the TFT screen. The circuit is designed for applications requiring thermal monitoring, such as detecting heat sources or monitoring temperature variations in an environment.

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.
Below are the key technical details of the 1.47" 320x172 Round Rectangle Color IPS TFT Display:
| Specification | Details |
|---|---|
| Manufacturer | Adafruit |
| Part ID | 5393 |
| Display Type | IPS TFT |
| Screen Size | 1.47 inches (diagonal) |
| Resolution | 320 x 172 pixels |
| Interface | SPI (Serial Peripheral Interface) |
| Input Voltage | 3.3V or 5V logic compatible |
| Backlight Voltage | 3.0V |
| Backlight Current | ~20mA |
| Viewing Angle | Wide (IPS technology) |
| Pixel Color Depth | 16-bit (65,536 colors) |
| Operating Temperature | -20°C to 70°C |
| Dimensions | 40.5mm x 20.5mm x 4.5mm |
The display module has a total of 7 pins. Below is the pinout and description:
| Pin | Name | Description |
|---|---|---|
| 1 | VIN | Power input (3.3V or 5V logic compatible). |
| 2 | GND | Ground connection. |
| 3 | SCK | SPI clock input. |
| 4 | MOSI | SPI data input (Master Out Slave In). |
| 5 | CS | Chip Select (active low). |
| 6 | DC | Data/Command select. High for data, low for command. |
| 7 | RST | Reset pin (active low). |
To use the 1.47" 320x172 Round Rectangle Color IPS TFT Display, follow these steps:
VIN pin to a 3.3V or 5V power source and the GND pin to ground.SCK (SPI clock) and MOSI (SPI data) pins to the corresponding SPI pins on your microcontroller.CS pin to a GPIO pin on your microcontroller to enable/disable the display.DC pin to a GPIO pin to toggle between data and command modes.RST pin to a GPIO pin for resetting the display.Below is an example of how to connect and use the display with an Arduino UNO. This example uses the Adafruit_GFX and Adafruit_ST7735 libraries, which are compatible with this display.
| Display Pin | Arduino Pin |
|---|---|
| VIN | 5V |
| GND | GND |
| SCK | D13 |
| MOSI | D11 |
| CS | D10 |
| DC | D9 |
| RST | D8 |
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7735.h> // Library for ST7735 and ST7789 displays
#include <SPI.h> // SPI library
// Define pins for the display
#define TFT_CS 10 // Chip Select pin
#define TFT_DC 9 // Data/Command pin
#define TFT_RST 8 // Reset pin
// Create an instance of the display
Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);
void setup() {
// Initialize the display
tft.initR(INITR_MINI160x80); // Initialize with the correct driver
tft.setRotation(1); // Set display orientation (1 = landscape)
// Clear the screen with a black background
tft.fillScreen(ST77XX_BLACK);
// Display a message
tft.setTextColor(ST77XX_WHITE); // Set text color to white
tft.setTextSize(1); // Set text size
tft.setCursor(10, 10); // Set cursor position
tft.println("Hello, World!"); // Print text to the display
}
void loop() {
// Add your code here to update the display
}
No Display Output:
RST pin is properly connected and initialized in the code.Flickering or Artifacts:
Incorrect Colors or Orientation:
INITR_MINI160x80).setRotation() function to ensure the desired orientation.Backlight Not Working:
By following this documentation, you can successfully integrate the 1.47" 320x172 Round Rectangle Color IPS TFT Display into your projects and enjoy its vibrant visuals and compact design!