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

How to Use 1.8 TFT SPI display : Examples, Pinouts, and Specs

Image of 1.8 TFT SPI display
Cirkit Designer LogoDesign with 1.8 TFT SPI display in Cirkit Designer

Introduction

The 1.8-inch TFT SPI Display (Manufacturer: SIP, Part ID: 128*160 V1.1) is a compact, high-resolution thin-film transistor (TFT) display module designed for use in embedded systems. It features a 128x160 pixel resolution and supports 65K colors, making it ideal for displaying vibrant graphics, images, and text. The display communicates via the Serial Peripheral Interface (SPI), which ensures fast and efficient data transfer while minimizing the number of required pins.

Explore Projects Built with 1.8 TFT SPI 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!
ESP32-Powered 1.3 inch TFT Display Module for Visual Data Output
Image of ESP32+ST7789: A project utilizing 1.8 TFT SPI display  in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-C6 and ST7735S Display: Wi-Fi Controlled TFT Display Module
Image of ESP32-C6sm-ST7735: A project utilizing 1.8 TFT SPI display  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 Controlled ILI9488 TFT LCD Display Interface
Image of IOT_V1: A project utilizing 1.8 TFT SPI display  in a practical application
This circuit connects an ESP32-S3 microcontroller to an ILI9488 TFT LCD display for graphical output. The ESP32-S3 uses SPI communication to send data to the display, with additional GPIOs for control signals like reset, data/command selection, and touch panel control. The provided code initializes the display and demonstrates basic drawing functions such as text, lines, rectangles, and circles.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-S3 and ILI9488 TFT LCD Display for Interactive Graphics
Image of IOT_V1: A project utilizing 1.8 TFT SPI display  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

Explore Projects Built with 1.8 TFT SPI 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 ESP32+ST7789: A project utilizing 1.8 TFT SPI display  in a practical application
ESP32-Powered 1.3 inch TFT Display Module for Visual Data Output
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32-C6sm-ST7735: A project utilizing 1.8 TFT SPI display  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 1.8 TFT SPI display  in a practical application
ESP32-S3 Controlled ILI9488 TFT LCD Display Interface
This circuit connects an ESP32-S3 microcontroller to an ILI9488 TFT LCD display for graphical output. The ESP32-S3 uses SPI communication to send data to the display, with additional GPIOs for control signals like reset, data/command selection, and touch panel control. The provided code initializes the display and demonstrates basic drawing functions such as text, lines, rectangles, and circles.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of IOT_V1: A project utilizing 1.8 TFT SPI display  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

Common Applications and Use Cases

  • Portable devices such as smartwatches and handheld consoles
  • Embedded systems requiring graphical user interfaces (GUIs)
  • IoT devices with visual feedback
  • Educational and hobbyist projects using microcontrollers like Arduino or Raspberry Pi
  • Industrial control panels and instrumentation displays

Technical Specifications

Below are the key technical details for the 1.8-inch TFT SPI Display:

Parameter Value
Display Type TFT (Thin-Film Transistor)
Resolution 128 x 160 pixels
Color Depth 65K colors (16-bit RGB)
Communication Protocol SPI (Serial Peripheral Interface)
Operating Voltage 3.3V (logic)
Backlight Voltage 3.3V to 5V
Current Consumption ~50mA (with backlight on)
Dimensions 1.8 inches (diagonal)
Controller IC ST7735

Pin Configuration and Descriptions

The display module has the following pinout:

Pin Name Pin Number Description
GND 1 Ground connection
VCC 2 Power supply (3.3V or 5V for backlight)
SCL 3 Serial Clock (SPI clock input)
SDA 4 Serial Data (SPI data input)
RES 5 Reset pin (active low, used to reset the display)
DC 6 Data/Command pin (used to distinguish between data and command instructions)
CS 7 Chip Select (active low, enables communication with the display)
BLK 8 Backlight control (connect to GND to turn off or VCC to turn on the backlight)

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to ground.
  2. SPI Communication: Connect the SCL (clock) and SDA (data) pins to the corresponding SPI pins on your microcontroller.
  3. Control Pins:
    • Connect the RES pin to a GPIO pin on your microcontroller for resetting the display.
    • Use the DC pin to toggle between data and command modes.
    • Connect the CS pin to a GPIO pin to enable or disable communication with the display.
  4. Backlight: Connect the BLK pin to VCC to enable the backlight or to GND to disable it.

Important Considerations and Best Practices

  • Voltage Levels: Ensure that the logic voltage levels of your microcontroller match the display's requirements (3.3V). If your microcontroller operates at 5V, use a level shifter to avoid damaging the display.
  • SPI Speed: Configure the SPI clock speed appropriately. A typical value is 4 MHz, but this may vary depending on your microcontroller and application.
  • Initialization: The display requires specific initialization commands to configure the ST7735 controller. Use a compatible library (e.g., Adafruit GFX and Adafruit ST7735 libraries) to simplify this process.
  • Backlight Control: For power-saving applications, consider controlling the backlight using a PWM signal from your microcontroller.

Example Code for Arduino UNO

Below is an example of how to use the 1.8-inch TFT SPI Display with an Arduino UNO:

#include <Adafruit_GFX.h>      // Core graphics library
#include <Adafruit_ST7735.h>   // Library for ST7735 display

// Define pin connections
#define TFT_CS     10  // Chip Select pin
#define TFT_RST    9   // Reset pin
#define TFT_DC     8   // Data/Command 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_BLACKTAB);  // Initialize with ST7735 Black Tab configuration
  tft.fillScreen(ST77XX_BLACK);  // Clear the screen with black color

  // Display a message
  tft.setTextColor(ST77XX_WHITE);  // Set text color to white
  tft.setTextSize(2);              // 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
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Display Output:

    • Verify all connections, especially the SPI pins (SCL, SDA, CS, DC, and RES).
    • Ensure the display is powered correctly (check VCC and GND connections).
    • Confirm that the initialization code matches the display's configuration.
  2. Flickering or Distorted Graphics:

    • Check the SPI clock speed. Reduce the speed if necessary.
    • Ensure proper grounding to avoid noise interference.
  3. Backlight Not Working:

    • Verify the BLK pin connection. It should be connected to VCC for the backlight to turn on.
    • Check the power supply voltage to ensure it meets the display's requirements.
  4. Partial or Incorrect Display:

    • Ensure the correct initialization sequence is used for the ST7735 controller.
    • Verify that the DC pin is toggled correctly between data and command modes.

FAQs

Q: Can I use this display with a 5V microcontroller?
A: Yes, but you must use level shifters to convert the 5V logic signals to 3.3V to avoid damaging the display.

Q: What is the maximum SPI clock speed supported by the display?
A: The display typically supports SPI clock speeds up to 15 MHz, but 4 MHz is a safe starting point for most applications.

Q: Can I control the backlight brightness?
A: Yes, you can use a PWM signal from your microcontroller to control the brightness of the backlight.

Q: Is this display compatible with Raspberry Pi?
A: Yes, the display is compatible with Raspberry Pi. You can use libraries like luma.lcd or ST7735 for Python-based development.