Thanh Le / bench notes
EMBEDDED · IN PROGRESS

ESP32-S3 demo apps

Small ESP-IDF apps on my ESP32-S3 devkits: a fake USB webcam that plays video files, and every TinyUSB device demo checked from the PC side

#esp32#usb#camera#freertos
Last change2026-11-22: hub page with two STAR write-ups

ESP32-S3 demo apps

The ESP32-S3 demos in numbers What the S3 can pretend to be over USB: a webcam at 30.3 fps with no gap over 50 ms, and 8 of 14 TinyUSB demos confirmed from the PC side.

Frame 30 recorded on the PC from the S3 webcam

I have two cheap ESP32-S3 devkits (DevKitC-1 clones, two USB-C ports each): one with 2 MB of PSRAM, one with 8 MB octal PSRAM and 8 MB of flash. The S3 is the ESP32 I reach for when I want USB, because it has both of Espressif’s USB blocks: the fixed USB-Serial-JTAG port that every recent ESP32 has, and a real full-speed OTG controller the application can drive.

That second block is where all the fun is, and also where I lost the most time. Most of what’s here came out of one question in October 2026: what can this chip pretend to be when I plug it into my PC?

The ESP8266 posts on this site are older and are about the boot flow, not apps; they stay where they are.

The stories

#StoryResultStatus
1 An ESP32-S3 that pretends to be a USB webcam
UVC + MJPEG from a video file in flash: four sizes, the frame budget full speed allows, and the stutter I had to chase out
30.3 fps at 640x480 to 320x240, 1819 frames in 60 s, worst gap 34 ms Done
2 Every TinyUSB device demo on the S3, checked from the PC side
Seven ESP-IDF device examples plus the serial/JTAG echo, judged by what Linux enumerated, and the board that locked itself out of its own flashing port
8 of 14 USB demos confirmed by enumeration: CDC, storage, NCM, MIDI, composite, HID Done

Still open

The six USB host demos build but I haven’t run one: neither devkit gives 5 V on VBUS to a device plugged into the OTG pins, and I don’t have a USB-A breakout wired up yet. The webcam’s SD card path is built and wired on paper, but I haven’t put a real card in it.