cd /news/computer-vision/a-smartphone-style-ui-on-an-mcu-broo… Β· home β€Ί topics β€Ί computer-vision β€Ί article
[ARTICLE Β· art-31439] src=hackster.io β†— pub= topic=computer-vision verified=true sentiment=↑ positive

A Smartphone-Style UI on an MCU: Brookesia on SCINTIX P4

Espressif's SCINTIX P4 module, powered by the ESP32-P4 MCU, now runs the Brookesia smartphone-style UI, enabling multimedia and edge AI applications on a real-time microcontroller. The tutorial details hardware setup, firmware flashing, and camera/display integration for building HMI systems.

read2 min views11 publishedJun 11, 2026

SCINTIX P4 gives you the ability to build multimedia applications powered by a real-time MCU.

It's a fast and versatile platform designed for display- and camera-based HMI applications over MIPI-DSI and MIPI-CSI. It's equally well suited to edge AI workloads, sensor-processing applications, and modular embedded systems that need the flexibility of a CM4/CM5 carrier while keeping the deterministic behavior of a microcontroller.

What you will learn in this tutorial- Project setup and build process

  • Firmware flashing
  • Camera integration
  • Display integration
                        +-----------+                        |  SCINTIX  |                        +-----------+                              |                              v                    +---------------------+                    | CM4-to-Pi4-Adapter  | ─────────────────┐                    +---------------------+                  |                           |         |                       | SUPPLY/RST CABLE              CAMERA CABLE |         | DISPLAY CABLE         |                           v         v                       v+-----------------------------+  +-----------------------------+| ESP32-P4-Function-EV-Board  |  | ESP32-P4-Function-EV-Board  ||           CAMERA            |  |           DISPLAY           |+-----------------------------+  +-----------------------------+

Hardware DesignConnections

  • Place the SCINTIX P4 board (already programmed β€” see the Firmware section below) onto the CM4-to-Pi4 adapter.

  • Connect the camera and the display using the flat cables.

  • Connect the supplementary cable from the CM4-to-Pi4 adapter to the display. This cable provides the display power supply and reset signal.

  | CM4-to-Pi4-Adapter Pin | Display Pin |  |--------------------------------------|  |           5V           |      5V     |  |          GND           |     GND     |  |         GPIO27         |     PWM     |  |         GPIO22         |   RST_LCD   |

Project Structure

esp_brookesia_phone/β”œβ”€β”€ main/β”‚   β”œβ”€β”€ main.cpp               # entry point β€” BSP + framework init, app installβ”‚   └── lvgl_adapter_init.c    # MIPI-DSI panel + GT911 touch β†’ LVGL bindingβ”œβ”€β”€ components/β”‚   β”œβ”€β”€ apps/β”‚   β”‚   β”œβ”€β”€ camera/            # MIPI-CSI streaming, AI detection, photo UIβ”‚   β”‚   β”œβ”€β”€ setting/           # WiFi, BLE toggle, brightness, SNTPβ”‚   β”‚   β”œβ”€β”€ game_2048/         # gesture input, NVS high-scoreβ”‚   β”‚   β”œβ”€β”€ music_player/      # SPIFFS file iterator, LVGL music demoβ”‚   β”‚   β”œβ”€β”€ calculator/        # LVGL keyboard, expression parserβ”‚   β”‚   └── video_player/      # SD card, MJPEG decoderβ”‚   β”œβ”€β”€ human_face_detect/     # MSRMNP 2-stage face detection (esp-dl)β”‚   └── pedestrian_detect/     # Pico single-stage pedestrian detection (esp-dl)β”œβ”€β”€ spiffs/                    # MP3 assets (game sounds, music tracks)β”œβ”€β”€ partitions.csv             # nvs / phy_init / factory / storage└── CMakeLists.txt

Software setup

Windows

  • Install VS Code - Install the ESP-IDF extension for VS Code (from Espressif). Once the correct extension is installed, you should see these icons and toolbar (1).

  • Install ESP-IDF v5.5.4, as required by the example (steps 2.1 to 2.4).

  • Clone the repository:

git clone https://github.com/relocsrl/scintix-p4.git
  • Open the scintix-p4 folder.

  • Launch VS Code from the scintix-p4\examples\esp_brookesia_phone folder.

  • Select the correct ESP-IDF v5.5.4 (3.1) and build (3.2).

  • If everything is set up correctly, you should see the expected output in the terminal, with the target set to esp32p4.

  • Connect the USB Type-C cable to the SCINTIX P4 board and press Flash(5.1). If needed, use the UART interface.

  • Et voilΓ  β€” the demo is up and running. The display now shows the Brookesia launcher with its smartphone-style interface, fully driven by the ESP32-P4 on the SCINTIX P4 module. From here, you can navigate the UI and explore the built-in apps.

[Read more](javascript:void(0))

── more in #computer-vision 4 stories Β· sorted by recency
── more on @espressif 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/a-smartphone-style-u…] indexed:0 read:2min 2026-06-11 Β· β€”