pdf-icon

M5Camera-F

SKU:U037

Description

M5Camera-F is a fisheye wide-angle image recognition development board, integrating the ESP32 (4M Flash + 520K RAM + 4M PSRAM) chip and a 2-megapixel camera (OV2640). It supports WiFi image transmission and USB port debugging.

Features

  • Based on ESP32 design
  • WIFI image transmission
  • CP2104 USB TTL
  • Wide-angle lens
  • OV2640 visual sensor

Includes

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

Specifications

Specification Parameter
Flash 4M
RAM 4MB
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 160°
CCD Size 1/4 inch
Net Weight 17g
Gross Weight 41g
Product Dimensions 24 x 48 x 19mm
Package Dimensions 75 x 45 x 30mm

Learn

The hardware comes pre-installed with firmware, developed using ESP-IDF, and runs a WiFi-camera application. The default program outputs an image size of 600 x 800, which can be optimized to output larger sizes.

How to use this program?

  • Turn on your phone's Wi-Fi, scan and connect to the AP hotspot starting with "m5stack-".
  • Open your phone's browser and visit 192.168.4.1 to access the monitoring page and get real-time video.
  • 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.

Schematics

Power Circuit

Chip Peripheral Circuit

USB to Serial Circuit

PinMap

Camera Pin Mapping

*Interface* *Camera Pin* *M5CameraF*
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* *M5CameraF*
SCL IO13
SDA IO4
5V 5V
GND GND

LED Interface

LED *M5CameraF*
LED_Pin IO14

The following tables are Reserved Chip Interfaces

BME280 Interface

*I2C address is 0x76*

*BME280* *M5CameraF*
SCL IO23
SDA IO22

MPU6050 Interface

*I2C address is 0x68*

*MPU6050* *M5CameraF*
SCL IO23
SDA IO22

MIC (SPM1423) Interface

*SPM1423* *M5CameraF*
CLK IO4
DATA IO2
The PIN8 (PDWN) of the OV2640 chip is the enable pin, which is pulled down to ground via a 12KΩ resistor on this board to enable it, entering 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-F New AP Firmware Easyloader download /

Product Comparison