ESP32-S3-Touch-4.3B-BOX ESPHOME error getting Touchscreen active

Hi there,

I’m getting the following error when booting the screen which is preventing me from using the Touch component.

[14:38:58.138][C][gt911.touchscreen:153]: GT911 Touchscreen:

[14:38:58.142][C][gt911.touchscreen:154]: Address: 0x14

[14:38:58.142][C][gt911.touchscreen:131]: Interrupt Pin: GPIO4

[14:38:58.142][E][component:143]: touchscreen is marked FAILED: Calibration error

Has anyone got this Waveshare to work with Esphome under HomeAssistant?

I have the screen working fine.

Cheers, Mike.

Config is as follows:

1 Like

Hi Mike

While I personally haven’t gotten this display working with ESPHome, I found some tips around the net.
At a glance, this looks more like a GT911 reset/address initialisation issue than touchscreen calibration.
On the Waveshare ESP32-S3 4.3-inch display, the GT911 reset is driven through output 1 of the CH422G expander.

Try removing the explicit touchscreen address and adding its reset pin:

ch422g:
  - id: ch422g_hub
    address: 0x24

touchscreen:
  - platform: gt911
    id: my_touchscreen
    interrupt_pin: GPIO4
    reset_pin:
      ch422g: ch422g_hub
      number: 1
      mode: OUTPUT

The reset sequence should bring the controller up consistently at its expected address; without it, the GT911 can appear at 0x14 but return invalid panel dimensions, resulting in that calibration error.

If it still fails, can you please post the complete I²C scan and startup log plus the exact board revision?

Keen to figure this one out - and would love to see a photo of your setup once its working!
Liam

Hi Liam,

Thanks for having a look. Two things came to pass:

  1. I could not apply the address to the Expander. Esphome threw an error.
  2. Where I had issues applying the RESET pin, your syntax WORKED!!!

Thankyou. I will now work on the sensing areas on the touchpad and see how successful that is.

Stay tuned :smile:

1 Like

Look at all these WONDERFULL ‘X’ and ‘Y’ coordinates. It matches the screen dimensions.

Thankyou for your help. I’ll post more yaml code once I have the screen deployed as I want.

Cheers,
Mike.

1 Like