[SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240 Wide

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

[SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240 Wide

Post by fazambuja »

Update:

04/24/2018 - the Adafruit-ST7735-Library now supports the new Adafruit 1.54" 240x240 Wide Angle TFT LCD Display with MicroSD - ST7789 (https://www.adafruit.com/product/3787).

Still, have some questions on the pinout and the backlight.

---------------------------------------------

There is also no official guide or pinout info.
Bellow is my guess of the pinout.

Pinout guesses Front/Back

Vi / Vin - input

3V / 3Vo - 3V Output???

G / Gnd - Ground

CL / SCK \leftarrow - Serial Clock

SO / MISO \rightarrow - Master In Slave Out (SD card only)

SI / SI - MOSI (Master Out Slave In)

TC / TF CS - Slave Select, TFT Slave Select

RT / RT - Reset pin

DC / DC - data or command selector pin

CC / SD CS - Slave Select, SD card reader Slave Select

BL / BL - TFT Backlight
Last edited by fazambuja on Tue Apr 24, 2018 4:52 pm, edited 13 times in total.

User avatar
solardude
 
Posts: 145
Joined: Fri Oct 18, 2013 12:47 am

Re: Pinout and Library for 1.54" 240x240 Wide Angle TFT LCD

Post by solardude »

I just received this screen also and I can't get the ST7735 library to properly operate the screen even after the screen size has been changed to 240x240.

It looks to not be as simple as just using the ST7735 library.

Where can we get a proper PIN out descriptions and a working library that were all so used to getting from Adafruit?

Looking forward to getting this screen working.

User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

Re: Pinout and Library for 1.54" 240x240 Wide Angle TFT LCD

Post by fazambuja »

Same here. The library was apparently not updated for this new screen. Did you change the screen resolution on the library definitions?
Attachments
IMG_0161.jpg
IMG_0161.jpg (660.12 KiB) Viewed 1997 times

User avatar
solardude
 
Posts: 145
Joined: Fri Oct 18, 2013 12:47 am

Re: Pinout and Library for 1.54" 240x240 Wide Angle TFT LCD

Post by solardude »

Yes, I did and I can only get 70-75% of the screen to show.

Tried the same library on the Particle Photon with more memory than the Arduino Uno and I get the same thing.

So it's going to take more than changing the screen pixel size to get this working.

User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

Re: Pinout and Library for 1.54" 240x240 Wide Angle TFT LCD

Post by fazambuja »

I'm on a ESP32.. I believe is the same ST7789 chip used on the Espressif ESP32 WROVER KIT - V3 https://www.adafruit.com/product/3384

I tried the https://github.com/Bodmer/TFT_eSPI and got something similar.
Hopefully, someone reads this post and updates the library.

User avatar
solardude
 
Posts: 145
Joined: Fri Oct 18, 2013 12:47 am

Re: Pinout and Library for 1.54" 240x240 Wide Angle TFT LCD

Post by solardude »

Yes, pretty frustrating not being able to use the screens.

Not sure why they would not post a guide or library for this.

They probably just sold 50 to 100 of these before selling out so I'm sure there will be plenty of others coming here needing the same help to get the screen working.

User avatar
solardude
 
Posts: 145
Joined: Fri Oct 18, 2013 12:47 am

Re: Pinout and Library for 1.54" 240x240 Wide Angle TFT LCD

Post by solardude »

fazambuja wrote:Same here. The library was apparently not updated for this new screen. Did you change the screen resolution on the library definitions?
I got the screen working with the ILI9341 library on a Particle Photon but I had to change the screen resolution to 240x240 and set the rotation to 2 before it would display correctly.

If you can set the resolution to 240x240 and then set the screen rotation to 2 using the ST7735 library and tell me what happens.

We still need on the official guide by Adafruit regardless because some functions like set screen black is not working.

User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by fazambuja »

We need a correct color table for the screen. I've tested all the options on https://github.com/Bodmer/TFT_eSPI and none worked.
The closest to black is actually the TFT_WHITE.
Attachments
IMG_0162.jpg
IMG_0162.jpg (782.07 KiB) Viewed 1957 times

User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by fazambuja »

Just tried the https://github.com/espressif/WROVER_KIT_LCD library. It uses a ST7789V
It "works" but the colors are still off. Didn't try but there is support for the Backlight.

User avatar
solardude
 
Posts: 145
Joined: Fri Oct 18, 2013 12:47 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by solardude »

fazambuja wrote:Just tried the https://github.com/espressif/WROVER_KIT_LCD library. It uses a ST7789V
It "works" but the colors are still off. Didn't try but there is support for the Backlight.
You can use this function to invert the colors :-)

tft.invertDisplay(1);

User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by fazambuja »

None. I believe rotation 2 and 3 work. The inverted colors do help but they are still off.

User avatar
solardude
 
Posts: 145
Joined: Fri Oct 18, 2013 12:47 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by solardude »

fazambuja wrote:None. I believe rotation 2 and 3 work. The inverted colors do help but they are still off.
tft.invertDisplay(1);

Is working fine for me using the Adafruit_ST7735 library.

User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by fazambuja »

thanks. so far for me is:

Code: Select all

  tft.setRotation(2);
  tft.invertDisplay(1); 
Hopefully, the colors are a bit more vibrant with the official support.

User avatar
solardude
 
Posts: 145
Joined: Fri Oct 18, 2013 12:47 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by solardude »

I'm using
tft.invertDisplay(1);
tft.setRotation(2);
I think the colors are just fine on my screens.

The viewing angles are great also compared to most all other TFT displays I have tested.

Really nice little display for a reasonable price.

User avatar
fazambuja
 
Posts: 17
Joined: Wed Mar 21, 2018 12:07 am

Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle

Post by fazambuja »

You are right compared to any of the little displays around it’s really good. However the yellow is looking faded to me...

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”