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...
Get notified when back in stock
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 low power use and broad compatibility with modern phones and computers. It connects well to battery-powered and mobile devices, including Apple hardware, though it behaves differently from Bluetooth Classic and its serial-style profiles.
- 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 low-cost microcontroller chips and modules from Espressif with built-in WiFi and Bluetooth. They support programmable firmware and over-the-air updates, and are commonly programmed with toolchains such as the Arduino core and ESP-IDF.
- Flash memory
- Flash memory is non-volatile memory that retains stored data even when power is removed, and can be erased and rewritten in blocks. It lets data such as firmware, settings or saved records persist across power cycles.
- Grove
- Grove is a standardised 4-pin plug-in connector system for sensors and modules that avoids soldering and jumper wires, with different cable types carrying I2C, UART, analogue or digital signals. When a product is Grove-compatible it can be quicker to connect supported modules, provided the connector type, signal and voltage all match.
- 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 (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
- LiPo
- A LiPo (lithium polymer) battery is a rechargeable lithium battery widely used in portable projects because it is light and compact. LiPo cells need correct charging circuitry and careful handling to stay safe, so equipment that supports LiPo generally includes charging or protection hardware suited to 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 (random-access memory) is fast, temporary memory a device uses for working data while it is running; in its common volatile form, its contents are lost when power is removed. Some devices offer a mode that applies settings to RAM only, which is handy for testing changes temporarily because they are not stored permanently and disappear at power-off.
- RGB
- Short for red, green and blue, the three primary colours of light that are mixed in varying amounts to make a wide range of colours. In electronics RGB can refer to an LED or pixel that blends these three colours, or to a colour signal or interface that carries separate red, green and blue channels.
- Type-C
- USB Type-C (USB-C) is a small, reversible USB connector used for charging, power, and data transfer on many modern devices. A Type-C port or plug indicates the cable and charger connection needed to power, charge, or communicate with a device.
- USB Type-C
- USB Type-C is a small, reversible USB connector used for power, data and sometimes video on many modern devices. The connector itself does not guarantee a particular speed or voltage, so check the supported USB version, data rate and whether it carries more than 5V via USB Power Delivery.
Find this product in
ESP32


