

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.








Below are the key technical details and pin configuration for the TFT 1.77" SPI ST7735:
| 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 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) |
VCC pin to a 3.3V power source and the GND pin to ground.SCL pin to the SPI clock pin of your microcontroller.SDA pin to the SPI MOSI pin of your microcontroller.RES pin to a GPIO pin for resetting the display.DC pin to a GPIO pin to toggle between data and command modes.CS pin to a GPIO pin to enable/disable the display.BLK pin to 3.3V for constant backlight or to a PWM pin for brightness control.BLK pin to adjust brightness dynamically.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
}
TFT_CS, TFT_RST, TFT_DC) to match your wiring.Display Not Turning On:
VCC and GND).BLK pin is connected to 3.3V or a PWM signal.No Output on the Screen:
SCL, SDA, CS, DC).RES pin is properly connected and initialized in the code.Flickering or Artifacts:
Incorrect Colors or Orientation:
INITR_BLACKTAB).setRotation() function to adjust the display orientation.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.