Hello,
I’m trying to use ESPHome on this ESP32 display with ILI6122 & ILI5960 display since 2 f…ing days…
This screen are not suported by ESPHome now, and i need to find a way to add it.
They are comaptible with Arduino_GFX : GitHub - moononournation/Arduino_GFX: Arduino GFX developing for various color displays and various data bus interfaces
In the ESPHome documentation, it seem that we can add a custom .h file ?
But i’m php programmer, so C++ … i know nothin…
Can you confirm that would be work, and help me to make it work ?
Here the actual .yaml file
esphome:
name: test-ecran
friendly_name: test ecran
platformio_options:
board_upload.flash_size: 4MB
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "XT5STUD+u/CHsafZjbkNfWx+V7QqzfDg88wPeZRCGMQ="
ota:
password: "9ec75745d335a43f701bd677f124acb9"
wifi:
ssid: "OpenWrt"
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test-Ecran Fallback Hotspot"
password: "9ZmHosjwBycx"
captive_portal:
display:
- platform: ili9xxx
cs_pin: GPIO10 # Correspond à SD_CS
dc_pin: GPIO11 # Correspond à SD_MOSI
reset_pin: GPIO13 # Correspond à SD_MISO
model: ???????
id: my_display
rotation: 0 # Ajustez selon votre besoin
lambda: |-
it.line(0, 0, 50, 50);
spi:
clk_pin: GPIO12 # Correspond à SD_SCK
mosi_pin: GPIO11 # Correspond à SD_MOSI
miso_pin: GPIO13 # Correspond à SD_MISO
# Broches pour l'écran tactile GT911
i2c:
sda: GPIO19 # Correspond à TOUCH_GT911_SDA
scl: GPIO20 # Correspond à TOUCH_GT911_SCL
id: gt911
font:
- file: "gfonts://Roboto"
id: roboto
size: 20
As you see i used the ili9xxx that are not working with this screen.
Thanks.