ST77916 #3477
Replies: 16 comments 71 replies
-
Hello @Basitadam
From another project Because the library
|
Beta Was this translation helpful? Give feedback.
-
Hi @Basitadam, would be nice if you can share it, thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
I decided to post my files, but they are not working yet, only the display backlight turns on and that's it🙂
and
The archive contains files for the platformio and libraries By the way, a remark, when I compile under
then after loading the firmware
There are no reboots and only the display backlight turns on, because I can't yet write code for normal display initialization. Since the device
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone, My solution is based on TFT_eSPI 2.5.43 and ESP32 3.0.4 board libraries. With Arduino IDE 2.3.2. My MCU is ESP32-S3 on an ESP32-S3-Zero board. Attached are the all TFT_eSPI files and an Arduino sample sketch.
I made some trials to run in DMA mode. There might be some extra lines commented in files. Hope these help and make it their way into the new version of TFT_eSPI (with professionally edited versions of course) BR, |
Beta Was this translation helpful? Give feedback.
-
@Basitadam I'm having studied your display a little, I realized that your solution is not suitable for the You are using a classic connection to the
Which changes things dramatically and is not yet supported by the library. |
Beta Was this translation helpful? Give feedback.
-
@brightproject you are correct. My display has 15pins but QSPI one has 20. I have QSPI module also: Hoped I could change the communication mode to simple SPI via These type of pins have pull-up / pull-down resistor located on display flat cable. But not on this one. Here are my setup, MCU and sample visuals: Tim |
Beta Was this translation helpful? Give feedback.
-
Hello, If i can a question, did you test it with all rotation ? (by your function setRotation). Maybe there is a little bug on it. For me Screen is not center on 2 kind of rotation (setRotation(2); and setRotation(1); i think). I make an example with a LVGL_METER, and it's not center on those rotation. And that make parasite en bottom or right on the screen. Did you see that too ? (sorry for my English) Julien |
Beta Was this translation helpful? Give feedback.
-
Hi @julienGowind. Thank you, I didn't check it really. I just checked that rotation works. Now I looked at the code, I realized I did not set TFT_HIGHT, TFT_WIDTH. They are in TFT processor init file, so should library should work but you can try these: 1- include height and width in user select file ( Setup27tk_1_8Round_ST77916_ESP32.h ) 2- include height and width in Arduino sketch 3- in Adruino sketch 4- Or maybe it is the nature of some rotations: Some rotations are like flip or mirror in nature. Defining absolute coordinates like tft.setCursor(90,120) might be causing to see as if not centered. To test this put a circle or rectangle at the middle of the screen. Center point of circle/rectangle must be (180,180). Try doing rotations now. The circle/rectangle should not change position. Let me know the results please. BR,
|
Beta Was this translation helpful? Give feedback.
-
Hi, great job! I’m really glad someone has tackled this topic. I bought the same 15-pin touchscreen display. However, before diving into the touch functionality, I first want to get it running in general. I'm having an issue, though. Despite placing the files in the correct folders — TFT_Drivers, User_Setups, and modifying TFT_eSPI.cpp and TFT_eSPI.h — the display remains black. Here’s how I’ve connected it:
And the definition in User_Setup.h: #define TFT_MISO -1 I’m also not sure how to set it up so the display operates in SPI mode. Is that the default operating mode? How should I configure the jumper settings? Thank you for your response, and great job! I’m also looking forward to the part where you explain the touch setup. Take care! |
Beta Was this translation helpful? Give feedback.
-
TouchPad : Not tested yet |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question because I want to generate a 360x360 sprite (to cover the entire screen). However, I know that the sprite size is limited by the ESP32's RAM capacity. (Now I use it esp32 DevKitC) Do you know how to solve this problem? Is it possible to expand the RAM or cache size? In my project assumptions, I wanted to manage 3 such displays independently at the same time. Processing power wouldn’t be an issue, but I can see that the cache memory already is. |
Beta Was this translation helpful? Give feedback.
-
question: has anyone got the integrated 1.85" ESP32-S3 device from Waveshare: https://www.waveshare.com/wiki/ESP32-S3-LCD-1.85 to work with TFT_eSPI? |
Beta Was this translation helpful? Give feedback.
-
Good day @Basitadam and @uzi18 🙂
To easily connect to the display inside the It seemed to me that this is not such a difficult task, the main thing is to understand it correctly.
The initial entry point is the file
Which includes the file
Which is where the main Declaring the library in the code
We include the settings files
Which have the display driver we need added
Inside which the required driver is specified
And the necessary pins.
initialization of the display and the
After several attempts and code editing, it was successfully assembled.
but the display is not yet filled with red. If we think about this together, then perhaps display output will be implemented. I downloaded the project archive for I deleted the
Link to the archive |
Beta Was this translation helpful? Give feedback.
-
Unfortunately this is way beyond my skill set, but it would great if someone smarter than me would figure it out. |
Beta Was this translation helpful? Give feedback.
-
@ChrisZang0815 you see error - Invalid pin 23 |
Beta Was this translation helpful? Give feedback.
-
When I'm moving the ffc cable the display flickers and sometimes loses signal until I press the reset button, does it happen to any of you as well? |
Beta Was this translation helpful? Give feedback.
-
Hi,
Made a working driver set for ST77916. I can share anyone interested
BR,
Tim
Beta Was this translation helpful? Give feedback.
All reactions