Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Programming / Examples does not work correctly #70

Open
kaiuweb-coder opened this issue Oct 23, 2024 · 22 comments
Open

Problems with Programming / Examples does not work correctly #70

kaiuweb-coder opened this issue Oct 23, 2024 · 22 comments

Comments

@kaiuweb-coder
Copy link

Hi, my Name is Kai and I had an Issue with the 2.8 T-RGB.
I used Platform and I can build the Examples and Update the ESP works. I get also a Success. But the Display has already Stripes after the Update. No Clear Display. So that I Think that is broken. But I think also there is a Problem in the Code. I used Platform and the latest Download from the Github Repository.

Excuse the bad English but im not an native speaker.

I hope someone can help me.
IMG_7082
IMG_7083

@lewisxhe
Copy link
Contributor

Similar to this, you can try the steps in this issue to test and see if it works properly? #69

@Lio74150
Copy link

Hi Kai , please google TL021WVC01 (2.1") , TL028WVC01(2.8") and "Timing".Maybe you'll get a clue

@kaiuweb-coder
Copy link
Author

Hi I tried the 2 Comments. Without a correction. I Think the display is broken. I send it back and hope that the next one works.

@Lio74150
Copy link

Well I get no refund for the first one ( Paypal) and I guess it will be the same for the second.So as the first one is saddly mine I bought another ESP32S3 based board from well known concurrent and it s working with that LCD.So LCD is not faulty.But timing beetween 2.1 and 2.8 are clearly different.Spent to much time on it.Clearly disapointed by Lilygo this time

@lewisxhe
Copy link
Contributor

If it doesn't work, please contact the dealer for after-sales service.

@annodomini2
Copy link

Also experiencing this, if I load the pre-built binary it works fine. So the HW is not faulty.

If I use a locally compiled binary (Arduino), I observe this.

Arduino 2.3.3
Expressif 2.0.6 Board configuration
HW settings as specified in README.md

main known issue:

Have to use TFT_eSPI 2.5.31, 2.5.22 is no longer available.

All other settings per specified except SensorLib 0.2.2, tried 0.1.17, don't think this is the issue.

Is it the TFT_eSPI library above?

@Lio74150
Copy link

Lio74150 commented Nov 2, 2024

Hi annodomini2 ,I bought Adafruit Qualia ESP32-S3 , with the Adafruit SD card reader.You can set the screen timings , and all runs smooth.I use Arduino IDE

@annodomini2
Copy link

Could you provide more information on "Set the screen timings", I have only received the screen today and I am attempting to just execute the examples.

@Lio74150
Copy link

Lio74150 commented Nov 2, 2024

Sorry you can set timings with Qualia.Never managed with LilyGo

@annodomini2
Copy link

Update: After switching to PlatformIO and VSCode, I have found only 1 example that works:

Arduino_GFX_HelloWorld

All the others result in lines, I assume this is related to the pin mapping as this appears to be different for this Sketch vs the others.

Arduino_GFX_SpriteGif does not compile, giving me font errors:
Arduino_GFX_Sprite_gif_build_error

My main issue now is that the pinout for the Display ribbon is not available.

The Display is wired as per the images in the site:

T_RGB1_600x600

@lewisxhe
Copy link
Contributor

lewisxhe commented Nov 11, 2024

@annodomini2
I added a fixed screen initialization method. Under normal circumstances, as long as the correct touch model is identified, the screen type can be determined. However, other situations may occur. Now you can use the following four methods to initialize the screen. Please try it.

    //** Four initialization methods */

    // Automatically determine the touch model to determine the initialization screen type. If touch is not available, it may fail.
    bool rslt = panel.begin();

    // Specify 2.1-inch semicircular screen
    // https://www.lilygo.cc/products/t-rgb?variant=42407295877301
    // bool rslt = panel.begin(LILYGO_T_RGB_2_1_INCHES_HALF_CIRCLE);

    // Specified as a 2.1-inch full-circle screen
    // https://www.lilygo.cc/products/t-rgb
    // bool rslt = panel.begin(LILYGO_T_RGB_2_1_INCHES_FULL_CIRCLE);

    // Specified as a 2.8-inch full-circle screen
    // https://www.lilygo.cc/products/t-rgb?variant=42880799441077
    // bool rslt = panel.begin(LILYGO_T_RGB_2_8_INCHES);

    if (!rslt) {
        while (1) {
            Serial.println("Error, failed to initialize T-RGB"); delay(1000);
        }
    }

@lewisxhe
Copy link
Contributor

Update: After switching to PlatformIO and VSCode, I have found only 1 example that works:

Arduino_GFX_HelloWorld

All the others result in lines, I assume this is related to the pin mapping as this appears to be different for this Sketch vs the others.

Arduino_GFX_SpriteGif does not compile, giving me font errors: Arduino_GFX_Sprite_gif_build_error

My main issue now is that the pinout for the Display ribbon is not available.

The Display is wired as per the images in the site:

T_RGB1_600x600

This compilation error has been fixed in be6ebdb

@annodomini2
Copy link

Confirm Build issue resolved.

Unfortunately the linked images are not visble to me.

@lewisxhe
Copy link
Contributor

What image ?

@annodomini2
Copy link

Apologies, my images are not appearing in the reply

@lewisxhe
Copy link
Contributor

Is the problem solved ?

@annodomini2
Copy link

Uncertain, Backlight comes on, but no image.

Attempting to determine if there is something wrong with my setup.

@lewisxhe
Copy link
Contributor

@annodomini2 Try to test if the firmware works, if it doesn't work then it's broken

https://github.com/Xinyuan-LilyGO/LilyGo-T-RGB/tree/main/firmware

@annodomini2
Copy link

HW is fine, examples/Arduino_GFX_SpriteGif is trapping, resetting and getting no image

@annodomini2
Copy link

I can see it restarting from the serial port

@lewisxhe
Copy link
Contributor

Arduino_GFX_SpriteGif requires the gif to be placed in the SD card. Have you done this? What about other examples?

@annodomini2
Copy link

I can see that in the code, there's zero mention of it in the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants