Try with LaunchPad
The USB Extension Screen Example allows the P4 development board to be used as an additional screen for Windows. It supports the following features:
- Supports a screen refresh rate of 1024*600@60FPS
- Supports up to five touch points
- Supports audio input and output
-
Development Board
- ESP32-P4-Function-EV-Board development board
- A 1024*600 MIPI screen from the development kit
- A speaker
-
Connections
- Connect the high-speed USB port on the development board to the PC
Build the project and flash it to the board, then run the monitor tool to view serial output:
- Run
. ./export.sh
to set up the IDF environment - Run
idf.py set-target esp32p4
to set the target chip - If there are any errors in the previous step, run
pip install "idf-component-manager~=1.1.4"
to upgrade your component manager - Run
idf.py -p PORT flash monitor
to build, flash, and monitor the project
(To exit the serial monitor, press Ctrl-]
.)
Refer to the Getting Started Guide for all steps to configure and use ESP-IDF to build projects.
Note: This example will fetch an AVI file online. Ensure that you are connected to the internet during the initial compilation.
For preparation, refer to the windows_driver
- In the Control Panel, select
Tablet PC Settings
- In the configuration section, select
Setup
- Follow the prompts to choose the P4 extension screen
- Modify the
string_desc_arr
vendor interface string in theusb_descriptor.c
file. ChangeEjpg4
to the desired image quality level; the higher the number, the better the quality, but it will use more memory for the same frame.
- Update the
usb_descriptor.c
file by changing thestring_desc_arr
vendor interface string. ModifyR1024x600
to the desired screen resolution.
Note: Currently, the driver does not support portrait mode screens. Please use hardware that is designed for landscape orientation.