Skip to main content
ESPBoards
No
No
N/A

AI Thinker ESP32-CAM Development Board Pinout and Technical Specifications

Code name: ESP32_DEV

AI Thinker ESP32-CAM development board is based on esp32 microcontroller and uses xtensa architecture. This development board has a maximum CPU frequency of 240 MHz and a flash size of 4MB.


πŸ”— Quick Links

AI Thinker ESP32-CAM imageAI Thinker ESP32-CAM imageAI Thinker ESP32-CAM imageAI Thinker ESP32-CAM image

πŸ›’ Price

Normally, the AI Thinker ESP32-CAM costs around 10$ per Pcs.
The prices are subject to change. Check current price:
Amazon com
Amazon de logo
Aliexpress logo

πŸ“Š AI Thinker ESP32-CAM Specs

Below you can find the specifications of AI Thinker ESP32-CAM, such as features, connectivity options, and AI Thinker ESP32-CAM technical specs.

✨ Features

  • 40 digital IO pins
  • 16 external interrupt pins
  • 16 analog input pins
  • 19 PWM pins

πŸ›°οΈ Connectivity

  • WiFi: 802.11 b/g/n (2.4 GHz)
  • Bluetooth: 4.2
  • BLE: 4.2

πŸ“ Technical specs

Microcontrolleresp32
Clock Speed240 MHz
Flash size4MB
Architecturextensa

πŸ”Œ AI Thinker ESP32-CAM Pinout

The ESP32-CAM pinout is designed to provide versatile functionality for camera-based IoT applications. It features essential power pins like 5V, 3.3V, and GND, ensuring stable power delivery for both the ESP32 chip and connected peripherals.

For communication, the ESP32-CAM includes RX and TX for UART, making it easy to connect to external serial devices. Additionally, SDA and SCL support I2C communication, while SPI pins like MISO, MOSI, SCK, and SS enable high-speed data transfer for sensors, displays, and storage.

One of the key features of the ESP32-CAM is its dedicated camera interface, which includes multiple GPIOs for connecting the OV2640 camera module. It also has a microSD card slot, allowing you to store captured images and videos easily.

Since the ESP32-CAM does not have a built-in USB-to-serial converter, programming requires an external FTDI or USB-to-TTL adapter connected to the RX and TX pins. Proper boot mode selection is also necessary when flashing firmware.

⚠️ Pins to Avoid or Use with Caution

Pin NameLabelReason to Avoid
IO0BOOTMust be pulled low to enter flash mode. Avoid using as a regular GPIO.
IO4CAM_D2Used by the camera module. Avoid using if the camera is in use.
IO12MTDIBootstrapping pin. Can cause issues if pulled high at startup.
IO13MTCKUsed for flash mode configuration. Avoid using if unsure.
IO14MTMSConnected to the camera. Avoid using as a general GPIO.
IO15MTDOStrapping pin. Can interfere with boot mode if pulled incorrectly.

For general GPIO usage, IO2, IO16, and IO17 are the safest and most flexible choices. πŸš€

πŸ—ΊοΈ AI Thinker ESP32-CAM Pins Mapping Arduino IDE

Below you can find the AI Thinker ESP32-CAM pinout. This development board provides 40 digital IO pins, out of which 16 can be used as an external interrupt pins , 16 as analog input pins and 19 pins have Pulse-Width Modulation (PWM) .

PinAnalogTouchPWMOther
0A11T1
1PWMTX
2A12T2PWM
3PWMRX
4A10T0PWM
5PWMSS
12A15T5PWM
13A14T4PWM
14A16T6PWM
15A13T3PWM
18PWMSCK
19PWMMISO
21PWMSDA
22PWMSCL
23PWMMOSI
25A18PWMDAC1
26A19PWMDAC2
27A17T7PWM
32A4T9PWM
33A5T8PWM
34A6
35A7
36A0
39A3
Analog - Analog input pins
Touch - Touch pins
Function - Function pins
RX / TX - Receive (RX) / Transmit (TX)
LED_BUILTIN - Built-in LED
PWM - Pulse-Width Modulation

πŸ› οΈ Default Tools

Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash mode
Boot mode
PSRAM type
Maximum upload size
3072 Kb
(3145728 B)
Maximum data size
320 Kb
(327680 B)

The AI Thinker ESP32-CAM development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x1000". Flash mode and boot mode for AI Thinker ESP32-CAM development board by default is and respectively.