esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
407 stars 26 forks source link

Support for Display Driver: EK9716BD3 & EK73002ACGB #2745

Open lboue opened 1 month ago

lboue commented 1 month ago

Describe the problem you have/What new integration you would like

Support for Display Driver: EK9716BD3 & EK73002ACGB

Please describe your use case for this integration and alternatives you've tried:

I would use these two devices with ESPHome as it works with openHASP:

Additional context

Support display resolutions

lboue commented 1 month ago

I'm currently testing my device with ESPHome RPI_DPI_RGB Display Driver component. I hope it will work but I'm not sure. For the moment, the display is flickering. I must have set the wrong parameter. I'll keep looking.

lboue commented 3 weeks ago

I've finally managed to display something on my Elecrow CrowPanel 7.0":

#-------------------------------------------
# Touchscreen gt911 i2c
#-------------------------------------------
touchscreen:
  platform: gt911
  id: my_touchscreen
  display: my_display
  interrupt_pin: 38

i2c:
  sda: 19
  scl: 20
  scan: true

display:
  - platform: rpi_dpi_rgb
    id: my_display
    data_pins:
      red:
        - 14
        - 21
        - 47
        - 48
        - 45
      green:
        - 9
        - 46
        - 3
        - 8
        - 16 
        - 1
      blue:
        - 15
        - 7
        - 6
        - 5
        - 4
    de_pin: 41
    hsync_pin: 39
    vsync_pin: 40
    pclk_pin: 0

    hsync_front_porch: 40
    hsync_pulse_width: 48
    hsync_back_porch: 13

    vsync_front_porch: 1
    vsync_pulse_width: 31
    vsync_back_porch: 13

    pclk_inverted: true
    pclk_frequency: 8500000

    color_order: RGB

    auto_clear_enabled: false
    update_interval: 5s
    dimensions:
      width: 800
      height: 480

    lambda: |-
      auto black = Color(0, 0, 0);
      auto red = Color(255, 0, 0);
      auto green = Color(0, 255, 0);
      auto blue = Color(0, 0, 255);
      auto white = Color(255, 255, 255);
      it.filled_circle(20, 32, 15, black);
      it.filled_circle(40, 32, 15, red);
      it.filled_circle(60, 32, 15, green);
      it.filled_circle(80, 32, 15, blue);
      it.filled_circle(100, 32, 15, white);

IMG_1151

IMG_0918