ESP32-DevKitC V4 Getting Started Guide (CMake)
This user guide shows how to get started with ESP32-DevKitC V4 development board. For description of other versions of the ESP32-DevKitC check ESP32 Hardware Reference.
What You Need
- 1 × ESP32-DevKitC V4 board
- 1 × USB A / micro USB B cable
- 1 × PC loaded with Windows, Linux or Mac OS
Overview
ESP32-DevKitC V4 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 connect these pins to peripherals as needed. Standard headers also make development easy and convenient when using a breadboard.
The board comes in two versions, either with ESP-WROOM-32 or ESP32-WROVER module soldered.
Functional Description
The following list and figure below describe key components, interfaces and controls of ESP32-DevKitC V4 board.
ESP-WROOM-32ESP-WROOM-32 module soldered to the ESP32-DevKitC V4 board.ESP32-WROVEROptionally ESP32-WROVER module may be soldered instead of the ESP-WROOM-32.USB-UART BridgeA single chip USB-UART bridge provides up to 3 Mbps transfers rates.BootDownload button: holding down the Boot button and pressing the EN button initiates the firmware download mode. Then user can download firmware through the serial port.Micro USB PortUSB interface. It functions as the power supply for the board and the communication interface between PC and the ESP module.5V Power On LEDThis LED lights when the USB or an external 5V power supply is applied to the board. For details see schematic in Related Documents.ENReset button: pressing this button resets the system.I/O
Most of the pins on the ESP module are broken out to the pin headers on the board. Users can program ESP32 to enable multiple functions such as PWM, ADC, DAC, I2C, I2S, SPI, etc.
Note
Some of broken out pins are used internally be the ESP32 module to communicate with SPI memory. They are grouped on one side of the board besides the USB connector and labeled D0, D1, D2, D3, CMD and CLK. In general these pins should be left unconnected or access to the SPI flash memory / SPI RAM may be disturbed.
Note
GPIO16 and 17 are used internally by the ESP32-WROVER module. They are broken out and avialable for use only for boards that have the ESP-WROOM-32 module installed.
ESP32-DevKitC V4 with ESP-WROOM-32 module soldered
Power Supply Options
There following options are available to provide power supply to this board:
- Micro USB port, this is default power supply connection
- 5V / GND header pins
- 3V3 / GND header pins
Warning
Above options are mutually exclusive, i.e. the power supply may be provided using only one of the above options. Attempt to power the board using more than one connection at a time may damage the board and/or the power supply source.
Start Application Development
Before powering up the ESP32-DevKitC, please make sure that the board has been received in good condition with no obvious signs of damage.
To start development of applications, proceed to section Get Started (CMake), that will walk you through the following steps:
- Setup Toolchain in your PC to develop applications for ESP32 in C language
- Connect the module to the PC and verify if it is accessible
- Build The Project for an example application
- Flash To A Device to run code on the ESP32
- Monitor instantly what the application is doing
Board Dimensions
ESP32 DevKitC board dimensions - back
Related Documents
- ESP32-DevKitC V4 schematic (PDF)
- ESP32 Datasheet (PDF)
- ESP-WROOM-32 Datasheet (PDF)
- ESP32-WROVER Datasheet (PDF)