ESP32-DevKitC V2 Getting Started Guide (CMake)

[中文]

This guide shows how to start using the ESP32-DevKitC V2 development board.

What You Need

  • ESP32-DevKitC V2 board
  • USB A / micro USB B cable
  • Computer running Windows, Linux, or macOS

You can skip the introduction sections and go directly to Section Start Application Development.

Overview

ESP32-DevKitC V2 is a small-sized ESP32-based development board produced by Espressif. Most of the I/O pins are broken out to the pin headers on both sides for easy interfacing. Developers can either connect peripherals with jumper wires or mount ESP32-DevKitC V4 on a breadboard.

Functional Description

The following figure and the table below describe the key components, interfaces and controls of the ESP32-DevKitC V2 board.

ESP32-DevKitC V2 board layout

ESP32-DevKitC V2 board layout

Key Component Description
ESP32-WROOM-32 Standard module with ESP32 at its core. For more information, see ESP32-WROOM-32 Datasheet
EN Reset button.
Boot Download button. Holding down Boot and then pressing EN initiates Firmware Download mode for downloading firmware through the serial port.
Micro USB Port USB interface. Power supply for the board as well as the communication interface between a computer and ESP32-WROOM-32.
I/O Most of the pins on the ESP module are broken out to the pin headers on the board. You can program ESP32 to enable multiple functions such as PWM, ADC, DAC, I2C, I2S, SPI, etc.

Power Supply Options

There are three mutually exclusive ways to provide power to the board:

  • Micro USB port, default power supply
  • 5V / GND header pins
  • 3V3 / GND header pins

Warning

The power supply must be provided using one and only one of the options above, otherwise the board and/or the power supply source can be damaged.

Start Application Development

Before powering up your ESP32-DevKitC V2, please make sure that the board is in good condition with no obvious signs of damage.

After that, proceed to Get Started, where Section Installation Step by Step will quickly help you set up the development environment and then flash an example project onto your board.