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.
The backend is based on my Python UDP Socket Server.
This schematic contains an e-paper module used here. You can ignore it.
I designed a pcb for it.
Use kconfig
to set the following
WIFI_SSID
, your wifi SSIDWIFI_PASS
, your wifi passwordIPV4_ADDR
, your server address (you can also choose to useIPV6_ADDR
and set theIP_MODE
toIPV6
)PORT
, port of your server.
Start backend server and view stream from browser http://localhost:3000