Arduino

Материал из Home Wiki
Перейти к навигации Перейти к поиску

ST7789 TFT Display

https://simple-circuit.com/arduino-st7789-ips-tft-display-example/

All Arduino UNO board output pins are 5V, connecting a 5V pin to the ST7789 TFT display may damage its controller.

To connect the Arduino to the display module, I used voltage divider for each line which means there are 4 voltage dividers. Each voltage divider consists of 2.2k and 3.3k resistors, this drops the 5V into 3V which is sufficient.

If the display module has a CS pin (Chip Select) then it should be connected to Arduino digital pin 10 through another voltage divider.

So, the ST7789 TFT display is connected to the Arduino board as follows (each one through voltage divider):

RST pin is connected to Arduino digital pin 8,

DC pin is connected to Arduino digital pin 9,

SDA pin is connected to Arduino digital pin 11,

SCL pin is connected to Arduino digital pin 13.