The ESP32-CAM is the cheapest way to put a live camera on your network. This ESP32-CAM video streaming project takes you from parts to a browser feed in an afternoon – no Raspberry Pi required.
What you need
- An ESP32-CAM module (ESP32 + OV2640 camera + microSD slot)
- A USB-to-serial adapter (FTDI or CP2102) to flash it
- A 5V supply with enough current for the camera (a weak source causes resets)
- The Arduino IDE with the ESP32 board package
This build pairs well with the wireless fundamentals in our ESP32 buying guide and the MQTT tutorial if you later want to push frames or detections to the cloud.
Step 1 – Gather the hardware
The ESP32-CAM has no native USB, so you flash it through a serial adapter. Wire TX/RX crosswise (adapter TX to board RX, and vice versa), connect GND, and bridge GPIO0 to GND only while uploading.
Step 2 – Flash CameraWebServer
Open the example, select “AI Thinker ESP32-CAM” as the board, and upload. After success, remove the GPIO0 bridge and reset the board. The serial monitor prints the IP it receives from your Wi-Fi.
Step 3 – Set Wi-Fi and stream
Put your SSID and password in the sketch, reboot, then open http://<board-ip> in a browser on the same network and click Start Stream. You now have a working Wi-Fi camera. For a board with a screen to show status, see the ESP32-S3 4.3-inch IPS review.
Tips and limits
Expect 5-15 fps at low resolution – fine for seeing motion, not for recording. Use a stable 5V supply, keep the antenna clear, and lower resolution if the stream stutters. Browse more ESP32 project guides.
Frequently asked questions
Can the ESP32-CAM stream video over Wi-Fi?
Yes. The standard example serves an MJPEG stream you view in any browser on the same network. It is low resolution and frame rate, but perfect for a door, pet, or plant cam.
What frame rate does the ESP32-CAM deliver?
Typically 5-15 fps at lower resolutions like 640×480, and less at higher settings. It is enough to see motion, not for smooth video recording.
Do I need a special board for ESP32-CAM?
You need an ESP32-CAM module (ESP32 with a camera and a microSD slot). It usually needs a separate USB-to-serial adapter to flash, and a 5V supply with enough current for the camera.
Leave a Reply