ESP32 CAM: Difference between revisions

From SGMK-SSAM-WIKI
Jump to navigation Jump to search
(Created page with "== Arduino == === Installation === #Install the ESP32 core for Arduino: <code>https://dl.espressif.com/dl/package_esp32_index.json</code> #Search for ESP32 in the '''Boards...")
 
No edit summary
Line 1: Line 1:
== Introduction ==
https://www.cnx-software.com/2018/09/30/esp32-cam-esp32-camera-board/
== Arduino ==
== Arduino ==


Line 19: Line 23:
: Huge APP (3MB no OTA)
: Huge APP (3MB no OTA)


==== Flashing ====
*Connect GND and IO0 to flash.
*Press RST
*On some USB to TTL modules you must set a lower baud rate (115200) for flashing.


=== Code ===
=== Code ===
Line 29: Line 38:
#define CAMERA_MODEL_AI_THINKER
#define CAMERA_MODEL_AI_THINKER
</pre>
</pre>
== Caveats ==
*Use 5V when powering from USB TTL, at 3V3 I got constant brownouts.

Revision as of 15:06, 20 March 2019

Introduction

https://www.cnx-software.com/2018/09/30/esp32-cam-esp32-camera-board/

Arduino

Installation

  1. Install the ESP32 core for Arduino: https://dl.espressif.com/dl/package_esp32_index.json
  2. Search for ESP32 in the Boards Manager, the description only lists 2 boards

Getting started

After installing the Boards, and switching to a random ESP32 board, there schould be an example:

Examples > ESP32 > Camera > CameraWebServer

To flash it use the following settings:

Board
ESP32 Wrover
Partion Scheme
Huge APP (3MB no OTA)

Flashing

  • Connect GND and IO0 to flash.
  • Press RST
  • On some USB to TTL modules you must set a lower baud rate (115200) for flashing.

Code

Before compiling and flashing you should set the WiFi credentials. And choosing the board. In this case its the CAMERA_MODEL_AI_THINKER.

 
//#define CAMERA_MODEL_WROVER_KIT
//#define CAMERA_MODEL_M5STACK_PSRAM
#define CAMERA_MODEL_AI_THINKER

Caveats

  • Use 5V when powering from USB TTL, at 3V3 I got constant brownouts.