7.2 KiB
ESP32CAM
SKU:U007
Description
ESP32CAM is an image recognition development board. It features an ESP32 (4M Flash + 520K RAM) chip and 2-Megapixel camera (OV2640). It also supports image transmission via Wi-Fi and debugging through USB Type-C port.
The hardware comes with a preloaded software, programmed by ESP-IDF. The purpose of the pre-loaded software is to operate the Wi-Fi camera. The camera output image has a resolution of 600*800, since it's 2MP camera it's possible to optimize the software to output a bigger resolution of photos.
What can the software 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 seconds. not super fast.
Product Features
- ESP32 specifications
- CP2104 USB TTL
- 2M image processor
- 65° Field of View
Includes
- 1x ESP32CAM
Specification
| Resources | Parameter |
| Flash | 4MB |
| RAM | 520KB |
| Image Sensor | OV2640 |
| Maximum resolution | 200w pixel |
| Transmission rate | UXGA/SXGA: 15fps, SVGA: 30fps, CIF: 60fps |
| Output format | YUV(422/420)/YCbCr422, RGB565/555, 8-bit compressed data |
| Net weight | 6g |
| Gross weight | 18g |
| Product Size | 20.5*46.5*11.5mm |
| Package Size | 60*57*17mm |
EasyLoader
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
- After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)
- Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)Click here to view the driver installation tutorial
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
I2C address 0x76.
| BME280 | ESP32Cam |
|---|---|
| SCL | IO4 |
| SDA | IO13 |
MPU6050 Interface
I2C address is 0x68.
| MPU6050 | ESP32Cam |
|---|---|
| SCL | IO4 |
| SDA | IO13 |
MIC(SPQ2410) Interface
| SPQ2410 | ESP32Cam |
|---|---|
| OUT | IO32 |
NOTE:
- Camera Shutdown pin isn't required to be connected to the ESP32 GPIO. Instead it may be pulled down to ground with 10 kOhm resistor.
View M5 camera series/product differences
Schematic
Example
Firmware
-
Serial communication-M5Core(The serial communication routine is the communication between the camera and the M5Core.)
Arduino
Video
ESP32CAM Case - 01
Last updated: 2020-12-11
<script> var purchase_link = 'https://m5stack.com/collections/m5-unit/products/esp32-camera'; var quickstart_link = 'https://docs.m5stack.com/#/en/quick_start/m5camera/m5camera_quick_start'; anchor_search(purchase_link,quickstart_link); scrollFunc(); </script>
