Skip to content

Ilay-dev/ESP32_Cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ESP32-CAM Web Camera and Capture Server

ESP32 Language

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.

Key Features

  • 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.

Hardware Requirements

  • ESP32-CAM Module (AI-Thinker or China-Clone)
  • MicroSD Card (FAT32, max 32GB)

Setup and Flashing

  1. In the Arduino IDE, select the board: ESP32 Arduino -> AI Thinker ESP32-CAM.
  2. Set Tools -> PSRAM -> Enabled. (Crucial for camera memory).
  3. Connect GPIO 0 to GND, reset the board, and upload the firmware.
  4. Disconnect GPIO 0 and reset to boot.

Usage

  1. Insert the FAT32 formatted MicroSD card.
  2. Power on the device.
  3. Connect to the Wi-Fi hotspot:
    • SSID: ESP-CAM
    • Password: (None)
  4. Open a web browser and navigate to http://192.168.4.1.

About

A simple Code for an ESP32 CAM module

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages