diff --git a/docs/assets/img/product_pics/unit/unit_m5camera_04.png b/docs/assets/img/product_pics/unit/unit_m5camera_04.png index 5946b286..aa10ec0a 100644 Binary files a/docs/assets/img/product_pics/unit/unit_m5camera_04.png and b/docs/assets/img/product_pics/unit/unit_m5camera_04.png differ diff --git a/docs/en/unit/esp32cam.md b/docs/en/unit/esp32cam.md index b983f3d5..e8b4d1aa 100644 --- a/docs/en/unit/esp32cam.md +++ b/docs/en/unit/esp32cam.md @@ -48,7 +48,7 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon - Scan Mode: Progressive - Camera specifications + 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.) + + Maxmium Pixel: 200M pixels (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 @@ -95,7 +95,7 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon | :-----------: | :--------: | | LED_Pin | IO16 | -**The following tables are Reserved Chip Interfaces** +**予約済みチップインターフェース** **BME280 Interface** @@ -118,7 +118,7 @@ Because the module can generate WIFI hotspot AP, So you can use your mobile phon **MIC(SPQ2410) Interface** -| *MPU6050* | *ESP32Cam* | +| *SPQ2410* | *ESP32Cam* | | :-----------: | :------: | | SCL | IO32 | diff --git a/docs/ja/unit/esp32cam.md b/docs/ja/unit/esp32cam.md index de2d12aa..52aa2e75 100644 --- a/docs/ja/unit/esp32cam.md +++ b/docs/ja/unit/esp32cam.md @@ -1,14 +1,26 @@ -# ESP32Cam ユニット {docsify-ignore-all} +# ESP32Cam ユニット (pSRAM無し) {docsify-ignore-all} *** -:memo:**[概要](#概要)**   :bulb:**[クイックスタート](ja/quick_start/m5core/m5stack_core_quick_start)**      :octocat:**[コード](#コード)**      :electric_plug:**[回路図](https://github.com/m5stack/M5-回路図/blob/master/Units/esp32-cam/M5CAM-ESP32-A1-POWER.pdf)**      🛒**[購入リンク](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:**[概要](#概要)**   :bulb:**[クイックスタート](ja/quick_start/m5core/m5stack_core_quick_start)**      :octocat:**[サンプルコード](#サンプルコード)**      :electric_plug:**[回路図](https://github.com/m5stack/M5-回路図/blob/master/Units/esp32-cam/M5CAM-ESP32-A1-POWER.pdf)**      🛒**[購入リンク](https://www.aliexpress.com/item/M5Stack-Official-ESP32-Camera-Module-Development-Board-OV2640-Camera-Type-C-Grove-Port-3D-Wifi-Antenna/32881414545.html)** ## 概要 -**ESP32Cam**ユニットは**ESP32**、**OV2640**、**LiPoチャージャー(IP5306)**を内蔵しています。リチウムバッテリ、MPU6050(ジャイロ+加速度センサー)、BME280(温湿度+気圧センサー)、マイクなどと組み合わせることでバッテリ駆動の監視システムを構築することも可能です。 +**ESP32Cam**ユニットは**ESP32**をメインチップとして備え、他にも**OV2640**、**LiPoチャージャー(IP5306)**を内蔵しています。(ただし4MBのpSRAM非搭載です)。またリチウムバッテリ、MPU6050(ジャイロ+加速度センサー)、BME280(温湿度+気圧センサー)、SPQ2410(マイク)用のパターンが用意されているので、追加部品を半田付けすることで、グレードアップさせることが可能です。それらを組み合わせることでバッテリ駆動の監視システムなどを構築することも可能です。ESP-IDFを利用して、カメラの機能をプログラムすることができます。 + +**ノート: ESP32CAMは以下のような名称ルールがあります。** + +*ESP32CAM_#_#_#...* + +* MPU6050付きの場合、ESP32CAM_6050 +* MPU6050とマイク付きの場合、ESP32CAM_6050_MIC +* MPU6050とマイクとBME280付きの場合、ESP32CAM_6050_MIC_BME280 + + + +このユニットはWi-FiのホットスポットAPになることができるので、スマホ、PC、その他のデバイスからWi-FiやGROVEインターフェースを介して撮影画像を取得できます。 ## 特徴 @@ -20,8 +32,8 @@ - 802.11 b/g/n Wi-Fi - デュアルモード Bluetooth (classic and BLE) - ハードウェアアクセラレーションによる暗号化 (AES, SHA2, ECC, RSA-4096) -- CP2104 USB TTL -- OV2640 センサー +- CP2104 USB-UART変換ドライバ +- OV2640 カメラセンサー - 出力フォーマット(8-bit): - YUV(422/420)/YCbCr422 - RGB565/555 @@ -31,16 +43,91 @@ - UXGA/SXGA: 15fps - SVGA: 30fps - CIF: 60fps - - スキャンモード: プログレッシブ + - スキャンモード: Progressive - カメラ スペック - 視野 : **78 度** -- 最大解像度: 800 * 600 JPEG +- 最大解像度: 200万画素(メモリの都合上、本ユニットは最大800 * 600 pixels JPEG) - サイズ: 20.5 × 46.5 × 11.5mm ## パッケージ内容 - 1x ESP32Cam +## ピンマップ + +**Camera Interface** + +| *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 | IO13 | +| SDA | IO4 | +| 5V | 5V | +| GND | GND | + +**LED Interface** + +| *LED* | *ESP32Cam* | +| :-----------: | :--------: | +| LED_Pin | IO16 | + +**以下は追加可能部品のインターフェースです。** + +**BME280 Interface** + +*I2Cアドレス: 0x76* + +| *BME280* | *ESP32Cam* | +| :-----------: | :--------: | +| SCL | IO4 | +| SDA | IO13 | + + +**MPU6050 Interface** + +*I2Cアドレス: 0x68* + +| *MPU6050* | *ESP32Cam* | +| :-----------: | :--------: | +| SCL | IO4 | +| SDA | IO13 | + +**MIC(SPQ2410) Interface** + +| *SPQ2410* | *ESP32Cam* | +| :-----------: | :--------: | +| SCL | IO32 | + +**ノート:** + +1. **Camera Power Down** ピンはESP32のGPIOに接続する必要はありません。10Kオームの抵抗でGNDにプルダウンすることができます。 + +2. いくつかのカメラユニットを準備しています。 簡単な比較表を以下に示します。より詳細な違いが知りたい方は[こちら](https://shimo.im/sheets/gP96C8YTdyjGgKQC/09fd4)。 + + + ## 関連リンク - **[公式ビデオ](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)** @@ -56,7 +143,3 @@ ### ファームウェア - **[ESP32CAM ファームウェア](https://github.com/m5stack/m5stack-cam-psram/tree/normal)** - -## 関連情報 - -- [ESP32Cam ユニット 購入(AliExpress)](https://www.aliexpress.com/store/product/M5Stack-ESP32-OV2640-C-3D-Wifi/3226069_32881414545.html) \ No newline at end of file diff --git a/docs/ja/unit/m5camera.md b/docs/ja/unit/m5camera.md index e70fd69e..7270b535 100644 --- a/docs/ja/unit/m5camera.md +++ b/docs/ja/unit/m5camera.md @@ -1,4 +1,4 @@ -# M5Camera ユニット {docsify-ignore-all} +# M5Camera ユニット(4MB pSRAM搭載) {docsify-ignore-all} @@ -8,7 +8,27 @@ ## 概要 -**M5Camera**は**ESP32**、**OV2640**、4MBの**pSRAM**、**LiPoチャージャー(IP5306)**などが内蔵されています。リチウムバッテリ、MPU6050(ジャイロ+加速度センサー)、BME280(温湿度+気圧センサー)、MIC(SPM1423)のパッドが用意されており、組み合わせることでバッテリ駆動の監視システムを構築することも可能です。ESP-IDFを用いてプログラム可能です。 +**M5Camera**は**ESP32**、**OV2640**、**4MBのpSRAM**、**LiPoチャージャー(IP5306)**などが内蔵されています。リチウムバッテリ、MPU6050(ジャイロ+加速度センサー)、BME280(温湿度+気圧センサー)、MIC(SPM1423)のパッドが用意されており、組み合わせることでバッテリ駆動の監視システムを構築することも可能です。ESP-IDFを用いてプログラム可能です。 + +**M5CameraはモデルAとモデルBの2つのモデルがあります。** + +表面に貼ってあるシールで見分けることができます。 + +いくつかのポートが入れ替わっています。(下部ピンマップ参照) + + + +またリチウムバッテリ、MPU6050(ジャイロ+加速度センサー)、BME280(温湿度+気圧センサー)、SPM1423(マイク)用のパターンが用意されているので、追加部品を半田付けすることで、グレードアップさせることが可能です。それらを組み合わせることでバッテリ駆動の監視システムなどを構築することも可能です。 + +**ノート: M5Cameraは以下のような名称ルールがあります。** + +*M5Camera_#_#_#...* + +* MPU6050付きの場合、M5Camera_6050 +* MPU6050とマイク付きの場合、M5Camera_6050_MIC +* MPU6050とマイクとBME280付きの場合、M5Camera_6050_MIC_BME280 + + ## 特徴 @@ -36,7 +56,7 @@ - カメラ スペック - CCD サイズ : 1/4inch - 視野 : 78 度 - - 最大ピクセル: 200W + - 最大ピクセル: 200万 - 最大解像度: 1600 * 1200 - サイズ: 40 × 49 × 13mm @@ -52,9 +72,9 @@ | *インターフェース* | *Cameraピン*| *M5Camera(モデルA)* | *M5Camera(モデルB)* | | :------------------- | :--------:| :------: | :------: | | SCCB Clock | SIOC |IO23 |IO23 | -| SCCB Data | SIOD |**IO25** |**IO22** | +| SCCB Data | SIOD |**IO25** |**IO22** | | System Clock | XCLK |IO27 |IO27 | -| Vertical Sync | VSYNC |**IO22** |**IO25** | +| Vertical Sync | VSYNC |**IO22** |**IO25** | | Horizontal Reference | HREF |IO26 |IO26 | | Pixel Clock | PCLK |IO21 |IO21 | | Pixel Data Bit 0 | D2 |IO32 |IO32 | @@ -70,14 +90,12 @@ | Power Supply 3.3V | 3V3 | 3V3 | 3V3 | | Ground | GND | GND | GND | -※1:**Cameraパワーダウン**ピンはESP32のGPIOに接続する必要はありません。代わりに10kΩの抵抗でGNDにプルダウンできます。 - **GROVEインターフェース** | *Grove* | *M5Camera(モデルA)* | *M5Camera(モデルB)* | | :-----------: | :------: | :------: | | SCL | IO13 | IO13 | -| SDA | **IO12** | **IO4** | +| SDA | **IO12** | **IO4** | | 5V | 5V | 5V | | GND | GND | GND | @@ -115,6 +133,14 @@ +**ノート:** + +1. **Camera Power Down**ピンはESP32のGPIOに接続する必要はありません。10Kオームの抵抗でGNDにプルダウンすることができます。 + +2. いくつかのカメラユニットを準備しています。 簡単な比較表を以下に示します。より詳細な違いが知りたい方は[こちら](https://shimo.im/sheets/gP96C8YTdyjGgKQC/09fd4)。 + + + ## 関連リンク @@ -132,7 +158,7 @@ - **[M5Camera ファームウェア](https://github.com/m5stack/m5stack-cam-psram/tree/master)** -### ルーチン +### プログラム例 - **[色認識](https://github.com/m5stack/Applications-cam)** diff --git a/docs/zh_CN/unit/esp32cam.md b/docs/zh_CN/unit/esp32cam.md index efa29d60..8d34e8cd 100644 --- a/docs/zh_CN/unit/esp32cam.md +++ b/docs/zh_CN/unit/esp32cam.md @@ -117,7 +117,7 @@ **麦克风(SPQ2410) 接口** -| *MPU6050* | *ESP32Cam* | +| *SPQ2410* | *ESP32Cam* | | :-----------: | :------: | | SCL | IO32 |