更新 esp32cam.md

This commit is contained in:
LiHuashen
2019-02-15 17:07:33 +08:00
parent b8540802a0
commit e0da1ed3da
7 changed files with 51 additions and 36 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

+26 -12
View File
@@ -6,20 +6,24 @@
:memo:**[Description](#Description)**      :bulb:**[Quick Start](en/quick_start/m5camera/m5camera_quick_start)**      :octocat:**[Code](#Code)**      🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-ESP32-Camera-Module-Development-Board-OV2640-Camera-Type-C-Grove-Port-3D-Wifi-Antenna/3226069_32881414545.html)**
<!-- :memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:bulb:**[Quick Start](en/quick_start/m5camera/m5camera_quick_start)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[Example](#Example)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Units/esp32-cam/M5CAM-ESP32-A1-POWER.pdf)** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-ESP32-Camera-Module-Development-Board-OV2640-Camera-Type-C-Grove-Port-3D-Wifi-Antenna/3226069_32881414545.html)** -->
## Description
**<mark>ESP32Cam</mark>** is a tiny unit based on ESP32 chip and OV2640. You can even program it through ESP-IDF. But to compare with [M5Camera](m5camera.md), ESP32CAM <mark>does not integrates PSRAM</mark>.
**<mark>ESP32Cam</mark>** is a camera unit based on ESP32 chip and OV2640. You can even program it through ESP-IDF. But to compare with [M5Camera](m5camera.md), ESP32CAM <mark>does not integrates PSRAM</mark>.
The ESP32Cam equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger , so your ESP32Cam project can be battery-powered and truly wireless.
This Unit reserves the weld of the 9-axis gyroscope (MPU6050), Temperature and humidity pressure sensor (BME280) and **analog MIC (SPQ2410)**. If you need those devices, you can Self-weld them or purchase those version thraightly. Additionally, M5CameraF also reserves the weld of battery.
Additionally, the board reserved the Welding positions of MPU6050,BME280 and an **analog MIC**.
**Note: ESP32CAM is named differently when different hardware is selected. They follow the rules below.**
*ESP32CAM_#_#... means optional hardware name follows "ESP32CAM".*
* If configured with MPU6050, will be named ESP32CAM_6050
* If also configured with microphone, will be named ESP32CAM_6050_MIC
* If also configured with BME280, will be named ESP32CAM_6050_MIC_BME280
<img src="assets/img/product_pics/unit/unit_esp32cam_05.png" width="100%" height="100%"><img src="assets/img/product_pics/unit/unit_esp32cam_06.png" width="100%" height="100%">
Because the module can generate WIFI hotspot AP, So you can use your mobile phone, PC or other device to get the camera image wirelessly via WIFI, or wirely via GRVOE interface.
<img src="assets/img/product_pics/unit/unit_esp32cam_03.png" width="65%" height="65%">
## Feature
- ESP32 specifications
@@ -43,10 +47,8 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon
+ CIF: 60fps
- Scan Mode: Progressive
- Camera specifications
+ CCD size : 1/4inch
+ Field of View : 78 degree
+ Maxmium Pixel: 200W (Because of the small RAM, the board can't obtain it. It can output images up to 1024*768.)
- Sensor best resolution: 1600 * 1200
+ Field of View : **78 degree**
+ Maxmium Pixel: 200W (Because of the small RAM, the board can't obtain it. It can output images up to 800*600 JPEG.)
- 尺寸:20.5 × 46.5 × 11.5mm
## Include
@@ -98,6 +100,8 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon
**BME280 Interface**
*It's IIC address is 0x76.*
| *BME280* | *ESP32Cam* |
| :-----------: | :--------: |
| SCL | IO4 |
@@ -106,6 +110,8 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon
**MPU6050 Interface**
*It's IIC address is 0x68.*
| *MPU6050* | *ESP32Cam* |
| :-----------: | :--------: |
| SCL | IO4 |
@@ -117,6 +123,14 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon
| :-----------: | :------: |
| SCL | IO32 |
**<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.
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
- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)**
@@ -125,7 +139,7 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon
- **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/esp32-cam/hardware_diff_with_ESP32CAM_M5Camera.md)**
<!-- - **[The comparison between ESP32CAM and M5Camera](https://github.com/m5stack/M5-Schematic/blob/master/Units/esp32-cam/hardware_diff_with_ESP32CAM_M5Camera.md)** -->
## Code
+2 -4
View File
@@ -6,8 +6,6 @@
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:bulb:**[Quick Start](en/quick_start/m5camera/m5camera_quick_start)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[Code](#Code)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Fish-eye-Camera-Module-OV2640-Fisheye-Mini-Camera-Unit-Demoboard-with-ESP32-PSRAM-Development/3226069_32973208335.html?spm=a2g1y.12024536.productList_5885013.subject_2)**
<!-- :memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[Example](#Example)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :electric_plug:**[Schematic](#Schematic)** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Fish-eye-Camera-Module-OV2640-Fisheye-Mini-Camera-Unit-Demoboard-with-ESP32-PSRAM-Development/3226069_32973208335.html?spm=a2g1y.12024536.productList_5885013.subject_2)** -->
## Description
The **<mark>M5CameraF</mark>** is a camera unit based on ESP32 chip and OV2640 **<mark>including PSRAM</mark>**, **<mark>160° Fisheye Lens</mark>**. You can even program it through ESP-IDF or Arduino IDE.
@@ -22,8 +20,8 @@ This Unit reserves the weld of the 9-axis gyroscope (MPU6050), Temperature and h
* If configured with MPU6050, will be named M5CameraF_6050
* If also configured with microphone, will be named M5CameraF_6050_MIC
* If also configured with BME280, will be named M5CameraX_6050_MIC_BME280
* If also configured with battery, will be named M5CameraX_6050_MIC_BME280_BAT
* If also configured with BME280, will be named M5CameraF_6050_MIC_BME280
* If also configured with battery, will be named M5CameraF_6050_MIC_BME280_BAT
<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%">
+2 -4
View File
@@ -33,10 +33,8 @@
- CIF: 60fps
- スキャンモード: プログレッシブ
- カメラ スペック
- CCD サイズ : 1/4inch
- 視野 : 78 度
- 最大ピクセル: 200W
- 最大解像度: 1600 * 1200
- 視野 : **78 度**
- 最大解像度: 800 * 600 JPEG
- サイズ: 20.5 × 46.5 × 11.5mm
## パッケージ内容
+21 -11
View File
@@ -2,24 +2,28 @@
<img src="assets/img/product_pics/unit/unit_esp32cam_01.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_esp32cam_02.png" width="65%" height="65%">
<!-- <img src="assets/img/product_pics/unit/unit_esp32cam_grove_a.png" width="30%" height="30%"> -->
***
:memo:**[描述](#描述)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:bulb:**[上手指南](zh_CN/quick_start/m5camera/m5camera_quick_start)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[代码](#代码)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-1172588093.46.6c2275f4nUJEfh&id=570594844588)**
<!-- :memo:**[描述](#描述)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[例程](#例程)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[原理图](#原理图)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-1172588093.46.6c2275f4nUJEfh&id=570594844588)** -->
## 描述
**<mark>ESP32Cam</mark>**是一款基于ESP32芯片,集成OV2640摄像头驱动芯片的摄像头模块,但**不带including PSRAM,也就是模块的RAM只有520KB**。你可以通过ESP-IDF来编程摄像头功能。
同时,M5Camera Unit还预留了9轴陀螺仪(MPU6050)、大气压3合1传感器(BME280)和**模拟麦克风**的焊接口,如果你需要这些器件,可以焊接到对应位置上。M5Camera Unit还预留了电池接口,如果你需要做可移动的摄像头,那么可以焊接手头的锂电池到对应位置上。
同时,ESP32CAM Unit还预留了9轴陀螺仪(MPU6050)、大气压3合1传感器(BME280)和**模拟麦克风**的焊接口,如果你需要这些器件,可以焊接到对应位置上。ESP32CAM Unit还预留了电池接口,如果你需要做可移动的摄像头,那么可以焊接手头的锂电池到对应位置上。
**注意:选配不同硬件时,ESP32CAM 的命名不一样,遵循以下规则**
*ESP32CAM_#_#... 即 ESP32CAM 后跟选配的硬件。*
* 如果选配 MPU6050,则命名为 ESP32CAM_6050
* 如果还选配了麦克风 SPM1423,则命名为 ESP32CAM_6050_MIC
* 如果还选配了温湿度气压传感器 BME280,则命名为 ESP32CAM_6050_BME280
<img src="assets/img/product_pics/unit/unit_esp32cam_05.png" width="100%" height="100%"><img src="assets/img/product_pics/unit/unit_esp32cam_06.png" width="100%" height="100%">
因为模块可以生成WIFI热点AP,所以可以用手机、PC或其他设备通过WIFI无线获取摄像头图片,也可以通过模块的GROVE接口有线获取摄像头图片。
<img src="assets/img/product_pics/unit/unit_esp32cam_03.png" width="65%" height="65%">
## 特性
- ESP32模组特性
@@ -42,9 +46,8 @@
+ CIF: 60fps
- 扫描模式: Progressive
- 摄像头特性
+ CCD尺寸: 1/4inch
+ 可视范围: 78 degree
+ 最大像素: 200W(由于本模块内存比较小,所以摄像头能拍摄200W像素图像,可是板子无法获取和处理)
+ 可视范围: **78 degree**
+ 最大像素: 200W(由于本模块内存比较小,所以摄像头能拍摄200W像素图像,可是板子无法获取和处理,最大为 800 * 600的JPEG格式图片)
- 尺寸:20.5 × 46.5 × 11.5mm
## 包含
@@ -119,6 +122,13 @@
| :-----------: | :------: |
| SCL | IO32 |
**<mark>注意:</mark>**
1. **Camera Power Down 引脚** 没必要连接到 ESP32 的引脚。
2. 我们有几个版本的摄像头板子,下图是它们主要区别的比较,如果想查看详细的资源对比,请点击[这里](https://shimo.im/sheets/gP96C8YTdyjGgKQC/e2041)。
<img src="assets/img/product_pics/unit/camera_comparison_zh_CN.png">
## 相关链接
@@ -129,7 +139,7 @@
- **数据手册** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [OV2640](https://www.uctronics.com/download/cam_module/OV2640DS.pdf)
- **[ESP32CAM和M5Camera的硬件对比](https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera_zh_CN.md)**
<!-- - **[ESP32CAM和M5Camera的硬件对比](https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera_zh_CN.md)** -->
## 代码
-5
View File
@@ -2,15 +2,10 @@
<img src="assets/img/product_pics/unit/unit_m5camera_01.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_m5camera_02.png" width="40%" height="40%">
<!-- <br><img src="assets/img/product_pics/unit/m5camera_03.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/m5camera_04.png" width="30%" height="30%"> -->
***
:memo:**[描述](#描述)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:bulb:**[上手指南](zh_CN/quick_start/m5camera/m5camera_quick_start)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[代码](#代码)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[购买链接](https://item.taobao.com/item.htm?spm=2013.1.20141001.1.7e6a3f17eDikoR&id=575652539758&scm=1007.12144.95220.42296_0&pvid=922f08d2-0a50-42fe-b89b-d5fef17bc52a&utparam=%7B%22x_hestia_source%22%3A%2242296%22%2C%22x_object_type%22%3A%22item%22%2C%22x_mt%22%3A0%2C%22x_src%22%3A%2242296%22%2C%22x_pos%22%3A1%2C%22x_pvid%22%3A%22922f08d2-0a50-42fe-b89b-d5fef17bc52a%22%2C%22x_object_id%22%3A575652539758%7D)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:clapper:**[相关视频](#相关视频)**
<!-- :memo:**[描述](#描述)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[例程](#例程)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[原理图](#原理图)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[购买链接](https://item.taobao.com/item.htm?spm=2013.1.20141001.1.7e6a3f17eDikoR&id=575652539758&scm=1007.12144.95220.42296_0&pvid=922f08d2-0a50-42fe-b89b-d5fef17bc52a&utparam=%7B%22x_hestia_source%22%3A%2242296%22%2C%22x_object_type%22%3A%22item%22%2C%22x_mt%22%3A0%2C%22x_src%22%3A%2242296%22%2C%22x_pos%22%3A1%2C%22x_pvid%22%3A%22922f08d2-0a50-42fe-b89b-d5fef17bc52a%22%2C%22x_object_id%22%3A575652539758%7D)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:clapper:**[相关视频](#相关视频)** -->
## 描述
**<mark>M5Camera</mark>**是一款基于 ESP32 芯片,集成 OV2640 摄像头驱动芯片的摄像头模块,并集成了 **<mark>PSRAM</mark>**。你可以通过 ESP-IDF 或 Arduino IDE 来编程摄像头功能。