arduino:wio-cam-fr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arduino:wio-cam-fr [2021/10/08 10:48] – [WIO] phil45 | arduino:wio-cam-fr [2023/08/23 10:29] (current) – removed phil45 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== WIO ESP32-S CAM ====== | ||
- | [[: | ||
- | [[: | ||
- | * [[: | ||
- | \\ | ||
- | |||
- | | Travail en cours | | ||
- | {{: | ||
- | | //Le WIO-CAM ne peut gérer qu'un seul flux client à la fois.// | ||
- | | // | ||
- | \\ | ||
- | |||
- | =====WIO===== | ||
- | //WIO Version 1.14+// | ||
- | Le fonctionnement du CAM dans le contexte WIO réduit le nombre d' | ||
- | ====Configuration==== | ||
- | ^ Réglage ^ Valeur ^ | ||
- | | type WIO | CAM | | ||
- | | Type de carte | ESP32-CAM | | ||
- | ====URL==== | ||
- | ===WEB Browser=== | ||
- | < | ||
- | http://< | ||
- | </ | ||
- | ===Text=== | ||
- | < | ||
- | mjpg:< | ||
- | </ | ||
- | The rotate90 option can be ' | ||
- | This will swap from landscape to portrait, and should only be used if it is physically not possible to adjust the camera.\\ | ||
- | Alternative use a camera with a longer connection: | ||
- | {{: | ||
- | |||
- | ===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.\\ | ||
- | |||
- | |||
- | \\ | ||
- | =====Power Supply===== | ||
- | After the sketch have been uploaded, the ESP32-CAM needs a solid 5V power supply to be able to startup WiFi.\\ | ||
- | The USB FTDI232 board cannot provide the needed current, so the voltage will drop, and the ESP32-CAM will generate a Brownout exception.\\ | ||
- | |||
- | \\ | ||
- | =====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 | ||
- | | Position reset | - | Servo | 250 | 255 | - | Resets both servos to 90° position. | | ||
- | An OFF value of 255 prevents setting the position again at the OFF command.\\ | ||
- | |||
- | |||
- | \\ | ||
- | =====Rotate 180°===== | ||
- | Set in the USRCNF.h the CAM_ROTATE180 to true: | ||
- | < | ||
- | // CAM | ||
- | #define CAM_ROTATE180 true | ||
- | </ | ||
- | |||
- | |||
- | |||
- | \\ | ||
- | =====Links & Docs===== | ||
- | * https:// | ||
- | * http:// | ||
- | * {{: | ||
arduino/wio-cam-fr.1633682911.txt.gz · Last modified: 2021/10/08 10:48 by phil45