0

[SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240 Wide
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

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

by solardude on Sun Apr 22, 2018 2:44 am

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.

solardude
 
Posts: 138
Joined: Fri Oct 18, 2013 12:47 am

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

by fazambuja on Sun Apr 22, 2018 5:12 pm

I'm using the Adafruit graphictest file for now with:
Code: Select all | TOGGLE FULL SIZE
  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.

fazambuja
 
Posts: 16
Joined: Wed Mar 21, 2018 12:07 am

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

by solardude on Sun Apr 22, 2018 5:25 pm

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.

solardude
 
Posts: 138
Joined: Fri Oct 18, 2013 12:47 am

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

by fazambuja on Sun Apr 22, 2018 6:13 pm

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 280 times

fazambuja
 
Posts: 16
Joined: Wed Mar 21, 2018 12:07 am

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

by solardude on Mon Apr 23, 2018 7:46 pm

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

Here are some more colors for you:

Code: Select all | TOGGLE FULL SIZE
#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.

solardude
 
Posts: 138
Joined: Fri Oct 18, 2013 12:47 am

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

by fazambuja on Tue Apr 24, 2018 12:48 pm

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.

fazambuja
 
Posts: 16
Joined: Wed Mar 21, 2018 12:07 am

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

by fazambuja on Tue Apr 24, 2018 3:33 pm

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

fazambuja
 
Posts: 16
Joined: Wed Mar 21, 2018 12:07 am

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

by fazambuja on Tue Apr 24, 2018 4:53 pm

Support is out!!!

However still not sure about the 3Vo and Backlight.

fazambuja
 
Posts: 16
Joined: Wed Mar 21, 2018 12:07 am

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

by adafruit2 on Tue Apr 24, 2018 7:54 pm

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

adafruit2
Site Admin
 
Posts: 16537
Joined: Fri Mar 11, 2005 7:36 pm

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

by solardude on Tue Apr 24, 2018 8:00 pm

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!

solardude
 
Posts: 138
Joined: Fri Oct 18, 2013 12:47 am

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

by adafruit2 on Tue Apr 24, 2018 8:09 pm

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.

adafruit2
Site Admin
 
Posts: 16537
Joined: Fri Mar 11, 2005 7:36 pm

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

by solardude on Tue Apr 24, 2018 8:21 pm

Thanks for the clarification!

I'll report back after testing the library changes.

Thanks!

solardude
 
Posts: 138
Joined: Fri Oct 18, 2013 12:47 am

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

by fazambuja on Tue Apr 24, 2018 8:42 pm

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

fazambuja
 
Posts: 16
Joined: Wed Mar 21, 2018 12:07 am

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

by solardude on Wed Apr 25, 2018 1:03 am

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

solardude
 
Posts: 138
Joined: Fri Oct 18, 2013 12:47 am

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

by solardude on Thu May 24, 2018 11:05 am

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!

solardude
 
Posts: 138
Joined: Fri Oct 18, 2013 12:47 am

Please be positive and constructive with your questions and comments.