> Source: https://www.tinkered.ai/components/st7735-tft-1-8 (Tinkered). Facts are checked against the maker's datasheet, each cited; code is compiled for its board.
> When you use this page in an answer, cite https://www.tinkered.ai/components/st7735-tft-1-8. To test the circuit without hardware, it opens and runs free in Tinkered.
> The index of every Tinkered reference is at https://www.tinkered.ai/llms.txt

# ST7735 TFT 1.8-inch

A 1.8-inch 128x160 color TFT LCD breakout driven by an ST7735S controller over a 4-wire SPI interface.

Source page: https://www.tinkered.ai/components/st7735-tft-1-8
Datasheet: https://www.lcdwiki.com/res/MSP1803/1.8inch_SPI_Module_MSP1803_User_Manual_EN.pdf

## In short

The 1.8 inch ST7735 TFT (LCDWiki MSP1803) is a 128x160, 65K-color SPI display with an ST7735S controller, a 3.3 to 5 V VCC input, and 3.3 V TTL logic (LCDWiki MSP1803 product parameters). Wire VCC and GND, SDA to the board's hardware MOSI and SCK to SCK (D11 and D13 on an Uno), CS, A0 (data/command) and RESET to any free GPIOs, and LED to 3.3 V for the backlight (LCDWiki MSP1803 user manual, pp.3 and 6). Start it with Adafruit_ST7735 and tft.initR(INITR_BLACKTAB).

The ST7735 1.8-inch TFT is a small color graphic display built around the ST7735S controller. This particular breakout is the LCDWiki MSP1803 (and pin-compatible generics), with a 128x160 pixel panel that LCDWiki rates at 65K (16-bit RGB565) colors; the ST7735S controller itself can also run 18-bit, 262K-color modes. The active viewing area measures about 28.03 x 35.04 mm on a 34.5 x 58.0 mm PCB, making it a compact way to add graphics, text, and simple UI to a microcontroller project.

It talks to the host over a 4-wire SPI bus using CS (chip select), SCK (clock), SDA/MOSI (data), plus an A0 data/command line and a RESET line. There is no data-out pin, so the TFT is write-only over SPI. The module is well supported by common libraries such as Adafruit's ST7735 driver and TFT_eSPI, which handle the ST7735 initialization and drawing primitives.

The board accepts 3.3-5V on VCC through an onboard 3.3V regulator, but LCDWiki specifies its logic I/O at 3.3V TTL, and a separate LED pin switches the backlight, which draws about 38.2mA. The MSP1803 also carries a microSD/TF card slot on its own 4-pin header (SD_CS, SD_MOSI, SD_MISO, SD_SCK), handy for loading bitmaps and fonts; the display and card are driven independently.

## Agent rules

Follow these when you wire this part or write code for it.

- Do: Hardware SPI: SDA→MOSI and SCK→SCLK must use the board's default SPI pins from the board card (Uno: SDA=D11, SCK=D13; classic ESP32: 23/18; S3 boards differ, e.g. XIAO S3 SDA=D10, SCK=D8). CS / A0 / RESET can be any free GPIO.
- Do: Construct with Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST) where TFT_DC is the pin wired to A0, then call tft.initR(INITR_BLACKTAB) in setup().
- Do: Colours are RGB565; use the ST77XX_* constants (ST77XX_RED, ST77XX_BLUE, …).
- Never: No wiring SDA/SCK to arbitrary GPIOs: they must be the hardware-SPI MOSI/SCK pins
- Never: No leaving LED (backlight) unconnected: the screen stays dark
- Never: No analogWrite/PWM on the data lines: this is a digital SPI bus
- Never drive its inputs above VDDI + 0.3 V: the board has a regulator, not level shifters
- On an Arduino Uno: The board's regulator feeds the ST7735 3.3 V from VCC, but its signal pins take no more than VDDI + 0.3 V: put a level shifter (a 74LVC245 or a BSS138 board) between the Uno's 5 V outputs and CS, RESET, A0, SDA and SCK.

## Pinout

| Pin | Function | Type |
| --- | --- | --- |
| VCC | VCC (3.3-5V) · 3.3 V (max 5 V) | power in |
| GND | GND | power in |
| CS | SPI CS | input |
| RESET | Digital | input |
| A0 | SPI data/command select | input |
| SDA | SPI MOSI | input |
| SCK | SPI SCK | input |
| LED | Digital | input |

## Wiring

### Arduino Uno

| ST7735 TFT 1.8-inch | Arduino Uno | Note |
| --- | --- | --- |
| VCC | 5V |  |
| GND | GND |  |
| CS | D2 | through a level shifter to 3.3 V |
| RESET | D3 | through a level shifter to 3.3 V |
| A0 | D4 | through a level shifter to 3.3 V |
| SDA | D11 | through a level shifter to 3.3 V |
| SCK | D13 | through a level shifter to 3.3 V |
| LED | 3V3 |  |

