Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



57 Commits

Repository files navigation

esp32cam: OV2640 camera on ESP32-CAM

GitHub build status GitHub code size

esp32cam library provides an object oriented API to use OV2640 camera on ESP32 microcontroller. It is a wrapper of esp32-camera library. This library has been tested with AI Thinker ESP32-CAM board and OV2640 camera.

esp32cam logo


  1. Clone this repository under $HOME/Arduino/libraries directory.
  2. Add #include <esp32cam.h> to your sketch.
  3. In Tools - Board menu, select AI Thinker ESP32-CAM to enable 4MB external PSRAM.
  4. Check out the examples for how to use.