Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.04 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.04 KB

ESP32S2 Camera + Websockets stream

ESP32S2 with OV2640 Camera websockets stream example. JPEG images captured from camera is streamed to server via websockets. User can view the stream at browser. Current implementation can achieve around 15 fps.

Another version using udp is available here.

Code is written with esp-idf.

Backend

The backend is based on my Python MJPEG Websockets 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

Change these lines in main/esp32s2_camera.c

#define EXAMPLE_ESP_WIFI_SSID "YOUR_WIFI_SSID"
#define EXAMPLE_ESP_WIFI_PASS "YOUR_WIFI_PASSWORD"
#define WEBSOCKETS_BACKEND_URL "YOUR_WEBSOCKETS_SERVER_URL"

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