New boards Wishlist

elecrow-esp32-p4-1024x600-10.1-V1.2

Completed

TSW321Suggested this wish Β·

Board or product name and model

CrowPanel ESP32 P4-Adanvance HMI 10.1 V1.2

Link to the product listing or datasheet

www.elecrow.comhttps://www.elecrow.com/crowpanel-advanced-10-1inch-esp32-p4-hmi-ai-display-1024x600-ips-touch-screen-wifi-6.html

Display controller and resolution, if known

10.1-inch 1024Γ—600, EK79007 timing controller

Touch controller, if known

GT911 (on the touch FPC/display module)

Do you own this board and can test it?

Yes, I have it and can test

Anything else

#CrowPanel ESP32 P4-Advance HMI Display 10.1 V1.2 #SKU DHE04310D #16MB Flash #32MB PSRAM #Below is the current config working on my board using a remote webview application, this board is very similar to the Guition, however, from what I can tell the GPIO arrangement for everything including the C6 Wi-Fi is different. It would be must more responsive to use a tile based application such as Tessera than attempt to navigate a clunky non-optimised HA dashboard (despite my attempts at reducing / customising).

esp32: variant: esp32p4 engineering_sample: true
cpu_frequency: 360MHZ flash_size: 16MB

framework: type: esp-idf advanced: enable_idf_experimental_features: true sdkconfig_options: CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y CONFIG_SPIRAM_RODATA: y

Serial logging configuration

psram: speed: 200MHz mode: hex esp_ldo:

  • channel: 3 voltage: 2.5V
  • channel: 4 voltage: 2.5V

Enable logging

logger: baud_rate: 115200 hardware_uart: UART0 # Use UART0 for logs level: INFO

esp32_hosted: variant: esp32c6 active_high: true reset_pin: GPIO32 cmd_pin: GPIO19 clk_pin: GPIO18 d0_pin: GPIO17 d1_pin: GPIO16 d2_pin: GPIO15 d3_pin: GPIO14

switch:

Controls panel power for LCD and touch

  • platform: gpio pin: GPIO29 id: display_power name: "Display Power" restore_mode: ALWAYS_ON

Amplifier power (active‑low on this board)

  • platform: gpio id: amp_power name: "Speaker Power" pin: number: GPIO30 inverted: true restore_mode: ALWAYS_ON

Microphone routing switch (R/L channel selection on the board)

  • platform: gpio pin: GPIO20 id: mic_r_l name: "Mic R-L" restore_mode: ALWAYS_ON

output:

LEDC PWM output for LCD backlight control

  • platform: ledc pin: GPIO31 id: backlight_pwm frequency: 1000 Hz

light:

Simple dimmable backlight light entity

  • platform: monochromatic output: backlight_pwm name: "Display Backlight" id: back_light restore_mode: ALWAYS_ON

display:

MIPI‑DSI display driver for Waveshare ESP32‑P4 7" LCD

  • platform: mipi_dsi id: my_display model: WAVESHARE-ESP32-P4-WIFI6-TOUCH-LCD-7B reset_pin: number: 41 rotation: 0

i2c:

IΒ²C bus for touch controller and other peripherals

  • id: bus_a sda: GPIO45 scl: GPIO46

touchscreen:

GT911 capacitive touch controller on the Waveshare panel

platform: gt911 reset_pin: GPIO40 transform: mirror_x: false mirror_y: false

Any touch event wakes the backlight / restarts inactivity timer

on_touch: then: - script.execute: inactivity_timer

i2s_audio:

I2S bus for PDM microphone (clock only, data is on i2s_din_pin)

  • id: i2s_mic i2s_lrclk_pin: GPIO24

I2S bus for external speaker amplifier

  • id: i2s_spk i2s_lrclk_pin: GPIO21 i2s_bclk_pin: GPIO22

microphone:

PDM digital microphone connected via I2S

  • platform: i2s_audio id: pdm_mic i2s_audio_id: i2s_mic i2s_din_pin: GPIO26 adc_type: external pdm: true

speaker:

External NS4168 I2S speaker amplifier

  • platform: i2s_audio id: ns4168_speaker i2s_audio_id: i2s_spk i2s_dout_pin: GPIO23 dac_type: external

Originally shared on GitHubOriginal authors and dates are preserved.

View original

Hardware testing

We often do not have this board ourselves. Community testing helps establish what actually works. A successful report is evidence for the maintainer to review, not an automatic compatibility claim.

1 owner has volunteered to test.

Discussion 5

Add a comment
TSW321

Hi Max, I have managed to get this working, and have tested swiping between pages, tiles, dimming and waking. I used the following files, initially basing my screen on the guition-esp32p4 hardware, but ran into nothing but problems with the differing pins and settings:

