Component guide · Beginner · 3 min read
ST7735 1.8 inch TFT

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The 1.8 inch ST7735 module is a 128x160 colour TFT driven over SPI, often with a micro SD slot on the back. It needs 5 pins plus power and works with Arduino, ESP32 and Pico using the Adafruit ST7735 or TFT_eSPI libraries. Its logic is 3.3 V; most boards have a regulator for VCC but not level shifting on the signals.
Key specs at a glance
- Size and resolution
- 1.8 inch, 128 x 160 pixels
- Colours
- 262K (18-bit), used as 16-bit RGB565
- Controller
- Sitronix ST7735S
- Interface
- 4-wire SPI
- Supply
- 3.3 to 5 V on VCC (board regulator), 3.3 V logic
- Extras
- Micro SD card slot on most modules
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 11.8" TFT LCD Module (ST7735)₹294
Option 21.8″ ST7735 TFT LCD Module 128×160 SPI₹229
What the ST7735 1.8 inch TFT is
The ST7735 is a small TFT display controller. Each pixel is drawn by sending colour data over SPI, so the speed depends on the SPI clock: an ESP32 updates the screen much faster than an Uno.
It is a cheap way to add colour graphs, icons and simple games to a project.
ST7735 1.8 inch TFT pinout
The pins on the ST7735 1.8 inch TFT and what each one does.
| Pin | Function |
|---|---|
| VCC | 3.3 to 5 V (check board) |
| GND | Ground |
| CS | Chip select |
| RESET (RST) | Reset |
| A0 (DC / RS) | Data or command |
| SDA (MOSI) | SPI data |
| SCK | SPI clock |
| LED (BL) | Backlight, 3.3 V |
| SD_CS etc. | SD card pins (separate chip select) |
- VCC
- 3.3 to 5 V (check board)
- GND
- Ground
- CS
- Chip select
- RESET (RST)
- Reset
- A0 (DC / RS)
- Data or command
- SDA (MOSI)
- SPI data
- SCK
- SPI clock
- LED (BL)
- Backlight, 3.3 V
- SD_CS etc.
- SD card pins (separate chip select)
Wiring the ST7735 1.8 inch TFT
On a 5 V Uno use a level shifter or 1 kΩ series resistors on the signal lines. On an ESP32 connect directly. The SD card shares MOSI, MISO and SCK with its own CS pin.
| ST7735 1.8 inch TFT pin | Arduino Uno | ESP32 |
|---|---|---|
| CS | D10 via level shifter | GPIO 5 |
| RESET | D8 via level shifter | GPIO 4 |
| A0 (DC) | D9 via level shifter | GPIO 2 |
| SDA (MOSI) | D11 via level shifter | GPIO 23 |
| SCK | D13 via level shifter | GPIO 18 |
| LED | 3.3V | 3V3 |
| VCC / GND | 5V / GND | 3V3 / GND |
- CS
- Arduino Uno:
- D10 via level shifter
- ESP32:
- GPIO 5
- RESET
- Arduino Uno:
- D8 via level shifter
- ESP32:
- GPIO 4
- A0 (DC)
- Arduino Uno:
- D9 via level shifter
- ESP32:
- GPIO 2
- SDA (MOSI)
- Arduino Uno:
- D11 via level shifter
- ESP32:
- GPIO 23
- SCK
- Arduino Uno:
- D13 via level shifter
- ESP32:
- GPIO 18
- LED
- Arduino Uno:
- 3.3V
- ESP32:
- 3V3
- VCC / GND
- Arduino Uno:
- 5V / GND
- ESP32:
- 3V3 / GND
Example code
Install Adafruit ST7735 and Adafruit GFX. On ESP32, TFT_eSPI is faster; set ST7735_DRIVER and the tab type in its User_Setup.h.
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#include <SPI.h>
#define TFT_CS 10
#define TFT_DC 9
#define TFT_RST 8
Adafruit_ST7735 tft(TFT_CS, TFT_DC, TFT_RST);
void setup() {
tft.initR(INITR_BLACKTAB); // try INITR_GREENTAB or INITR_REDTAB if colours look wrong
tft.setRotation(1);
tft.fillScreen(ST77XX_BLACK);
tft.setTextColor(ST77XX_CYAN);
tft.setTextSize(2);
tft.println("Geekobot");
tft.fillCircle(80, 80, 20, ST77XX_RED);
}
void loop() {}Setup and tuning
modules ship with different panel offsets. If you see a noisy border or shifted image, try the BLACKTAB, GREENTAB and REDTAB init options.
draw only what changes rather than clearing the whole screen.
load BMP files from the SD card or convert images to RGB565 arrays.
a full 128x160 buffer is 40 KB, too much for an Uno but fine on ESP32 (framebuffer calculator).
What you need
Shop this list5 of 5 found in our store · ₹1,706
1.8 inch TFT LCD module (ST7735): the display this guide coversDFRobot Fermion 1.8″ 128×160 IPS TFT LCD Display Module with MicroSD Slot & GDI Cable₹1,019Closest match, check the specs
1.8 inch ST7735 TFT LCD module 128x160 SPI: the other version1.8″ ST7735 TFT LCD Module 128×160 SPI₹229Closest match, check the specs
ESP32-WROOM-32 38-pin development board: a 3.3 V controller optionESP32-WROOM-32 38-Pin Development Board₹389
4-channel logic level converter (BSS138): to connect 5 V and 3.3 V signals safely4-Channel Logic Level Converter (BSS138)₹20
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- TFT displays: larger ILI9341 and ST7789 screens, some with touch.
- OLED SSD1306: monochrome but sharper contrast and I2C.
- Nokia 5110: lowest power, readable in sunlight.
Try it: Display framebuffer calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Driving signals at 5 V without level shifting.
- Using the wrong tab type and blaming the panel.
- Clearing the full screen every frame and getting flicker.
- Forgetting the backlight pin, so the screen looks dead.
Frequently asked questions
Why does the display show white only?
No reset or wrong pin mapping, or the backlight is on but the controller is not initialised. Check CS, DC and RST.
Which library is best?
Adafruit ST7735 for simplicity, TFT_eSPI for speed on ESP32 and RP2040.
Is it touch?
No, the 1.8 inch ST7735 modules have no touch layer.
Can I use the SD card?
Yes, with the SD library and a separate CS pin.
Does it work at 5 V?
VCC usually yes thanks to a regulator; the signal pins should be 3.3 V.
Why are colours wrong or shifted?
Try a different tab init and check the RGB/BGR setting.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 2 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
