esp32cam library provides an object oriented API to use OV2640 camera on ESP32 microcontroller. It is a wrapper of the Espressif ESP32 camera driver.
This library has been tested with these microcontroller boards:
- AI Thinker ESP32-CAM
- Seeed Studio XIAO ESP32-S3 Sense
- unbranded ESP32-S3-CAM with ESP32-S3-N16R8 chip
pins.hpp lists several other boards contributed by users.
This library has been tested with OV2640 and OV3660 camera sensors. It is likely compatible with other camera sensors supported by the driver.
- Install ESP32 Arduino core v3.x.
- Clone this repository under
$HOME/Arduino/librariesdirectory. - Select your board and enable external PSRAM.
- Add
#include <esp32cam.h>to your sketch. - Check out the examples for how to use.