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

How to Use 1.47" 320x172 Round Rectangle Color IPS TFT Display: Examples, Pinouts, and Specs

Image of 1.47" 320x172 Round Rectangle Color IPS TFT DisplayDesign with 1.47" 320x172 Round Rectangle Color IPS TFT Display in Cirkit Designer

Introduction

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.

Explore Projects Built with 1.47" 320x172 Round Rectangle Color IPS TFT Display

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 ESP32C3-Based Thermal Imaging Camera with TFT Display: A project utilizing 1.47" 320x172 Round Rectangle Color IPS TFT Display in a practical application
ESP32C3-Based Thermal Imaging Camera with TFT Display

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.

Open Project in Cirkit Designer
Image of ESP32-S3 Powered Tri-Color E-Ink Display Demo: A project utilizing 1.47" 320x172 Round Rectangle Color IPS TFT Display 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

Common Applications

Technical Specifications

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

Pin Configuration

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).

Usage Instructions

Connecting the Display

To use the 1.47" 320x172 Round Rectangle Color IPS TFT Display, follow these steps:

  1. Power Supply: Connect the VIN pin to a 3.3V or 5V power source and the GND pin to ground.
  2. SPI Interface: Connect the SCK (SPI clock) and MOSI (SPI data) pins to the corresponding SPI pins on your microcontroller.
  3. Control Pins:
    • Connect the CS pin to a GPIO pin on your microcontroller to enable/disable the display.
    • Connect the DC pin to a GPIO pin to toggle between data and command modes.
    • Connect the RST pin to a GPIO pin for resetting the display.

Example with Arduino UNO

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.

Wiring Diagram

Display Pin Arduino Pin
VIN 5V
GND GND
SCK D13
MOSI D11
CS D10
DC D9
RST D8

Arduino Code Example

#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
}

Important Considerations

Troubleshooting and FAQs

Common Issues

  1. No Display Output:

    • Verify all connections, especially power (VIN and GND) and SPI pins (SCK, MOSI, CS).
    • Ensure the RST pin is properly connected and initialized in the code.
  2. Flickering or Artifacts:

    • Check the SPI clock speed. Reduce it if necessary.
    • Ensure proper grounding between the display and the microcontroller.
  3. Incorrect Colors or Orientation:

    • Verify the initialization code. Use the correct driver (INITR_MINI160x80).
    • Check the setRotation() function to ensure the desired orientation.
  4. Backlight Not Working:

    • Ensure the display is receiving sufficient power (3.3V or 5V).
    • Check for any loose connections.

Tips for Troubleshooting

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!