This routine demonstrates how to use the usb_stream component to get an image from a USB camera and display it dynamically on the RGB screen.
This example has been built for ESP32-S3-LCD-EV-Board
, you can use esp-launchpad
to flash the binary to your board directly.
Please choose lcd_ev_subboard3_800_480_usb_camera
or lcd_ev_subboard2_480_480_usb_camera
, then click flash to quickly start
Note:
Error message with A fatal error occurred: Could not open /dev/ttyACM0, the port doesn't exist
: Please first make sure development board connected, then make board into "Download Boot" mode to upload by following steps:
The PSRAM 120M DDR feature is intended to achieve the best performance of RGB LCD. It is only available with ESP-IDF release/v5.1 and above. It can be used by enabling the IDF_EXPERIMENTAL_FEATURES
, SPIRAM_SPEED_120M
, SPIRAM_MODE_OCT
options. see here for more details.
Note: The PSRAM 120 MHz DDR is an experimental feature and it has temperature risks as below.
16FPS
29FPS
Note:
build
, sdkconfig
, sdkconfig.old
Plaintext
rm -rf build sdkconfig sdkconfig.old
Plaintext
idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.psram_octal_120m" reconfigure
Plaintext
idf.py build flash monitor
To create a project from this example, run:
idf.py create-project-from-example "espressif/usb_stream=1.3.1:usb_camera_lcd_display"