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

How to Use 1.77 1.8 TFT LCD SPI st7735 128x160: Examples, Pinouts, and Specs

Image of 1.77 1.8 TFT LCD SPI st7735 128x160
Cirkit Designer LogoDesign with 1.77 1.8 TFT LCD SPI st7735 128x160 in Cirkit Designer

Introduction

The 1.77" 1.8" TFT LCD SPI ST7735 is a compact color display module with a resolution of 128x160 pixels. It is powered by the ST7735 driver and communicates via the SPI (Serial Peripheral Interface) protocol. This module is widely used in embedded systems for displaying text, images, and graphical data. Its small size, vibrant color display, and low power consumption make it ideal for portable devices, DIY projects, and IoT applications.

Explore Projects Built with 1.77 1.8 TFT LCD SPI st7735 128x160

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 1.77 1.8 TFT LCD SPI st7735 128x160 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
Arduino Nano Controlled TFT Display with Multiple Pushbuttons
Image of rey: A project utilizing 1.77 1.8 TFT LCD SPI st7735 128x160 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-Powered 1.3 inch TFT Display Module for Visual Data Output
Image of ESP32+ST7789: A project utilizing 1.77 1.8 TFT LCD SPI st7735 128x160 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 1.77 1.8 TFT LCD SPI st7735 128x160 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 1.77 1.8 TFT LCD SPI st7735 128x160

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 1.77 1.8 TFT LCD SPI st7735 128x160 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 rey: A project utilizing 1.77 1.8 TFT LCD SPI st7735 128x160 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+ST7789: A project utilizing 1.77 1.8 TFT LCD SPI st7735 128x160 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 1.77 1.8 TFT LCD SPI st7735 128x160 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

  • Portable devices and handheld gadgets
  • IoT dashboards and data visualization
  • Wearable electronics
  • Gaming consoles and retro gaming projects
  • Educational and prototyping purposes

Technical Specifications

Key Technical Details

Parameter Value
Display Type TFT LCD
Driver IC ST7735
Resolution 128x160 pixels
Communication Protocol SPI (Serial Peripheral Interface)
Operating Voltage 3.3V (logic level)
Backlight Voltage 3.3V to 5V
Current Consumption ~50mA (with backlight on)
Display Size 1.77" or 1.8" diagonal
Color Depth 18-bit (262,144 colors)
Viewing Angle ~160°
Operating Temperature -20°C to 70°C

Pin Configuration and Descriptions

Pin Name Pin Number Description
GND 1 Ground connection
VCC 2 Power supply (3.3V to 5V for backlight)
SCL 3 Serial Clock (SPI clock input)
SDA 4 Serial Data (SPI data input)
RES 5 Reset pin (active low)
DC 6 Data/Command control pin
CS 7 Chip Select (active low)
BLK 8 Backlight control (connect to VCC for always on)

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 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 the display.
  4. Backlight: Connect the BLK pin to VCC for constant backlight or to a PWM pin for brightness control.

Important Considerations and Best Practices

  • Voltage Levels: Ensure that the logic level of your microcontroller matches the display's operating voltage (3.3V). Use a level shifter if necessary.
  • SPI Speed: Configure the SPI clock speed according to the ST7735 datasheet to avoid communication errors.
  • Initialization: Always initialize the display using the correct sequence of commands as specified in the ST7735 datasheet.
  • Backlight Control: Use a PWM signal on the BLK pin to adjust the brightness and reduce power consumption.

Example Code for Arduino UNO

Below is an example of how to interface the display with an Arduino UNO using the Adafruit ST7735 library:

#include <Adafruit_GFX.h>    // Core graphics library
#include <Adafruit_ST7735.h> // ST7735 driver library
#include <SPI.h>             // SPI library

// Define pin connections
#define TFT_CS     10  // Chip Select pin
#define TFT_RST    9   // Reset pin
#define TFT_DC     8   // Data/Command pin

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

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

  // Initialize the display
  tft.initR(INITR_BLACKTAB); // Use INITR_BLACKTAB for this display
  tft.fillScreen(ST77XX_BLACK); // Clear the screen with black color

  // Display a test message
  tft.setTextColor(ST77XX_WHITE); // Set text color to white
  tft.setTextSize(1);             // Set text size
  tft.setCursor(0, 0);            // Set cursor position
  tft.println("Hello, World!");   // Print text to the display
}

void loop() {
  // Add your code here to update the display
}

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. No Display Output:

    • Verify all connections, especially the SPI pins.
    • Ensure the CS, DC, and RES pins are correctly connected and configured.
    • Check the power supply voltage and current.
  2. Flickering or Distorted Display:

    • Reduce the SPI clock speed in your code.
    • Ensure proper grounding between the display and the microcontroller.
  3. Backlight Not Turning On:

    • Confirm that the BLK pin is connected to VCC or a PWM pin.
    • Check the backlight voltage (3.3V to 5V).
  4. Incorrect Colors or Graphics:

    • Ensure the display is initialized with the correct command sequence.
    • Verify that the color format (e.g., RGB565) matches the library settings.

FAQs

Q: Can I use this display with a 5V microcontroller like Arduino UNO?
A: Yes, but you need to use level shifters for the SPI and control pins to step down the 5V logic to 3.3V.

Q: How do I display images on this screen?
A: Convert your image to a compatible format (e.g., RGB565) and use the Adafruit GFX library's drawBitmap() or drawRGBBitmap() functions.

Q: Can I control the backlight brightness?
A: Yes, connect the BLK pin to a PWM-capable pin on your microcontroller and adjust the duty cycle.

Q: Is this display compatible with Raspberry Pi?
A: Yes, it can be used with Raspberry Pi via SPI, but you may need to install additional libraries like luma.lcd or Pillow.

By following this documentation, you can effectively integrate the 1.77" 1.8" TFT LCD SPI ST7735 display into your projects!