Little Bird
PSRAM Camera Module (OV2640)
Description M5CameraX is a development board for image recognition. It features an ESP32(4M Flash + 520K RAM) chip and 2-Megapixel carmera(OV2640).M5...
Description
M5CameraX is a development board for image recognition. It features an ESP32(4M Flash + 520K RAM) chip and 2-Megapixel carmera(OV2640).M5Camera offers plenty of storage, with an extra 4 Mbyte PSRAM. It also supports image transmission via Wi-Fi and debuging through USB Type-C port.
The hardware comes preloaded software, programmed by ESP-IDF. It is an application to run Wi-Fi camera. The output image is size 600*800, since it’s 2-Maga camera, you sure can optimize the software to output the maximum size of photos.
what this software can do?
- Power the board via USB type-C or GROVE
- Use your phone to Wi-Fi scan an AP name start with ‘m5stack-‘ and click to connect this AP.
- Open up web browser on your phone and visit 192.168.4.1
- Then here comes the picture. Video is about 5-6 frames per senconds. not super fast.
The hardware also comes with some reserved weld pad, just in case you want put these chips back on board.
- 9-axis gyroscope (MPU6050)
- pressure sensor (BME280)
- Analog MIC (SPQ2410)
- Lipo Battery power pins
Please notice: There are 2 types of M5Camera
- Model A & Model B
- They have different circuits, can be identified by backside sticker
- Model A is halt production. The new coming M5Camera is just Model B
- In Model A circult design MPU6050 and camera sensor have I2C conflict, which means you can’t use both at the same time.
- Model B have better performance on image quality and processing speed.
Product Features
- ESP32 specifications
- Dual-core Tensilica LX6 microprocessor
- Up to 240MHz clock frequency
- 4MB PSRAM
- 4MB Flash memory
- Integrated 802.11 BGN WiFi transceiver
- Integrated dual-mode Bluetooth (classic and BLE)
- Hardware accelerated encryption (AES, SHA2, ECC, RSA-4096)
- CP2104 USB-to-TTL converter
- ESP32-WROVER (PCB Antenna)
- OV2640 sensor
- Output Formats(8-bit):
- YUV(422/420)/YCbCr422
- RGB565/555
- 8-bit compressed data
- 8-/10-bit Raw RGB data
- Maximum Image Transfer Rate according to specific format
- UXGA/SXGA: 15fps
- SVGA: 30fps
- CIF: 60fps
- Scan Mode: Progressive
- Output Formats(8-bit):
- Camera specifications
- CCD size : 1/4 inch
- Field of View : 65 degree
- Maxmium Pixel: 2M
- Sensor best resolution: 1600 * 1200
- Dimension: 40 × 49 × 13mm
Include
- 1x M5CameraX
- 1x Wall-1515
- 1x Type-C USB Cable

Documents
Learn
Serial communication-M5Core(The serial communication routine is the communication between the camera and the M5Core.)
MPU6050(Gyro Example after soldering MPU6050)
Schematic
Power circuit
Chip peripheral circuit
USB to serial port part of the circuit
More information
PinMap
There are two versions of M5Camera Unit: A Model and B Model.
Camera Interface PinMap
InterfaceCamera PinM5Camera(A model)M5Camera(B model)SCCB ClockSIOCIO23IO23SCCB DataSIODIO25IO22System ClockXCLKIO27IO27Vertical SyncVSYNCIO22IO25Horizontal ReferenceHREFIO26IO26Pixel ClockPCLKIO21IO21Pixel Data Bit 0D2IO32IO32Pixel Data Bit 1D3IO35IO35Pixel Data Bit 2D4IO34IO34Pixel Data Bit 3D5IO5IO5Pixel Data Bit 4D6IO39IO39Pixel Data Bit 5D7IO18IO18Pixel Data Bit 6D8IO36IO36Pixel Data Bit 7D9IO19IO19Camera ResetRESETIO15IO15Camera Power DownPWDNsee Note 1see Note 1Power Supply 3.3V3V33V33V3GroundGNDGNDGNDGROVE Interface
GroveM5Camera(A model)M5Camera(B model)SCLIO13IO13SDAIO12IO45V5V5VGNDGNDGNDLED Interface
LEDM5Camera(A model)M5Camera(B model)LED_PinIO14IO14The following tables are Reserved Chip Interfaces
BME280 Interface
It's IIC address is 0x76.
BME280M5Camera(A model)M5Camera(B model)SCLIO23IO23SDAIO22IO22MPU6050 Interface
It's IIC address is 0x68.
MPU6050M5Camera(A model)M5Camera(B model)SCLIO23IO23SDAIO22IO22MIC(SPM1423) Interface
MIC(SPM1423)M5Camera(A model)M5Camera(B model)SCLIO2IO2SDAIO4IO4NOTE:
-
We have several patterns of camera board, the following figures shows the main difference
view click here.
download click here.
Jargon buster
Plain-language definitions for the technical terms used above.
- BLE
- BLE stands for Bluetooth Low Energy, a Bluetooth mode designed for lower power use and modern phone compatibility. It matters because BLE support can make the module easier to use with Apple devices and battery-powered projects, though it may behave differently from classic serial Bluetooth.
- ESP-IDF
- ESP-IDF is Espressif’s official software development framework for ESP32-family chips. It gives more direct control over the hardware than beginner-style environments, which can help with advanced features like Wi-Fi, Bluetooth, audio and power management.
- ESP32
- ESP32 is a family of microcontroller modules with built-in wireless features such as Bluetooth and WiFi. Knowing this product uses an ESP32-based module helps explain how it provides wireless serial communication and firmware update features.
- Flash memory
- Non-volatile memory that keeps stored data even when power is removed. In this sensor, it matters because enrolled fingerprint templates can remain saved after the project is turned off.
- Grove
- Grove is a plug-in connector ecosystem for sensors and modules that avoids soldering and jumper wires. Grove compatibility matters because it can make it quicker to add supported I2C devices, as long as the cable and voltage are suitable.
- Gyroscope
- A gyroscope measures rotation, such as how fast a board is turning around its X, Y, and Z axes. This matters for projects like gesture controls, balancing robots, and motion tracking where tilt or rotation changes need to be detected.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- LED
- A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
- LiPo
- A lithium polymer rechargeable battery commonly used in portable electronics projects. It matters because LiPo batteries need correct charging circuitry and care, and this board includes hardware intended for that battery type.
- PCB antenna
- A PCB antenna is an antenna pattern built directly into the circuit board rather than a separate metal antenna. It matters because placement, nearby metal and enclosure design can affect wireless range.
- RAM
- RAM is temporary memory used while a device is running, and its contents are lost when power is removed. A “Run in RAM” mode is useful for testing settings without permanently programming the module, but it may not support every feature.
- RGB
- Short for red, green and blue, usually referring to an LED that can mix those three colours. It matters because controlling an RGB LED teaches how separate outputs combine to create different colours.
- USB Type-C
- A reversible USB connector used for power and data on many modern devices. On this kit it indicates an alternate 5V power input, which may be useful for setup or charging without the solar panel.
Find this product in
ESP32


