pdf-icon

ESP32-CAM

SKU:U007

Description

ESP32CAM is an image recognition development board that integrates the ESP32 (4M Flash + 520K RAM) chip and a 2-megapixel camera (OV2640). It supports WiFi image transmission and USB port debugging.

The hardware comes pre-installed with firmware, and development is done using ESP-IDF to run WiFi-camera applications. The default program outputs an image size of 600 x 800, but you can optimize the program to output larger sizes.

How is this program used?

  • Open your phone's Wi-Fi, scan, and connect to the AP hotspot starting with "m5stack-".
  • Open your phone's browser, visit 192.168.4.1, and enter the monitoring page to get real-time video.
  • The video frame rate is about 5-6 frames per second.

Since the module can generate a WiFi hotspot AP, you can use a phone, PC, or other devices to wirelessly obtain camera images via WiFi, or you can obtain camera images via the module's HY2.0-4P interface.

Features

  • Based on ESP32 design
  • CP2104 USB TTL
  • 2M pixel image sensor
  • 65° field of view

Includes

  • 1 x ESP32-CAM

Specifications

Specification Parameter
Flash 4MB
RAM 520KB
Image Sensor OV2640
Max Resolution 2 Megapixels
Output Format YUV (422/420) /YCbCr422, RGB565/555, 8-bit compressed data
Net Weight 6g
Gross Weight 18g
Product Size 20.5 x 46.5 x 11.5mm
Package Size 60 x 57 x 17mm

Schematics

PinMap

Camera

Interface OV2640 Pin ESP32Cam
SCCB Clock SIOC G23
SCCB Data SIOD G25
System Clock XCLK G27
Vertical Sync VSYNC G22
Horizontal Reference HREF G26
Pixel Clock PCLK G21
Pixel Data Bit 0 D2 G17
Pixel Data Bit 1 D3 G35
Pixel Data Bit 2 D4 G34
Pixel Data Bit 3 D5 G5
Pixel Data Bit 4 D6 G39
Pixel Data Bit 5 D7 G18
Pixel Data Bit 6 D8 G36
Pixel Data Bit 7 D9 G19
Camera Reset RESET G15
Camera Power Down PWDN see Note 1
Power Supply 3.3V 3V3 3V3
Ground GND GND

HY2.0-4P Interface

HY2.0-4P ESP32Cam
SCL G4
SDA G13
5V 5V
GND GND

LED

LED ESP32Cam
LED_Pin G16

Reserved Chip Interface

BME280 ESP32Cam
SCL G4
SDA G13
MPU6050 ESP32Cam
SCL G4
SDA G13
SPQ2410 ESP32Cam
OUT G32
The PIN8 (PDWN) pin of the OV2640 chip is an enable pin, which is grounded through a 12KΩ pull-down resistor on this board to enable it and enter working mode. When the PIN8 (PDWN) pin is pulled high, it will enter Camera Power Down mode.

Datasheets

Softwares

ESP-IDF

Arduino

EasyLoader

Easyloader Download Link Note
ESP32-CAM Test Easyloader download /

Video

ESP32CAM case-01

Application of M5Camera-02