packages/hardware/lab-elecrow-esp32p4** "ESP Screens - a Elecrow panel based on an ESP32-P4 with an ESP32-C6 for Wi-Fi, for a board file that includes this one. The chip, its memory, the supply of the MIPI-DSI, the Wi-Fi co-processor, the I2C bus of the touch panel and the backlight's pin: what the 10.1-inch CrowPanel ESP32‑P4 Advance 1020x600 sceens configuration, specific to this brand and hardware revision (1.2)."

esp32: variant: esp32p4 flash_size: 16MB Engineering-sample silicon (pre-v3) runs at 360 MHz at most; rev3 does 400 MHz._ cpu_frequency: 360MHz The chips in these panels are pre-v3 ("chip revision: v1.3" in the boot log). ESP-IDF links a different memory layout for pre-v3 and for rev3 (CONFIG_ESP32P4_SELECTS_REV_LESS_V3) and the two are NOT binary. engineering_sample: true framework: advanced: execute_from_psram: true sdkconfig_options: The Wi-Fi co-processor's driver (esp_hosted): its own memory pool off and its task stack in PSRAM, so the memory inside the chip stays for LVGL and the panel; the extra thread-local slot is what that driver asks for. All three from the build that ran on the real board (pull request14). CONFIG_ESP_HOSTED_USE_MEMPOOL: "n" CONFIG_ESP_HOSTED_DFLT_TASK_FROM_SPIRAM: "y" CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS: "1"

psram: mode: hex speed: 200MHz

The MIPI-DSI PHY has its own supply, switched by one of the chip's internal regulators. esp_ldo:

  • channel: 3 voltage: 2.5V
  • channel: 4 voltage: 2.5V logger: baud_rate: 115200 Use UART0 for logs hardware_uart: UART0 level: INFO

esp32_hosted: variant: esp32c6 active_high: true reset_pin: GPIO32 cmd_pin: GPIO19 clk_pin: GPIO18 d0_pin: GPIO17 d1_pin: GPIO16 d2_pin: GPIO15 d3_pin: GPIO14

i2c:

  • id: bus_a sda: GPIO45 scl: GPIO46 scan: true Enabled to safely verify target device address profiles on startup frequency: 400kHz The board has its own pull-ups on this bus. sda_pullup_enabled: false scl_pullup_enabled: false

switch: __ Controls panel power for LCD and touch

  • platform: gpio pin: GPIO29 id: display_power name: "Display Power" restore_mode: ALWAYS_ON

Amplifier power (active‑low on this board)

  • platform: gpio id: amp_power name: "Speaker Power" pin: GPIO30 inverted: true restore_mode: ALWAYS_ON

Microphone routing switch (R/L channel selection on the board)

  • platform: gpio pin: GPIO20 id: mic_r_l name: "Mic R-L" restore_mode: ALWAYS_ON

LEDC PWM output for LCD backlight control; The backlight, a PWM pin (features/backlight.yaml makes it the light). output:

  • platform: ledc pin: GPIO31 id: gpio_backlight_pwm frequency: 1000 Hz

GT911 capacitive touch controller on the Waveshare panel touchscreen:

  • platform: gt911 id: ts_touch i2c_id: bus_a reset_pin: GPIO40 interrupt_pin: GPIO42 update_interval: 50ms transform: mirror_x: false mirror_y: false

i2s_audio: I2S bus for PDM microphone (clock only, data is on i2s_din_pin)

  • id: i2s_mic i2s_lrclk_pin: GPIO24 I2S bus for external speaker amplifier
  • id: i2s_spk i2s_lrclk_pin: GPIO21 i2s_bclk_pin: GPIO22

microphone: PDM digital microphone connected via I2S

  • platform: i2s_audio id: pdm_mic i2s_audio_id: i2s_mic i2s_din_pin: GPIO26 adc_type: external pdm: true

speaker: External NS4168 I2S speaker amplifier

  • platform: i2s_audio id: ns4168_speaker i2s_audio_id: i2s_spk i2s_dout_pin: GPIO23 dac_type: external

display: MIPI‑DSI display driver for Waveshare ESP32‑P4 7" LCD

  • platform: mipi_dsi id: my_display model: WAVESHARE-ESP32-P4-WIFI6-TOUCH-LCD-7B reset_pin: number: GPIO41 rotation: 0

