4e27b35656b347db65faeb049aa7a32809181992
👀 esp32-cam_webserver Overview
A handmade webcam
🚀 Features
This a portable webcam (1600x1200).It has also a flash.If you want, you can record stream in the OBS application, or create a virtual camera in OBS and use it with applications like Zoom or Teams.
🔎 Preparation
1. Components
'1' ESP32-CAM'1' FT232RL USB to UART Converter
📦 Setup
Refer to the circuit diagramFile>Preferences>Additional Boards Manager URLs:(Click the double window button)
Paste this code
https://dl.espressif.com/dl/package_esp32_index.json
Click 'OK'Install the 'Arduino IDE' software and open 'Examples>ESP32>Camera>CameraWebServer' fileOpen the 'board_config.h' and add '//' at the beginning to turn your default camera module line for change into a comment line then, remove the '//' in front of #define CAMERA_MODEL_AI_THINKER.Tools>Board>Boards Manager...Search 'esp32' by Espressif Systems, and install it
⚠️ Warning: Make sure you have installed the correct USB driver (CH340, CH341, FT232R / FTDI Driver, CP2102) before connecting the ESP32CAM to your computer.
Plug the ESP32CAM into your computerTools>Board>esp32>'AI Thinker ESP32-CAM'Tools>Port>'Select the esp's port'
Apply these changes:
- CPU Frequency: 240MHz (WiFi/BT)
- Core Debug Level: None
- Erase All Flash Before Sketch Upload: Disabled
- Flash Frequency: 80MHz
- Flash Mode: QIO
- Partition Scheme: Huge APP (3MB No OTA/1MB SPIFFS)
- 115200 baud
Tools>Manage Libraries...>Install the libraries used in the codeClick the 'upload ➡️' button
✅ To make sure it has been uploaded successfully, you should see the message 'Done uploading'
🎉 Run
Disconnect the IO0-GND connection(disable programming mode)Connect your esp32cam to your pcPress the reset button on the esp32cam
Open 'OBS' app and follow these steps:
- Sources(Kaynaklar)>Click +>Media Source(Ortam kaynağı)>Click OK>Deselect the 'Local File'
- Network Buffering: 16MB(max)
- Input: esp32cam's last stream ip + (gate 81) + '/stream' --> "http://192.168.1.63:81/stream"
- Reconnect Delay: 5S
- !Keep the other settings as default!
You are ready to use your mini webcamYou can access the camera settings from esp32cam's ip --> "http://192.168.1.63"
✨ Tip: If you want to avoid being tied to a cable, you can use portable power sources such as a power bank that provides a 5V 1A output, allowing you to use your device freely wherever you like.

