This config works well. I am underwhelmed by the display though - it has a very poor viewing angle and the pixels are not quite square so the aspect ratio is wrong - images are slightly squashed vertically. The Waveshare 7" display is much nicer.
esphome:
name: elecrow-crowpanel-70-rgb
friendly_name: Elecrow CrowPanel 7.0 RGB
platformio_options:
board_build.flash_mode: dio
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
platform_version: 6.8.1
version: 5.3.0
sdkconfig_options:
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: "y"
CONFIG_ESP32S3_DATA_CACHE_64KB: "y"
CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y
CONFIG_SPIRAM_RODATA: y
psram:
mode: octal
speed: 80MHz
logger:
hardware_uart: UART0
wifi: !include wifi.yaml
i2c:
sda: 19
scl: 20
display:
- platform: rpi_dpi_rgb
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: 15MHz
color_order: RGB
auto_clear_enabled: false
update_interval: never
dimensions:
width: 800
height: 480
touchscreen:
platform: gt911
interrupt_pin: 38
output:
- platform: ledc
pin: 2
id: backlight_pin
light:
- platform: monochromatic
output: backlight_pin
name: "Backlight Level"
restore_mode: RESTORE_DEFAULT_ON
gamma_correct: 1.8
lvgl: