Skip to content

CrowPanel no touch #1011

@ThomasCr

Description

@ThomasCr

Hi.. I use a ESP32-S3 CrowPanel Basic 7 " 800x480 HMI IPS Touchscreen Display with 240MHz ESP32-S3 - on the backside it has SKU: DIS08070H

I cant get the touch to work with elecrow-s3-8048c070_full_4MB_v0.7.0-rc13_042fe05.bin. On ESPhome it was running, after fiddeling around. That was the working config ...

i2c:
  - id: i2c_bus
    sda: 19
    scl: 20
    scan: true

# PCA9554 GPIO extender for display reset
pca9554:
  - id: p_c_a
    address: 0x20
    i2c_id: i2c_bus

output:
  - platform: ledc
    pin: 2
    id: gpio_backlight_pwm
    frequency: 1220

light:
  - platform: monochromatic
    output: gpio_backlight_pwm
    name: "Display Backlight"
    id: display_backlight
    restore_mode: ALWAYS_ON
    default_transition_length: 0s

display:
  - platform: rpi_dpi_rgb
    id: main_display
    invert_colors: true
    dimensions:
      width: 800
      height: 480
    de_pin: 41
    hsync_pin: 39
    vsync_pin: 40
    pclk_pin: 0
    pclk_frequency: 20MHz
    pclk_inverted: true
    hsync_front_porch: 40
    hsync_pulse_width: 48
    hsync_back_porch: 13
    vsync_front_porch: 1
    vsync_pulse_width: 31
    vsync_back_porch: 13
    data_pins:
      red: [14, 21, 47, 48, 45]
      green: [9, 46, 3, 8, 16, 1]
      blue: [15, 7, 6, 5, 4]
    color_order: RGB
    update_interval: 16ms
    auto_clear_enabled: false # takes 2.8 seconds to clear the display

touchscreen:
  - platform: gt911
    id: main_touchscreen
    i2c_id: i2c_bus
    #address: 0x5D
    display: main_display
    update_interval: 50ms

lvgl:
  displays:
    - main_display
  touchscreens:
    - main_touchscreen
  color_depth: 16
  bg_color: 0x000000
  border_width: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions