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

How to Use TFT 1.77" SPI ST7735: Examples, Pinouts, and Specs

Image of TFT 1.77" SPI ST7735
Cirkit Designer LogoDesign with TFT 1.77" SPI ST7735 in Cirkit Designer

Introduction

The TFT 1.77" SPI ST7735 is a compact, full-color thin-film transistor (TFT) display module with a resolution of 128x160 pixels. It utilizes the ST7735 driver IC and communicates via the Serial Peripheral Interface (SPI), making it ideal for embedded systems and microcontroller-based projects. This display is capable of rendering vibrant graphics and text, making it suitable for applications such as user interfaces, data visualization, and gaming.

Explore Projects Built with TFT 1.77" SPI ST7735

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Nano Controlled TFT Display with Multiple Pushbuttons
Image of rey: A project utilizing TFT 1.77" SPI ST7735 in a practical application
This circuit features an Arduino Nano microcontroller connected to a ST7735 128x128 1.44 TFT I2C Color display and multiple pushbuttons. The display is interfaced with the Arduino via digital pins for control signals and SPI pins for data transfer. The pushbuttons are connected to various digital and analog input pins on the Arduino, likely intended for user input to control the display or other functions within the code.
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 TFT 1.77" SPI ST7735 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-Powered 1.3 inch TFT Display Module for Visual Data Output
Image of ESP32+ST7789: A project utilizing TFT 1.77" SPI ST7735 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
RTL8720DN-Based Interactive Button-Controlled TFT Display
Image of coba-coba: A project utilizing TFT 1.77" SPI ST7735 in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with TFT 1.77" SPI ST7735

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 rey: A project utilizing TFT 1.77" SPI ST7735 in a practical application
Arduino Nano Controlled TFT Display with Multiple Pushbuttons
This circuit features an Arduino Nano microcontroller connected to a ST7735 128x128 1.44 TFT I2C Color display and multiple pushbuttons. The display is interfaced with the Arduino via digital pins for control signals and SPI pins for data transfer. The pushbuttons are connected to various digital and analog input pins on the Arduino, likely intended for user input to control the display or other functions within the code.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32-C6sm-ST7735: A project utilizing TFT 1.77" SPI ST7735 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 ESP32+ST7789: A project utilizing TFT 1.77" SPI ST7735 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 coba-coba: A project utilizing TFT 1.77" SPI ST7735 in a practical application
RTL8720DN-Based Interactive Button-Controlled TFT Display
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.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Embedded systems requiring graphical displays
  • IoT devices with visual feedback
  • Portable gaming consoles
  • Wearable devices
  • Industrial control panels
  • Educational projects with microcontrollers like Arduino or Raspberry Pi

Technical Specifications

Below are the key technical details and pin configuration for the TFT 1.77" SPI ST7735:

Key Technical Details

Parameter Specification
Display Type TFT LCD
Driver IC ST7735
Screen Size 1.77 inches
Resolution 128x160 pixels
Communication Interface SPI (Serial Peripheral Interface)
Operating Voltage 3.3V (logic and backlight)
Current Consumption ~50mA (typical)
Color Depth 18-bit (262,144 colors)
Backlight LED
Dimensions 34.5mm x 46.5mm x 4.5mm

Pin Configuration and Descriptions

Pin Name Pin Number Description
GND 1 Ground connection
VCC 2 Power supply (3.3V recommended)
SCL 3 SPI clock line (SCK)
SDA 4 SPI data line (MOSI)
RES 5 Reset pin (active low)
DC 6 Data/Command control pin (High = Data, Low = Command)
CS 7 Chip select (active low)
BLK 8 Backlight control (connect to 3.3V for always-on or PWM for brightness)

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3V power source and the GND pin to ground.
  2. SPI Connections:
    • Connect the SCL pin to the SPI clock pin of your microcontroller.
    • Connect the SDA pin to the SPI MOSI pin of your microcontroller.
  3. Control Pins:
    • Connect the RES pin to a GPIO pin for resetting the display.
    • Connect the DC pin to a GPIO pin to toggle between data and command modes.
    • Connect the CS pin to a GPIO pin to enable/disable the display.
  4. Backlight: Connect the BLK pin to 3.3V for constant backlight or to a PWM pin for brightness control.

Important Considerations and Best Practices

  • Voltage Levels: Ensure all logic signals are 3.3V. If using a 5V microcontroller (e.g., Arduino UNO), use level shifters to avoid damaging the display.
  • SPI Speed: Use an appropriate SPI clock speed (typically up to 15 MHz) to ensure reliable communication.
  • Initialization: The ST7735 driver requires specific initialization commands. Use a compatible library (e.g., Adafruit GFX and Adafruit ST7735 libraries) to simplify this process.
  • Backlight Control: Use a PWM signal on the BLK pin to adjust brightness dynamically.

Example Code for Arduino UNO

Below is an example of how to use the TFT 1.77" SPI ST7735 with an Arduino UNO:

#include <Adafruit_GFX.h>      // Graphics library for displays
#include <Adafruit_ST7735.h>   // Library for ST7735 driver

// 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.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(2);              // Set text size
  tft.setCursor(10, 10);           // Set cursor position
  tft.print("Hello, World!");      // Print text to the screen
}

void loop() {
  // Add your code here for dynamic updates
}

Notes:

  • Install the Adafruit GFX and Adafruit ST7735 libraries via the Arduino Library Manager before running the code.
  • Adjust the pin definitions (TFT_CS, TFT_RST, TFT_DC) to match your wiring.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Display Not Turning On:

    • Verify the power connections (VCC and GND).
    • Ensure the BLK pin is connected to 3.3V or a PWM signal.
  2. No Output on the Screen:

    • Check the SPI connections (SCL, SDA, CS, DC).
    • Ensure the RES pin is properly connected and initialized in the code.
    • Confirm that the correct initialization commands are being sent (use a library like Adafruit ST7735).
  3. Flickering or Artifacts:

    • Reduce the SPI clock speed in your microcontroller code.
    • Ensure proper grounding and minimize noise in the circuit.
  4. Incorrect Colors or Orientation:

    • Verify the initialization settings in the code (e.g., INITR_BLACKTAB).
    • Use the setRotation() function to adjust the display orientation.

FAQs

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

Q: How do I control the brightness of the backlight?
A: Connect the BLK pin to a PWM-capable pin on your microcontroller and adjust the duty cycle to control brightness.

Q: What is the maximum SPI clock speed supported?
A: The ST7735 driver typically supports SPI clock speeds up to 15 MHz, but this may vary depending on your microcontroller and wiring quality.

Q: Can I display images on this screen?
A: Yes, you can use libraries like Adafruit GFX to render bitmaps. Ensure the image is converted to the correct format (e.g., 24-bit BMP).

By following this documentation, you can effectively integrate the TFT 1.77" SPI ST7735 display into your projects and troubleshoot common issues.