ESPHome and Elecrow CrowPanel 7.0"

ESPHome and Elecrow CrowPanel 7.0"

I’ve finally managed to display something using ESPHome 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);

Doc preview: RPI_DPI_RGB Display Driver, section Elecrow CrowPanel 7.0” 800x480

Is there any chance you could please share the rest of the YAML for your testing?

I’ve successfully compiled and uploaded, but blank screen on the display still. I suspect my board type is set wrong or the backlight isn’t being turned on.