ESP32 CAM WiFi Bluetooth Development Board With OV2640 Camera Module 2MP
ESP32 CAM WiFi Bluetooth Development Board With OV2640 Camera Module 2MP
The ESP32-CAM is a small-size, low-power camera module based on ESP32. It comes with
an OV2640 camera and provides an on board TF card slot. This board has 4MB PSRAM which
is used for buffering images from the camera into video streaming or other tasks and allows
you to use higher quality in your pictures without crashing the ESP32. It also comes with an on
board LED for flash and several GPIOs to connect peripherals.
The ESP32-CAM is a full-featured microcontroller that also has an integrated video camera
and micro SD card socket. It’s inexpensive and easy to use, and is perfect for IoT devices
requiring a camera with advanced functions like image tracking and recognition.
The sample software distributed by Espressif includes a sketch that allows you to build a web-
based camera with a sophisticated control panel. After you get the hang of programming the
device you’ll find that it is very easy to use.
Not bad for a board that costs about ten dollars, including the camera!
ESP32-CAM Pinout
Pin No. Name Type Function
1 5V POWER 5V Supply
Camera Connections
The connections between the camera and the ESP32-CAM AI-Thinker are shown in the
following table.
OV2640 CAMERA ESP32 Variable name in code
D0 GPIO 5 Y2_GPIO_NUM
D1 GPIO 18 Y3_GPIO_NUM
D2 GPIO 19 Y4_GPIO_NUM
D3 GPIO 21 Y5_GPIO_NUM
D4 GPIO 36 Y6_GPIO_NUM
D5 GPIO 39 Y7_GPIO_NUM
D6 GPIO 34 Y8_GPIO_NUM
D7 GPIO 35 Y9_GPIO_NUM
Features
Specifications
Processor: ESP32-D0WD
Built-in Flash: 32Mbit
RAM: Internal 512KB + External 4M PSRAM
Antenna: Onboard PCB antenna
Wi-Fi protocol: IEEE 802.11 b/g/n/e/i
Bluetooth: Bluetooth 4.2 BR/EDR and BLE
WIFI mode: Station / SoftAP / SoftAP+Station
Security: WPA/WPA2/WPA2-Enterprise/WPS
Output image format: JPEG (OV2640 support only), BMP, GRAYSCALE
Supported TF card: up to 4G
Peripheral interface: UART/SPI/I2C/PWM
IO port: 9
UART baud rate: default 115200bps
Power supply: 5V
Transmitting power:
802.11b: 17 ±2dBm(@11Mbps)
802.11g: 14 ±2dBm(@54Mbps)
802.11n: 13 ±2dBm(@HT20,MCS7)
Reception sensitivity:
CCK,1Mbps: -90 dBm
CCK,11Mbps: -85 dBm
6Mbps(1/2 BPSK): -88 dBm
54Mbps(3/4 64-QAM): -70 dBm
HT20,MCS7(65Mbps, 72.2Mbps): -67 dBm
Power consumption:
Flash off: 180mA@5V
Flash on and brightness max: 310mA@5V
Deep-Sleep: as low as 6mA@5V
Modern-Sleep: as low as 20mA@5V
Light-Sleep: as low as 6.7mA@5V
Operating temperature: -20 ℃ ~ 85 ℃
Storage environment: -40 ℃ ~ 90 ℃, <90%RH
Dimensions: 40.5mm x 27mm x 4.5mm
ESP32-CAM Schematics
The following figure shows the schematic diagram for the ESP32-CAM.
Applications