packages/boards/lab-cp-esp32-p4-1060-10 ESP Screens - lab-cp-esp32-p4-1060-10: a 10.1-inch 1020 x 600 panel. Written by tools/new_board.py from the jc1060p470 board: its packages and its hardware sections are the template's until they are replaced by this board's (docs/ADDING_A_BOARD.md). docs/PROFILES.md says how the files of a screen fit together. packages: The board apart from its LCD: the ESP32-P4 and its ESP32-C6 (shared with the 10.1-inch) and the GT911, shared with the V2. hardware: !include ../hardware/lab-elecrow-esp32p4.yaml The cards of this board's grid, one per cell (tools/generate_cells.py writes them; docs/RESPONSIVE.md). cells: !include ../cells/16.yaml look: !include ../looks/standard.yaml touch: !include ../features/capacitive-touch.yaml backlight: !include ../features/backlight.yaml camera: !include ../features/camera.yaml self_test: !include ../features/self-test.yaml snapshot: !include ../features/snapshot.yaml

substitutions: The key of this board file; the firmware reports it so ESP Screens knows what board a screen is. BOARD_ID: "lab-cp-esp32-p4-1060-10" DEVICE_NAME: "lab-cp-esp32-p4-1060-10-new" DEVICE_FRIENDLY_NAME: "My lab-cp-esp32-p4-1060-10"

The glass: the panel's own pixels and its density, 1183 diagonal pixels over 10.1 inches. PANEL_W: "1020" PANEL_H: "600" DISPLAY_DPI: "169.548" The tile grid: columns and rows of cells lying down, and standing up. GRID_COLS: "4" GRID_ROWS: "4" GRID_COLS_PORTRAIT: "4" GRID_ROWS_PORTRAIT: "2" LVGL_BUFFER_SIZE: "50%" _LVGL's draw buffer as a share of the screen

Original on GitHub

smarthomecircle

I am also interested in this display. If you can tell me how to test the change.. I would be happy to do it.

MaxGramser Admin

Thanks @TSW321, your working config made this easy. The CrowPanel Advanced 10.1" ESP32-P4 is now in Tessera as an experimental board, built from your files and Elecrow's own ESPHome example, which agree pin for pin.

What changed compared to your files:

  • The density is 117.5 dpi (169.5 was the 7-inch's), so tiles and text have the right size on the 10.1" glass. A screen starts with 5 x 5 tiles lying down and 4 x 6 standing up, and the editor can give it another grid.
  • The speaker (NS4168) and the PDM microphone are set up as the screen's audio: a media player in Home Assistant, Volume and Microphone in the screen's settings, and audio plugins such as a voice assistant fit it. The amplifier is switched on only while a sound plays.
  • It works on V1.1 and V1.2 boards with a pre-v3 ESP32-P4. On V1.0 the Wi-Fi data lines are wired the other way round.

How to try it (@smarthomecircle, this is for you too):

  1. In Home Assistant, open the app store (Settings β†’ Apps β†’ Install app), use the menu at the top right β†’ Check for updates, then open Tessera Screen Manager and choose Rebuild from its menu. A new install picks it up as well.
  2. In Tessera, choose New screen and pick CrowPanel Β· 10.1 inch (Experimental).
  3. Flash it over USB, or download the firmware and use ESPHome Web from your own computer.

The firmware builds and the layout of every card was checked on this screen size, but it has not been on my own glass. What would help most:

  • Touch in all four corners, swipes and sliders.
  • Standby, waking by touch and night mode.
  • A text-to-speech announcement and music on the screen's media player, and the volume from low to high.
  • The microphone with a voice assistant plugin.
  • The chip revision from the first lines of the USB log.

The notes for this board are in docs/CROWPANEL101.md.


Join our brand-new Discord and help build the Tessera community.

Want me to keep building? Consider supporting monthly or buying me a coffee, much appreciated!

TSW321

@MaxGramser Thanks for this, I will do an install tonight, though might not be able to look properly till this weekend. Initially the install failed as the yaml was targeting "screens-v0.4.87" for the crowpanel101.yaml and it could not be found?

The following change seemed to allow to compile successfully:

 packages:
  display:
    url: https://github.com/MaxGramser/homeassistant_espscreen
    ref: main   # <-- Changed from screens-v0.4.87 to main
    files: [packages/crowpanel101.yaml]
    refresh: 0s
  local_overrides: !include lr-p4.local.yaml

As this is a P4 board, will it get live camera viewing at some point?

aleho

Β· Edited

Everything works great. Touch is responsive, speakers output sound. Microphone untested (I'm waiting for two-way support for the Reolink camera).

Only issue so far seems to be stutters in the live view of the camera, but maybe that's to be expected?

Additionally using two sensors for temperature/humidity (i2c) and mmWave presence (uart1) and no problems so far.

Add your thoughts, a screenshot or a useful link.

Markdown & basic HTML
Paste or drop images Β· URLs on their own line become previews0 / 10,000
Create your account to join in

We need a verified email address to reach you about your contribution. Your address stays private.

Continue with GitHub

Your draft stays in this tab. Return here after verification.