Skip to content

A PlatformIO compilable project for the ESP32Cam providing a Webcam

Notifications You must be signed in to change notification settings

maxgerhardt/pio-esp32cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-CAM Webcam Example with PlatformIO

Description

This is the example code from CameraWebServer.ino converted to a PlatformIO compilable project.

cam

Configuration

Camera model

Known camera models can be selected at the top of the main.cpp in the selection

// Select camera model
//#define CAMERA_MODEL_WROVER_KIT // Has PSRAM
//#define CAMERA_MODEL_ESP_EYE // Has PSRAM
//#define CAMERA_MODEL_M5STACK_PSRAM // Has PSRAM
//#define CAMERA_MODEL_M5STACK_V2_PSRAM // M5Camera version B Has PSRAM
//#define CAMERA_MODEL_M5STACK_WIDE // Has PSRAM
//#define CAMERA_MODEL_M5STACK_ESP32CAM // No PSRAM
#define CAMERA_MODEL_AI_THINKER // Has PSRAM
//#define CAMERA_MODEL_TTGO_T_JOURNAL // No PSRAM

These pins then map to the src/camera_pins.h defintions.

If you have custom camera pins that does not follow the known cameras, you must modify and add these pins to the camera_pins.h file.

Board configuration

The platformio.ini currently configures the project for an ESP-WROVER chipset (has PSRAM), with the flash in QIO mode at 80MHz.

If these settings are not correct for you, change the file with your correct board = .. value and other settings accordingly to the PlatformIO board documentation.

About

A PlatformIO compilable project for the ESP32Cam providing a Webcam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published