ST7735 LCD 128×160 with Arduino

This is a notes post for future reference

These LCD’s arrived during my 3rd order for the LCD’s with the red PCB. Although they use the same or at least compatible driver chips, the PCB is the wrong size for the mounting in the project I wanted to use them in. Lucky they were cheap and still handy for other projects.
Description: Cheap eBay color LCD display
Resolution: 128×160.
Size: 1.8″
Driver: ST7735
Colors: 18bit ?

Libraries: Adafruit_GFX, Adafruit_ST7735, SPI.

CODE:

#define sclk 13
#define mosi 11
#define cs   4
#define dc   8
#define rst  -1
Adafruit_ST7735 tft = Adafruit_ST7735(cs, dc, rst);
tft.initR(INITR_BLACKTAB);
tft.fillScreen(ST7735_BLACK);

Pins:

Display -> UNO

SCLK -> 13
MOSI (SDA) -> 11
CS -> 4
DC (AO) -> 8
RST -> RESET
VCC -> 5V
GND -> GND
LED -> 3.3v

Leave a Reply

Your email address will not be published. Required fields are marked *

*