Problems with display ST7735S and Teensy 4.0

Status
Not open for further replies.
I've successfully connected display ST7735S to Teensy 4.0 this way:
GND -> GND
VCC -> 5V
SCL -> SCK (13th pin)
SDA -> MOSI (11th pin)
RES -> 8th pin
DC -> 9th pin
CS -> CS (10th pin)

However, there is no image on display; only backlight.
I used a Teensy library (https://www.pjrc.com/teensy/td_libs_ST7735.html) especially written for this type of displays to be connected with Teensy.
I used a following code: https://pastebin.com/Jd04eEL0
[video]https://thumbsnap.com/i/wqzH2Vp9.mp4[/video]
 
Sorry would suggest using different library, my guess is that one is ancient as it talked about being optimized for Teensy 3.1...

Two alternatives:
Use the more current Adafruit library: You can either download it directly from their github:
https://github.com/adafruit/Adafruit-ST7735-Library
Or you can use the Adruino library manager for it.

Or you can use the library that is installed with Teensyduino:
https://github.com/PaulStoffregen/ST7735_t3

Again the later one is included with the Teensyduino releases
 
Which Display are you using? It looks different than the Adafruit one. https://www.adafruit.com/product/3533

I have played around with the Adafruit one, but it could be configured differently, that is the controller can handle so many pixels and this display only shows a portion of it, so the question may be what portion of memory does it use...

It looks like a few of them that for example Amazon sells like: https://smile.amazon.com/dp/B09DT7X3MH/

Ordered 2 from Ebay: That look same, ship from US so should be here within week...
 
Last edited:
In this case, as in other similar ones, you have to connect wire by wire again, you have to check the continuity to ensure that any of them is not broken.

You also have to check the welds on the screen pins, sometimes there are traces of some protection wax that prevent the correct connections between the screen PCB and the pin strips. I don't have that screen on hand, but I have a TFT ST7735 with a touch panel, I have connected it to a teensy 4 and it works.

ST7735.jpg
Library: ST7735_t3
 
Sorry I received the TFT from ebay and just soldered up the pins. and connected it up to a T4

I loaded up Graphic test in the ST7735_t3 library.

Edited it to say I am using
#
Code:
define TFT_DC   9 
#define TFT_CS   10  
#define TFT_RST  8
...
ST7735_t3 tft = ST7735_t3(TFT_CS, TFT_DC, TFT_RST);
...
tft.initR(INITR_MINI160x80);
And the graphic test appears to work fine for me on this display
screenshot.jpg
 
Status
Not open for further replies.
Back
Top