Skip to content

abelykh0/stm32h7uvc

Repository files navigation

stm32h7uvc

I wanted to make some unusual USB device, for example, a web camera. I settled on an image size of 320x240 pixels because of limitations of USB 1.x, which is present on the STM32H750VBT6 (CPU @ 480 MHz with 128 Kb flash and 1 Mb of RAM). By leveraging the hardware JPEG encoder in MDMA mode, I managed to reach a frame rate of approximately 15 fps.

This demo shows screen with 64 colors and a clock. This is how it looks like in Windows Camera app: Screenshot

Hardware: Adafruit WeAct Studio STM32H750 or MCUDev DevEBox STM32H750VBT6.

Software: STM32CubeIDE.

Special thanks to STM32F4_UVC_Camera Project for inspiration.