Page 1 of 1

ESP32 + TFT st7735

Posted: Tue Apr 30, 2019 5:18 pm
by marko.brelak
Hi, colleagues,

I am working on a project which includes a 1.8'' TFT with st7735 controller inside. I have found also a https://github.com/loboris/ESP32_TFT_library repo but I am failing to include it in my existing code structure in Eclipse.
Do you have some advice on how to choose which library components should I include and where? I am grateful for any advice from you!

Best regards
Marko

Re: ESP32 + TFT st7735

Posted: Wed May 01, 2019 9:31 am
by chegewara

Re: ESP32 + TFT st7735

Posted: Wed May 01, 2019 9:54 am
by marko.brelak
Thank you Chegewara,

I saw this part of the library and I will try to include only tft.c and tft.h in my project. Once I build the project I believe that I would need to include some more tft-related libraries. WIth the tft driver it's going to be a lot of back and forward, but I am willing to fo there :lol:
The other problem is the pinout of my display, I see I2C only and no SPI lines. See the following:
https://ae01.alicdn.com/kf/HTB1che7a6JT ... 40x640.jpg

Best regards
Marko

Re: ESP32 + TFT st7735

Posted: Wed May 01, 2019 10:05 am
by chegewara
Then you should realize by now that library is not for you, it is SPI library. But looking at this image i can say it is I2C/SPI display, so maybe at the end you could make use of it.

Maybe this will help you:
https://community.particle.io/t/solved- ... park/11392

Re: ESP32 + TFT st7735

Posted: Wed May 01, 2019 10:14 am
by marko.brelak
Yes, it helps at least when it comes to the wiring. The following is how I see the TFT pinout:

SCK----->SCLK
SDA----->SDI
A0------->D/C
RST----->RST
CS------->SS

Regards
Marko

Re: ESP32 + TFT st7735

Posted: Thu Jun 01, 2023 8:22 am
by zazas321
Hello :) I am aware that this is a very old post. But did anyone manage to get the ST7735 display up and running on the esp-idf as of 2023?

I could not find any examples that would compile on esp-idf v5.0.1 (most are using very very old esp-idf versions)