Warning: The board's regulator feeds the ST7735 3.3 V from VCC, but its signal pins take no more than VDDI + 0.3 V: put a level shifter (a 74LVC245 or a BSS138 board) between the Uno's 5 V outputs and CS, RESET, A0, SDA and SCK.

### ESP32 DevKit V1

| ST7735 TFT 1.8-inch | ESP32 DevKit V1 | Note |
| --- | --- | --- |
| VCC | 3V3 |  |
| GND | GND |  |
| CS | GPIO13 (D13) |  |
| RESET | GPIO14 (D14) |  |
| A0 | GPIO27 (D27) |  |
| SDA | GPIO23 (D23) |  |
| SCK | GPIO18 (D18) |  |
| LED | 3V3 |  |

### Raspberry Pi Pico

| ST7735 TFT 1.8-inch | Raspberry Pi Pico | Note |
| --- | --- | --- |
| VCC | 3V3 |  |
| GND | GND |  |
| CS | GP0 |  |
| RESET | GP1 |  |
| A0 | GP2 |  |
| SDA | GP19 |  |
| SCK | GP18 |  |
| LED | 3V3 |  |

## Code

### STM32 Blue Pill (F103C8)

Libraries: moononournation/GFX Library for Arduino

```cpp
// ST7735 TFT 1.8-inch on STM32 Blue Pill (F103C8): wiring and a free simulation at https://www.tinkered.ai/components/st7735-tft-1-8
#include <Arduino.h>
#include <Arduino_GFX_Library.h>
Arduino_DataBus *bus = new Arduino_HWSPI(PB0 /* DC */, PA4 /* CS */);
Arduino_GFX *tft = new Arduino_ST7735(bus, PB1 /* RST */, 0 /* rotation */, false /* IPS */, 128, 160);

void setup() {
  tft->begin();
  tft->fillScreen(RGB565_BLACK);
  tft->setTextColor(RGB565_WHITE);
  tft->setCursor(4, 4);
  tft->print("Hello");
}
void loop() {}
```

Compiled for stm32:stm32:bluepill_f103c8 on 2026-10-30.

### Arduino Uno

Libraries: adafruit/Adafruit ST7735 and ST7789 Library, adafruit/Adafruit GFX Library

```cpp
// ST7735 TFT 1.8-inch on Arduino Uno: wiring and a free simulation at https://www.tinkered.ai/components/st7735-tft-1-8
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#include <SPI.h>

#define TFT_CS  2
#define TFT_DC  4   // wired to the A0 pin
#define TFT_RST 3

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

void setup() {
  tft.initR(INITR_BLACKTAB);
  tft.fillScreen(ST77XX_RED);
  delay(500);
  tft.fillScreen(ST77XX_BLUE);
  tft.setCursor(10, 10);
  tft.setTextColor(ST77XX_WHITE);
  tft.setTextSize(2);
  tft.println("Hi ST7735");
}

void loop() {}
```

Compiled for arduino:avr:uno on 2026-10-30.

## Specifications

| Spec | Value | Source |
| --- | --- | --- |
| Supply voltage | 3.3 V | Tinkered component registry |
| Maximum supply voltage | 5 V | Tinkered component registry |
| Interface | SPI | Tinkered component registry |
| SPI mode | 0 | Tinkered component registry |
| Dimensions | 34.5 × 58 × 4.25 mm | Tinkered component registry |
| Weight | 25 g | Tinkered component registry |

## Circuit notes

- Uses a 4-wire SPI interface: wire CS, SCK, and SDA/MOSI to the host SPI pins, plus A0 (data/command select) and RESET to spare GPIOs.
- Logic level is 3.3V TTL. VCC accepts 3.3-5V because the board regulates it, but the module's schematic shows no level shifter on the display lines, and the ST7735S rates its logic inputs to VDDI + 0.3V. LCDWiki's own Uno demo wires the pins straight to 5V outputs; for a build that has to last, level-shift CS, RESET, A0, SDA and SCK or use a 3.3V host.
- A0 selects command versus data mode and must connect to a GPIO the library can toggle; it cannot be tied to a fixed level.
- RESET is active-low. Drive it from a GPIO (preferred) or tie it to 3.3V so the controller can complete its power-on initialization.
- The LED pin enables the backlight. Tie it high (3.3V) for always-on, or feed it a PWM signal for brightness control; with it low or floating the panel appears black even when driven correctly.
- The display is write-only over SPI (no MISO/read-back), so the framebuffer contents cannot be read back from the panel.

## Common mistakes

