mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
update m5camera.md (english chinese)
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 486 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 483 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 407 KiB |
+33
-21
@@ -6,13 +6,30 @@
|
||||
|
||||
:memo:**[Description](#Description)** :bulb:**[Quick Start](en/quick_start/m5camera/m5camera_quick_start)** :octocat:**[Code](#Code)** 🛒**[Purchase](https://pt.aliexpress.com/item/M5Stack-Oficial-ESP32-WROVER-com-M-dulo-de-C-mera-PSRAM-OV2640-Tipo-C-Grove-Porta/32909972455.html?spm=a2g03.12010108.1000013.1.28487d58Cog3fX&pvid=7b101d99-7f75-4eba-9b6c-3dbf826a6f7d&gps-id=pcDetailBottomMoreThisSeller&scm=1007.13339.90158.0&scm-url=1007.13339.90158.0&scm_id=1007.13339.90158.0)**
|
||||
|
||||
<!-- :clapper:**[Related Video](#Related-Video)** -->
|
||||
|
||||
<!-- :memo:**[Description](#Description)** :octocat:**[Example](#Example)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://pt.aliexpress.com/item/M5Stack-Oficial-ESP32-WROVER-com-M-dulo-de-C-mera-PSRAM-OV2640-Tipo-C-Grove-Porta/32909972455.html?spm=a2g03.12010108.1000013.1.28487d58Cog3fX&pvid=7b101d99-7f75-4eba-9b6c-3dbf826a6f7d&gps-id=pcDetailBottomMoreThisSeller&scm=1007.13339.90158.0&scm-url=1007.13339.90158.0&scm_id=1007.13339.90158.0)** -->
|
||||
|
||||
## Description
|
||||
|
||||
The **<mark>M5Camera</mark>** is a tiny unit based on ESP32 chip and OV2640 **<mark>including PSRAM</mark>**. You can even program it through ESP-IDF.
|
||||
The **<mark>M5Camera</mark>** is a camera unit based on ESP32 chip and OV2640 **<mark>including PSRAM</mark>**. You can even program it through ESP-IDF or Arduino IDE.
|
||||
|
||||
**There are two versions of M5Camera Unit: A Model and B Model.**
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_04.png">
|
||||
|
||||
This Unit reserves the weld of the 9-axis gyroscope (MPU6050), Temperature and humidity pressure sensor (BME280) and **Digital silicon microphone (SPM1423)**. If you need those devices, you can Self-weld them or purchase those version thraightly. Additionally, M5Camera also reserves the weld of battery.
|
||||
|
||||
**Note: M5Camera is named differently when different hardware is selected. They follow the rules below.**
|
||||
|
||||
*M5Camera_#_#... means optional hardware name follows "M5Camera".*
|
||||
|
||||
* If configured with MPU6050, will be named M5Camera_6050
|
||||
* If also configured with microphone, will be named M5Camera_6050_MIC
|
||||
* If also configured with BME280, will be named M5CameraX_6050_MIC_BME280
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_05.png" width="100%" height="100%"><img src="assets/img/product_pics/unit/unit_m5camera_06.png" width="100%" height="100%">
|
||||
|
||||
The M5Camera equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger (IP5306) , so your M5Camera project can be battery-powered and truly wireless. Additionally, the board reserved the Welding positions of MPU6050,BME280 and an analog MIC.
|
||||
|
||||
|
||||
## Include
|
||||
@@ -45,7 +62,7 @@ The M5Camera equips the ESP32 with everything necessary to program, run and deve
|
||||
- Scan Mode: Progressive
|
||||
- Camera specifications
|
||||
+ CCD size : 1/4inch
|
||||
+ Field of View : 78 degree
|
||||
+ Field of View : **78 degree**
|
||||
+ Maxmium Pixel: 200W
|
||||
- Sensor best resolution: 1600 * 1200
|
||||
- Dimension: 25mm x 24mm
|
||||
@@ -53,6 +70,8 @@ The M5Camera equips the ESP32 with everything necessary to program, run and deve
|
||||
|
||||
## PinMap
|
||||
|
||||
**There are two versions of M5Camera Unit: <mark>A Model</mark> and <mark>B Model</mark>.**
|
||||
|
||||
**Camera Interface PinMap**
|
||||
|
||||
| *Interface* | *Camera Pin*| *M5Camera(A model)* | *M5Camera(B model)* |
|
||||
@@ -105,6 +124,8 @@ The M5Camera equips the ESP32 with everything necessary to program, run and deve
|
||||
|
||||
**MPU6050 Interface**
|
||||
|
||||
*It's IIC address is 0x68.*
|
||||
|
||||
| *MPU6050* | *M5Camera(A model)* | *M5Camera(B model)* |
|
||||
| :-----------: | :------: | :------: |
|
||||
| SCL | IO23 | IO23 |
|
||||
@@ -117,11 +138,13 @@ The M5Camera equips the ESP32 with everything necessary to program, run and deve
|
||||
| SCL |IO2|IO2|
|
||||
| SDA |IO4|IO4|
|
||||
|
||||
Notes:
|
||||
**<mark>NOTE:</mark>**
|
||||
|
||||
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.
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_03.png" width="60%" height="60%">
|
||||
2. We have several kinds of camera boards, the following figures show the main differece with them. If you want the detailed defference with them, please click [here](https://shimo.im/sheets/gP96C8YTdyjGgKQC).
|
||||
|
||||
<img src="assets/img/product_pics/unit/camera_comparison.png">
|
||||
|
||||
## Related Link
|
||||
|
||||
@@ -131,8 +154,6 @@ Notes:
|
||||
|
||||
- **Datasheet** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [OV2640](https://www.uctronics.com/download/cam_module/OV2640DS.pdf)
|
||||
|
||||
- **[The comparison between ESP32CAM and M5Camera](https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera.md)**
|
||||
|
||||
## Code
|
||||
|
||||
### Firmware
|
||||
@@ -145,21 +166,12 @@ Notes:
|
||||
|
||||
- **[Face recognition](https://github.com/m5stack/esp-who)**
|
||||
|
||||
<!-- ```arduino
|
||||
float tmp = dht12.readTemperature();//temperature
|
||||
float hum = dht12.readHumidity();//humidity
|
||||
float pressure = bme.readPressure();//pressure
|
||||
```
|
||||
<!-- ## Related Video
|
||||
|
||||
Click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/M5CAMERA)for Specific example. -->
|
||||
**M5Camera Application - Web page view remote monitoring object**
|
||||
|
||||
<!-- ## Schematic -->
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/W5ZfDCBc1lk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
|
||||
<!-- <img src="assets/img/product_pics/unit/m5camera_sch.JPG"> -->
|
||||
**M5Camera Application - Image transmission between M5Camera and M5Core**
|
||||
|
||||
<!-- ### PinMap -->
|
||||
|
||||
<!-- <table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td></tr>
|
||||
<tr><td>M5CAMERA Unit</td><td>SCL</td><td>SDA</td></tr>
|
||||
</table> -->
|
||||
<iframe height=498 width=510 src='https://player.youku.com/embed/XNDAxNDI5MjUzMg==' frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> -->
|
||||
|
||||
@@ -27,8 +27,6 @@ This Unit reserves the weld of the 9-axis gyroscope (MPU6050), Temperature and h
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_f_02.png" width="100%" height="100%"><img src="assets/img/product_pics/unit/unit_m5camera_f_03.png" width="100%" height="100%">
|
||||
|
||||
<!-- The M5CameraF equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger (IP5306) , so your M5CameraF project can be battery-powered and truly wireless. Additionally, the board reserved the Welding positions of MPU6050,BME280 and an analog MIC. -->
|
||||
|
||||
## Include
|
||||
|
||||
- 1x M5Camera
|
||||
|
||||
+27
-44
@@ -15,8 +15,22 @@
|
||||
|
||||
**<mark>M5Camera</mark>**是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **<mark>PSRAM</mark>**。你可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。
|
||||
|
||||
M5Camera Unit 有 A Model 和 B Model 两种接口版本。
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_04.png">
|
||||
|
||||
同时,M5Camera Unit 还预留了9轴陀螺仪 (MPU6050) 、大气压3合1传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果你需要这些器件,可以焊接到对应位置上。M5Camera Unit 还预留了电池接口,如果你需要做可移动的摄像头,那么可以焊接手头的锂电池到对应位置上。
|
||||
|
||||
**注意:选配不同硬件时,M5Camera 的命名不一样,遵循以下规则**
|
||||
|
||||
*M5Camera_#_#... 即 M5Camera 后跟选配的硬件。*
|
||||
|
||||
* 如果选配 MPU6050,则命名为 M5Camera_6050
|
||||
* 如果还选配了麦克风 SPM1423,则命名为 M5Camera_6050_MIC
|
||||
* 如果还选配了温湿度气压传感器 BME280,则命名为 M5Camera_6050_BME280
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_05.png" width="100%" height="100%"><img src="assets/img/product_pics/unit/unit_m5camera_06.png" width="100%" height="100%">
|
||||
|
||||
因为模块可以生成 WIFI 热点 AP,所以可以用手机、PC 或其他设备通过 WIFI 无线获取摄像头图片,也可以通过模块的 GROVE 接口有线获取摄像头图片。目前可以实现网络摄像头、颜色识别和人脸识别功能。
|
||||
|
||||
## 包含
|
||||
@@ -47,8 +61,7 @@
|
||||
+ CIF: 60fps
|
||||
- 扫描模式: Progressive
|
||||
- 摄像头特性
|
||||
+ CCD尺寸: 1/4 寸
|
||||
+ 可视范围: 78 度
|
||||
+ 可视范围: **78 度**
|
||||
+ 最大像素: 200W
|
||||
- 传感器最大分辨率:1600 * 1200
|
||||
- 尺寸:25mm x 24mm
|
||||
@@ -77,7 +90,7 @@
|
||||
| Pixel Data Bit 6 | D8 |IO36 |IO36 |
|
||||
| Pixel Data Bit 7 | D9 |IO19 |IO19 |
|
||||
| Camera Reset | RESET |IO15 |IO15 |
|
||||
| Camera Power Down | PWDN | *see Note 1* | *see Note 1* |
|
||||
| Camera Power Down | PWDN | *查看注意 1* | *查看注意 1* |
|
||||
| Power Supply 3.3V | 3V3 | 3V3 | 3V3 |
|
||||
| Ground | GND | GND | GND |
|
||||
|
||||
@@ -90,6 +103,12 @@
|
||||
| 5V | 5V | 5V |
|
||||
| GND | GND | GND |
|
||||
|
||||
**LED 接口**
|
||||
|
||||
| *LED* | *M5Camera(A 版本)* | *M5Camera(B 版本)* |
|
||||
| :-----------:| :------: | :------: |
|
||||
| LED_Pin | IO14 | IO14 |
|
||||
|
||||
**<mark>以下为预留的IC接口</mark>**
|
||||
|
||||
**BME280 接口**
|
||||
@@ -116,17 +135,15 @@
|
||||
| CLK |IO4|IO4|
|
||||
| DATA |IO2|IO2|
|
||||
|
||||
**LED 接口**
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_03.png" width="60%" height="60%">
|
||||
|
||||
| *LED* | *M5Camera(A 版本)* | *M5Camera(B 版本)* |
|
||||
| :-----------:| :------: | :------: |
|
||||
| LED_Pin | IO14 | IO14 |
|
||||
|
||||
Notes:
|
||||
**<mark>注意:</mark>**
|
||||
|
||||
1. **Camera Power Down 引脚** 没必要连接到 ESP32 的引脚。
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_03.png" width="60%" height="60%">
|
||||
2. 我们有几个版本的摄像头板子,下图是它们主要区别的比较,如果想查看详细的资源对比,请点击[这里](https://shimo.im/sheets/gP96C8YTdyjGgKQC/e2041)。
|
||||
|
||||
<img src="assets/img/product_pics/unit/camera_comparison_zh_CN.png">
|
||||
|
||||
## 相关链接
|
||||
|
||||
@@ -149,40 +166,6 @@ Notes:
|
||||
|
||||
- **[人脸识别](https://github.com/m5stack/esp-who)**
|
||||
|
||||
|
||||
|
||||
<!-- ## 例程 -->
|
||||
|
||||
<!-- ### 1. Arduino IDE
|
||||
|
||||
```arduino
|
||||
DHT12 dht12; //new a object
|
||||
Adafruit_BMP280 bme;
|
||||
|
||||
float tmp = dht12.readTemperature();//temperature
|
||||
float hum = dht12.readHumidity();//humidity
|
||||
float pressure = bme.readPressure();//pressure
|
||||
```
|
||||
|
||||
具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/M5CAMERA/Arduino)。
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/example_unit_m5camera_01.png" width="30%" height="30%"> <img src="assets/img/product_pics/unit/unit_example/example_unit_m5camera_02.png" width="55%" height="55%">
|
||||
|
||||
具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/M5CAMERA/UIFlow)。 -->
|
||||
|
||||
<!-- ## 原理图 -->
|
||||
|
||||
<!-- <img src="assets/img/product_pics/unit/m5camera_sch.JPG"> -->
|
||||
|
||||
<!-- ### 管脚映射 -->
|
||||
|
||||
<!-- <table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5CAMERA Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table> -->
|
||||
|
||||
## 相关视频
|
||||
|
||||
**M5Camera 的应用 - 网页查看远程监控对象**
|
||||
|
||||
@@ -32,8 +32,7 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_f_02.png" width="100%" height="100%"><img src="assets/img/product_pics/unit/unit_m5camera_f_03.png" width="100%" height="100%">
|
||||
|
||||
<!--
|
||||
因为模块可以生成 WIFI 热点 AP,所以可以用手机、PC 或其他设备通过 WIFI 无线获取摄像头图片,也可以通过模块的 GROVE 接口有线获取摄像头图片。目前可以实现网络摄像头、颜色识别和人脸识别功能。 -->
|
||||
因为模块可以生成 WIFI 热点 AP,所以可以用手机、PC 或其他设备通过 WIFI 无线获取摄像头图片,也可以通过模块的 GROVE 接口有线获取摄像头图片。
|
||||
|
||||
## 包含
|
||||
|
||||
|
||||
Reference in New Issue
Block a user