[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
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 »

Which library are you using?

The yellow on my screen looks like a vibrant yellow.

You can change the RGB value for Yellow if you want to make it brighter.

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 »

I'm using the Adafruit graphictest file for now with:

Code: Select all

  tft.initR(INITR_BLACKTAB);   
  tft.setRotation(2); // the one that works
  tft.invertDisplay(1); 
I usually use the TFT_eSPI library using the really good looking smooth fonts and sprites to avoid flickering. What it's your setup?

Oh and I changed all the resolutions on the library to 240 x 240, just in case.

Testing the primaries, I found that the green is not saturated. Makes sense why the yellow is faded.
I will try other tables.

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 the Particle Photon along with this library https://github.com/menan/adafruit_st7735

You can create custom fonts using this modified mfGFX library, which we got working years before the Adafruit added that feature to their GFX library. The mfGFX library uses a Windows program to create custom font arrays while the Adafrut font generator requires a Linux program to create new fonts I think.

I'm using the
tft.setRotation(2);
tft.invertDisplay(1);
Same as you are.

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 »

That library looks good. I don't have a Particle Photon, I'm waiting for their new models :)

I noticed that they added the display for the Animated Snake Eyes Bonnet for Raspberry Pi (https://learn.adafruit.com/animated-sna ... spberry-pi). I might try to connect mine to a raspberry pi.

This how the green looks like against the not so vibrant M5Stack screen:
Attachments
IMG_0171.jpg
IMG_0171.jpg (573.42 KiB) Viewed 1189 times

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 »

Pull that protective sticker off the front of the screen for a better look.

Here are some more colors for you:

Code: Select all

#define LTBLUE    0xB6DF
#define LTTEAL    0xBF5F
#define LTGREEN   0xBFF7
#define LTCYAN    0xC7FF
#define LTRED     0xFD34
#define LTMAGENTA 0xFD5F
#define LTYELLOW  0xFFF8
#define LTORANGE  0xFE73
#define LTPINK    0xFDDF
#define LTPURPLE  0xCCFF
#define LTGREY    0xE71C

#define BLUE      0x001F
#define TEAL      0x0438
#define GREEN     0x07E0
#define CYAN      0x07FF
#define RED       0xF800
#define MAGENTA   0xF81F
#define YELLOW    0xFFE0
#define ORANGE    0xFC00
#define PINK      0xF81F
#define PURPLE    0x8010
#define GREY      0xC618
#define WHITE     0xFFFF
#define BLACK     0x0000

#define DKBLUE    0x000D
#define DKTEAL    0x020C
#define DKGREEN   0x03E0
#define DKCYAN    0x03EF
#define DKRED     0x6000
#define DKMAGENTA 0x8008
#define DKYELLOW  0x8400
#define DKORANGE  0x8200
#define DKPINK    0x9009
#define DKPURPLE  0x4010
#define DKGREY    0x4A49
Have you figured out if the BL pin controls the backlight brightness yet? I have not tried.

The screen looks great and the resolution in this size is really good. I'm very happy with this screen.

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, I will try later today.

I wish Adafruit at least acknowledge the issue, or tell us what are we doing wrong :(
I decided to try the github, hopefully, will get some response.

I also haven't tried the BL.

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

Re: Library ST7735 NEEDS SUPPORT for 1.54" 240x240 Wide Angl

Post by fazambuja »

No luck with the color. It looks like green looks like 82FF9F http://www.color-hex.com/color/b5ffc6

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

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

Post by fazambuja »

Support is out!!!

However still not sure about the 3Vo and Backlight.

User avatar
adafruit2
 
Posts: 22200
Joined: Fri Mar 11, 2005 7:36 pm

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

Post by adafruit2 »

hiya! sorry about that, we pushed the code to a branch and forgot to merge it with master >.<
we just did a release, check out v1.1.0 - you'll need to uncomment the ST7789 object but we just tested it! let us know how it goes

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

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

Post by solardude »

adafruit2 wrote:hiya! sorry about that, we pushed the code to a branch and forgot to merge it with master >.<
we just did a release, check out v1.1.0 - you'll need to uncomment the ST7789 object but we just tested it! let us know how it goes
Thanks for the updated library!

Can you talk about the BL pin on this breakout? Does the brightness dim based on the PWM it receives?

When will the schematic for the PCB be uploaded?

Thanks!

User avatar
adafruit2
 
Posts: 22200
Joined: Fri Mar 11, 2005 7:36 pm

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

Post by adafruit2 »

its like 99% identical to this:
https://learn.adafruit.com/adafruit-min ... /downloads
the backlight pin connects to a transistor, you can use it to PWM the backlight or turn it off.

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

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

Post by solardude »

Thanks for the clarification!

I'll report back after testing the library changes.

Thanks!

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

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

Post by fazambuja »

The graphicstest.ino works for me :)
Haven't tested the other ones yet.

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

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

Post by solardude »

I can verify that the BL "BackLight" pin does work to dim the brightness of the screen.

I recorded these power draws when feeding the LCD 3.3v from a bench power supply.
0 PWM = 12mA - 0.039 watts @3.3v
50 PWM - 16mA - 0.052 watts @3.3v
100 PWM - 21mA - 0.069 watts @3.3v
150 PWM - 25mA - 0.082 watts @3.3v
200 PWM - 30mA - 0.099 watts @3.3v
250 PWM - 34-35mA - 0.112-0.115 watts @3.3v

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

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

Post by solardude »

adafruit2 wrote:its like 99% identical to this:
https://learn.adafruit.com/adafruit-min ... /downloads
the backlight pin connects to a transistor, you can use it to PWM the backlight or turn it off.
Can you tell me what the part number for the flex cable connector is on the 240x240 display PCB?

There is no schematic to reference.

Image

Any help is appreciated.

Thanks!

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

Return to “Other Products from Adafruit”