arduino:wio-cam-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arduino:wio-cam-en [2020/01/27 11:44] – [URL] rjversluis | arduino:wio-cam-en [2023/08/17 07:40] (current) – removed rjversluis | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== WIO ESP32-S CAM ====== | ||
- | [[: | ||
- | [[: | ||
- | * [[: | ||
- | \\ | ||
- | |||
- | | W I P | | ||
- | {{: | ||
- | | //The WIO-CAM can only handle one stream client at a time.// | ||
- | | //Make sure the right board type is selected for ESP32-CAM.// | ||
- | \\ | ||
- | |||
- | =====WIO===== | ||
- | //WIO Version 1.14+// | ||
- | Running the CAM in WIO context reduces the fps to 10 at QVGA resolution. (Higher rates are possible.)\\ | ||
- | ====Settings==== | ||
- | ^ Setting ^ Value ^ | ||
- | | WIO type | CAM | | ||
- | | Board type | ESP32-CAM | | ||
- | ====URL==== | ||
- | WEB Browser: | ||
- | < | ||
- | http://< | ||
- | </ | ||
- | Text: | ||
- | < | ||
- | mjpg:< | ||
- | </ | ||
- | The rotate90 option can be left or right.\\ | ||
- | Locomotive: | ||
- | {{: | ||
- | ====I/O==== | ||
- | Some ports can be controlled with an output: | ||
- | * Bus = WIO ID | ||
- | All other settings are default.\\ | ||
- | |||
- | ^ GPIO ^ Usage ^ Output ^ Type ^ | ||
- | | 4 | Flash LED | 1 | Accessory | | ||
- | | - | Snapshot | 2 | Accessory | | ||
- | | - | Snapshot + Flash | 3 | Accessory | | ||
- | | 12 | H position servo | 1 | Servo | | ||
- | | 13 | V position servo | 2 | Servo | | ||
- | | 2, | ||
- | |||
- | File names used for snapshots on SPIFFS are generated: | ||
- | < | ||
- | /< | ||
- | </ | ||
- | The zeros represent the lower 32 bit part of the millisecond counter.\\ | ||
- | Existing files will be overwritten.\\ | ||
- | |||
- | |||
- | ====Arduino IDE==== | ||
- | The ESP32-CAM board does not feature an USB connector, so a separate USB programmer board is needed.\\ | ||
- | There are many clones of this ESP32-CAM board. Important is documentation on how to connect and program the board, and which camera is mounted.\\ | ||
- | This test board must be programmed in the Arduino IDE with the __**ESP32 Wrover Module**__ board type:\\ | ||
- | {{: | ||
- | The mounted camera must be selected in '' | ||
- | For this test board select: | ||
- | <code c> | ||
- | #define CAMERA_MODEL_AI_THINKER | ||
- | </ | ||
- | |||
- | :!: The GPIO0 must be connected to the ground pin to be able to program the ESP32-CAM.\\ | ||
- | Sometimes the reset button must be pressed too to be able to flash the WIO firmware.\\ | ||
- | |||
- | |||
- | \\ | ||
- | =====Pinout===== | ||
- | {{: | ||
- | * GPIO04 = Flash LED | ||
- | * GPIO33 = on board LED | ||
- | * GPIO16 = Seems to be used by the camera. (I2S) | ||
- | |||
- | \\ | ||
- | =====Control===== | ||
- | {{ : | ||
- | * {{: | ||
- | Its easy to create a camera control by using Outputs as "Push buttons" | ||
- | ^ Control ^ Address ^ Type ^ Value ON ^ Value OFF ^ Delay ^ Remark ^ | ||
- | | Snapshot | 2 | Accessory | - | - | - | Use address 3 for activating flash light | | ||
- | | Horizontal move | 1 | Servo | 0...180 | ||
- | | Horizontal step plus | 1 | Servo | 181...190 | ||
- | | Horizontal step min | 1 | Servo | 191...200 | ||
- | | Vertical move | 2 | Servo | 0...180 | ||
- | | Vertical step plus | 2 | Servo | 181...190 | ||
- | | Vertical step min | 2 | Servo | 191...200 | ||
- | An OFF value of 255 prevents setting the position again at the OFF command.\\ | ||
- | |||
- | \\ | ||
- | =====Links & Docs===== | ||
- | * https:// | ||
- | * http:// | ||
- | * {{: | ||
arduino/wio-cam-en.1580121843.txt.gz · Last modified: 2020/01/27 11:44 by rjversluis