Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.11 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.11 KB

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

  • WIFI_SSID, your wifi SSID
  • WIFI_PASS, your wifi password
  • IPV4_ADDR, your server address (you can also choose to use IPV6_ADDR and set the IP_MODE to IPV6)
  • PORT, port of your server.

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