Files

245 lines
8.2 KiB
Markdown
Raw Permalink Normal View History

2020-03-19 21:06:45 +08:00
# M5CameraF
2019-02-15 15:23:36 +08:00
<el-tag effect="plain">SKU:U037</el-tag>
2020-03-19 14:40:22 +08:00
2020-04-08 14:09:44 +08:00
<div class="product_pic"><img src="assets/img/product_pics/unit/unit_m5camera_f_01.webp"><img src="assets/img/product_pics/unit/unit_m5camera_f_07.webp"></div>
2019-02-15 15:23:36 +08:00
## Description
2020-12-14 11:44:36 +08:00
**M5CameraF** is a development board for image recognition. It features an ESP32 (4M Flash + 520K RAM) chip and 2-Megapixel camera (OV2640).
The module offers plenty of storage with an extra 4 Mbyte PSRAM. It also supports image transmission via Wi-Fi and debugging through USB Type-C port.
2019-02-15 15:23:36 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_m5camera_f_04.webp" width="50%">
2019-02-15 15:23:36 +08:00
2019-05-05 11:28:54 +08:00
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.
2019-08-28 20:44:04 +08:00
- Open up web browser on your phone and visit <mark>192.168.4.1</mark>
2020-12-14 11:44:36 +08:00
- Then here comes the picture. Video is about 5-6 frames per seconds. not super fast.
2019-05-05 11:28:54 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_m5camera_f_02.webp" width="50%"><img src="assets/img/product_pics/unit/unit_m5camera_f_03.webp" width="50%">
2019-05-05 11:28:54 +08:00
2020-06-18 09:30:41 +08:00
## Product Features
2019-02-15 15:23:36 +08:00
2019-02-26 12:46:53 +08:00
- CP2104 USB-to-TTL converter
2019-05-23 19:23:46 +08:00
- ESP32-WROVER (PCB Antenna)
2020-05-29 16:36:24 +08:00
- WIFI image transmission
2019-02-15 15:23:36 +08:00
- OV2640 sensor
2020-05-29 16:36:24 +08:00
- Camera Field of View : **160 degree**
2019-02-15 15:23:36 +08:00
2019-02-15 16:41:50 +08:00
## Include
2019-04-17 20:04:52 +08:00
- 1x M5CameraF
2019-02-15 16:41:50 +08:00
- 1x LEGO Adapter
- 1x Wall/1515
2019-11-21 15:20:33 +08:00
- 1x Type-C USB(20cm)
2019-02-15 16:41:50 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_m5camera_f_05.webp" width="50%" height="50%">
2019-02-15 16:41:50 +08:00
2020-05-29 16:36:24 +08:00
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>Flash</td>
<td>4M</td>
</tr>
<tr>
<td>RAM</td>
<td>4MB</td>
</tr>
<tr>
<td>Image Sensor</td>
<td>OV2640</td>
</tr>
<tr>
<td>Maximum resolution</td>
<td>200w pixel</td>
</tr>
<tr>
<td>Output format</td>
<td>YUV(422/420)/YCbCr422,RGB565/555,8-bit compressed data,8-/10-bit Raw RGB data</td>
</tr>
<tr>
<td>Maximum image transmission rate</td>
<td>UXGA/SXGA: 15fps, SVGA: 30fps, CIF: 60fps</td>
</tr>
<tr>
<td>FOV</td>
<td>160°</td>
</tr>
<tr>
<td>CCD Size</td>
<td>1/4 inch</td>
</tr>
<tr>
2020-11-18 19:00:45 +08:00
<td>Net weight</td>
2020-05-29 16:36:24 +08:00
<td>17g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>41g</td>
</tr>
<tr>
<td>Product Size</td>
<td>24*48*19mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>75*45*30mm</td>
</tr>
</table>
2019-06-14 17:49:23 +08:00
## EasyLoader
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
2019-06-14 17:49:23 +08:00
2020-08-25 11:49:40 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/M5-Camera-F/wifi_ap/EasyLoader_M5-Camera-F_wifi_ap.exe"><el-button type="primary">download EasyLoader</el-button></a>
2019-06-14 17:49:23 +08:00
2019-07-30 11:52:28 +08:00
>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. .
2019-06-14 17:49:23 +08:00
2019-07-30 11:52:28 +08:00
>2. 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**)
2019-06-14 17:49:23 +08:00
2020-12-14 11:44:36 +08:00
>3. 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](en/related_documents/M5Burner#install-usb-driver)
2019-06-14 17:49:23 +08:00
2019-02-15 15:23:36 +08:00
## PinMap
**Camera Interface PinMap**
| *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 |
**GROVE Interface**
| *Grove* | *M5CameraF* |
| :-----------: | :------: |
| SCL | **IO13** |
| SDA | **IO4** |
| 5V | 5V |
| GND | GND |
**LED Interface**
| *LED* | *M5CameraF* |
| :-----------: | :------: |
| LED_Pin | IO14 |
2019-05-05 11:28:54 +08:00
**The following tables are Reserved Chip Interfaces**
2019-02-15 15:23:36 +08:00
**BME280 Interface**
2021-01-29 14:47:53 +08:00
*It's I2C address is 0x76.*
2019-02-15 15:23:36 +08:00
| *BME280* | *M5CameraF* |
| :-----------: | :------: |
| SCL | IO23 |
| SDA | IO22 |
**MPU6050 Interface**
2021-01-29 14:47:53 +08:00
*It's I2C address is 0x68.*
2019-02-15 15:23:36 +08:00
| *MPU6050* | *M5CameraF* |
| :-----------: | :------: |
| SCL | IO23 |
| SDA | IO22 |
**MIC(SPM1423) Interface**
| *MIC(SPM1423)* | *M5CameraF* |
| :-----------: | :------: |
| CLK |IO4|
| DATA |IO2|
2019-05-05 11:28:54 +08:00
**NOTE:**
2019-02-15 15:23:36 +08:00
1. **Camera Power Down** pin does not need to be connected to ESP32 GPIO. Instead it may be pulled down to ground with 10 kOhm resistor.
2020-09-14 16:35:45 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_table/Product_compared.pdf"><el-button type="primary">View M5 camera series/product differences</el-button></a>
2019-02-15 15:23:36 +08:00
## Related Link
2019-10-22 20:47:41 +08:00
- **Datasheet** - [ESP32](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32_datasheet_en.pdf) - [OV2640](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/OV2640DS_en.pdf)
2019-02-15 15:23:36 +08:00
2020-02-11 18:00:45 +08:00
## Example
2019-02-15 15:23:36 +08:00
### Firmware
2020-04-23 21:07:21 +08:00
- **[M5Camera Firmware](https://github.com/m5stack/M5Stack-Camera/tree/master/wifi/wifi_ap/firmware/M5CameraF)**
2019-02-15 15:23:36 +08:00
2020-09-10 10:08:51 +08:00
### Arduino
- **[M5Camera-Arduino](https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Camera/CameraWebServer)**
2020-02-11 18:00:45 +08:00
### Code
2019-05-23 09:52:40 +08:00
2020-04-23 21:07:21 +08:00
- **[Serial communication-M5CameraF](https://github.com/m5stack/M5Stack-Camera/tree/master/uart/firmware/M5CameraF)**
2019-05-23 09:52:40 +08:00
2020-04-23 21:07:21 +08:00
- **[Serial communication-M5Core](https://github.com/m5stack/M5Stack-Camera/tree/master/uart/arduino)**The serial communication routine is the communication between the camera and the M5Core.
2019-05-23 09:52:40 +08:00
2020-04-23 21:07:21 +08:00
- **[QRcode](https://github.com/m5stack/M5Stack-Camera/tree/master/qr/firmware/M5CameraF)**
2019-05-23 09:52:40 +08:00
2020-04-23 21:07:21 +08:00
- **[MPU6050](https://github.com/m5stack/M5Stack-Camera/tree/master/mpu6050/firmware/M5CameraF)**Gyro Example after soldering **MPU6050**
2020-12-14 11:44:36 +08:00
2020-11-04 19:11:58 +08:00
- **[Tutorial&Quick-Start](en/quick_start/m5camera/m5camera_quick_start)**
2019-05-23 09:52:40 +08:00
2019-06-26 21:13:46 +08:00
### Source Code
2020-04-23 21:07:21 +08:00
- **[M5Camera](https://github.com/m5stack/M5Stack-Camera)**
2019-06-26 21:13:46 +08:00
2019-03-06 09:42:50 +08:00
## Schematic
### Power circuit
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_schematic/unit/m5camera_sch_01.webp">
2019-03-06 09:42:50 +08:00
### Chip peripheral circuit
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_schematic/unit/m5camera_sch_02.webp">
2019-03-06 09:42:50 +08:00
### USB to serial port part of the circuit
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_schematic/unit/m5camera_sch_03.webp">
2019-02-15 15:23:36 +08:00
2020-09-10 10:08:51 +08:00
<!-- - **[Color recognition](https://github.com/m5stack/Applications-cam)**
2019-02-15 15:23:36 +08:00
2020-09-10 10:08:51 +08:00
- **[Face recognition](https://github.com/m5stack/esp-who)** --> -->
2019-02-15 15:23:36 +08:00
2020-12-14 11:44:36 +08:00
<el-divider content-position="right">Last updated: 2020-12-14</el-divider>
2020-02-11 18:00:45 +08:00
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/fish-eye-camera-module-ov2640';
var quickstart_link = 'https://docs.m5stack.com/#/en/quick_start/m5camera/m5camera_quick_start';
anchor_search(purchase_link,quickstart_link);
scrollFunc();
2020-12-14 11:44:36 +08:00
</script>