ESP32 and ST7789 135x240 LCD Display

by LaZorraTech in Circuits > Arduino

21217 Views, 5 Favorites, 0 Comments

ESP32 and ST7789 135x240 LCD Display

20201115_133544.jpg
20201115_133630.jpg

How to hook up a ST7789 display to an ESP32 board. I have experimented with other displays and this one proved to be somewhat difficult to get running. Hopefully this wiring diagram and code will help others.

Supplies

Step 1: Connections

20201115_133453_1.jpg
20201115_133617.jpg
20201115_133528_1.jpg

ESP32 -> ST7789 Display (wire color in photo)

3v3 -> VCC (Black)

GND -> GND (Grey)

D15 -> CS (White)

D2 -> DC (Purple)

D4 -> RES (Yellow)

D18 -> SCL (Green)

D23 -> SDA (Blue)

Step 2: Code

Here is the link to the code, don't forget to install the necessary libraries.

https://github.com/LaZorraTech/ESP32-and-ST7789-13...

20201115_140030.jpg

And hopefully this is your end result! Please let me know if more information or clarification is needed.