Arduino ST7735 1.8″ TFT display example

Arduino UNO board with ST7735 1.8" TFT

This post shows how to connect the Arduino with ST7735 160×128 SPI TFT module. This type of TFT is a small size, low cost and easy to use. In this example I used the TFT shown below (ST7735S):

ST7735 1.8 TFT display

ST7735 TFT display

Generally it has 8 pins: RST (reset), CS (chip select), D/C (data/command), DIN (data in), CLK (clock), VCC, BL (backlight) and GND.
The ST7735 TFT uses SPI (serial peripheral interface) protocol to communicate with the master device which is in this example the Arduino board microcontroller.

Components Required:

  • Arduino board
  • ST7735 TFT screen
  • 5 x 1K ohm resistor
  • Breadboard
  • Jumper wires

The circuit:
Circuit schematic diagram is shown below.

Arduino ST7735 TFT display interfacing circuit

The ST7735 TFT works with 3.3V and the Arduino uno works with 5V, supplying the TFT control lines directly with 5V my damage it, so we have to add the five 1K ohm resistors. The ST7735 board is supplied with 5V which comes from the Arduino board (the TFT board contains AMS1117 3V3 voltage regulator which steps down the 5V to 3.3V).

Arduino code:
We need 2 libraries (Adafruit_ST7735 and Adafruit_GFX) from Adafruit industries in order to compile the Arduino code below, these libraries can be downloaded from the link below:
Download

Place both libraries in Arduino IDE libraries folder.

Example small video:

Reference:
Adafruit industries

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.