ESP32 - CAM Pinout
ESP32-CAM is a compact ESP32-based camera development board with built-in Wi-Fi, Bluetooth, an OV2640 camera connector, microSD card slot, onboard flash LED, and external PSRAM on common AI-Thinker variants. It is designed for low-cost IoT camera projects such as wireless image capture, video streaming, face detection demos, remote monitoring, and simple embedded vision applications. Unlike standard ESP32 development boards, the ESP32-CAM has no onboard USB-to-serial converter and exposes only a limited number of GPIO pins because many ESP32 pins are already used by the camera, PSRAM, flash memory, and microSD interface.
- Manufacturer
- Espressif / AI-Thinker
- Package
- Dev Board

Pin reference
| Pin | Name | Functions | Description |
|---|---|---|---|
| 1 | 5V | 5V | <p>Main 5 V power input for the ESP32-CAM board. This pin feeds the onboard regulator that powers the ESP32 module and camera circuitry.</p> |
| 2 | GND | Ground | <p>Common ground. Multiple GND pins are available.</p> |
| 3 | IO12 | IO12 | <p>General-purpose I/O pin exposed on the ESP32-CAM header. It is also used by the microSD card interface and has ESP32 boot-strapping behavior, so external circuits should not force the wrong level during reset.</p> |
| 4 | IO13 | IO13 | <p>General-purpose I/O pin exposed on the ESP32-CAM header. It is commonly available for external use when the microSD card is not used, but it is also part of the SD card connection.</p> |
| 5 | IO15 | IO15 | <p>General-purpose I/O pin exposed on the ESP32-CAM header. It is also used by the microSD command line and has ESP32 strapping behavior.</p> |
| 6 | IO14 | IO14 | <p>General-purpose I/O pin exposed on the ESP32-CAM header. It is also used as the microSD clock line, so avoid using it for other circuits when the SD card is active.</p> |
| 7 | IO2 | IO2 | <p>General-purpose I/O pin that is also connected to the microSD card interface on the ESP32-CAM. It can be used as GPIO when the SD card is not used or when using a compatible SD mode.</p> |
| 8 | IO4 | IO4 | <p>IO4 is connected to the ESP32-CAM onboard white flash LED. It is also shared with the microSD card interface, so the flash LED can behave unexpectedly when the SD card is active.</p> |
| 9 | GND | GND | |
| 10 | UOT | UOT | <p>UART0 transmit pin used for firmware upload logs and serial output. Connect this pin to the adapter RX pin.</p> |
| 11 | UOR | UOR | <p>UART0 receive pin used for uploading firmware through an external USB-to-serial adapter. Connect this pin to the adapter TX pin.</p> |
| 12 | VCC | VCC | <p>Board VCC rail pin. On many ESP32-CAM boards this is associated with the external supply rail, but the exact connection can vary by clone or revision.</p> |
| 13 | GND | GND | |
| 14 | IO0 | IO0 | <p>Boot-mode pin used for programming. Pull IO0 low while resetting or powering the board to enter firmware flashing mode. Leave it high or unconnected for normal boot.</p> |
| 15 | IO16 | IO16 | <p>General-purpose I/O pin exposed on the ESP32-CAM header. Availability can depend on the ESP32-CAM module variant and how PSRAM is wired internally.</p> |
| 16 | 3V3 | 3V3 | <p>3.3 V rail pin connected to the ESP32-CAM board power system. It can be used as a low-current 3.3 V reference or supply point, depending on the board revision and wiring.</p> |
