Does anyone have a working config for this board? tried everything and I cannot get nothing on the display.
Here is my current config
esphome:
name: round-display
friendly_name: Round Display Panel
esp32:
board: esp32-s3-devkitc-1
variant: esp32s3
framework:
type: esp-idf
psram:
mode: octal
speed: 80MHz
logger:
api:
ota:
platform: esphome
wifi:
ssid: ""
password: ""
use_address:
i2c:
id: i2c_bus
sda: GPIO15
scl: GPIO7
scan: true
frequency: 400kHz
pca9554:
- id: expander
address: 0x20
i2c_id: i2c_bus
switch:
- platform: gpio
id: backlight_sw
pin: GPIO6
name: "LCD Backlight"
restore_mode: ALWAYS_ON
spi:
- id: spi_lcd
clk_pin: GPIO2
mosi_pin: GPIO1
miso_pin: GPIO42
font:
- file: "arial.ttf"
id: font_small
size: 20
display:
- platform: st7701s
id: my_display
spi_id: spi_lcd
spi_mode: MODE1
cs_pin:
pca9554: expander
number: 2
mode:
output: true
reset_pin:
pca9554: expander
number: 0
mode:
output: true
dimensions:
width: 480
height: 480
color_order: RGB
rotation: 0
pclk_pin: GPIO41
de_pin: GPIO40
hsync_pin: GPIO38
vsync_pin: GPIO39
pclk_frequency: 24000000
pclk_inverted: true
hsync_pulse_width: 10
hsync_back_porch: 20
hsync_front_porch: 50
vsync_pulse_width: 10
vsync_back_porch: 10
vsync_front_porch: 20
data_pins:
red: [GPIO46, GPIO3, GPIO8, GPIO18, GPIO17]
green: [GPIO14, GPIO13, GPIO12, GPIO11, GPIO10, GPIO9]
blue: [GPIO5, GPIO45, GPIO48, GPIO47, GPIO21]
init_sequence:
- [0xFF, 0x77, 0x01, 0x00, 0x00, 0x10]
- [0xC0, 0xE9, 0x03]
- [0xC1, 0x0D, 0x02]
- [0xC2, 0x31, 0x05]
- [0xCC, 0x10]
- [0xCD, 0x08]
- [0xB0, 0x00, 0x11, 0x18, 0x0C, 0x0E, 0x06, 0x08, 0x04, 0x08, 0x22, 0x04, 0x12, 0x12, 0x28, 0x2C, 0x0F]
- [0xB1, 0x00, 0x11, 0x19, 0x0C, 0x0F, 0x07, 0x08, 0x05, 0x08, 0x23, 0x05, 0x12, 0x13, 0x29, 0x2C, 0x0F]
- [0xFF, 0x77, 0x01, 0x00, 0x00, 0x11]
- [0xB0, 0x6D]
- [0xB1, 0x37]
- [0xB2, 0x81]
- [0xB3, 0x80]
- [0xB5, 0x43]
- [0xB7, 0x85]
- [0xB8, 0x20]
- [0xC1, 0x78]
- [0xC2, 0x78]
- [0xD0, 0x88]
- [0xE0, 0x00, 0x00, 0x02]
- [0xE1, 0x05, 0xB0, 0x00, 0x00, 0x06, 0xB0, 0x00, 0x00, 0x00, 0x33, 0x33]
- [0xE2, 0x11, 0x11, 0x44, 0x44, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00]
- [0xE3, 0x00, 0x00, 0x33, 0x33]
- [0xE4, 0x44, 0x44]
- [0xE5, 0x0C, 0xD2, 0xA0, 0xA0, 0x0E, 0xD4, 0xA0, 0xA0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
- [0xE6, 0x00, 0x00, 0x33, 0x33]
- [0xE7, 0x44, 0x44]
- [0xE8, 0x0D, 0xD3, 0xA0, 0xA0, 0x0F, 0xD5, 0xA0, 0xA0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
- [0xEB, 0x02, 0x00, 0x40, 0x40, 0x00, 0x00]
- [0xED, 0xFF, 0x10, 0xAF, 0x76, 0x54, 0x0B, 0xA0, 0x10, 0x45, 0x67, 0x98, 0xBA]
- [0xEF, 0x10, 0x0D, 0x04, 0x08, 0x3F, 0x1F]
- [0xFF, 0x77, 0x01, 0x00, 0x00, 0x13]
- [0xEF, 0x08]
- [0xFF, 0x77, 0x01, 0x00, 0x00, 0x00]
- [0x36, 0x00]
- [0x3A, 0x66]
update_interval: 1s
lambda: |-
it.fill(Color(255, 0, 0)); // Solid red test
touchscreen:
- platform: cst816
id: touch_panel
i2c_id: i2c_bus
interrupt_pin: GPIO16
reset_pin:
pca9554: expander
number: 1
mode:
output: true
calibration:
x_min: 0
x_max: 480
y_min: 0
y_max: 480