← 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| Pin | Name | Functions | Notes |
|---|---|---|---|
| Vin | Vcc | POWER | 3-5VDC |
| Lite | PWM | PWM | Backlight control |
| Gnd | GND | GND | |
| MISO | MISO | SPI | |
| MOSI | MOSI | SPI | |
| SCK | SCLK | SPI | |
| TCS | TFT_CS | SPI | |
| DC | D/C | SPI | |
| RST | RST | GPIO | Reset pin |
| SDCS | Card 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
| Pin | Arduino Uno R3 | ESP32 DevKitC (WROOM-32) | Notes |
|---|---|---|---|
| Vin | +5V | 3V3 | Logic 3-5 V (regulated breakout) |
| GND | GND | GND | |
| SCK | D13 (SCK) | GPIO18 | |
| MOSI | D11 (MOSI) | GPIO23 | |
| MISO | D12 (MISO) | GPIO19 | |
| CS | D10 | GPIO5 | |
| DC | D9 | GPIO16 | Data/Command |
| RST | D8 | GPIO17 | Reset |
| Lite | +5V | 3V3 | Backlight (or a PWM pin to dim) |
Typical uses
- 128x160 color UI / graphics
- Dashboards, meters, small displays