# P4 Desktop

面向 ESP32-P4 的 LVGL 桌面

ESP32-P4 800x480 LVGL desktop dashboard with Bambu printer status, clock, Codex quota and Todo services

面向 ESP32-P4 的 LVGL 桌面，集中显示打印机状态、时钟、额度与待办。

- id: q864240614-jpg-p4-desktop-open
- author: q864240614-jpg
- repository: https://github.com/q864240614-jpg/p4-desktop-open
- license: MIT
- shape: wide
- scenes: art
- boards: ESP32-P4
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/q864240614-jpg-p4-desktop-open/
- html_zh: https://esp32gallery.com/zh/projects/q864240614-jpg-p4-desktop-open/
- json: https://esp32gallery.com/data/catalog/projects/q864240614-jpg-p4-desktop-open.json

## Hardware

ESP32-P4. Verify the exact board revision, wiring and power requirements in the upstream build guide.

ESP32-P4；请在上游构建文档中核对具体板型、供电与接线。

## English

```
An 800×480 LVGL dashboard for an ESP32-P4, showing Bambu Lab H2D and A1 mini printer status, a standby clock, a Codex quota page and a Todo list, with a printer-camera view. It is explicitly a source reference for agent-assisted development rather than a ready-to-flash product: the workflow is to hand an Agent the board, wiring and feature list, have it read AGENTS.md, adapt and validate on your hardware. Requirements are tight: ESP-IDF 5.4.x, LVGL 8.3.11, 16 MB flash and 16 MB PSRAM, with Wi-Fi from an onboard ESP32-C6 over ESP-Hosted on SDIO. The panel is a 480×800 ST7701 on two MIPI-DSI lanes, rotated to landscape. H2D video arrives through a LAN relay that decodes RTSPS and sends JPEG, because the P4 does not software-decode High Profile; printer credentials are entered on a local web page with a PIN that changes every reboot.
```

## 中文

```
ESP32-P4 上的 800×480 LVGL 面板，显示拓竹 H2D 和 A1 mini 的打印状态、待机时钟、Codex 配额页和 Todo 列表，还能看打印机摄像头。它明说自己是给 AI 代理改代码用的源码参考，不是刷进去就能用的成品：流程是把板子型号、接线和功能要求交给 Agent，让它读 AGENTS.md，在你的硬件上改完并验证。要求很具体：ESP-IDF 5.4.x、LVGL 8.3.11、16 MB flash 和 16 MB PSRAM，Wi-Fi 由板载 ESP32-C6 经 SDIO 上的 ESP-Hosted 提供。屏是两块 MIPI-DSI lane 的 480×800 ST7701，旋转后按横屏排版。H2D 的画面走局域网中继，由中继解码 RTSPS 再发 JPEG，因为 P4 不做 High Profile 软解；打印机凭据在本地网页填，PIN 每次重启都会变。
```
