Orange Pi Zero Connect TFT SPI (ST7735)

by DziyanaZ in Circuits > Microcontrollers

20063 Views, 14 Favorites, 0 Comments

Orange Pi Zero Connect TFT SPI (ST7735)

1-8-дюймов-ST7735-Привод-IC-SPI-TFT-ЖК-Модуль-SPI-Последовательный-Интерфейс-Шины-128-160.jpg

The pins of this display are different from the others.

ST7735 and Board Connection.

orange-pi-zero-st7735.png

Connect your display and board as shown in the picture

Initialization

20170311_004104.jpg

To use, enter the following line in the console:

sudo modprobe fbtft_device name=adafruit18 gpios=reset:1,dc:0,led:3 speed=16000000 fps=25 rotate=90 busnum=1

Maybe you have to change busnum to zero

Using

Orange Pi Zero + st7735 tft spi

Enter the command:

dmesg

The last line will be the number of the framebuffer created. Now you can use it.

For example, if the framebuffer number is eight, then this command will display the console on it:

con2fbmap 1 8