ユーザ用ツール

サイト用ツール


esp32

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
esp32 [2020/04/08 20:53] – [micropython import camera] nabezoesp32 [2020/11/12 01:54] (現在) nabezo
行 15: 行 15:
 https://tomono.tokyo/2019/03/11/7519/ https://tomono.tokyo/2019/03/11/7519/
  
-tsaarni/esp32-micropython-webcam 
-https://github.com/tsaarni/esp32-micropython-webcam 
- 
-shariltumin/esp32-cam-micropython  
-https://github.com/shariltumin/esp32-cam-micropython 
- 
-==== micropython import camera ==== 
-  framesize(size) 
-    size == 1 FRAMESIZE_QQVGA  // 160x120 
-    size == 2 FRAMESIZE_QQVGA2 // 128x160 
-    size == 3 FRAMESIZE_QCIF   // 176x144  
-    size == 4 FRAMESIZE_HQVGA  // 240x176 
-    size == 5 FRAMESIZE_QVGA   // 320x240 
-    size == 6 FRAMESIZE_CIF    // 400x296 
-    size == 7 FRAMESIZE_VGA    // 640x480 
-    size == 8 FRAMESIZE_SVGA   // 800x600 
-    size == 9 FRAMESIZE_XGA    // 1024x768  (default) 
-    size == 10 FRAMESIZE_SXGA  // 1280x1024 
-    size == 11 FRAMESIZE_UXGA  // 1600x1200 
-    size == 12 FRAMESIZE_QXGA  // 2048x1536 
-  quality(num) 
-    num = 10 - 63 (10high-63low) 
-     
 ==== 接続URL ==== ==== 接続URL ====
  
行 56: 行 33:
  
  
-===== firmware ===== 
-esp32-camera-for-micropython https://github.com/tsaarni/esp32-camera-for-micropython 
- 
-micropython-with-esp32-cam https://github.com/tsaarni/micropython-with-esp32-cam  
- 
-uPyCam  https://github.com/lemariva/uPyCam 
- 
- 
-https://lemariva.com/blog/2019/09/micropython-how-about-taking-photo-esp32 
  
 ===== ardiuno web-server ===== ===== ardiuno web-server =====
行 72: 行 40:
 ESP32-CAM 開発ボード WiFi Bluetoothカメラモジュール 簡単ビルド方法 ESP32-CAM 開発ボード WiFi Bluetoothカメラモジュール 簡単ビルド方法
 https://blog.bouhan-tool.com/all/esp32-cam https://blog.bouhan-tool.com/all/esp32-cam
 +
 +===== I2S =====
 +ESP32で録音
 +https://kconputing.hatenablog.com/entry/esp32_i2s_recorde
 +
  
  
 ====== micropython環境 ====== ====== micropython環境 ======
 http://itoi.jp/M5Stack.html#MicroPython http://itoi.jp/M5Stack.html#MicroPython
 +
 +==== esp32cam firmware1 ====
 +  * (souce)tsaarni/esp32-micropython-webcam https://github.com/tsaarni/esp32-micropython-webcam 
 +  * (bin?)tkinjo1985/ESP32-CAM_ImagePost https://github.com/tkinjo1985/ESP32-CAM_ImagePost/tree/master/esp32-cam
 +
 +動作した
 +
 +==== esp32cam firmware2 ====
 +  * shariltumin/esp32-cam-micropython https://github.com/shariltumin/esp32-cam-micropython
 +
 +import networkが使えない・・惜しい
 +  framesize(size)
 +    size == 1 FRAMESIZE_QQVGA  // 160x120
 +    size == 2 FRAMESIZE_QQVGA2 // 128x160
 +    size == 3 FRAMESIZE_QCIF   // 176x144 
 +    size == 4 FRAMESIZE_HQVGA  // 240x176
 +    size == 5 FRAMESIZE_QVGA   // 320x240
 +    size == 6 FRAMESIZE_CIF    // 400x296
 +    size == 7 FRAMESIZE_VGA    // 640x480
 +    size == 8 FRAMESIZE_SVGA   // 800x600
 +    size == 9 FRAMESIZE_XGA    // 1024x768  (default)
 +    size == 10 FRAMESIZE_SXGA  // 1280x1024
 +    size == 11 FRAMESIZE_UXGA  // 1600x1200
 +    size == 12 FRAMESIZE_QXGA  // 2048x1536
 +  pixformat(num)
 +    0:JPEG (default) 1:Grayscale  2:RGB565
 +  contrast(num)
 +    num -2,2 (default 0). 2 highcontrast
 +  quality(num)
 +    num  10-63 lower number means higher quality
 +  saturation(num)
 +    num -2,2 (default 0). -2 grayscale
 +  brightness(num)
 +    num -2,2 (default 0). 2 brightest
 +  whitebalance(num)
 +    0-4 (default 0) 1sunny 2cloudy 3office 4home
 +
 +==== esp32cam firmware3 ====
 +  * uPyCam  https://github.com/lemariva/uPyCam
 +
 +
 ==== wifi ==== ==== wifi ====
 wifi接続 http://ippei8jp.hatenablog.jp/entry/2017/08/17/113753 wifi接続 http://ippei8jp.hatenablog.jp/entry/2017/08/17/113753
行 101: 行 115:
  
 ここのfirmwareを使用 ここのfirmwareを使用
 +
 +===== arduino =====
 +ESP32のWi-fi設定方法調査
 +
 +https://lang-ship.com/blog/work/esp32-wi-fi-setting/
 +====== arduinoIDEの設定 ======
 +ここではubuntuの環境構築を想定 \\
 +(chromebook上のlinuxでもarduinoIDEは動作するがボードに書き込めなかった)
 +
 +ダウンロードしてinstall.shを実行してarduinoIDEをセットアップしておく
 +
 +python2(python python-pip)をインストール
 +  sudo apt install python python-pip
 +
 +===== 環境設定 =====
 +
 +参照)https://docs.m5stack.com/#/en/arduino/arduino_development
 +  *「ファイル」ー「設定」ー「追加のボードマネジャのURL」にhttps://dl.espressif.com/dl/package_esp32_index.jsonを設定
 +  *「ツール」ー「ボード」ー「ボードマネジャ...」で"ESP32"で検索しインストール
 +  *「スケッチ」ー「ライブラリをインクルード」ー「ライブラリを管理」で"ESP32"で検索し必要なものをインストール
 +
 +===== 動作設定 =====
 +
 +
  
esp32.txt · 最終更新: 2020/11/12 01:54 by nabezo