Page 1 of 1

Problem with 0.96" TFT display ST7735

Posted: Mon Jan 13, 2025 6:19 am
by OderlandoRSilva
I recently received some 0.96" ST7735S TFT displays and decided to test them.
In the picture of the display you can see that the available communication pins are SCL-SDA-RES-DC-CS-BLK, but in FlowCode the available pins are MOSI-MISO-CLK-RES-DC-CS-BLK. So, I connected them as follows:
CLK ------ SCL
MOSI ---- SDA
MISO ---- Disconnected
RES ------ RES
DC -------- DC
CS -------- CS
BLK ------ BLK
I created a basic test flowchart, but it didn't work.
I tested several connection methods and several MCUs, but nothing worked.
So, I decided to select the ST7789 in the flowcode and see what happened.
To my surprise, the display worked.
I'm posting the picture of the display model, a real picture in operation and the flowchart. I would like someone to help me understand what is happening.

Re: Problem with 0.96" TFT display ST7735

Posted: Mon Jan 13, 2025 11:09 am
by medelec35
Hello.
I have tested both ST7735 and ST7789
For me the ST7735 component only worked with ST7735 HW & the ST7789 component only worked with ST7789 HW.
I'm wondering if the GLCD you has been marked with the wrong chip?

Re: Problem with 0.96" TFT display ST7735

Posted: Mon Jan 13, 2025 11:46 am
by OderlandoRSilva
Hi Martin, I was actually thinking about this possibility. Your test reinforces this possibility. I have ordered different samples to test, but your information is very helpful to me. I really appreciate your input.

Re: Problem with 0.96" TFT display ST7735

Posted: Mon Jan 13, 2025 11:52 am
by OderlandoRSilva
There is also another thing that made me curious. The blue and red colors are switched. When selecting the red color, the blue color appears. When selecting the blue color, the red color appears. Does this happen with your displays too?

Re: Problem with 0.96" TFT display ST7735

Posted: Mon Jan 13, 2025 12:17 pm
by medelec35
Yes at first with your project.
It's because within the display properties under Colour, you had Invert colours set to Yes instead of No

Re: Problem with 0.96" TFT display ST7735

Posted: Mon Jan 13, 2025 4:32 pm
by OderlandoRSilva
I hadn't realized that. Thank you very much for your help.