Description
ESP32CAM is a development board for image recognition. It features an ESP32(4M Flash + 520K RAM) chip and 2-Megapixel camera(OV2640). 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.
To see what this software can do? Please flow the steps.
- 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.
- USB type-C or GROVE power input
- 6-axis gyroscope (MPU6050)
- pressure sensor (BMP280)
- analog MIC (SPQ2410)
- Battery socket
ESP32CAM is the most popular pattern among the M5 camera series so far. If you need more storage please check M5Camera. If you need fisheye lens, please check M5CameraF.
Product Features
- ESP32 specifications
- Dual-core Tensilica LX6 microprocessor
- Up to 240MHz clock frequency
- 520KB internal RAM
- 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 TTL
- 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
- UXGA/SXGA: 15fps
- SVGA: 30fps
- CIF: 60fps
- Scan Mode: Progressive
- Output Formats(8-bit):
- Camera specifications
- Field of View : 65 degree
- Maxmium Pixel: 2M
- Size: 20.5 × 46.5 × 11.5mm
Kit includes
- 1x ESP32CAM Unit
- 1*Camera case(Random color)
Documents
Learn
Software
https://github.com/m5stack/M5Stack-Camera
https://github.com/espressif/esp32-camera
More information
PinMap
Camera Interface PinMap
Interface | OV2640 Pin | ESP32Cam |
---|---|---|
SCCB Clock | SIOC | IO23 |
SCCB Data | SIOD | IO25 |
System Clock | XCLK | IO27 |
Vertical Sync | VSYNC | IO22 |
Horizontal Reference | HREF | IO26 |
Pixel Clock | PCLK | IO21 |
Pixel Data Bit 0 | D2 | IO17 |
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 |
GROVE Interface
Grove | ESP32Cam |
---|---|
SCL | IO4 |
SDA | IO13 |
5V | 5V |
GND | GND |
LED Interface
LED | ESP32Cam |
---|---|
LED_Pin | IO16 |
reserved chip interfaces
BME280 Interface
It's IIC address is 0x76.
BME280 | ESP32Cam |
---|---|
SCL | IO4 |
SDA | IO13 |
MPU6050 Interface
It's IIC address is 0x68.
MPU6050 | ESP32Cam |
---|---|
SCL | IO4 |
SDA | IO13 |
MIC(SPQ2410) Interface
SPQ2410 | ESP32Cam |
---|---|
OUT | IO32 |
NOTE:
-
Camera Power Down pin is connected to ground via 12k ohm on board.
-
does not need to be connected to ESP32 GPIO. Instead it may be pulled down to ground with 10 kOhm resistor.
-
We have several patterns of camera board, the following figures shows the main difference
view click here.
download click here.