Skip to content

ESP32-DevKitM-1

This user guide will help you get started with ESP32-DevKitM-1 and will also provide more in-depth information.

ESP32-DevKitM-1 is an ESP32-MINI-1/1U-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. Users can either connect peripherals with jumper wires or mount ESP32-DevKitM-1 on a breadboard.

ESP32-DevKitM-1 - frontESP32-DevKitM-1 - isometric
ESP32-DevKitM-1 - frontESP32-DevKitM-1 - isometric

The document consists of the following major sections:

  • Getting started: Provides an overview of the ESP32-DevKitM-1 and hardware/software setup instructions to get started.

  • Hardware reference: Provides more detailed information about the ESP32-DevKitM-1's hardware.

  • Related Documents: Gives links to related documentaiton.

Getting Started

This section describes how to get started with ESP32-DevKitM-1. It begins with a few introductory sections about the ESP32-DevKitM-1, then Section Start Application Development provides instructions on how to do the initial hardware setup and then how to flash firmware onto the ESP32-DevKitM-1.

Overview

This is a small and convenient development board that features:

  • ESP32-MINI-1, or ESP32-MINI-1U module

  • USB-to-serial programming interface that also provides power supply for the board

  • pin headers

  • pushbuttons for reset and activation of Firmware Download mode

  • a few other components

Contents and Packaging

Retail Orders

If you order a few samples, each ESP32-DevKitM-1 comes in an individual package in either antistatic bag or any packaging depending on your retailer.

For retail orders, please go to https://www.espressif.com/en/contact-us/get-samples.

Wholesale Orders

If you order in bulk, the boards come in large cardboard boxes.

For wholesale orders, please go to https://www.espressif.com/en/contact-us/sales-questions.

Description of Components

The following figure and the table below describe the key components, interfaces and controls of the ESP32-DevKitM-1 board. We take the board with a ESP32-MINI-1 module as an example in the following sections.

ESP32-DevKitM-1 - front

ESP32-DevKitM-1 - front

Key ComponentDescription
On-board moduleESP32-MINI-1 module or ESP32-MINI-1U module. ESP32-MINI-1 comes with an on-board PCB antenna. ESP32-MINI-1U comes with an external antenna connector. The two modules both have a 4 MB flash in chip package. For details, please see ESP32-MINI-1 & ESP32-MINI-1U Datasheet.
5 V to 3.3 V LDOPower regulator converts 5 V to 3.3 V.
Boot ButtonDownload button. Holding down Boot and then pressing Reset initiates Firmware Download mode for downloading firmware through the serial port.
Reset ButtonReset Button
Micro-USB PortUSB interface. Power supply for the board as well as the communication interface between a computer and the ESP32 chip.
USB-to-UART BridgeSingle USB-UART bridge chip provides transfer rates up to 3 Mbps.
3.3 V Power On LEDTurns on when the USB is connected to the board. For details, please see the schematics in Related Documents.
I/O ConnectorAll available GPIO pins (except for the SPI bus for flash) are broken out to the pin headers on the board. Users can program ESP32 chip to enable multiple functions.

Start Application Development

Before powering up your ESP32-DevKitM-1, please make sure that it is in good condition with no obvious signs of damage.

Required Hardware

  • ESP32-DevKitM-1

  • USB 2.0 cable (Standard-A to Micro-B)

  • Computer running Windows, Linux, or macOS

Software Setup

Please proceed to Get Started, where Section Installation will quickly help you set up the development environment and then flash an application example onto your ESP32-DevKitM-1.

Attention

ESP32-DevKitM-1 boards manufactured before December 2, 2021 have a single core module installed. To verify what module you have, please check module marking information in PCN-2021-021 . If your board has a single core module installed, please enable single core mode (CONFIG_FREERTOS_UNICORE) in menuconfig before flashing your applications.

Hardware Reference

Block Diagram

A block diagram below shows the components of ESP32-DevKitM-1 and their interconnections.

ESP32-DevKitM-1

ESP32-DevKitM-1

Power Source Select

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

  • Micro USB port, default power supply

  • 5V and GND header pins

  • 3V3 and 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.

  • Power supply by micro USB port is recommended.

