pdf-icon

M5Camera-X

SKU:U038

Description

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

The hardware comes pre-installed with firmware, and it can be programmed and developed using ESP-IDF to run a WiFi-camera application. The default program outputs images at a resolution of 600 x 800, but you can optimize the program to output larger sizes.

How to use this program?

  • Turn on your phone's Wi-Fi, scan and connect to the AP hotspot named "m5stack-".
  • Open your phone's browser and visit 192.168.4.1 to access the monitoring page and get real-time video footage.
  • The video frame rate is approximately 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. Currently, it can achieve webcam, color recognition, and face recognition functions.

Features

  • Based on ESP32 design
  • WIFI image transmission
  • CP2104 USB TTL

Includes

  • 1 x M5Camera-X
  • 1 x LEGO adapter clip
  • 1 x Wall-1515
  • 1 x USB Type-C cable (20cm)

Specifications

Specification Parameter
RAM 4MB
Flash 4M
Image Sensor OV2640
Maximum Resolution 2 megapixels
Output Format YUV (422/420) /YCbCr422, 8-bit compressed data, RGB565/555, 8-/10-bit Raw RGB data
Field of View 65°
Net Weight 14g
Gross Weight 38g
Product Dimensions 24 x 48 x 13mm
Package Dimensions 75 x 45 x 30mm

Schematics

Power Circuit

Chip Peripheral Circuit

USB to Serial Circuit

PinMap

Camera Driver Chip OV2640 Interface

*Interface* *Camera Pin* *M5Camera*
SCCB Clock SIOC IO23
SCCB Data SIOD IO22
System Clock XCLK IO27
Vertical Sync VSYNC IO25
Horizontal Reference HREF IO26
Pixel Clock PCLK IO21
Pixel Data Bit 0 D2 IO32
Pixel Data Bit 1 D3 IO35
Pixel Data Bit 2 D4 IO34
Pixel Data Bit 3 D5 IO5
Pixel Data Bit 4 D6 IO39
Pixel Data Bit 5 D7 IO18
Pixel Data Bit 6 D8 IO36
Pixel Data Bit 7 D9 IO19
Camera Reset RESET IO15
Camera Power Down PWDN *See Note 1*
Power Supply 3.3V 3V3 3V3
Ground GND GND

HY2.0-4P Interface

*HY2.0-4P* *M5Camera*
SCL IO13
SDA IO4
5V 5V
GND GND

LED Interface

LED *M5Camera*
LED_Pin IO14

Reserved IC Interfaces

BME280 Interface

*I2C address is 0x76*

*BMP280* *M5Camera*
SCL IO23
SDA IO22

MPU6050 Interface

*MPU6050* *M5Camera*
SCL IO23
SDA IO22

MIC (SPM1423) Interface

*MIC (SPM1423) * *M5Camera*
CLK IO4
DATA IO2
The PIN8 (PDWN) of the OV2640 chip is the enable pin. In this board, it is enabled by a 12KΩ pull-down resistor to ground, entering the working mode. When PIN8 (PDWN) is pulled high, it will enter Camera Power Down mode.

Datasheets

Softwares

Arduino

ESP-IDF

EasyLoader

Easyloader Download Link Notes
M5Camera-X AP Firmware Easyloader download /

Product Comparison