← All parts

1.8" Color TFT (ST7735)

Adafruit

1.8" TFT display breakout and shield for various microcontrollers, featuring an EYESPI connector with SPI communication.

In stock

Specifications

3
Display Type
TFT (ST7735R) with 128x160 color pixels, 4-wire SPI interface, full 18-bit color support (262,144 shades)
Operating Voltage
3-5VDC
Dimensions
1.8" diagonal

Pinout

10
PinNameFunctionsNotes
VinVcc
POWER
3-5VDC
LitePWM
PWM
Backlight control
GndGND
GND
MISOMISO
SPI
MOSIMOSI
SPI
SCKSCLK
SPI
TCSTFT_CS
SPI
DCD/C
SPI
RSTRST
GPIO
Reset pin
SDCSCard CS
SPI

Interactive pinout

Highlight:
BOARD

Click a pin to copy its name · tap a tag above to spotlight a bus.

Starter code

Community starter examples — minimal, unofficial, and provided to get you wiring fast. Verify against the manufacturer datasheet before relying on them.

Arduino (C++)

Arduino library: Adafruit ST7735 and ST7789 Library (+ Adafruit GFX)

arduino
// ST7735 1.8" TFT (SPI) — community starter example
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#include <SPI.h>

#if defined(ESP32)
  #define TFT_CS 5
  #define TFT_DC 16
  #define TFT_RST 17
#else
  #define TFT_CS 10
  #define TFT_DC 9
  #define TFT_RST 8
#endif

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);

void setup() {
  tft.initR(INITR_BLACKTAB);
  tft.fillScreen(ST7735_BLACK);
  tft.setCursor(4, 4);
  tft.setTextColor(ST7735_WHITE);
  tft.println("Hello, pinouts!");
}

void loop() {}

MicroPython

MicroPython library: st7735 (GuyCarver/MicroPython or port)

python
# ST7735 1.8" TFT (ESP32) — community starter example
# lib: a MicroPython ST7735 driver (e.g. GuyCarver/MicroPython ST7735.py)
from machine import Pin, SPI
import st7735

spi = SPI(2, baudrate=20000000, sck=Pin(18), mosi=Pin(23))
tft = st7735.TFT(spi, aDC=16, aReset=17, aCS=5)
tft.initr()
tft.fill(st7735.TFT.BLACK)

Wiring

PinArduino Uno R3ESP32 DevKitC (WROOM-32)Notes
Vin+5V3V3Logic 3-5 V (regulated breakout)
GNDGNDGND
SCKD13 (SCK)GPIO18
MOSID11 (MOSI)GPIO23
MISOD12 (MISO)GPIO19
CSD10GPIO5
DCD9GPIO16Data/Command
RSTD8GPIO17Reset
Lite+5V3V3Backlight (or a PWM pin to dim)

Typical uses

  • 128x160 color UI / graphics
  • Dashboards, meters, small displays

Related parts

6