ESP32 + TFT st7735

marko.brelak
Posts: 23
Joined: Wed Apr 10, 2019 1:26 pm

ESP32 + TFT st7735

Postby marko.brelak » Tue Apr 30, 2019 5:18 pm

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


marko.brelak
Posts: 23
Joined: Wed Apr 10, 2019 1:26 pm

Re: ESP32 + TFT st7735

Postby marko.brelak » Wed May 01, 2019 9:54 am

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

chegewara
Posts: 2230
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 + TFT st7735

Postby chegewara » Wed May 01, 2019 10:05 am

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

marko.brelak
Posts: 23
Joined: Wed Apr 10, 2019 1:26 pm

Re: ESP32 + TFT st7735

Postby marko.brelak » Wed May 01, 2019 10:14 am

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

zazas321
Posts: 231
Joined: Mon Feb 01, 2021 9:41 am

Re: ESP32 + TFT st7735

Postby zazas321 » Thu Jun 01, 2023 8:22 am

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)

Who is online

Users browsing this forum: suestcxf and 85 guests