firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: backlight CrowPanel Advance 7.0-HMI ESP32 AI Display

Open Jmorenope opened this issue 1 year ago • 90 comments

Category

Other

Hardware

Other

Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?

  • [x] Meshtastic UI aka MUI colorTFT
  • [ ] InkHUD ePaper
  • [ ] OLED slide UI on any display

Firmware Version

v2.7.0.195b7cc

Description

I'm having issues with the screen brightness. When I shine a light on the screen, I can see that it's working, as is the touchpad, but I can't see anything because of the screen's brightness, which makes everything look dark.

Relevant log output


Jmorenope avatar Jun 25 '25 04:06 Jmorenope

At first sight it sounds like a hardware issue. The three larger elecrow advanced models don't have brightness control so brightness will be always switched to 100%. Thus, if you can't see anything it could be a loose cable or backlight led issue.

To be certain, please answer the following question: the devices are usually delivered with a flashed stock firmware that demos some capabilities of the device. Did that work as expected or did you have same brightness issues?

mverch67 avatar Jun 25 '25 11:06 mverch67

Hello, yes. The stock firmware worked correctly, I personally tested the screen functions with the stock firmware for a review. But when flashing the meshtastic firmware, it doesn't work.

Jmorenope avatar Jun 25 '25 16:06 Jmorenope

Are you able (and willing) to compile meshtastic firmware by your own and play with some display parameters to get it running?

mverch67 avatar Jun 26 '25 05:06 mverch67

Yes, of course, if you tell me how I should proceed, I can do it.

Jmorenope avatar Jun 26 '25 14:06 Jmorenope

Yes, of course, if you tell me how I should proceed, I can do it.

The display parameter to be checked is this one: To be increased in steps by 1 MHz (e.g. 15000000, 16000000, ...) until the display may show some life.

If you've never compiled the firmware you'd start with the Builduing Firmware docs here.

Besides using vscode you can also run the following command to compile and flash: pio run -e elecrow-adv1-43-50-70-tft -t upload

The firmware command to actually enable the backlight is this one: ioex.output(1, TCA9534::Level::H)

mverch67 avatar Jun 26 '25 15:06 mverch67

Where can I find the specified parameter? When importing the project into Visual Studio, I can't find the path provided on GitHub.

Image

Jmorenope avatar Jun 30 '25 02:06 Jmorenope

Where can I find the specified parameter?

The simplest way would be to define a preprocessor macro in the variants/elecrow_panel/platformio.ini:

Image

To see the other files from the device-ui repository you'd have to clone that repository and add it to your workspace via File->Add Folder to Workspace

mverch67 avatar Jun 30 '25 09:06 mverch67

Hello, I also have a CrowPanel 7p ADV. It worked before the Meshtastic flash. The touchscreen and Meshtastic work, but the screen doesn't work. There's no light.

I'm a complete beginner and I hope someone can fix this problem :)

I also have an ADV 2.4 and a 3.5, which work perfectly :)

Ope8888 avatar Jul 08 '25 19:07 Ope8888

If I understood correctly, customer service said there were two hardware versions: v1 and v1.2.

Unfortunately, I clearly don't have the knowledge to try to fix the problem!

I hope someone can do it :)

I need this module, haha

Ope8888 avatar Jul 09 '25 08:07 Ope8888

Like you, I'm new to these things. I've been trying to follow the recommendations above, but haven't been successful in compiling the firmware with the modifications.

Jmorenope avatar Jul 09 '25 13:07 Jmorenope

I've been trying to follow the recommendations above, but haven't been successful in compiling the firmware with the modifications.

Did you compile on Windows or Linux?

mverch67 avatar Jul 09 '25 15:07 mverch67

If I understood correctly, customer service said there were two hardware versions: v1 and v1.2.

If you got hardware version V2 then it's clear why the screen stays dark. The backlight control has changed in V2 to allow 5 different brightness levels.

mverch67 avatar Jul 10 '25 10:07 mverch67

I've been trying to follow the recommendations above, but haven't been successful in compiling the firmware with the modifications.

Did you compile on Windows or Linux?

Windows 😢

Jmorenope avatar Jul 10 '25 13:07 Jmorenope

Here is a more detailed explanation of the problem, the information was provided by Elecrow support.image

Jmorenope avatar Jul 10 '25 13:07 Jmorenope

This means that V2 still have the issue to manually switch between LoRa module and SD card / UART (GPS).

mverch67 avatar Jul 10 '25 14:07 mverch67

still no news?

Ope8888 avatar Sep 11 '25 04:09 Ope8888

still no news?

I don't have a V2 version to implement and test it. What about all the other owners of the V2 version? Nobody able to implement the changes and write a PR?

mverch67 avatar Sep 11 '25 07:09 mverch67

Using a jerry-rigged 19007, I confirmed the i2c addresses and values sent by elecrow do change the backlight accordingly.

I have hardware in hand, but not the skills implement the backlight control code, nor just blast it to full in the interim on boot.

If anyone can do the firmware and need hardware testing, ping me @infered on the Discord.

infered5 avatar Sep 13 '25 02:09 infered5

AI display 🤦

dzienisz avatar Sep 13 '25 16:09 dzienisz

help , elecrow adv crow panel 7 screen is blank, meshtastic seems to be running but cant get screen to come on, reflashed the elecrow demo firmware screen works any help ?`

ATVWES avatar Sep 22 '25 02:09 ATVWES