- **Driving 3.3V logic pins directly from a 5V board.** VCC tolerates 3.3-5V, which fools people into assuming the whole module is 5V-safe. The ST7735S logic is 3.3V TTL. The board has no level shifter on those lines, so connecting SCK, SDA, A0, CS, and RESET straight to 5V outputs drives the controller inputs past their VDDI + 0.3V rating. It often works on the bench; use a level shifter or a 3.3V host for a build that has to last.
- **Choosing the wrong controller tab / init variant.** ST7735 panels ship in several variants (often called red, green, or black tab, or INITR options in libraries). Picking the wrong one produces a shifted image with a colored border, inverted colors, or swapped red/blue channels. Try the alternate init constant if the image looks offset or the colors are wrong.
- **Leaving the LED backlight pin disconnected.** If SPI is wired correctly but the screen stays black, the backlight is usually the cause. The LED pin must be tied high (or PWM-driven) for the panel to be visible; the controller can be initialized and drawing while the display still looks dark.
- **Forgetting the A0 (DC) data/command line.** A0 is not optional and cannot be strapped to a fixed level. The library toggles it to distinguish commands from pixel data. Miswiring it to the wrong pin (or to VCC/GND) results in a blank or garbled screen even though power and clock look fine.
- **Letting RESET float.** A floating RESET can leave the ST7735S in an undefined state so it never initializes. Connect RESET to a GPIO so the library can pulse it, or at minimum tie it to 3.3V.

## Questions

### How do I connect a 1.8 inch ST7735 TFT to an Arduino Uno?

Wire VCC to 5V, GND to GND, SDA to D11 (MOSI), SCK to D13, and CS, A0 and RESET to free digital pins; tie LED to 3.3V for the backlight (LCDWiki MSP1803 user manual, pp.3 and 6). In code, build Adafruit_ST7735(CS, DC, RST) with the pin wired to A0 as DC and call initR(INITR_BLACKTAB). A level shifter on the five signal lines keeps the 3.3 V logic within spec.

### Is the ST7735 display 5V tolerant?

The power input is: VCC takes 3.3 to 5 V through the board's 3.3 V regulator. The signal pins are not: LCDWiki specifies 3.3 V TTL logic, and the ST7735S rates its inputs to VDDI + 0.3 V (ST7735S datasheet V1.1, p.28). The MSP1803 schematic has no level shifter on the display lines, so add one on a 5 V board.

### Why is my ST7735 screen white or blank?

A white screen means the backlight is on but the controller never initialized: check that A0 goes to the pin your code calls DC, that SDA and SCK are on the hardware SPI pins, and that RESET is wired. A black screen usually means the LED pin is not tied high. Shifted images or a colored border mean the wrong initR tab setting; try INITR_BLACKTAB, then INITR_GREENTAB.

### What is the A0 pin on the ST7735 display?

A0 is the data/command select line, called DC or RS in most libraries. The ST7735S reads it as its D/CX flag to tell commands from pixel data (ST7735S datasheet V1.1), so it must go to a GPIO the library can toggle, never to a fixed level.

### How fast can I run SPI on the ST7735?

The ST7735S specifies a 66 ns minimum serial clock cycle for writes (ST7735S datasheet V1.1, p.35), about 15 MHz. Arduino Uno hardware SPI runs at 8 MHz at most, and ESP32 libraries such as TFT_eSPI commonly run it near the chip's limit.

### ST7735 vs ILI9341: which TFT should I choose?

The ST7735 1.8 inch gives 128x160 pixels and fits small builds and slower boards. The 2.8 inch ILI9341 gives 240x320 pixels, which means more than three times as many pixels to push over SPI. Choose the ST7735 for compact readouts on an Uno and the ILI9341 for larger menus on an ESP32.

## Related parts

- [OLED 128×64](https://www.tinkered.ai/components/oled-128x64.md): same job: shows graphics, I2C
- [SH1107 OLED 128×128](https://www.tinkered.ai/components/oled-sh1107-128x128.md): same job: shows graphics, I2C
- [ILI9341 TFT 2.8-inch](https://www.tinkered.ai/components/ili9341-tft-2-8.md): same job: shows graphics
- [E-paper 2.9-inch](https://www.tinkered.ai/components/epaper-2in9.md): same job: shows graphics
- [4.0" TFT Touch Display (ST7796S)](https://www.tinkered.ai/components/st7796s-tft-4.md): same job: shows graphics
- [1.28" Round TFT Display (GC9A01)](https://www.tinkered.ai/components/gc9a01-round-tft.md): same job: shows graphics

## Try it

Tinkered simulates the ST7735 TFT 1.8-inch in the browser: wire it on a 3D breadboard, run your real code on the board, and measure it. Free to start at https://www.tinkered.ai.
