wms2537 / esp32s2-camera-udp

ESP32S2 OV2640 camera UDP socket example
14 stars 1 forks source link

ESP32S2 Camera + UDP Socket stream

ESP32S2 with OV2640 Camera udp stream example, an upgraded version of my websockets example. JPEG images captured from camera is streamed to server via udp socket. User can view the stream at browser. Current implementation uses two sepatate tasks for capturing frames and sending them to the server, and can achieve around 24 fps.

Code is written with esp-idf.

Backend

The backend is based on my Python UDP Socket Server.

Getting Started

Hardware

This schematic contains an e-paper module used here. You can ignore it.

Schematic

I designed a pcb for it.

PCB

Code

Use kconfig to set the following

Start backend server and view stream from browser http://localhost:3000