Components / Boards / ESP32-CAM

ESP32-CAM

ESP32 board with an OV2640 camera and microSD slot. Program it with a USB-serial adapter or the MB carrier board.

MicrocontrollerESP32-D0WD dual-core 240 MHz
Flash4 MB
RAM520 KB + 4 MB PSRAM
Logic level3.3 V
Development BoardsReviewedMPN ESP32-CAMUsed in 9 projects
ESP32
In short

What is the ESP32-CAM and what is it used for?

ESP32 board with an OV2640 camera and microSD slot. Program it with a USB-serial adapter or the MB carrier board. Makers use it for wi-Fi cameras, face detection demos, time-lapse.

How it works

An ESP32 with PSRAM drives an OV2640 camera over a parallel interface and streams JPEG frames over Wi-Fi.

Key specifications

Development board specValue
MicrocontrollerESP32-D0WD dual-core 240 MHz
Flash4 MB
RAM520 KB + 4 MB PSRAM
Logic level3.3 V
Input voltage5 V on the 5V pin (needs a stable 2 A supply)
I/O pinsAbout 9 usable, shared with camera and SD
WirelessWi-Fi 2.4 GHz, Bluetooth 4.2

Pinout

5VPower in (stable 5 V 2 A)
U0R U0TGPIO3 GPIO1 serial for uploading
IO0Tie to GND while powering up to flash
IO4Bright flash LED (also SD data)
IO33Small red LED (active low)
IO2 IO12 IO13 IO14 IO15Shared with the microSD card
IO16Used by PSRAM

How to use it

Upload through an FTDI adapter or the ESP32-CAM-MB board, choose the AI Thinker ESP32-CAM board and start from the CameraWebServer example. Most brown-outs come from weak 5 V supplies or thin jumper wires, not from the code.

Applications

Alternatives

Buy at

Common questions

What is the ESP32-CAM used for?

In maker projects: wi-Fi cameras, face detection demos, time-lapse.

How does the ESP32-CAM work?

An ESP32 with PSRAM drives an OV2640 camera over a parallel interface and streams JPEG frames over Wi-Fi.

What can I use instead of the ESP32-CAM?

ESP32-CAM-MB programmer board and ESP32-S3 Eye camera (Espressif).