A standalone web-camera and photo-capture server for the AI-Thinker ESP32-CAM module. It features concurrent video streaming and SD card capturing without crashing, operating as its own Wi-Fi Access Point.
- Synchronized Capture: Safely pauses the video stream while capturing a photo to prevent memory allocation crashes.
- 1-Bit SD Card Mode: Frees
GPIO 4, allowing simultaneous use of the Flash LED and the MicroSD card. - Anti-Brownout Protection: Temporarily disables the Flash LED during SD card writes to prevent voltage drops.
- Auto-Download: Saving a photo to the SD card automatically triggers a file download in the browser.
- ESP32-CAM Module (AI-Thinker or China-Clone)
- MicroSD Card (FAT32, max 32GB)
- In the Arduino IDE, select the board:
ESP32 Arduino->AI Thinker ESP32-CAM. - Set
Tools->PSRAM->Enabled. (Crucial for camera memory). - Connect
GPIO 0toGND, reset the board, and upload the firmware. - Disconnect
GPIO 0and reset to boot.
- Insert the FAT32 formatted MicroSD card.
- Power on the device.
- Connect to the Wi-Fi hotspot:
- SSID:
ESP-CAM - Password: (None)
- SSID:
- Open a web browser and navigate to
http://192.168.4.1.