Pin Descriptions

The table below provides the Name and Function of pins on both sides of the board. For peripheral pin configurations, please refer to ESP32 Datasheet.

No.NameType 1Function
1GNDPGround
23V3P3.3 V power supply
3I36IGPIO36, ADC1_CH0, RTC_GPIO0
4I37IGPIO37, ADC1_CH1, RTC_GPIO1
5I38IGPIO38, ADC1_CH2, RTC_GPIO2
6I39IGPIO39, ADC1_CH3, RTC_GPIO3
7RSTIReset; High: enable; Low: powers off
8I34IGPIO34, ADC1_CH6, RTC_GPIO4
9I35IGPIO35, ADC1_CH7, RTC_GPIO5
10IO32I/OGPIO32, XTAL_32K_P (32.768 kHz crystal oscillator input), ADC1_CH4, TOUCH9, RTC_GPIO9
11IO33I/OGPIO33, XTAL_32K_N (32.768 kHz crystal oscillator output), ADC1_CH5, TOUCH8, RTC_GPIO8
12IO25I/OGPIO25, DAC_1, ADC2_CH8, RTC_GPIO6, EMAC_RXD0
13IO26I/OGPIO26, DAC_2, ADC2_CH9, RTC_GPIO7, EMAC_RXD1
14IO27I/OGPIO27, ADC2_CH7, TOUCH7, RTC_GPIO17, EMAC_RX_DV
15IO14I/OGPIO14, ADC2_CH6, TOUCH6, RTC_GPIO16, MTMS, HSPICLK, HS2_CLK, SD_CLK, EMAC_TXD2
165VP5 V power supply
17IO12I/OGPIO12, ADC2_CH5, TOUCH5, RTC_GPIO15, MTDI 2, HSPIQ, HS2_DATA2, SD_DATA2, EMAC_TXD3
18IO13I/OGPIO13, ADC2_CH4, TOUCH4, RTC_GPIO14, MTCK, HSPID, HS2_DATA3, SD_DATA3, EMAC_RX_ER
19IO15I/OGPIO15, ADC2_CH3, TOUCH3, RTC_GPIO13, MTDO 2, HSPICS0, HS2_CMD, SD_CMD, EMAC_RXD3
20IO2I/OGPIO2 2, ADC2_CH2, TOUCH2, RTC_GPIO12, HSPIWP, HS2_DATA0, SD_DATA0
21IO0I/OGPIO0 2, ADC2_CH1, TOUCH1, RTC_GPIO11, CLK_OUT1, EMAC_TX_CLK
22IO4I/OGPIO4, ADC2_CH0, TOUCH0, RTC_GPIO10, HSPIHD, HS2_DATA1, SD_DATA1, EMAC_TX_ER
23IO9I/OGPIO9, HS1_DATA2, U1RXD, SD_DATA2
24IO10I/OGPIO10, HS1_DATA3, U1TXD, SD_DATA3
25IO5I/OGPIO5 2, HS1_DATA6, VSPICS0, EMAC_RX_CLK
26IO18I/OGPIO18, HS1_DATA7, VSPICLK
27IO23I/OGPIO23, HS1_STROBE, VSPID
28IO19I/OGPIO19, VSPIQ, U0CTS, EMAC_TXD0
29IO22I/OGPIO22, VSPIWP, U0RTS, EMAC_TXD1
30IO21I/OGPIO21, VSPIHD, EMAC_TX_EN
31TXD0I/OGPIO1, U0TXD, CLK_OUT3, EMAC_RXD2
32RXD0I/OGPIO3, U0RXD, CLK_OUT2

1

P: Power supply; I: Input; O: Output.

2(1,2,3,4,5)

MTDI, GPIO0, GPIO2, MTDO, and GPIO5 are strapping pins. These pins are used to control several chip functions depending on binary voltage values applied to the pins during chip power-up or system reset. For description and application of the strapping pins, please refer to ESP32 Datasheet > Section Strapping Pins.

Pin Layout

ESP32-DevKitM-1 click to enlarge

ESP32-DevKitM-1 (click to enlarge)

Hardware Revision Details

No previous versions available.

For other design documentation for the board, please contact us at [email protected].