M5Camera is an image recognition development board that integrates an ESP32 (4M Flash + 520K RAM + 4M PSRAM) chip and a 2MP camera (OV2640). It supports Wi-Fi image transmission and USB port debugging.
Features
Designed based on ESP32
Wi-Fi image transmission
CP2104 USB TTL
Includes
1 x M5Camera
4 x LEGO Adapter
1 x USB Type-C Cable (20cm)
Specifications
Specification
Parameter
Flash
4M
PSRAM
4MB Quad
Image Sensor
OV2640
Max Resolution
2MP
Output Format
YUV (422/420) /YCbCr422, 8-bit compressed data, RGB565/555, 8-/10-bit Raw RGB data
FOV
65°
Product Size
40.0 x 48.0 x 11.0mm
Product Weight
17.0g
Package Size
75.0 x 45.0 x 30.0mm
Gross Weight
41.0g
Learn
Hardware comes with pre-installed firmware, developed via ESP-IDF programming, running a Wi-Fi camera application. The default program outputs an image size of 600 x 800, and you can optimize the program to output a larger size.
How is this program used?
Turn on your phone’s Wi-Fi, scan and connect to an AP hotspot whose name starts with "m5stack-".
Open the phone browser, visit 192.168.4.1, and enter the monitoring page to get real-time video feed.
The video frame rate is about 5-6 frames per second.
Schematics
Power Circuit
Chip Peripheral Circuit
USB to Serial Circuit
PinMap
Camera Driver Chip OV2640 Interface
M5Camera has A and B hardware versions with different SIOD and VSYNC pin assignments. The quick-start card in the product images shows the A version. Select the configuration for your hardware version when developing firmware. The separately sold ESP32-CAM (U007) has its own pin assignments.
The PIN8 (PDWN) pin of the OV2640 chip is an enable pin. In this board, it is enabled by connecting to ground via a 12KΩ pull-down resistor, entering working mode. When the PIN8 (PDWN) pin is pulled high, it will enter Camera Power Down mode.
HY2.0-4P Interface
HY2.0-4P
M5Camera
SCL
IO13
SDA
IO4
5V
5V
GND
GND
LED Interface
LED
M5Camera
LED_Pin
IO14
The following are PCB reserved interfaces, with components not actually soldered.