BuyDisplay ER-TFTM070-5 (RA8875) display does not turn on #584
Replies: 10 comments 15 replies
-
hi, please see this post |
Beta Was this translation helpful? Give feedback.
-
Hello, sorry for my English, again. I tested the suggestions without getting any results. the display remains off. I even posted the suggested code on the forum for testing. Without any effect. I would like to share the code I made and maybe it can help me find the problem. Remembering that I used Visual Studio Code with platformio. Thank you once again for the support and help. |
Beta Was this translation helpful? Give feedback.
-
Please can you check my code and display connections with the ESP32. The way I did it is documented in the zipped file |
Beta Was this translation helpful? Give feedback.
-
I'm getting ready to buy another better display. Unfortunately, in Brazil, with the policy of abusive fees imposed by the "Thief" government, international purchases are greatly harming projects. Think about it, something that costs USD 20.00 turns into USD 40.00. Our Real currency (R$) is almost 6:1 to the dollar. This becomes very prohibitive. This way, it becomes more difficult and expensive to do something cool. As people say: This country is not for amateurs. Either way, I'm very grateful for your help. |
Beta Was this translation helpful? Give feedback.
-
Hi,gwiethaus, |
Beta Was this translation helpful? Give feedback.
-
I decided to simplify the connection of the power source. |
Beta Was this translation helpful? Give feedback.
-
Notherless,it could be safe to test with a stronger supply like a laboratory one,i'm not convainced with the one you show,many |
Beta Was this translation helpful? Give feedback.
-
Otherwise, I have 2 displays that I got from a fablab, but I haven't tested one that is completely new yet. The other display already came with the dips soldered onto its board. This one didn't care either. I believe that the person accidentally didn't know this and also connected it to the Arduino directly. All I can do now is definitely test this new one in the box (without making the same mistake). And see if I'm stupid and don't know how to turn it on or if there are really serious problems with the display. In any case, I'm grateful for the help. |
Beta Was this translation helpful? Give feedback.
-
My 20% hope came true. The display was not damaged. I used a native library (driver) that was on the Buydisplay website for my model. It first worked on the Arduino Mega 2560. I connected it properly using, in addition to MOSI, MISO, SCLK, CS/SS and RESET, the INT pin. I connected the ESP32 to my PC's USB, placing its GND in common with the breadboard power supply. The display was powered by this 5V breadboard source that provides the appropriate current for its operation. After all this, I rewrote, or rather, added a small code to the library to work on the ESP32. When turning it on I noticed that there was instability in the display, messing up the image at some point. I didn't know what that was. I took the same assembly to my company's computer and the display images were stable, working well in 2 hours when connected directly. Something on my USB, because the USB on my home computer is 4.0 and 3.1. My job is an old PC with USB 2.0. I believe that some failures may be related to the PC's USB and the ESP32 wroom-32 Devkit 1. I used a logic alizer from my company and it appears that the data was being sent and received correctly. I'm going to solve this mystery and then I'm going to move forward with the project, moving on to LovyanGFX and comparing whether it's really the LovyanGFX driver that isn't turning on the display (I hope this time it works with Lovyan). I would like to thank those who helped me in some way. |
Beta Was this translation helpful? Give feedback.
-
Dear @tobozo, I found out what was wrong. In reality it was the writing frequency of the SPI protocol of the display microcontroller. For the RA8875 it is not 40MHz but 4MHz. This value was found when I used the native library from the Buydisplay manufacturer itself. I analyzed the RA8875.h and RA8875.c libraries and found out what was wrong. I simply adjusted the code to use the lovyanGFX and, like magic, it worked.
The value of 40MHz was the original in the initialization settings of the display for the lovyanGFX which I lowered to 4MHz as shown above in the code. |
Beta Was this translation helpful? Give feedback.
-
Hello Lovyan03 and great community,
Sorry about my English.
I'm having trouble getting my display to work.
First I will position them on the settings I am using
Display:
BuyDisplay ER-TFTM070-5, 7" (800x480), RA8875 microcontroller, Integrated resistive touch screen
Power supply 5V and 3.3V digital signal
Embarked:
ESP32 WROOM-32, 30 pins
The communication protocol you are using is SPI.
I tested one of the following codes below, to configure the display, but I was not successful with the LovyanGFX graphics library.
I am connecting the BL pin on the display directly to 3.3V (on the ESP32).
The display does not turn on.
ESP32 pins have their main VSPI MOSI, MISO, CLK and CS0 PINS
I tried connecting it in other ways without success.
I don't know if it's the ESP32 with problems, or some incompatibility between my ESP32 model and the library.
I tested the display with another third-party library RA8875.h and Arduino UNO r3, the display worked perfectly.
Could you help me by telling me how I connect my display to the ESP32 and the necessary settings to connect the display? Or otherwise, is there a library incompatibility?
Thank you very much in advance
Beta Was this translation helpful? Give feedback.
All reactions