ESP32 Projects
Start a build
Markdown

ESP32-CAM Pin Map and Board Bring-Up

Use board-specific examples to check an AI Thinker module and its interfaces.

AI Thinker ESP32-CAMPlatformIOIntermediate
Parts and source

Before you start

Match the AI Thinker camera target and OV2640 pin mapping to your board and check the upstream hardware and firmware requirements.

Getting started

  1. Start with the upstream board target, firmware versions and parts list. Verify that the camera initializes before adding the rest of the build.
  2. Compare your board revision and pinout with the repository. Run a minimal example before combining camera and peripheral wiring.

Upstream README

ESP32-CAM - A.I. Thinker

Build with PlatformIO

The goal of this repository is to centralize information and examples for the ESP32-CAM A.I. Thinker.

Read the board and periferals specifications here.

ESP32-CAM - A.I. Thinker
ESP32-CAM A.I. Thinker usually sells with OV2640 sensor

Examples

Running with PlatformIO

To run the examples, make sure to have PlatformIO installed. If you haven't, refer to this tutorial.

Building with PlatformIO

Flashing

Requirements

To flash the board you need a USB to TTL dongle.

Also it is very important to use a external power supply. USBs usually do not provide sufficient current which makes the board loops brownout errors.

Wiring

schematics to wire the board
Diagram to wire the board

Instructions

When flashing:

  1. turn the board down
  2. hold the reset button (short GPIO0 to GND)
  3. turn the board on

When booting to run your sketch, keep GPIO0 open.

This board also has a built in reset button.

Capabilities

This board and the included OV2640 can acomplish the following:

  • External 64MBit PSRAM (IPUS IPS6404)
  • Embeed flash light
  • Sd Card
    • mount using FatFS
  • Ov2640
    • Native resolutions:
      • UXGA
      • SVGA
      • CIF
    • Gain control
    • Balance control
    • Windowing
      • Zoom and panning modes
      • Sub-sampling mode
        • Svga
        • Cif
    • Frame exposure mode
    • Output formatter
      • Scaling image output
    • Power down mode
    • Strobe (flash control)

Contributions

The roadmap for this repository is to implement examples uppon the capabilities of the board.

Feel free to open issues, describe bugs, suggest new examples and implementations.

I'll be reviewing and accepting PR's.