0% found this document useful (0 votes)
15 views206 pages

Esp Dev Kits en Master

Uploaded by

Leonel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views206 pages

Esp Dev Kits en Master

Uploaded by

Leonel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 206

esp-dev-kits Documentation

Release master
Espressif Systems
Jul 03, 2024
Table of contents

Table of contents i

1 Supported Development Boards 3


1.1 Related . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.1 ESP32-C3-DevKitC-02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.1.2 ESP32-C3-DevKitM-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.1.3 ESP32-C3-LCDkit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.1.4 ESP32-C6-DevKitC-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
1.1.5 ESP32-C6-DevKitM-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
1.1.6 ESP32-H2-DevKitM-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
1.1.7 ESP8684-DevKitM-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
1.1.8 ESP8684-DevKitC-02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
1.1.9 ESP32-S3-USB-OTG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
1.1.10 ESP32-S3-LCD-EV-Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
1.1.11 ESP32-S3-USB-Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
1.1.12 ESP32-S2-DevKitC-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
1.1.13 ESP32-S2-DevKitM-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
1.1.14 ESP32-LCDKit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
1.1.15 ESP-Prog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
1.1.16 ESP-Module-Prog-1(R) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
1.1.17 ESP-Module-Prog-SUB-01&04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
1.1.18 ESP-Module-Prog-SUB-02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
1.1.19 ESP32-S2-HMI-DevKit-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
1.1.20 ESP32-Sense-Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
1.1.21 ESP32-S2-Touch-Devkit-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
1.1.22 ESP32-MeshKit-Sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
1.1.23 ESP32-S2-Kaluga-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
1.1.24 Contributions Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196

Bibliography 203

Bibliography 203

i
ii
Table of contents

This is the documentation for esp-dev-kits.

Espressif Systems 1 Release master


Submit Document Feedback
Table of contents

Espressif Systems 2 Release master


Submit Document Feedback
Chapter 1

Supported Development Boards

ESP32-H2 Development Boards

ESP32-H2-DevKitM-1

3
Chapter 1. Supported Development Boards

ESP32-C3 Development Boards

ESP32-C3-DevKitC-02 ESP32-C3-DevKitM-1

ESP32-C3-LCDkit

ESP32-C6 Development Boards

ESP32-C6-DevKitC-1 ESP32-C6-DevKitM-1

Espressif Systems 4 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

ESP8684 Development Boards

ESP8684-DevKitM-1 ESP8684-DevKitC-02

ESP32-S3 Development Boards

ESP32-S3-USB-OTG ESP32-S3-LCD-EV-Board

ESP32-S3-USB-Bridge

Espressif Systems 5 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

ESP32-S2 Development Boards

ESP32-S2-DevKitC-1 ESP32-S2-DevKitM-1

ESP32 Development Boards

ESP32-LCDKit

Espressif Systems 6 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Other Boards

ESP-Module-Prog-1 ESP-Module-Prog-1R

ESP-Module-Prog-SUB-02 ESP-Module-Prog-SUB-01&04

ESP-Prog

Espressif Systems 7 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

EOL (End of Life) Boards

ESP32-S2-HMI-DevKit-1 ESP32-Sense-Kit

ESP32-MeshKit-Sense ESP32-S2-Touch-DevKit-1

ESP32-S2-Kaluga-1

1.1 Related
• ESP-IDF Get Started
• ESP-IDF Programming Guide
• ESP Product Selector

Espressif Systems 8 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

1.1.1 ESP32-C3-DevKitC-02

ESP32-C3-DevKitC-02 is an entry-level development board based on ESP32-C3-WROOM-02, a general-purpose


module with 4 MB SPI flash. This board integrates complete Wi-Fi and Bluetooth® Low Energy functions.

ESP32-C3-DevKitC-02

This user guide will help you get started with ESP32-C3-DevKitC-02 and will also provide more in-depth information.
ESP32-C3-DevKitC-02 is an entry-level development board based on ESP32-C3-WROOM-02, a general-purpose
module with 4 MB SPI flash. This board integrates complete Wi-Fi and Bluetooth® Low Energy functions.
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-C3-DevKitC-02 on a breadboard.

Fig. 1: ESP32-C3-DevKitC-02

The document consists of the following major sections:


• Getting Started: Overview of ESP32-C3-DevKitC-02 and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-C3-DevKitC-02’s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-C3-DevKitC-02.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP32-C3-DevKitC-02, instructions on how to do
the initial hardware setup and how to flash firmware onto it.

Description of Components The key components of the board are described in a counter-clockwise direction.

Espressif Systems 9 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 2: ESP32-C3-DevKitC-02 - front

Key Component Description


ESP32-C3-WROOM-02 ESP32-C3-WROOM-02 from Espressif is a powerful and general-purpose
module that offers Wi-Fi and Bluetooth Low Energy coexistence. It has a
PCB antenna and a 4 MB SPI flash.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
5 V Power On LED Turns on when the USB power is connected to the board.
Pin Headers All available GPIO pins (except for the SPI bus for flash) are broken out to the
pin headers on the board. For details, please see Header Block.
Boot Button Download button. Holding down Boot and then pressing Reset 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 in-
terface between a computer and the ESP32-C3 chip.
Reset Button Press this button to restart the system.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
RGB LED Addressable RGB LED, driven by GPIO8.

Start Application Development Before powering up your ESP32-C3-DevKitC-02, please make sure that it is in
good condition with no obvious signs of damage.

Required Hardware
• ESP32-C3-DevKitC-02
• USB 2.0 cable (Standard-A to Micro-B)
• Computer running Windows, Linux, or macOS

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Software Setup Please proceed to ESP-IDF Get Started, which will quickly help you set up the development
environment then flash an application example onto your board.

Espressif Systems 10 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Contents and Packaging

Retail Orders If you order a few samples, each ESP32-C3-DevKitC-02 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 check Espressif Product Ordering Information (PDF)

Hardware Reference

Block Diagram The block diagram below shows the components of ESP32-C3-DevKitC-02 and their intercon-
nections.

Fig. 3: ESP32-C3-DevKitC-02 (click to enlarge)

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• Micro-USB Port, default power supply
• 5V and GND pin headers
• 3V3 and GND pin headers
It is recommended to use the first option: Micro-USB Port.

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in ESP32-C3-DevKitC-02 - front. The numbering is the same as in the
ESP32-C3-DevKitC-02 Schematic (PDF).

Espressif Systems 11 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J1
No. Name TypePage 12, 1
Function
1 G G Ground
2 3V3 P 3.3 V power supply
3 3V3 P 3.3 V power supply
4 RST I CHIP_PU
5 G G Ground
6 4 I/O/T GPIO4, ADC1_CH4, FSPIHD, MTMS
7 5 I/O/T GPIO5, ADC2_CH0, FSPIWP, MTDI
8 6 I/O/T GPIO6, FSPICLK, MTCK
9 7 I/O/T GPIO7, FSPID, MTDO
10 G G Ground
11 8 I/O/T GPIO82 , RGB LED
12 9 I/O/T GPIO9Page 12, 2
13 5V P 5 V power supply
14 5V P 5 V power supply
15 G G Ground

J3
No. Name Type? Function
1 G G Ground
2 0 I/O/T GPIO0, ADC1_CH0, XTAL_32K_P
3 1 I/O/T GPIO1, ADC1_CH1, XTAL_32K_N
4 2 I/O/T GPIO22 , ADC1_CH2, FSPIQ
5 3 I/O/T GPIO3, ADC1_CH3
6 G G Ground
7 10 I/O/T GPIO10, FSPICS0
8 G G Ground
9 RX I/O/T GPIO20, U0RXD
10 TX I/O/T GPIO21, U0TXD
11 G G Ground
12 18 I/O/T GPIO18, USB_D-
13 19 I/O/T GPIO19, USB_D-
14 G G Ground
15 G G Ground

Fig. 4: ESP32-C3-DevKitC-02 Pin Layout (click to enlarge)

Pin Layout
1 P: Power supply; I: Input; O: Output; T: High impedance.
2 GPIO2, GPIO8, and GPIO9 are strapping pins of the ESP32-C3 chip. 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 Section Strapping Pins in ESP32-C3 Datasheet.

Espressif Systems 12 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Hardware Revision Details No previous versions available.

Related Documents
• Build Secure and Cost-effective Connected Devices with ESP32-C3
• ESP32-C3 Datasheet (PDF)
• ESP32-C3-WROOM-02 Datasheet (PDF)
• ESP32-C3-DevKitC-02 Schematic (PDF)
• ESP32-C3-DevKitC-02 PCB Layout (PDF)
• ESP32-C3-DevKitC-02 Dimensions (PDF)
• ESP32-C3-DevKitC-02 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

1.1.2 ESP32-C3-DevKitM-1

ESP32-C3-DevKitM-1 is an entry-level development board based on ESP32-C3-MINI-1, a module named for its
small size. This board integrates complete Wi-Fi and Bluetooth® Low Energy functions.

ESP32-C3-DevKitM-1

This user guide will help you get started with ESP32-C3-DevKitM-1 and will also provide more in-depth information.
ESP32-C3-DevKitM-1 is an entry-level development board based on ESP32-C3-MINI-1, a module named for its
small size. This board integrates complete Wi-Fi and Bluetooth® Low Energy functions.
Most of the I/O pins on the ESP32-C3-MINI-1 module are broken out to the pin headers on both sides of this board
for easy interfacing. Developers can either connect peripherals with jumper wires or mount ESP32-C3-DevKitM-1
on a breadboard.

Fig. 5: ESP32-C3-DevKitM-1

Espressif Systems 13 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

The document consists of the following major sections:


• Getting Started: Overview of ESP32-C3-DevKitM-1 and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-C3-DevKitM-1’s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-C3-DevKitM-1.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP32-C3-DevKitM-1, instructions on how to do
the initial hardware setup and how to flash firmware onto it.

Fig. 6: ESP32-C3-DevKitM-1 - front

Description of Components The key components of the board are described in a counter-clockwise direction.

Key Component Description


ESP32-C3-MINI-1 ESP32-C3-MINI-1 is a general-purpose Wi-Fi and Bluetooth Low Energy
combo module that comes with a PCB antenna. At the core of this module
is ESP32-C3FN4, a chip that has an embedded flash of 4 MB. Since flash is
packaged in the ESP32-C3FN4 chip, rather than integrated into the module,
ESP32-C3-MINI-1 has a smaller package size.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
5 V Power On LED Turns on when the USB power is connected to the board.
Pin Headers All available GPIO pins (except for the SPI bus for flash) are broken out to the
pin headers on the board. For details, please see Header Block.
Boot Button Download button. Holding down Boot and then pressing Reset 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 in-
terface between a computer and the ESP32-C3FN4 chip.
Reset Button Press this button to restart the system.
USB-to-UART Bridge Single USB-UART bridge chip provides transfer rates up to 3 Mbps.
RGB LED Addressable RGB LED, driven by GPIO8.

Espressif Systems 14 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

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

Required Hardware
• ESP32-C3-DevKitM-1
• USB 2.0 cable (Standard-A to Micro-B)
• Computer running Windows, Linux, or macOS

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Software Setup Please proceed to ESP-IDF Get Started, which will quickly help you set up the development
environment then flash an application example onto your board.

Contents and Packaging

Retail Orders If you order one or several samples, each ESP32-C3-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 check Espressif Product Ordering Information (PDF)

Hardware Reference

Block Diagram The block diagram below shows the components of ESP32-C3-DevKitM-1 and their intercon-
nections.

Fig. 7: ESP32-C3-DevKitM-1 (click to enlarge)

Espressif Systems 15 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• Micro-USB Port, default power supply
• 5V and GND pin headers
• 3V3 and GND pin headers
It is recommended to use the first option: Micro-USB Port.

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in ESP32-C3-DevKitM-1 - front. The numbering is the same as in the
ESP32-C3-DevKitM-1 Schematic (PDF).

J1
No. Name Type1 Function
1 GND G Ground
2 3V3 P 3.3 V power supply
3 3V3 P 3.3 V power supply
4 IO2 I/O/T GPIO22 , ADC1_CH2, FSPIQ
5 IO3 I/O/T GPIO3, ADC1_CH3
6 GND G Ground
7 RST I CHIP_PU
8 GND G Ground
9 IO0 I/O/T GPIO0, ADC1_CH0, XTAL_32K_P
10 IO1 I/O/T GPIO1, ADC1_CH1, XTAL_32K_N
11 IO10 I/O/T GPIO10, FSPICS0
12 GND G Ground
13 5V P 5 V power supply
14 5V P 5 V power supply
15 GND G Ground

J3
No. Name Type? Function
1 GND G Ground
2 TX I/O/T GPIO21, U0TXD
3 RX I/O/T GPIO20, U0RXD
4 GND G Ground
5 IO9 I/O/T GPIO92
6 IO8 I/O/T GPIO82 , RGB LED
7 GND G Ground
8 IO7 I/O/T GPIO7, FSPID, MTDO
9 IO6 I/O/T GPIO6, FSPICLK, MTCK
10 IO5 I/O/T GPIO5, ADC2_CH0, FSPIWP, MTDI
11 IO4 I/O/T GPIO4, ADC1_CH4, FSPIHD, MTMS
12 GND G Ground
13 IO18 I/O/T GPIO18, USB_D-
14 IO19 I/O/T GPIO19, USB_D+
15 GND G Ground

Pin Layout
1 P: Power supply; I: Input; O: Output; T: High impedance.
2 GPIO2, GPIO8, and GPIO9 are strapping pins of the ESP32-C3FN4 chip. 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 Section Strapping Pins in ESP32-C3 Datasheet.

Espressif Systems 16 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 8: ESP32-C3-DevKitM-1 Pin Layout (click to enlarge)

Hardware Revision Details No previous versions available.

Related Documents
• Build Secure and Cost-effective Connected Devices with ESP32-C3
• ESP32-C3 Datasheet (PDF)
• ESP32-C3-MINI-1 Datasheet (PDF)
• ESP32-C3-DevKitM-1 Schematic (PDF)
• ESP32-C3-DevKitM-1 PCB Layout (PDF)
• ESP32-C3-DevKitM-1 Dimensions (PDF)
• ESP32-C3-DevKitM-1 Dimensions source file (DXF)
For further design documentation for the board, please contact us at [email protected].

1.1.3 ESP32-C3-LCDkit

ESP32-C3-LCDkit is a development board designed for wildlife protection. It is used to evaluate and verify the
application of the ESP32-C3 screen. And it is composed of mainboard and subboard.

ESP32-C3-LCDkit

This user guide will help you get started with ESP32-C3-LCDkit and will also provide more in-depth information.
The document consists of the following sections:

Espressif Systems 17 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• Board Overview: Overview of the board hardware/software.


• Start Application Development: How to set up hardware/software to develop applications.
• Hardware Reference: More detailed information about the board’s hardware.
• Hardware Revision Details: This is the first revision of this board released.
• Sample Request: How to get a sample board.
• Related Documents: Links to related documentation.

Board Overview ESP32-C3-LCDkit is an ESP32-C3-based evaluation development board with an SPI interface
display. It also has an integrated rotary encoder switch and features screen interaction. Due to its low cost, low power
consumption, and high performance, ESP32-C3 satisfies the basic GUI interaction needs, gaining ground in scenarios
with small screen sizes.

Fig. 9: ESP32-C3-LCDkit with ESP32-C3-MINI-1 Module

Feature List The main features of the board are listed below:
• Module Embedded: ESP32-C3-MINI-1 module with 4 MB flash and 400 KB SRAM
• Display: Compatibility with various subboards and support for displays with I2C and SPI interfaces. Please
refer to LCD Subboards for more information
• Rotary Encoder Switch: Key switches and 360° rotation for on-screen GUI control
• Infrared module: Infrared transmitter and infrared receiver for infrared wireless control
• Audio: On-board audio amplifier and speaker for audio playback
• USB: USB Type-C download/debug

Espressif Systems 18 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Block Diagram The block diagram below shows the components of ESP32-C3-LCDkit and their interconnections.

Fig. 10: ESP32-C3-LCDkit Block Diagram (Click to Enlarge)

Description of Components ESP32-C3-LCDkit is a development board designed for wildlife protection. It con-
tains a mainboard and a subboard.

Mainboard ESP32-C3-LCDkit_MB is the core of the kit, which integrates the ESP32-C3-MINI-1 module and
provides ports for connection to the LCD subboard.

Fig. 11: ESP32-C3-LCDkit - Front (Click to Enlarge)

The key components of the board are described in a clockwise direction.

Espressif Systems 19 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


ESP32-C3-MINI-1 Module ESP32-C3-MINI-1 is a generic Wi-Fi + Bluetooth LE MCU module that is
built around the ESP32-C3 series of SoCs. It is integrated with 4 MB flash and
400 KB SRAM.
UART & RGB Expander I/O Connects the system power supply pins and UART and RGB data pins via a
2.54 mm pitch pin header.
RGB LED Supports configuring the RGB LED display to indicate status or behavior.
Speaker Supports speaker playback through an audio power amplifier.
LCD Display Connector Connects the 1.28”LCD subboard via a 2.54 mm pitch female header.
USB Power Port Provides power to the entire system. It is recommended to use at least a 5V/2A
power adapter to ensure a stable power supply. Used for USB communication
between the PC side and the ESP32-C3-MINI-1 module.
Reset Button Press this button to reset the system.
5V-to-3.3V LDO Low Dropout Regulator (LDO).
3.3 V Power On LED Indicates the status of the system power supply.
EC11 Rotary Encoder Switch Features both a 360° rotary encoder and a key switch to enable control of the
on-screen GUI.
Speaker PA Chip Supports speaker playback.
Infrared RX Receives external infrared signals.
Infrared TX/RX I/O Select Select the infrared RX/TX function via a 2.54 mm pitch pin header and jumper
caps.
Infrared TX Sends out infrared signals.

LCD Subboards The ESP32-C3-LCDkit_DB subboard supports a 1.28”LCD screen with SPI interface and
240x240 resolution. The driver chip used for this screen is GC9A01.

Software Support The ESP32-C3-LCDkit development framework is ESP-IDF. ESP-IDF is a FreeRTOS-based


SoC development framework with a bunch of components including LCD, ADC, RMT, and SPI. An example is
provided for ESP32-C3-LCDkit under the folder Examples . You can configure project options by entering idf.py
menuconfig in the example directory.

Start Application Development This section provides instructions on how to do hardware and software setup and
flash firmware onto the board to develop your own application.

Required Hardware
• 1 x ESP32-C3-LCDkit_MB
• 1 x LCD subboard
• 1 x USB 2.0 cable (standard Type-A to Type-C)
• 1 x PC (Windows, Linux, or macOS)

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Hardware Setup Prepare the board for loading of the first sample application:
1. Connect the LCD subboard to the LCD Display Connector.
2. Plug in the USB cable to connect the PC with the board.
3. The LCD lights up and you can now control GUI through the rotary encoder switch.
Now the board is ready for software setup.

Espressif Systems 20 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 12: ESP32-C3-LCDkit_DB - Front (Click to Enlarge)

Espressif Systems 21 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 13: ESP32-C3-LCDkit_DB - Back (Click to Enlarge)

Software Setup To learn how to quickly set up your development environment, please go to Get Started > Instal-
lation.
For more software information on developing applications, please go to Software Support.

Hardware Reference This section provides more detailed information about the board’s hardware.

GPIO Allocation The table below provides the allocation of GPIOs exposed on terminals of ESP32-C3-MINI-1
module to control specific components or functions of the board.

Table 1: ESP32-C3-MINI-1 GPIO Allocation


Pin Pin Name Function
1 GND Ground
2 GND Ground
3 3V3 3.3 V power supply
4 NC No connection
5 IO2 LCD_D/C
6 IO3 AUDIO_PA
7 NC No connection
8 EN Reset
9 NC No connection
10 NC No connection
11 GND Ground
12 IO0 LCD_SDA
13 IO1 LCD_SCL
continues on next page

Espressif Systems 22 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Table 1 – continued from previous page


Pin Pin Name Function
14 GND Ground
15 NC No connection
16 IO10 ENCODER_A
17 NC No connection
18 IO4 IR_RX/IR_TX
19 IO5 LCD_BL_CTRL
20 IO6 ENCODER_A
21 IO7 LCD_CS
22 IO8 RGB_LED
23 IO9 ENCODER_SW
24 NC No connection
25 NC No connection
26 IO18 USB_DN
27 IO19 USB_DP
28 NC No connection
29 NC No connection
30 RXD0 Reserved
31 TXD0 Reserved
32-35 NC No connection
36-53 GND Ground

Power Distribution The development board is powered via the USB-to-USB port:

Fig. 14: ESP32-C3-LCDkit - USB-to-USB Power Supply

Output system power supply:

Infrared TX/RX Select Since the Infrared TX and Infrared RX modules share the same signal line on the chip, it
is required to short-circuit specific pins in Infrared TX/RX Select Port via jumper caps to choose between
the TX/RX function:

Espressif Systems 23 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 15: ESP32-C3-LCDkit - System Power Supply

Fig. 16: ESP32-C3-LCDkit - Infrared RX Module

Espressif Systems 24 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 17: ESP32-C3-LCDkit - Infrared TX Module

C6 Module Compatibility Design ESP32-C3-LCDkit development board uses the ESP32-C3-MINI-1 module
by default, with resistors R2, R4, R5, and R35 connected to the mainboard:

Fig. 18: ESP32-C3-LCDkit - C3/C6 Resistor Settings

The development board is also designed to be compatible with the ESP32-C6-MINI-1 module, where resistors R2,
R4, R5, and R35 need to be removed and resistors R13 and R14 need to be connected.

Hardware Setup Options

Automatic Download After the development board is powered on, press the rotary encoder switch and Reset
button, then release Reset first and the encoder second, to put the ESP development board into download mode.

Hardware Revision Details


• ESP32-C3-LCD-Ev-Board: This older-version board is an engineering sample and is minimally maintained by
Espressif. For historical documentation for this board, please refer to ESP32-C3-LCD-Ev-Board User Guide.

Sample Request ESP32-C3 is a cost-effective and industry-leading low-power performance solution for building
rotary or small displays driven by an SPI interface. For sample requests, please contact us at [email protected].

Espressif Systems 25 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Related Documents
• ESP32-C3 Datasheet
• ESP32-C3-MINI-1 Datasheet
• ESP Product Selector
• ESP32-C3-LCDkit_MB Schematics
• ESP32-C3-LCDkit_MB PCB Layout
• ESP32-C3-LCDkit_DB Schematics
• ESP32-C3-LCDkit_DB PCB Layout
• ESP32-C6-LCDkit_DB Schematics
• ESP32-C6-LCDkit_DB PCB Layout
• 1.28_TFT_240x240_SPI_Display
• Infrared Transmitter (IR67-21CTR8)
• Infrared Receiver(IRM-H638TTR2)
• Audio Amplifier (NS4150)
• RGB LED (WS2812B)
• 2415 Voice Cavity Horn
For further design documentation for the board, please contact us at [email protected].

ESP32-C3-LCD-Ev-Board
This user guide will help you get started with ESP32-C3-LCD-Ev-Board and will also provide more in-depth infor-
mation.
The document consists of the following sections:
• Board Overview: Overview of the board hardware/software.
• Start Application Development: How to set up hardware/software to develop applications.
• Hardware Reference: More detailed information about the board’s hardware.
• Hardware Revision Details: This is the first revision of this board released.
• Sample Request: How to get a sample board.
• Related Documents: Links to related documentation.

Board Overview ESP32-C3-LCD-Ev-Board is an ESP32-C3-based evaluation development board with an SPI


interface display. It also has an integrated rotary encoder switch and features screen interaction. Due to its low cost,
low power consumption, and high performance, ESP32-C3 satisfies the basic GUI interaction needs, gaining ground
in scenarios with small screen sizes.

Feature List The main features of the board are listed below:
• Module Embedded: ESP32-C3-MINI-1 module with 4 MB flash and 400 KB SRAM
• Display: Compatibility with various subboards and support for displays with I2C and SPI interfaces. Please
refer to LCD Subboards for more information
• Rotary Encoder Switch: Key switches and 360° rotation for on-screen GUI control
• USB: USB Type-C download/debug

Block Diagram The block diagram below shows the components of ESP32-C3-LCD-Ev-Board and their inter-
connections.

Description of Components The ESP32-C3-LCD-Ev-Board development board consists of a mainboard and a


subboard.

Mainboard ESP32-C3-LCD-Ev-Board_MB is the core of the kit, which integrates the ESP32-C3-MINI-1 mod-
ule and provides ports for connection to the LCD subboard.
The key components of the board are described in a counter-clockwise direction.

Espressif Systems 26 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 19: ESP32-C3-LCD-Ev-Board with ESP32-C3-MINI-1 Module

Fig. 20: ESP32-C3-LCD-Ev-Board Block Diagram (Click to Enlarge)

Espressif Systems 27 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 21: ESP32-C3-LCD-Ev-Board - Front (Click to Enlarge)

Key Component Description


ESP32-C3-MINI-1 Module ESP32-C3-MINI-1 is a generic Wi-Fi + Bluetooth LE MCU module that is
built around the ESP32-C3 series of SoCs. It is integrated with 4 MB flash and
400 KB SRAM.
Reset Button Press this button to reset the system.
Reserved IO Connector Connects the system power supply pins and some reserved module pins via a
2.54 mm pitch connector.
LED Supports configuring the RGB LED display to indicate status or behavior.
ESP-Prog Connector Connects the Program interface of ESP-Prog for firmware download and de-
bugging via a 1.27 mm pitch connector.
Power Switch Power Toggle ON/OFF: Toggle ON to power on the board and OFF to power
off the board.
USB-to-USB Port Provides power to the entire system. It is recommended to use at least a 5V/2A
power adapter to ensure a stable power supply. Used for USB communication
between the PC side and the ESP32-C3-MINI-1 module.
Screen Connector Connects the 1.28”LCD subboard via a 2.54 mm pitch connector.
Rotary Encoder Switch Features both a 360° rotary encoder and a key switch to enable control of the
on-screen GUI.
Boot Button Holding down the Boot key and momentarily pressing the Reset key initiates
the firmware upload mode. Then you can upload firmware through the serial
port or USB.

LCD Subboards The ESP32-C3-LCD-Ev-Board_DB subboard supports a 1.28”LCD screen with SPI interface
and 240x240 resolution. The driver chip used for this screen is GC9A01.

Espressif Systems 28 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 22: ESP32-C3-LCD-Ev-Board_DB - Front (Click to Enlarge)

Software Support The ESP32-C3-LCD-Ev-Board development framework is ESP-IDF. ESP-IDF is a FreeRTOS-


based SoC development framework with a bunch of components including LCD, ADC, RMT, and SPI.

Start Application Development This section provides instructions on how to do hardware and software setup and
flash firmware onto the board to develop your own application.

Required Hardware
• 1 x ESP32-C3-LCD-Ev-Board_MB
• 1 x LCD subboard
• 1 x USB 2.0 cable (standard Type-A to Type-C)
• 1 x PC (Windows, Linux, or macOS)

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Hardware Setup Prepare the board for loading of the first sample application:
1. Connect the LCD subboard to the LCD Board Connector.
2. Plug in the USB cable to connect the PC with the board.
3. The LCD lights up and you can start to interact with it.
Now the board is ready for software setup.

Software Setup To learn how to quickly set up your development environment, please go to Get Started > Instal-
lation.

Espressif Systems 29 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 23: ESP32-C3-LCD-Ev-Board_DB - Back (Click to Enlarge)

Espressif Systems 30 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

For more software information on developing applications, please go to Software Support.

Hardware Reference This section provides more detailed information about the board’s hardware.

GPIO Allocation The table below provides the allocation of GPIOs exposed on terminals of ESP32-C3-MINI-1
module to control specific components or functions of the board.

Table 2: ESP32-C3-MINI-1 GPIO Allocation


Pin Pin Name Function
1 GND Ground
2 GND Ground
3 3V3 Power supply
4 NC No connection
5 IO2 Reserved
6 IO3 Reserved
7 NC No connection
8 EN Reset
9 NC No connection
10 NC No connection
11 GND Ground
12 IO0 LCD_SDA
13 IO1 LCD_SCL
14 GND Ground
15 NC No connection
16 IO10 LCD_CS
17 NC No connection
18 IO4 LCD_D/C
19 IO5 LCD_BL_CTRL
20 IO6 ENCODER_B
21 IO7 ENCODER_A
22 IO8 LED
23 IO9 BOOT, ENCODER_SW
24 NC No connection
25 NC No connection
26 IO18 Reserved
27 IO19 Reserved
28 NC No connection
29 NC No connection
30 RXD0 RXD0
31 TXD0 TXD0
32-35 NC No connection
36-53 GND Ground

Power Distribution The development board is powered via the USB-to-USB port:
Output system power supply:

Hardware Setup Options

Automatic Download There are two ways to put the development board into download mode.
• Press the Boot and Reset buttons. Release the Reset button first and then the Boot button.
• Controls the status of the EN and IO9 pins of the ESP development board by ESP-Prog.

Espressif Systems 31 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 24: ESP32-C3-LCD-Ev-Board - USB-to-USB Power Supply

Fig. 25: ESP32-C3-LCD-Ev-Board - System Power Supply

Espressif Systems 32 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Hardware Revision Details No previous revisions.

Sample Request Not available.

Related Documents
• ESP32-C3 Datasheet
• ESP32-C3-MINI-1 Datasheet
• ESP Product Selector
• ESP32-C3-LCD_EV_Board-MB Schematics
• ESP32-C3-LCD_EV_Board-MB PCB Layout
• ESP32-C3-LCD_EV_Board-DB Schematics
• ESP32-C3-LCD_EV_Board-DB PCB Layout
For further design documentation for the board, please contact us at [email protected].

1.1.4 ESP32-C6-DevKitC-1

ESP32-C6-DevKitC-1 is an entry-level development board based on ESP32-C6-WROOM-1(U), a general-purpose


module with a 8 MB SPI flash. This board integrates complete Wi-Fi, Bluetooth LE, Zigbee, and Thread functions.

ESP32-C6-DevKitC-1 v1.2

The older version: ESP32-C6-DevKitC-1 v1.1


This user guide will help you get started with ESP32-C6-DevKitC-1 and will also provide more in-depth information.
ESP32-C6-DevKitC-1 is an entry-level development board based on ESP32-C6-WROOM-1(U), a general-purpose
module with a 8 MB SPI flash. This board integrates complete Wi-Fi, Bluetooth LE, Zigbee, and Thread functions.
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-C6-DevKitC-1 on a breadboard.
The document consists of the following major sections:
• Getting Started: Overview of ESP32-C6-DevKitC-1 and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-C6-DevKitC-1’s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-C6-DevKitC-1.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP32-C6-DevKitC-1, instructions on how to do the
initial hardware setup and how to flash firmware onto it.

Description of Components The key components of the board are described in a clockwise direction.

Espressif Systems 33 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 26: ESP32-C6-DevKitC-1

Fig. 27: ESP32-C6-DevKitC-1 - front

Espressif Systems 34 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


ESP32-C6-WROOM-1 or ESP32-C6-WROOM-1 and ESP32-C6-WROOM-1U are general-purpose
ESP32-C6-WROOM-1U modules supporting Wi-Fi 6 in 2.4 GHz band, Bluetooth 5, and IEEE 802.15.4
(Zigbee 3.0 and Thread 1.3). They are built around the ESP32-C6 chip, and
comes with a 8 MB SPI flash. ESP32-C6-WROOM-1 uses on-board PCB an-
tenna, whereas ESP32-C6-WROOM-1U uses external antenna connector. For
more information, see ESP32-C6-WROOM-1 Datasheet.
Pin Header All available GPIO pins (except for the SPI bus for flash) are broken out to the
pin headers on the board.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
3.3 V Power On LED Turns on when the USB power is connected to the board.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
ESP32-C6 USB Type-C Port The USB Type-C port on the ESP32-C6 chip compliant with USB 2.0 full
speed. It is capable of up to 12 Mbps transfer speed (Note that this port does
not support the faster 480 Mbps high-speed transfer mode). This port is used
for power supply to the board, for flashing applications to the chip, for com-
munication with the chip using USB protocols, as well as for JTAG debugging.
Boot Button Download button. Holding down Boot and then pressing Reset initiates
Firmware Download mode for downloading firmware through the serial port.
Reset Button Press this button to restart the system.
USB Type-C to UART Port Used for power supply to the board, for flashing applications to the chip, as
well as the communication with the ESP32-C6 chip via the on-board USB-to-
UART bridge.
RGB LED Addressable RGB LED, driven by GPIO8.
J5 Used for current measurement. See details in Section Current Measurement.

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

Required Hardware
• ESP32-C6-DevKitC-1
• USB-A to USB-C cable
• Computer running Windows, Linux, or macOS

Note: Be sure to use a good quality USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Software Setup Please proceed to ESP-IDF Get Started, which will quickly help you set up the development
environment then flash an application example onto your board.

Contents and Packaging

Retail orders If you order a few samples, each ESP32-C6-DevKitC-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/company/contact/buy-a-sample.

Wholesale Orders If you order in bulk, the boards come in large cardboard boxes.
For wholesale orders, please check Espressif Product Ordering Information (PDF)

Espressif Systems 35 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Hardware Reference

Block Diagram The block diagram below shows the components of ESP32-C6-DevKitC-1 and their interconnec-
tions.

Fig. 28: ESP32-C6-DevKitC-1 (click to enlarge)

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• USB Type-C to UART Port and ESP32-C6 USB Type-C Port (either one or both), default power supply
(recommended)
• 5V and GND pin headers
• 3V3 and GND pin headers

Current Measurement The J5 headers on ESP32-C6-DevKitC-1 (see J5 in Figure ESP32-C6-DevKitC-1 - front)


can be used for measuring the current drawn by the ESP32-C6-WROOM-1(U) module:
• Remove the jumper: Power supply between the module and peripherals on the board is cut off. To measure
the module’s current, connect the board with an ammeter via J5 headers.
• Apply the jumper (factory default): Restore the board’s normal functionality.

Note: When using 3V3 and GND pin headers to power the board, please remove the J5 jumper, and connect an
ammeter in series to the external circuit to measure the module’s current.

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in Figure ESP32-C6-DevKitC-1 - front. The numbering is the same as
in the ESP32-C6-DevKitC-1 Schematic (PDF).

Espressif Systems 36 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J1
No. Name TypePage 37, 1
Function
1 3V3 P 3.3 V power supply
2 RST I High: enables the chip; Low: disables the chip.
3 4 I/O/T MTMS3 , GPIO4, LP_GPIO4, LP_UART_RXD, ADC1_CH4, FSPIHD
4 5 I/O/T MTDIPage 37, 3 , GPIO5, LP_GPIO5, LP_UART_TXD, ADC1_CH5,
FSPIWP
5 6 I/O/T MTCK, GPIO6, LP_GPIO6, LP_I2C_SDA, ADC1_CH6, FSPICLK
6 7 I/O/T MTDO, GPIO7, LP_GPIO7, LP_I2C_SCL, FSPID
7 0 I/O/T GPIO0, XTAL_32K_P, LP_GPIO0, LP_UART_DTRN, ADC1_CH0
8 1 I/O/T GPIO1, XTAL_32K_N, LP_GPIO1, LP_UART_DSRN, ADC1_CH1
9 8 I/O/T GPIO82Page 37, 3
10 10 I/O/T GPIO10
11 11 I/O/T GPIO11
12 2 I/O/T GPIO2, LP_GPIO2, LP_UART_RTSN, ADC1_CH2, FSPIQ
13 3 I/O/T GPIO3, LP_GPIO3, LP_UART_CTSN, ADC1_CH3
14 5V P 5 V power supply
15 G G Ground
16 NC – No connection

J3
No. Name Type Function
1 G G Ground
2 TX I/O/T U0TXD, GPIO16, FSPICS0
3 RX I/O/T U0RXD, GPIO17, FSPICS1
4 15 I/O/T GPIO153
5 23 I/O/T GPIO23, SDIO_DATA3
6 22 I/O/T GPIO22, SDIO_DATA2
7 21 I/O/T GPIO21, SDIO_DATA1, FSPICS5
8 20 I/O/T GPIO20, SDIO_DATA0, FSPICS4
9 19 I/O/T GPIO19, SDIO_CLK, FSPICS3
10 18 I/O/T GPIO18, SDIO_CMD, FSPICS2
11 9 I/O/T GPIO93
12 G G Ground
13 13 I/O/T GPIO13, USB_D+
14 12 I/O/T GPIO12, USB_D-
15 G G Ground
16 NC – No connection

Pin Layout

Hardware Revision Details

ESP32-C6-DevKitC-1 v1.2
• For boards with the PW number of and after PW-2023-02-0139 (on and after February 2023), J5 is changed
from straight headers to curved headers.
• For boards with the PW number of and after PW-2023-07-XXXX (on and after July 2023), multi-point cal-
ibration is performed on ADC instead of two-point calibration, and the measurement range and accuracy are
1 P: Power supply; I: Input; O: Output; T: High impedance.
3 MTMS, MTDI, GPIO8, GPIO9, and GPIO15 are strapping pins of the ESP32-C6 chip. 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-C6 Datasheet > Section Strapping Pins.
2 Used to drive the RGB LED.

Espressif Systems 37 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 29: ESP32-C6-DevKitC-1 Pin Layout (click to enlarge)

illustrated in ESP32-C6 Datasheet > Section ADC Characteristics. For boards with eariler PW number, please
ask our sales team to provide the actual range and accuracy according to batch.
• For boards with the PW number of and after PW-2023-07-0440 (on and after July 2023), to optimize the
WS2812 driving circuit, the resistance of R29 is updated from 4.7 kΩ to 10 kΩ, and the resistance of R6 is
updated from 10 kΩ to 3.3 kΩ. For details, see ESP32-C6-DevKitC-1 Schematic v1.3.
• For boards with the PW number of and after PW-2024-03-0595 and PW-2024-03-0921 (on and after March
2024), to optimize the circuit, the resistance of R7 on UART_RXD is updated from 0 Ω to 470 Ω. For details,
see ESP32-C6-DevKitC-1 Schematic v1.4.

Note: The PW number can be found in the product label on the large cardboard boxes for wholesale orders.

ESP32-C6-DevKitC-1 v1.1 Initial release

Related Documents
• ESP32-C6 Datasheet (PDF)
• ESP32-C6-WROOM-1 Datasheet (PDF)
• ESP32-C6-DevKitC-1 Schematic v1.4 (PDF) - Applies to boards of and after PW-2024-03-0595 and PW-
2024-03-0921
• ESP32-C6-DevKitC-1 Schematic v1.3 (PDF) - Applies to boards of and after PW-2023-07-0440
• ESP32-C6-DevKitC-1 Schematic v1.2 (PDF) - Applies to boards before PW-2023-07-0440
• ESP32-C6-DevKitC-1 PCB Layout (PDF)
• ESP32-C6-DevKitC-1 Dimensions (PDF)
• ESP32-C6-DevKitC-1 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

ESP32-C6-DevKitC-1 v1.1
New version available: ESP32-C6-DevKitC-1 v1.2
This user guide will help you get started with ESP32-C6-DevKitC-1 and will also provide more in-depth information.
ESP32-C6-DevKitC-1 is an entry-level development board based on ESP32-C6-WROOM-1, a general-purpose
module with a 8 MB SPI flash. This board integrates complete Wi-Fi, Bluetooth LE, Zigbee, and Thread func-
tions.
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-C6-DevKitC-1 on a breadboard.
The document consists of the following major sections:
• Getting Started: Overview of ESP32-C6-DevKitC-1 and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-C6-DevKitC-1’s hardware.

Espressif Systems 38 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 30: ESP32-C6-DevKitC-1

Espressif Systems 39 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-C6-DevKitC-1.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP32-C6-DevKitC-1, instructions on how to do the
initial hardware setup and how to flash firmware onto it.

Fig. 31: ESP32-C6-DevKitC-1 - front

Description of Components The key components of the board are described in a clockwise direction.

Espressif Systems 40 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


ESP32-C6-WROOM-1 ESP32-C6-WROOM-1 is a general-purpose module supporting Wi-Fi 6 in
2.4 GHz band, Bluetooth 5, and IEEE 802.15.4 (Zigbee 3.0 and Thread 1.3).
This module is built around the ESP32-C6 chip, and comes with a PCB an-
tenna and a 8 MB SPI flash. For more information, see ESP32-C6-WROOM-1
Datasheet.
Pin Header All available GPIO pins (except for the SPI bus for flash) are broken out to the
pin headers on the board.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
3.3 V Power On LED Turns on when the USB power is connected to the board.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
ESP32-C6 USB Type-C Port The USB Type-C port on the ESP32-C6 chip compliant with USB 2.0 full
speed. It is capable of up to 12 Mbps transfer speed (Note that this port does
not support the faster 480 Mbps high-speed transfer mode). This port is used
for power supply to the board, for flashing applications to the chip, for com-
munication with the chip using USB protocols, as well as for JTAG debugging.
Boot Button Download button. Holding down Boot and then pressing Reset initiates
Firmware Download mode for downloading firmware through the serial port.
Reset Button Press this button to restart the system.
USB Type-C to UART Port Used for power supply to the board, for flashing applications to the chip, as
well as the communication with the ESP32-C6 chip via the on-board USB-to-
UART bridge.
RGB LED Addressable RGB LED, driven by GPIO8.
J5 Used for current measurement. See details in Section Current Measurement.

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

Required Hardware
• ESP32-C6-DevKitC-1
• USB-A to USB-C cable
• Computer running Windows, Linux, or macOS

Note: Be sure to use a good quality USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Software Setup Please proceed to ESP-IDF Get Started, which will quickly help you set up the development
environment then flash an application example onto your board.

Contents and Packaging

Retail orders If you order a few samples, each ESP32-C6-DevKitC-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/company/contact/buy-a-sample.

Wholesale Orders If you order in bulk, the boards come in large cardboard boxes.
For wholesale orders, please check Espressif Product Ordering Information (PDF)

Hardware Reference

Espressif Systems 41 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Block Diagram The block diagram below shows the components of ESP32-C6-DevKitC-1 and their interconnec-
tions.

Fig. 32: ESP32-C6-DevKitC-1 (click to enlarge)

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• USB Type-C to UART Port and ESP32-C6 USB Type-C Port (either one or both), default power supply
(recommended)
• 5V and GND pin headers
• 3V3 and GND pin headers

Current Measurement The J5 headers on ESP32-C6-DevKitC-1 (see J5 in Figure ESP32-C6-DevKitC-1 - front)


can be used for measuring the current drawn by the ESP32-C6-WROOM-1 module:
• Remove the jumper: Power supply between the module and peripherals on the board is cut off. To measure
the module’s current, connect the board with an ammeter via J5 headers.
• Apply the jumper (factory default): Restore the board’s normal functionality.

Note: When using 3V3 and GND pin headers to power the board, please remove the J5 jumper, and connect an
ammeter in series to the external circuit to measure the module’s current.

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in Figure ESP32-C6-DevKitC-1 - front. The numbering is the same as
in the ESP32-C6-DevKitC-1 Schematic (PDF).

Espressif Systems 42 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J1
No. Name TypePage 43, 1
Function
1 3V3 P 3.3 V power supply
2 RST I High: enables the chip; Low: disables the chip.
3 4 I/O/T MTMS3 , GPIO4, LP_GPIO4, LP_UART_RXD, ADC1_CH4, FSPIHD
4 5 I/O/T MTDIPage 43, 3 , GPIO5, LP_GPIO5, LP_UART_TXD, ADC1_CH5,
FSPIWP
5 6 I/O/T MTCK, GPIO6, LP_GPIO6, LP_I2C_SDA, ADC1_CH6, FSPICLK
6 7 I/O/T MTDO, GPIO7, LP_GPIO7, LP_I2C_SCL, FSPID
7 0 I/O/T GPIO0, XTAL_32K_P, LP_GPIO0, LP_UART_DTRN, ADC1_CH0
8 1 I/O/T GPIO1, XTAL_32K_N, LP_GPIO1, LP_UART_DSRN, ADC1_CH1
9 8 I/O/T GPIO82Page 43, 3
10 10 I/O/T GPIO10
11 11 I/O/T GPIO11
12 2 I/O/T GPIO2, LP_GPIO2, LP_UART_RTSN, ADC1_CH2, FSPIQ
13 3 I/O/T GPIO3, LP_GPIO3, LP_UART_CTSN, ADC1_CH3
14 5V P 5 V power supply
15 G G Ground
16 NC – No connection

J3
No. Name Type Function
1 G G Ground
2 TX I/O/T U0TXD, GPIO16, FSPICS0
3 RX I/O/T U0RXD, GPIO17, FSPICS1
4 15 I/O/T GPIO153
5 23 I/O/T GPIO23, SDIO_DATA3
6 22 I/O/T GPIO22, SDIO_DATA2
7 21 I/O/T GPIO21, SDIO_DATA1, FSPICS5
8 20 I/O/T GPIO20, SDIO_DATA0, FSPICS4
9 19 I/O/T GPIO19, SDIO_CLK, FSPICS3
10 18 I/O/T GPIO18, SDIO_CMD, FSPICS2
11 9 I/O/T GPIO93
12 G G Ground
13 13 I/O/T GPIO13, USB_D+
14 12 I/O/T GPIO12, USB_D-
15 G G Ground
16 NC – No connection

Pin Layout

Hardware Revision Details No previous versions available.

Related Documents
• ESP32-C6 Datasheet (PDF)
• ESP32-C6-WROOM-1 Datasheet (PDF)
• ESP32-C6-DevKitC-1 Schematic (PDF)
• ESP32-C6-DevKitC-1 PCB Layout (PDF)
1 P: Power supply; I: Input; O: Output; T: High impedance.
3 MTMS, MTDI, GPIO8, GPIO9, and GPIO15 are strapping pins of the ESP32-C6 chip. 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-C6 Datasheet > Section Strapping Pins.
2 Used to drive the RGB LED.

Espressif Systems 43 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 33: ESP32-C6-DevKitC-1 Pin Layout (click to enlarge)

• ESP32-C6-DevKitC-1 Dimensions (PDF)


• ESP32-C6-DevKitC-1 Dimensions source file (DXF)
For further design documentation for the board, please contact us at [email protected].

1.1.5 ESP32-C6-DevKitM-1

ESP32-C6-DevKitM-1 is an entry-level development board based on ESP32-C6-MINI-1(U), a general-purpose mod-


ule with a 4 MB SPI flash. This board integrates complete Wi-Fi, Bluetooth LE, Zigbee, and Thread functions.

ESP32-C6-DevKitM-1

This user guide will help you get started with ESP32-C6-DevKitM-1 and will also provide more in-depth information.
ESP32-C6-DevKitM-1 is an entry-level development board based on ESP32-C6-MINI-1(U), a general-purpose mod-
ule with a 4 MB SPI flash in the chip’s package. This board integrates complete Wi-Fi, Bluetooth LE, Zigbee, and
Thread functions.
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-C6-DevKitM-1 on a breadboard.
The document consists of the following major sections:
• Getting Started: Overview of ESP32-C6-DevKitM-1 and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-C6-DevKitM-1’s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-C6-DevKitM-1.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP32-C6-DevKitM-1, instructions on how to do
the initial hardware setup and how to flash firmware onto it.

Description of Components The key components of the board are described in a clockwise direction.

Espressif Systems 44 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 34: ESP32-C6-DevKitM-1

Fig. 35: ESP32-C6-DevKitM-1 - front

Espressif Systems 45 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


ESP32-C6-MINI-1 or ESP32- ESP32-C6-MINI-1 and ESP32-C6-MINI-1U are general-purpose modules
C6-MINI-1U supporting Wi-Fi 6 in 2.4 GHz band, Bluetooth 5, and IEEE 802.15.4 (Zig-
bee 3.0 and Thread 1.3). ESP32-C6-MINI-1 comes with an on-board PCB
antenna, whereas ESP32-C6-MINI-1U comes with an external antenna con-
nector. The module is built around the ESP32-C6FH4 chip, which has a 4 MB
flash in the chip’s package. For more information, see ESP32-C6-MINI-1
Datasheet.
Pin Header All available GPIO pins (except for the SPI bus for flash) are broken out to the
pin headers on the board.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
3.3 V Power On LED Turns on when the USB power is connected to the board.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
ESP32-C6 USB Type-C Port The USB Type-C port on the ESP32-C6 chip compliant with USB 2.0 full
speed. It is capable of up to 12 Mbps transfer speed (Note that this port does
not support the faster 480 Mbps high-speed transfer mode). This port is used
for power supply to the board, for flashing applications to the chip, for com-
munication with the chip using USB protocols, as well as for JTAG debugging.
Boot Button Download button. Holding down Boot and then pressing Reset initiates
Firmware Download mode for downloading firmware through the serial port.
Reset Button Press this button to restart the system.
USB Type-C to UART Port Used for power supply to the board, for flashing applications to the chip, as
well as the communication with the ESP32-C6 chip via the on-board USB-to-
UART bridge.
RGB LED Addressable RGB LED, driven by GPIO8.
J5 Used for current measurement. See details in Section Current Measurement.

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

Required Hardware
• ESP32-C6-DevKitM-1
• USB-A to USB-C cable
• Computer running Windows, Linux, or macOS

Note: Be sure to use a good quality USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Software Setup Please proceed to ESP-IDF Get Started, which will quickly help you set up the development
environment then flash an application example onto your board.

Contents and Packaging

Retail orders If you order a few samples, each ESP32-C6-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/company/contact/buy-a-sample.

Wholesale Orders If you order in bulk, the boards come in large cardboard boxes.
For wholesale orders, please check Espressif Product Ordering Information (PDF)

Espressif Systems 46 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Hardware Reference

Block Diagram The block diagram below shows the components of ESP32-C6-DevKitM-1 and their intercon-
nections.

Fig. 36: ESP32-C6-DevKitM-1 (click to enlarge)

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• USB Type-C to UART Port and ESP32-C6 USB Type-C Port (either one or both), default power supply
(recommended)
• 5V and GND pin headers
• 3V3 and GND pin headers

Current Measurement The J5 headers on ESP32-C6-DevKitM-1 (see J5 in Figure ESP32-C6-DevKitM-1 - front)


can be used for measuring the current drawn by the ESP32-C6-MINI-1(U) module:
• Remove the jumper: Power supply between the module and peripherals on the board is cut off. To measure
the module’s current, connect the board with an ammeter via J5 headers.
• Apply the jumper (factory default): Restore the board’s normal functionality.

Note: When using 3V3 and GND pin headers to power the board, please remove the J5 jumper, and connect an
ammeter in series to the external circuit to measure the module’s current.

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in Figure ESP32-C6-DevKitM-1 - front. The numbering is the same as
in the ESP32-C6-DevKitM-1 Schematic (PDF).

Espressif Systems 47 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J1
No. Name TypePage 48, 1
Function
1 3V3 P 3.3 V power supply
2 RST I High: Power up; Low: Power down.
3 2 I/O/T GPIO2, LP_GPIO2, LP_UART_RTSN, ADC1_CH2, FSPIQ
4 3 I/O/T GPIO3, LP_GPIO3, LP_UART_CTSN, ADC1_CH3
5 4 I/O/T MTMS3 , GPIO4, LP_GPIO4, LP_UART_RXD, ADC1_CH4, FSPIHD
6 5 I/O/T MTDIPage 48, 3 , GPIO5, LP_GPIO5, LP_UART_TXD, ADC1_CH5,
FSPIWP
7 0/N I/O/T GPIO0, XTAL_32K_P, LP_GPIO0, LP_UART_DTRN, ADC1_CH0
8 1/N I/O/T GPIO1, XTAL_32K_N, LP_GPIO1, LP_UART_DSRN, ADC1_CH1
9 8 I/O/T GPIO82Page 48, 3
10 6 I/O/T MTCK, GPIO6, LP_GPIO6, LP_I2C_SDA, ADC1_CH6, FSPICLK
11 7 I/O/T MTDO, GPIO7, LP_GPIO7, LP_I2C_SCL, FSPID
12 14 I/O/T GPIO14
13 G G Ground
14 5V P 5 V power supply
15 G G Ground

J3
No. Name Type Function
1 G G Ground
2 TX I/O/T U0TXD, GPIO16, FSPICS0
3 RX I/O/T U0RXD, GPIO17, FSPICS1
4 23 I/O/T GPIO23, SDIO_DATA3
5 22 I/O/T GPIO22, SDIO_DATA2
6 21 I/O/T GPIO21, SDIO_DATA1, FSPICS5
7 20 I/O/T GPIO20, SDIO_DATA0, FSPICS4
8 19 I/O/T GPIO19, SDIO_CLK, FSPICS3
9 18 I/O/T GPIO18, SDIO_CMD, FSPICS2
10 15 I/O/T GPIO153
11 9 I/O/T GPIO93
12 G G Ground
13 13 I/O/T GPIO13, USB_D+
14 12 I/O/T GPIO12, USB_D-
15 G G Ground

Fig. 37: ESP32-C6-DevKitM-1 Pin Layout (click to enlarge)


1 P: Power supply; I: Input; O: Output; T: High impedance.
3 MTMS, MTDI, GPIO8, GPIO9, and GPIO15 are strapping pins of the ESP32-C6 chip. 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-C6 Datasheet > Section Strapping Pins.
2 Used to drive the RGB LED.

Espressif Systems 48 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Pin Layout

Hardware Revision Details


• For boards with the PW number of and after PW-2023-06-XXXX (on and after June 2023), multi-point
calibration is performed on ADC instead of two-point calibration, and the measurement range and accuracy
are illustrated in ESP32-C6 Datasheet > Section ADC Characteristics. For boards with eariler PW number,
please ask our sales team to provide the actual range and accuracy according to batch.

Note: The PW number can be found in the product label on the large cardboard boxes for wholesale orders.

Related Documents
• ESP32-C6 Datasheet (PDF)
• ESP32-C6-MINI-1 Datasheet (PDF)
• ESP32-C6-DevKitM-1 Schematic (PDF)
• ESP32-C6-DevKitM-1 PCB Layout (PDF)
• ESP32-C6-DevKitM-1 Dimensions (PDF)
• ESP32-C6-DevKitM-1 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

1.1.6 ESP32-H2-DevKitM-1

ESP32-H2-DevKitM-1 is an entry-level development board based on Bluetooth® Low Energy and IEEE 802.15.4
combo module ESP32-H2-MINI-1 or ESP32-H2-MINI-1U. This user guide will help you get started with ESP32-
H2-DevKitM-1 and will also provide more in-depth information.

ESP32-H2-DevKitM-1

This user guide will help you get started with ESP32-H2-DevKitM-1 and will also provide more in-depth information.
ESP32-H2-DevKitM-1 is an entry-level development board based on Bluetooth® Low Energy and IEEE 802.15.4
combo module ESP32-H2-MINI-1 or ESP32-H2-MINI-1U.
Most of the I/O pins on the ESP32-H2-MINI-1/1U module are broken out to the pin headers on both sides of
this board for easy interfacing. Developers can either connect peripherals with jumper wires or mount ESP32-H2-
DevKitM-1 on a breadboard.
The document consists of the following major sections:
• Getting Started: Overview of ESP32-H2-DevKitM-1 and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-H2-DevKitM-1’s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-H2-DevKitM-1.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP32-H2-DevKitM-1, instructions on how to do
the initial hardware setup and how to flash firmware onto it.

Espressif Systems 49 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 38: ESP32-H2-DevKitM-1 (with ESP32-H2-MINI-1 on board)

Fig. 39: ESP32-H2-DevKitM-1 - Front

Espressif Systems 50 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Description of Components The description of components starts from the ESP32-H2-MINI-1/1U module on
the left side and then goes clockwise.

Key Component Description


ESP32-H2-MINI-1 ESP32-H2-MINI-1/1U, with ESP32-H2 inside which integrates a 2.4 GHz transceiver
or ESP32-H2- compliant with Bluetooth ® Low Energy and IEEE 802.15.4-based technologies, sup-
MINI-1U porting Bluetooth 5 (LE), Bluetooth mesh, Thread, Matter, and Zigbee. This module is
specially designed for all kinds of low-power IoT applications.
Pin Headers All available GPIO pins (except for the SPI bus for flash) are broken out to the pin headers
on the board. For details, please see Header Block.
3.3 V Power On Turns on when the USB power is connected to the board.
LED
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
USB-to-UART Single USB-UART bridge chip provides transfer rates up to 3 Mbps.
Bridge
ESP32-H2 USB The USB Type-C port on the ESP32-H2 chip compliant with USB 2.0 full speed. It is
Type-C Port capable of up to 12 Mbps transfer speed (Note that this port does not support the faster
480 Mbps high-speed transfer mode).
Boot Button Download button. Holding down Boot and then pressing Reset initiates Firmware Down-
load mode for downloading firmware through the serial port.
Reset Button Press this button to restart the system.
USB Type-C to Power supply for the board as well as the communication interface between a computer
UART Port and the ESP32-H2 chip via USB-to-UART bridge.
RGB LED Addressable RGB LED, driven by GPIO8.
J5 Used for current measurement. See details in Section Current Measurement.
32.768 kHz Crystal ESP32-H2 supports an external 32.768 kHz crystal to act as the Low-Power clock. This
[A] external Low-Power clock source enhances timing accuracy and consequently decreases
average power consumption, without impacting functionality.

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

Required Hardware
• ESP32-H2-DevKitM-1
• USB-A to USB-C (Type C) cable
• Computer running Windows, Linux, or macOS

Note: Some USB cables can only be used for charging, not data transmission and programming. Please choose
accordingly.

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

Contents and Packaging

Ordering Information The development board has a variety of variants to choose from, as shown in the table
below.

Espressif Systems 51 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Ordering Code On-board Module Flash PSRAMAntenna


[B]
ESP32-H2-DevKitM-1-N4 ESP32-H2-MINI-1 4 MB 0 MB PCB on-board
antenna
ESP32-H2-DevKitM-1U-N4 ESP32-H2-MINI-1U 4 MB 0 MB External antenna
connector

Retail Orders If you order one or several samples, each ESP32-H2-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/company/contact/buy-a-sample.

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.

Hardware Reference

Block Diagram The block diagram below shows the components of ESP32-H2-DevKitM-1 and their intercon-
nections.

Fig. 40: ESP32-H2-DevKitM-1

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• USB Type-C to UART port, default power supply
• 5V and GND pin headers
• 3V3 and GND pin headers

Espressif Systems 52 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Current Measurement The J5 headers on ESP32-H2-DevKitM-1 (see J5 in Figure ESP32-H2-DevKitM-1 - Front)


can be used for measuring the current drawn by the ESP32-H2-MINI-1/1U module:
• Remove the jumper: Power supply between the module and peripherals on the board is cut off. To measure
the module’s current, connect the board with an ammeter via J5 headers.
• Apply the jumper (factory default): Restore the board’s normal functionality.

Note: When using 3V3 and GND pin headers to power the board, please remove the J5 jumper, and connect an
ammeter in series to the external circuit to measure the module’s current.

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in Pin Layout. The numbering is the same as in the ESP32-H2-
DevKitM-1 Schematic. (see attached PDF).

J1

No. Name Type1 Function


1 3V3 P 3.3 V power supply
2 RST I High: enables the chip; Low: the chip powers off; connected to the internal pull-up
resistor by default
3 0 I/O/T GPIO0, FSPIQ
4 1 I/O/T GPIO1, FSPICS0, ADC1_CH0
5 2 I/O/T GPIO2, FSPIWP, ADC1_CH1, MTMS
6 3 I/O/T GPIO3, FSPIHD, ADC1_CH2, MTDO
7 13/N I/O/T GPIO13, XTAL_32K_P2
8 14/N I/O/T GPIO14, XTAL_32K_N3
9 4 I/O/T GPIO4, FSPICLK, ADC1_CH3, MTCK
10 5 I/O/T GPIO5, FSPID, ADC1_CH4, MTDI
11 NC – NC
12 VBAT P 3.3 V power supply or battery
13 G P Ground
14 5V P 5 V power supply
15 G P Ground

J3
No. Name Type1 Function
1 G P Ground
2 TX I/O/T GPIO24, FSPICS2, U0TXD
3 RX I/O/T GPIO23, FSPICS1, U0RXD
4 10 I/O/T GPIO10, ZCD0
5 11 I/O/T GPIO11, ZCD1
6 25 I/O/T GPIO25, FSPICS3
7 12 I/O/T GPIO12
8 8 I/O/T GPIO84 , LOG
9 22 I/O/T GPIO22
10 G P Ground
11 9 I/O/T GPIO9, BOOT
12 G P Ground
13 27 I/O/T GPIO27, FSPICS5, USB_D+
14 26 I/O/T GPIO26, FSPICS4, USB_D-
15 G P Ground
1 P: Power supply; I: Input; O: Output; T: High impedance.
2 When connected to XTAL_32K_P inside the module, this pin cannot be used for other purpose.
3 When connected to XTAL_32K_N inside the module, this pin cannot be used for other purpose.

Espressif Systems 53 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

For more information about pin description, please see ESP32-H2 Datasheet.

Fig. 41: ESP32-H2-DevKitM-1 Pin Layout

Pin Layout

Hardware Revision Details


• For boards with the PW number of and after PW-2024-02-0362 (on and after February 2024), the 32.768
kHz crystal is populated by default, while the series resistor connected here to the surrounding pins is updated
to not populated. To optimize the circuit, the series resistor R7 on the UART_RXD has been updated to 470
Ω.

Note: The PW number can be found in the product label on the large cardboard boxes for wholesale orders.

Related Documents
• ESP32-H2 Datasheet (PDF)
• ESP32-H2-MINI-1/1U Datasheet (PDF)
• ESP32-H2-DevKitM-1 Schematics v1.3 (Applies to boards of and after PW-2024-02-0362) (PDF)
• ESP32-H2-DevKitM-1 Schematics v1.2 (Applies to boards before PW-2024-02-0362) (PDF)
• ESP32-H2-DevKitM-1 PCB Layout (PDF)
• ESP32-H2-DevKitM-1 Dimensions (PDF)
• ESP32-H2-DevKitM-1 Dimensions source file (DXF)
For further design documentation for the board, please contact us at [email protected].

1.1.7 ESP8684-DevKitM-1

The ESP8684-DevKitM-1 is an entry-level development board based on ESP8684-MINI-1, a general-purpose mod-


ule with 1 MB/2 MB/4 MB SPI flash. This board integrates complete Wi-Fi and Bluetooth LE functions.

ESP8684-DevKitM-1 v1.1

The older version: ESP8684-DevKitM-1.


This user guide will help you get started with ESP8684-DevKitM-1 and will also provide more in-depth information.
4 Used for driving RGB LED inside the module.

Espressif Systems 54 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

The ESP8684-DevKitM-1 is an entry-level development board based on ESP8684-MINI-1, a general-purpose mod-


ule with 1 MB/2 MB/4 MB SPI flash. This board integrates complete Wi-Fi and Bluetooth LE functions.
Most of the I/O pins on the module are broken out to the pin headers on both sides of this board for easy interfacing.
Developers can either connect peripherals with jumper wires or mount ESP8684-DevKitM-1 on a breadboard.

Fig. 42: ESP8684-DevKitM-1 with ESP8684-MINI-1 module

The document consists of the following major sections:


• Getting Started: Overview of the board and hardware/software setup instructions to get started.
• Hardware Overview: More detailed information about the board’s hardware.
• Hardware Revision Details: Hardware revision history, known issues, and links to user guides for previous
versions (if any) of the board.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP8684-DevKitM-1, instructions on how to do the
initial hardware setup and how to flash firmware onto it.

Description of Components The key components of the board are described in a counter-clockwise direction.

Espressif Systems 55 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 43: ESP8684-DevKitM-1 - front

Key Component Description


ESP8684-MINI-1 ESP8684-MINI-1 from Espressif is a powerful and general-purpose module
that offers Wi-Fi and Bluetooth LE coexistence. It has a PCB antenna and a 1
MB/2 MB/4 MB SPI flash.
Pin Headers All available GPIO pins are broken out to the pin headers on the board. For
details, please see Header Block.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
5 V Power On LED Turns on when the USB power is connected to the board.
Boot Button Download button. Holding down Boot and then pressing Reset 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 in-
terface between a computer and the ESP8684 chip.
Reset Button Press this button to restart the system.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
RGB LED RGB LED, driven by GPIO0, GPIO1 and GPIO8.

Start Application Development Before powering up your board, please make sure that it is in good condition with
no obvious signs of damage.

Required Hardware
• ESP8684-DevKitM-1
• USB 2.0 cable (Standard-A to Micro-B)
• Computer running Windows, Linux, or macOS

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Espressif Systems 56 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Software Setup Please proceed to Get Started, where Section Installation Step by Step will quickly help you set
up the development environment then flash an application example onto your board.

ESP-AT Support The ESP8684-DevKitM-1 supports ESP-AT software that provides a set of AT commands
with which you can quickly integrate wireless connectivity features into your product without a need for embedded
application development of the module on this development board .
The software is available as a pre-built binary that can be downloaded from ESP-AT repository.
For more information about using ESP-AT, including information on how to customize pre-built binaries, please refer
to ESP-AT User Guide.

Contents and Packaging

Retail Orders If you order a few samples, each board 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/company/contact/buy-a-sample.

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.

Hardware Overview

Block Diagram The block diagram below shows the components of ESP8684-DevKitM-1 and their interconnec-
tions.

Fig. 44: ESP8684-DevKitM-1 (click to enlarge)

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• Micro-USB Port, default power supply (recommended)
• 5V and G (GND) pins
• 3V3 and G (GND) pins

Espressif Systems 57 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Header Block The two tables below provide the Name and Function of the pins on both sides of the board (J1 and
J3). The pin names are shown in ESP8684-DevKitM-1 - front. The numbering is the same as in the Board Schematic
(PDF).

J1
No. Name Type1 Function
1 G G Ground
2 3V3 P 3.3 V power supply
3 3V3 P 3.3 V power supply
4 2 I/O/T GPIO2, ADC1_CH2, FSPIQ
5 3 I/O/T GPIO3, ADC1_CH3
6 G G Ground
7 RST I Reset; High: enable; Low: powers off
8 G G Ground
9 0 I/O/T GPIO0, ADC1_CH0, LED Red
10 1 I/O/T GPIO1, ADC1_CH1, LED Green
11 10 I/O/T GPIO10, FSPICS0
12 G G Ground
13 5V P 5 V power supply
14 5V P 5 V power supply
15 G G Ground

J3
No. Name Type? Function
1 G G Ground
2 TX I/O/T GPIO20, U0TXD
3 RX I/O/T GPIO19, U0RXD
4 G G Ground
5 9 I/O/T GPIO92
6 8 I/O/T GPIO82 , LED Blue
7 G G Ground
8 7 I/O/T GPIO7, FSPID, MTDO
9 6 I/O/T GPIO6, FSPICLK, MTCK
10 5 I/O/T GPIO5, ADC2_CH0, FSPIWP ,MTDI
11 4 I/O/T GPIO4, ADC1_CH4, FSPIHD ,MTMS
12 G G Ground
13 18 I/O/T GPIO18
14 G G Ground
15 G G Ground

Pin Layout

Hardware Revision Details Initial release


Main differences compared to the previous version:
• Addressable RGB LED in the previous version of the board has been changed to an RGB LED with discrete
inputs for each color.
• The addressable LED was connected to GPIO8, and the new discrete LED is connected to GPIO0, GPIO1,
and GPIO8.
1 P: Power supply; I: Input; O: Output; T: High impedance.
2 GPIO8 and GPIO9 are strapping pins of the ESP8684 chip. 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 ESP8684
Datasheet > Section Strapping Pins.

Espressif Systems 58 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 45: ESP8684-DevKitM-1 Pin Layout (click to enlarge)

Note: Both versions of ESP8684-DevKitM-1 are available on the market.

Related Documents
• ESP8684 Datasheet (PDF)
• ESP8684-DevKitM-1 Schematic (PDF)
• ESP8684-DevKitM-1 PCB layout (PDF)
• ESP8684-DevKitM-1 Dimensions (PDF)
• ESP8684-DevKitM-1 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

ESP8684-DevKitM-1
The latest version: ESP8684-DevKitM-1 v1.1.
This user guide will help you get started with ESP8684-DevKitM-1 and will also provide more in-depth information.
The ESP8684-DevKitM-1 is an entry-level development board based on ESP8684-MINI-1, a general-purpose mod-
ule with 1 MB/2 MB/4 MB SPI flash. This board integrates complete Wi-Fi and Bluetooth LE functions.
Most of the I/O pins on the module are broken out to the pin headers on both sides of this board for easy interfacing.
Developers can either connect peripherals with jumper wires or mount ESP8684-DevKitM-1 on a breadboard.
The document consists of the following major sections:
• Getting Started: Overview of the board and hardware/software setup instructions to get started.
• Hardware Overview: More detailed information about the board’s hardware.
• Hardware Revision Details: Hardware revision history, known issues, and links to user guides for previous
versions (if any) of the board.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP8684-DevKitM-1, instructions on how to do the
initial hardware setup and how to flash firmware onto it.

Description of Components The key components of the board are described in a counter-clockwise direction.

Espressif Systems 59 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 46: ESP8684-DevKitM-1 with ESP8684-MINI-1 module

Fig. 47: ESP8684-DevKitM-1 - front

Espressif Systems 60 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


ESP8684-MINI-1 ESP8684-MINI-1 from Espressif is a powerful and general-purpose module
that offers Wi-Fi and Bluetooth LE coexistence. It has a PCB antenna and a 1
MB/2 MB/4 MB SPI flash.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
5 V Power On LED Turns on when the USB power is connected to the board.
Pin Headers All available GPIO pins are broken out to the pin headers on the board. For
details, please see Header Block.
Boot Button Download button. Holding down Boot and then pressing Reset 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 in-
terface between a computer and the ESP8684 chip.
Reset Button Press this button to restart the system.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
RGB LED Addressable RGB LED, driven by GPIO8.

Start Application Development Before powering up your board, please make sure that it is in good condition with
no obvious signs of damage.

Required Hardware
• ESP8684-DevKitM-1
• USB 2.0 cable (Standard-A to Micro-B)
• Computer running Windows, Linux, or macOS

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Software Setup Please proceed to Get Started, where Section Installation Step by Step will quickly help you set
up the development environment then flash an application example onto your board.

ESP-AT Support The ESP8684-DevKitM-1 supports ESP-AT software that provides a set of AT commands
with which you can quickly integrate wireless connectivity features into your product without a need for embedded
application development of the module on this development board.
The software is available as a pre-built binary that can be downloaded from ESP-AT repository.
For more information about using ESP-AT, including information on how to customize pre-built binaries, please refer
to ESP-AT User Guide.

Contents and Packaging

Retail Orders If you order a few samples, each board 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/company/contact/buy-a-sample.

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.

Hardware Overview

Espressif Systems 61 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Block Diagram The block diagram below shows the components of ESP8684-DevKitM-1 and their interconnec-
tions.

Fig. 48: ESP8684-DevKitM-1 (click to enlarge)

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• Micro-USB Port, default power supply (recommended)
• 5V and G (GND) pins
• 3V3 and G (GND) pins

Header Block The two tables below provide the Name and Function of the pins on both sides of the board (J1 and
J3). The pin names are shown in ESP8684-DevKitM-1 - front. The numbering is the same as in the Board Schematic
(PDF).

J1
No. Name Type1 Function
1 G G Ground
2 3V3 P 3.3 V power supply
3 3V3 P 3.3 V power supply
4 2 I/O/T GPIO2, ADC1_CH2, FSPIQ
5 3 I/O/T GPIO3, ADC1_CH3
6 G G Ground
7 RST I Reset; High: enable; Low: powers off
8 G G Ground
9 0 I/O/T GPIO0, ADC1_CH0
10 1 I/O/T GPIO1, ADC1_CH1
11 10 I/O/T GPIO10, FSPICS0
12 G G Ground
13 5V P 5 V power supply
14 5V P 5 V power supply
15 G G Ground

1 P: Power supply; I: Input; O: Output; T: High impedance.

Espressif Systems 62 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J3
No. Name Type? Function
1 G G Ground
2 TX I/O/T GPIO20, U0TXD
3 RX I/O/T GPIO19, U0RXD
4 G G Ground
5 9 I/O/T GPIO92
6 8 I/O/T GPIO8Page 63, 2 , RGB LED
7 G G Ground
8 7 I/O/T GPIO7, FSPID , MTDO
9 6 I/O/T GPIO6, FSPICLK , MTCK
10 5 I/O/T GPIO5, ADC2_CH0, FSPIWP ,MTDI
11 4 I/O/T GPIO4, ADC1_CH4, FSPIHD ,MTMS
12 G G Ground
13 18 I/O/T GPIO18
14 G G Ground
15 G G Ground

Fig. 49: ESP8684-DevKitM-1 Pin Layout (click to enlarge)

Pin Layout

Hardware Revision Details This is the first revision of this board released.

Related Documents
• ESP8684-DevKitM-1 Schematic (PDF)
• ESP8684-DevKitM-1 PCB layout (PDF)
• ESP8684-DevKitM-1 Dimensions (PDF)
• ESP8684-DevKitM-1 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

1.1.8 ESP8684-DevKitC-02

The ESP8684-DevKitC-02 is an entry-level development board based on ESP8684-WROOM-02C/02UC, a general-


purpose module with 2 MB/4 MB in-package flash. This board integrates complete Wi-Fi and Bluetooth LE functions.
2 GPIO8 and GPIO9 are strapping pins of the ESP8684 chip. 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.

Espressif Systems 63 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

ESP8684-DevKitC-02 v1.0

The latest version: ESP8684-DevKitC-02 v1.0.


This user guide will help you get started with ESP8684-DevKitC-02 and will also provide more in-depth information.
The ESP8684-DevKitC-02 is an entry-level development board based on ESP8684-WROOM-02C/02UC, a general-
purpose module with 2 MB/4 MB in-package flash. This board integrates complete Wi-Fi and Bluetooth LE functions.
Most of the I/O pins on the module are broken out to the pin headers on both sides of this board for easy interfacing.
Developers can either connect peripherals with jumper wires or mount ESP8684-DevKitC-02 on a breadboard.

Fig. 50: ESP8684-DevKitC-02

The document consists of the following major sections:


• Getting Started: Overview of the board and hardware/software setup instructions to get started.
• Hardware Overview: More detailed information about the board’s hardware.
• Hardware Revision Details: Hardware revision history, known issues, and links to user guides for previous
versions (if any) of the board.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP8684-DevKitC-02, instructions on how to do the
initial hardware setup and how to flash firmware onto it.

Description of Components The key components of the board are described in a counter-clockwise direction.

Espressif Systems 64 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 51: ESP8684-DevKitC-02 - front

Key Component Description


ESP8684-WROOM-02C ESP8684-WROOM-02C from Espressif is a powerful and general-purpose
module that offers Wi-Fi and Bluetooth LE coexistence. It has a PCB antenna
and a 2 MB/4 MB in-package flash.
Pin Headers Most of the GPIO pins on the module are broken out to the pin headers on the
board. For details, please see Header Block.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
5 V Power On LED Turns on when the USB power is connected to the board.
Boot Button Download button. Holding down Boot and then pressing Reset 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 in-
terface between a computer and the ESP8684 chip.
Reset Button Press this button to restart the system.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
RGB LED RGB LED, driven by GPIO0, GPIO1 and GPIO8.

Start Application Development Before powering up your board, please make sure that it is in good condition with
no obvious signs of damage.

Required Hardware
• ESP8684-DevKitC-02
• USB 2.0 cable (Standard-A to Micro-B)
• Computer running Windows, Linux, or macOS

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Espressif Systems 65 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Software Setup Please proceed to Get Started, where Section Installation Step by Step will quickly help you set
up the development environment then flash an application example onto your board.

ESP-AT Support The ESP8684-DevKitC-02 supports ESP-AT software that provides a set of AT commands
with which you can quickly integrate wireless connectivity features into your product without a need for embedded
application development of the module on this development board.
The software is available as a pre-built binary that can be downloaded from ESP-AT repository.
For more information about using ESP-AT, including information on how to customize pre-built binaries, please refer
to ESP-AT User Guide.

Contents and Packaging

Retail Orders If you order a few samples, each board 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/company/contact/buy-a-sample.

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.

Hardware Overview

Block Diagram The block diagram below shows the components of ESP8684-DevKitC-02 and their interconnec-
tions.

Fig. 52: ESP8684-DevKitC-02 (click to enlarge)

Espressif Systems 66 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• Micro-USB Port, default power supply (recommended)
• 5V and G (GND) pins
• 3V3 and G (GND) pins

Header Block The two tables below provide the Name and Function of the pins on both sides of the board (J1 and
J3). The pin names are shown in ESP8684-DevKitC-02 - front. The numbering is the same as in the Board Schematic
(PDF).

J1
No. Name Type1 Function
1 G G Ground
2 3V3 P 3.3 V power supply
3 3V3 P 3.3 V power supply
4 RST I Reset; High: enable; Low: powers off; Pull up by default
5 G G Ground
6 4 I/O/T GPIO4, ADC1_CH4, FSPIHD, MTMS
7 5 I/O/T GPIO5, FSPIWP, MTDI
8 6 I/O/T GPIO6, FSPICLK, MTCK
9 7 I/O/T GPIO7, FSPID , MTDO
10 G G Ground
11 8 I/O/T GPIO82 , LED Blue
12 9 I/O/T GPIO92
13 5V P 5 V power supply
14 5V P 5 V power supply
15 G G Ground

J3
No. Name Type? Function
1 G G Ground
2 0 I/O/T GPIO0, ADC1_CH0, LED Red
3 1 I/O/T GPIO1, ADC1_CH1, LED Green
4 2 I/O/T GPIO2, ADC1_CH2, FSPIQ
5 3 I/O/T GPIO3, ADC1_CH3
6 G G Ground
7 10 I/O/T GPIO10, FSPICS0
8 G G Ground
9 RX I/O/T GPIO19, U0RXD
10 TX I/O/T GPIO20, U0TXD
11 G G Ground
12 18 I/O/T GPIO18
13 NC – –
14 G G Ground
15 G G Ground

Pin Layout

Hardware Revision Details This is the first revision of this board released.
1 P: Power supply; I: Input; O: Output; T: High impedance.
2 GPIO8 and GPIO9 are strapping pins of the ESP8684 chip. 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 ESP8684
Datasheet > Section Strapping Pins.

Espressif Systems 67 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 53: ESP8684-DevKitC-02 Pin Layout (click to enlarge)

Related Documents
• ESP8684 Datasheet (PDF)
• ESP8684-DevKitC-02 Schematic (PDF)
• ESP8684-DevKitC-02 PCB layout (PDF)
• ESP8684-DevKitC-02 Dimensions (PDF)
• ESP8684-DevKitC-02 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

1.1.9 ESP32-S3-USB-OTG

ESP32-S3-USB-OTG is a development board that focuses on USB-OTG function verification and application devel-
opment.
Application examples for this board can be found at Examples .

ESP32-S3-USB-OTG

ESP32-S3-USB-OTG is a development board that focuses on USB-OTG function verification and application devel-
opment. It is based on ESP32-S3 SoC, supports Wi-Fi and BLE 5.0 wireless functions, and supports USB host and
USB device functions. It can be used to develop applications such as wireless storage devices, Wi-Fi network cards,
LTE MiFi, multimedia devices, virtual keyboards and mice. The development board has the following features:
• Onboard ESP32-S3-MINI-1-N8 module, with built-in 8 MB flash
• Onboard USB Type-A host and device interface, with built-in USB interface switching circuit
• Onboard USB to serial debugging chip (Micro USB interface)
• Onboard 1.3-inch LCD color screen, supports GUI
• Onboard SD card interface, compatible with SDIO and SPI interfaces
• Onboard charging IC, can be connected to lithium battery
The document consists of the following major sections:
• Getting Started: Provides a brief overview of ESP32-S3-USB-OTG and necessary hardware and software in-
formation.
• Hardware Reference: Provides detailed hardware information of ESP32-S3-USB-OTG.
• Related Documents: Provides links to related documents.

Getting Started This section describes how to start using ESP32-S3-USB-OTG. It includes introduction to basic
information about ESP32-S3-USB-OTG first, and then on how to start using the development board for application
development, as well as board packaging and retail information.

Espressif Systems 68 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 54: ESP32-S3-USB-OTG (click to enlarge)

Espressif Systems 69 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Description of Components The ESP32-S3-USB-OTG development board includes the following parts:
• Motherboard: ESP32-S3-USB-OTG motherboard is the core of the kit. The motherboard integrates the
ESP32-S3-MINI-1 module and provides an interface of the 1.3-inch LCD screen.

Fig. 55: ESP32-S3-USB-OTG Top View (click to enlarge)

The following table starts with the USB_HOST Interface on the left, and introduces the main components in the
above figure in an anticlockwise order.

Espressif Systems 70 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Main components Description


USB_HOST Interface USB Type-A female port, used to connect other USB devices.
ESP32-S3-MINI-1 Module ESP32-S3-MINI-1 is a powerful, generic Wi-Fi + Bluetooth LE MCU module
that has a rich set of peripherals. It has strong ability for neural network com-
puting and signal processing. ESP32-S3-MINI-1 comes with a PCB antenna
and is pin-to-pin compatible with ESP32-S2-MINI-1.
MENU Button Menu button.
Micro SD Card Slot Micro SD card can be inserted. Both four-line SDIO and SPI mode are sup-
ported.
USB Switch IC By setting the level of USB_SEL, you can switch USB peripherals to make
them either connected to the USB_DEV interface or the USB_HOST interface.
USB_DEV will be connected by default.
Reset Button Press this button to restart the system.
USB_DEV Interface USB Type-A male port, can be connected to the USB host, and also used as a
lithium battery charge power source.
Power Switch Switch to ON to use battery power. Switch to OFF to power off battery.
Boot Button Download button. Holding down Boot and then pressing Reset initiates
Firmware Download mode for downloading firmware through the serial port.
DW- Button Down button.
LCD FPC Connector Used to connect the 1.3-inch LCD screen.
UP+ Button Up button.
USB-to-UART Interface A Micro-USB port used for power supply to the board, for flashing applications
to the chip, as well as for communication with the chip via the on-board USB-
to-UART bridge.

Fig. 56: ESP32-S3-USB-OTG Bottom View (click to enlarge)

Espressif Systems 71 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

The following table starts with the Yellow LED on the left, and introduces the main components in the above figure
in an anticlockwise order.

Main components Description


Yellow LED Driven by GPIO16, set high level to turn on.
Green LED Driven by GPIO15, set high level to turn on.
Charging LED During charging, the red light is on, which will be turned off when charged.
Battery Solder Joints 3.6 V lithium battery can be welded to power the motherboard.
Charging Circuit Used to charge lithium battery.
Free Pins Idle pins that can be customized.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.

• Subboard: ESP32-S3-USB-OTG-SUB mount the 1.3-inch LCD screen

Fig. 57: ESP32-S3-USB-OTG Subboard (click to enlarge)

Start Application Development Before powering on the ESP32-S3-USB-OTG, please make sure that the devel-
opment board is intact.

Required Hardware
• ESP32-S3-USB-OTG
• A USB 2.0 data cable (standard A to Micro-B)
• Computer (Windows, Linux or macOS)

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

Project Option An example is provided for ESP32-S3-USB-OTG under the folder Examples .
You can configure project options by entering idf.py menuconfig in the example directory.

Contents and Packaging

Espressif Systems 72 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Retail Orders If you order a few samples, each board comes in an individual package in either an antistatic bag or
any packaging depending on your retailer.

Fig. 58: ESP32-S3-USB-OTG Package (click to enlarge)

Which contains the following parts:


• Motherboard:
– ESP32-S3-USB-OTG
• Subboard:
– ESP32-S3-USB-OTG_SUB
• Fastener
– Mounting bolt (x4)
– Screw (x4)
– Nut (x4)
For retail orders, please go to https://www.espressif.com/zh-hans/company/contact/buy-a-sample.

Wholesale Order If purchased in bulk, the development board will be packaged in a large cardboard box.
For wholesale orders, please go to https://www.espressif.com/en/contact-us/sales-questions.

Hardware Reference

Block Diagram The block diagram below shows the components of ESP32-S3-USB-OTG and their interconnec-
tions.
Please note that the external interface corresponding to the USB_HOST D+ D- signal in the functional block diagram
is USB DEV, which means that ESP32-S3 is used as a device to receive signals from other USB hosts. The external
interface corresponding to the USB_DEV D+ D- signal is USB HOST, which means that ESP32-S3 acts as a host
to control other devices.

Espressif Systems 73 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 59: ESP32-S3-USB-OTG Block Diagram (click to enlarge)

Power Supply Options There are three power supply methods for the development board:
1. Power supply through the Micro_USB interface
• Use the USB cable (standard A to Micro-B) to connect the motherboard to a power supply device, and
set battery switch to OFF. Please note that in this power supply mode, only the motherboard and display
are powered.
2. Power supply through the USB_DEV interface
• Set DEV_VBUS_EN to high level, and set the battery switch to OFF. This mode can supply power to the
USB HOST interface. The lithium battery will be charged at the same time (if the lithium battery is
installed)
3. Power supply through the battery
• Set BOOST_EN to high level, and set the battery switch to ON. You should solder a 1-Serial lithium
battery (3.7 V ~ 4.2 V) to the power solder joint reserved on the back of the motherboard first. This
mode can supply power to the USB HOST interface at the same time. The battery interface description
is as follows:

USB HOST Interface Power Options The USB HOST interface (Type-A female port) can supply power to the
connected USB device. The power supply voltage is 5 V and the maximum current is 500 mA.
• There are two power supply methods for the USB HOST interface:
1. Power is supplied through the USB_DEV interface, and the 5 V power is directly from the power source
connected to the interface.
2. Power is supplied through the lithium battery, and the 3.6 V ~ 4.2 V voltage of the lithium battery
is boosted to 5 V through the Boost circuit. The working status of Boost IC can be controlled by
BOOST_EN/GPIO13, set high to enable Boost.
• USB HOST interface power supply selection:

Espressif Systems 74 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 60: Battery Connection (click to enlarge)

Fig. 61: Boost Circuit (click to enlarge)

Espressif Systems 75 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

BOOST_EN DEV_VBUS_EN Power Source


0 1 USB_DEV
1 0 Battery
0 0 No output
1 1 Undefined

Fig. 62: Power Switch Circuit (click to enlarge)

• 500 mA current limiting circuit:


1. The current limiting IC MIC2005A can limit the maximum output current of the USB HOST interface
to 500 mA. Please set the IDEV_LIMIT_EN (GPIO17) to high level to enable the current-limiting IC
to output voltage.

Fig. 63: 500 mA Current Limiting Circuit (click to enlarge)

USB Interface Switch Circuit

Espressif Systems 76 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 64: USB Interface Switch Circuit (click to enlarge)

• When USB_SEL (GPIO18) is set to high level, the USB D+/D- Pin (GPIO19, 20) will be connected to
USB_DEV D+ D-. Then you can use the USB HOST interface (Type-A female Port) to connect other USB
devices.
• When USB_SEL (GPIO18) is set to low level, the USB D+/D- Pin (GPIO19, 20) will be connected to
USB_HOST D+ D-. Then you can use the USB DEV interface (Type-A male port) to connect to a host like
a PC.
• USB_SEL is pulled low level by default.

LCD Interface Please note that this interface supports connecting SPI interface screens. The screen controller
used by this development board is :project:` ST7789 <esp32-s3-usb-otg/datasheet/ST7789VW_datasheet.pdf>`, and
LCD_BL (GPIO9) can be used to control the screen backlight.

SD Card Interface Please note that the SD card interface is compatible with 1-wire, 4-wire SDIO mode and SPI
mode. After being powered on, the card will be in 3.3 V signaling mode. Please send the first CMD0 command to
select the bus mode: SD mode or SPI mode.

Charging Circuit Please note that the Type-A male port can be connected to a power adapter that outputs 5 V.
When charging the battery, the red indicator LED is on, after fully charged, the red indicator LED is off. When using
the charging circuit, please set the battery switch to OFF. The charging current is 212.7 mA.

Pin Layout Function pin:

Espressif Systems 77 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 65: LCD Interface Circuit (click to enlarge)

Fig. 66: SD Card Interface Circuit (click to enlarge)

Espressif Systems 78 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 67: Charging Circuit (click to enlarge)

No. ESP32-S3-MINI- Description


1 Pin
1 GPIO18 USB_SEL: Used to switch the USB interface. When high level, the
USB_HOST interface is enabled. When low level (default), the USB_DEV
interface is enabled.
2 GPIO19 Connect with USB D-.
3 GPIO20 Connect with USB D+.
4 GPIO15 LED_GREEN: the light is lit when set high level.
5 GPIO16 LED_YELLOW: the light is lit when set high level.
6 GPIO0 BUTTON_OK: OK button, low level when pressed.
7 GPIO11 BUTTON_DW: Down button, low level when pressed.
8 GPIO10 BUTTON_UP: UP button, low level when pressed.
9 GPIO14 BUTTON_MENU: Menu button, low level when pressed.
10 GPIO8 LCD_RET: used to reset LCD, low level to reset.
11 GPIO5 LCD_EN: used to enable LCD, low level to enable.
12 GPIO4 LCD_DC: Used to switch data and command status.
13 GPIO6 LCD_SCLK: LCD SPI Clock.
14 GPIO7 LCD_SDA: LCD SPI MOSI.
15 GPIO9 LCD_BL: LCD backlight control.
16 GPIO36 SD_SCK: SD SPI CLK / SDIO CLK.
17 GPIO37 SD_DO: SD SPI MISO / SDIO Data0.
18 GPIO38 SD_D1: SDIO Data1.
19 GPIO33 SD_D2: SDIO Data2.
20 GPIO34 SD_D3: SD SPI CS / SDIO Data3.
21 GPIO1 HOST_VOL: USB_DEV voltage monitoring, ADC1 channel 0.
22 GPIO2 BAT_VOL: Battery voltage monitoring, ADC1 channel 1.
23 GPIO17 LIMIT_EN: Enable current limiting IC, high level enable.
24 GPIO21 0VER_CURRENT: Current overrun signal, high level means overrun.
25 GPIO12 DEV_VBUS_EN: High level to enable DEV_VBUS power supply.
26 GPIO13 BOOST_EN: High level to enable Boost boost circuit.

Espressif Systems 79 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Extended pin:

No. ESP32-S3-MINI-1 Pin Description


1 GPIO45 FREE_1: Idle, can be customized.
2 GPIO46 FREE_2: Idle, can be customized.
3 GPIO48 FREE_3: Idle, can be customized.
4 GPIO26 FREE_4: Idle, can be customized.
5 GPIO47 FREE_5: Idle, can be customized.
6 GPIO3 FREE_6: Idle, can be customized.

Related Documents
• ESP32-S3 Datasheet (PDF)
• ESP32-S3-MINI-1/1U Datasheet (PDF)
• Espressif Product Selection Tool
• ESP32-S3-USB-OTG Schematic Diagram (PDF)
• ESP32-S3-USB-OTG PCB Layout Drawing (PDF)
• ST7789VW Datasheet (PDF)

1.1.10 ESP32-S3-LCD-EV-Board

ESP32-S3-LCD-EV-Board is a development board for evaluating and verifying esp32s3 screen interactive applica-
tions. It has the functions of touchscreen interaction and voice interaction.

Note: Please check the version number of your ESP32-S3-LCD-EV-Board-MB indicated by the silk marking on
the back. For boards of the v1.5 version, please refer to ESP32-S3-LCD-EV-Board v1.5. For boards of the v1.4 and
below versions, please refer to ESP32-S3-LCD-EV-Board v1.4.

ESP32-S3-LCD-EV-Board v1.5

Note: Please check the version number of your ESP32-S3-LCD-EV-Board-MB indicated by the silk marking on
the back. For boards of the v1.5 version, please refer to this user guide. For boards of the v1.4 and below versions,
please refer to ESP32-S3-LCD-EV-Board v1.4.

This user guide will help you get started with ESP32-S3-LCD-EV-Board and will also provide more in-depth infor-
mation.
The document consists of the following sections:
• Board Overview: Overview of the board hardware/software.
• Start Application Development: How to set up hardware/software to develop applications.
• Hardware Reference: More detailed information about the board’s hardware.
• Hardware Revision Details: This is the first revision of this board released.
• Sample Request: How to get a sample board.
• Related Documents: Links to related documentation.

Board Overview ESP32-S3-LCD-EV-Board is an ESP32-S3-based development board with a touchscreen. To-


gether with different subboards, ESP32-S3-LCD-EV-Board can drive LCDs with IIC, SPI, 8080, and RGB inter-
faces. It houses dual array microphones, supports voice recognition and near/far-field voice wake-up, and features

Espressif Systems 80 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

screen and voice interaction. The board caters to development needs for touchscreen products with different resolu-
tions and interfaces. Currently, we have two boards available: ESP32-S3-LCD-EV-Board with 480x480 LCD and
ESP32-S3-LCD-EV-Board-2 with 800x480 LCD.

Fig. 68: ESP32-S3-LCD-EV-Board with 480x480 LCD

Feature List The main features of the board are listed below:
• Module Embedded: ESP32-S3-WROOM-1 module with 16 MB flash and 16 MB PSRAM
• Display: Compatibility with various subboards and support for displays with RGB, 8080, SPI, and I2C
interfaces. Please refer to LCD Subboards for more information
• Audio: Audio Codec + ADC amplifier and dual microphones
• USB: USB to serial port chip plus USB Type-C download/debug

Block Diagram The block diagram below shows the components of ESP32-S3-LCD-EV-Board and their inter-
connections.

Description of Components The ESP32-S3-LCD-EV-Board development board consists of a mainboard and a


subboard.

Espressif Systems 81 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 69: ESP32-S3-LCD-EV-Board-2 with 800x480 LCD

Fig. 70: ESP32-S3-LCD-EV-Board Block Diagram (Click to Enlarge)

Espressif Systems 82 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Mainboard ESP32-S3-LCD-EV-Board-MB is the core of the kit, which integrates the ESP32-S3-WROOM-1
module and provides ports for connection to the LCD subboard.

Fig. 71: ESP32-S3-LCD-EV-Board-MB - Front (Click to Enlarge)

The key components of the board are described in a counter-clockwise direction.

Espressif Systems 83 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


ESP32-S3-WROOM-1- ESP32-S3-WROOM-1-N16R16V is a generic Wi-Fi + Bluetooth LE MCU
N16R16V Module module that is built around the ESP32-S3 series of SoCs. It is integrated with
16 MB flash and 16 MB PSRAM. On top of a rich set of peripherals, the
acceleration for neural network computing and signal processing workloads
provided by the SoC makes the module an ideal choice for a wide variety of
application scenarios related to Artificial Intelligence of Things (AIoT).
Reset Button Press this button to reset the system.
Boot Button Holding down the Boot key and momentarily pressing the Reset key initiates
the firmware upload mode. Then you can upload firmware through the serial
port or USB.
Expansion Connector Provides connections for all I/O expander pins, all power supply pins, and some
module pins.
I/O Expander TCA9554 is a device that provides 8 bits of general purpose parallel I/O ex-
pansion. It controls the I/O mode and level via two-line bidirectional I2C bus,
offering a simple solution when additional I/Os are needed.
LCD Board Connector Three different types of LCD subboards can be connected via connectors with
2.54 mm pitch.
LED Supports configuring the RGB LED display to indicate status or behavior.
USB-to-USB Port Provides power to the entire system (choose either USB-to-USB or USB-to-
UART port). It is recommended to use at least a 5V/2A power adapter to
ensure stable power supply. Used for USB communication between the PC
and the ESP32-S3-WROOM-1 module.
USB-to-UART Port Provides power to the entire system (choose either USB-to-USB or USB-to-
UART port). It is recommended to use at least a 5V/2A power adapter to
ensure stable power supply. Used for serial communication between the PC
side and the ESP32-S3-WROOM-1 module.
Left Microphone On-board microphone, connected to ADC.
Right Microphone On-board microphone, connected to ADC.
Audio ADC Chip ES7210 <http://www.everest-semi.com/pdf/ES7210%20PB.pdf> is a high per-
formance, low power 4-channel audio ADC for applications of microphone
arrays. Featuring Acoustic Echo Cancellation (AEC), it is an ideal choice for
music and voice applications.
USB-to-UART Bridge Con- CP2102N, the single-chip USB-to-UART bridge controller, provides up to 3
troller Mbps connection for software download and debugging.
Audio Codec Chip ES8311 is a low-power mono audio codec that includes a single-channel ADC
and DAC, low noise pre-amplifier, headphone driver, digital audio, analog mix-
ing, and gain function. It connects to the ESP32-S3-WROOM-1 module via
I2S and I2C buses to process audio through hardware instead of the audio ap-
plication.
Audio Amplifier NS4150 is a low EMI, 3 W mono class D audio amplifier used to drive speakers
by amplifying the audio signal from the audio codec chip.
Speaker Connector External speaker playback is possible with the help of the audio amplifier.

LCD Subboards The mainboard can be used together with three different kinds of subboards:

Espressif Systems 84 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Board Name Dis- Reso- LCD Driver Touch Available Development


play lution (Interface) Driver Boards
(Inch) (Px)
ESP32-S3-LCD-EV-Board- 0.96 128 x SSD1315 N/A Not Available
SUB1 v1.0 64 (I2C)
2.40 320 x ST7789V XTP2046 Not Available
240 (SPI)
ESP32-S3-LCD-EV-Board- 3.50 480 x ST7796S GT911 Not Available
SUB2 v1.5 320 (8080)
3.95 480 x GC9503CV FT5x06 ESP32-S3-LCD-EV-Board
480 (RGB)
ESP32-S3-LCD-EV-Board- 4.30 800 x ST7262E43 GT1151 ESP32-S3-LCD-EV-Board-2
SUB3 v1.3 480 (RGB)

• ESP32-S3-LCD-EV-Board-SUB1 subboard has two interfaces, which support connection to a 2.4-inch dis-
play with the SPI interface or a 0.96-inch display with the I2C interface. This board is not yet configured, so
it is not further explained here.
• ESP32-S3-LCD-EV-Board-SUB2 subboard has two interfaces, which support connection to a display with
the RGB interface or a display with the 8080 parallel interface. The current subboard has a 3.95-inch touch-
screen with the RGB565 interface and 480x480 resolution. The LCD driver IC is GC9503CV and the touch-
screen driver IC is FT5x06.

Fig. 72: ESP32-S3-LCD-EV-Board-SUB2 - Front (Click to Enlarge)

• ESP32-S3-LCD-EV-Board-SUB3 subboard only supports a 4.3-inch touchscreen with the RGB565 interface
and 800x480 resolution. The LCD driver IC is ST7262E43 and the touchscreen driver IC is GT1151.

Espressif Systems 85 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 73: ESP32-S3-LCD-EV-Board-SUB2 - Back (Click to Enlarge)

Start Application Development This section provides instructions on how to do hardware and software setup and
flash firmware onto the board to develop your own application.

Required Hardware
• 1 x ESP32-S3-LCD-EV-Board-MB
• 1 x LCD subboard
• 1 x USB 2.0 cable (standard Type-A to Type-C)
• 1 x PC (Windows, Linux, or macOS)

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Optional Hardware
• 1 x Speaker

Hardware Setup Prepare the board for loading of the first sample application:
1. Connect the LCD subboard to the LCD Board Connector.
2. Plug in the USB cable to connect the PC with the board.
3. The LCD lights up and you can start to interact with it.
Now the board is ready for software setup.

Espressif Systems 86 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 74: ESP32-S3-LCD-EV-Board-SUB3 - Front (Click to Enlarge)

Espressif Systems 87 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 75: ESP32-S3-LCD-EV-Board-SUB3 - Back (Click to Enlarge)

Software Setup The development framework of ESP32-S3-LCD-EV-Board is ESP-IDF. ESP-IDF is a


FreeRTOS-based SoC development framework with a bunch of components including LCD, ADC, RMT, and SPI.
An example is provided for ESP32-S3-LCD-EV-Board under the folder Examples . You can configure project op-
tions by entering idf.py menuconfig in the example directory.
To learn how to quickly set up your development environment, please go to Get Started > Installation.

Note:
• ESP-IDF v5.1.2 is required. It is recommended to use the latest release/v5.1 branch for development.
• For more information about developing LCD applications, please refer to ESP-IoT-Solution Programming
Guide.

Hardware Reference This section provides more detailed information about the board’s hardware.

GPIO Allocation The table below provides the allocation of GPIOs exposed on terminals of ESP32-S3-WROOM-
1 module to control specific components or functions of the board.

Table 3: ESP32-S3-WROOM-1 GPIO Allocation


Pin Pin Name Function
1 GND GND
2 3V3 Power supply
3 EN RESET
4 IO4 LED
continues on next page

Espressif Systems 88 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Table 3 – continued from previous page


Pin Pin Name Function
5 IO5 I2S_MCLK
6 IO6 I2S_CODEC_DSDIN
7 IO7 I2S_LRCK
8 IO15 I2S_ADC_SDOUT
9 IO16 I2S_SCLK
10 IO17 LCD_DE
11 IO18 LCD_DATA7
12 IO8 LCD_DATA6
13 IO19 USB_D-
14 IO20 USB_D+
15 IO3 LCD_VSYNC
16 IO46 LCD_HSYNC
17 IO9 LCD_PCLK
18 IO10 LCD_DATA0
19 IO11 LCD_DATA1
20 IO12 LCD_DATA2
21 IO13 LCD_DATA3
22 IO14 LCD_DATA4
23 IO21 LCD_DATA5
24 IO47 I2C_SDA
25 IO48 I2C_SCL
26 IO45 LCD_DATA8
27 IO0 BOOT
28 IO35 No connection
29 IO36 No connection
30 IO37 No connection
31 IO38 LCD_DATA9
32 IO39 LCD_DATA10
33 IO40 LCD_DATA11
34 IO41 LCD_DATA12
35 IO42 LCD_DATA13
36 RXD0 UART_RXD0
37 TXD0 UART_TXD0
38 IO2 LCD_DATA14
39 IO1 LCD_DATA15
40 GND GND
41 EPAD GND

The pins on the I/O expander connected to the module can be used for different functions.

Espressif Systems 89 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Table 4: I/O Expander GPIO Allocation


IO Expander Pin Pin Name Function
1 A0 GND
2 A1 GND
3 A2 GND
4 P0 PA_CTRL
5 P1 LCD_SPI_CS
6 P2 LCD_SPI_SCK
7 P3 LCD_SPI_MOSI
8 GND GND
9 P4 Free
10 P5 Free
11 P6 Free
12 P7 Free
13 INT No connection
14 SCL I2C_SCL
15 SDA I2C_SDA
16 VCC Supply voltage

Power Distribution

Power Supply over USB There are two ways to power the development board via USB power port.
• Via USB-to-USB port

Fig. 76: ESP32-S3-LCD-EV-Board - USB-to-USB Power Supply

• Via USB-to-UART port

Independent Audio and Digital Power Supply ESP32-S3-LCD-EV-Board features independent power supplies
for the audio components and ESP module. This should reduce noise in the audio signal from digital components and
improve the overall performance of the components.

AEC Path The acoustic echo cancellation (AEC) path provides reference signals for AEC algorithm.
ESP32-S3-LCD-EV-Board provides two compatible echo reference signal source designs. One is Codec (ES8311)
DAC output (DAC_AOUTLP/DAC_AOUTLP), the other is PA (NS4150) output (PA_OUT+/PA_OUT+). The

Espressif Systems 90 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 77: ESP32-S3-LCD-EV-Board - USB-to-UART Power Supply

Fig. 78: ESP32-S3-LCD-EV-Board - Digital Power Supply

Fig. 79: ESP32-S3-LCD-EV-Board - Audio Power Supply

Espressif Systems 91 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

former is a default and the recommended selection. Resistors R54 and R56 shown in the figure below should not be
installed.
The echo reference signal is collected by ADC_MIC3P/ADC_MIC3N of ADC (ES7210) and then sent back to
ESP32-S3 for AEC algorithm.

Fig. 80: ESP32-S3-LCD-EV-Board - AEC Codec DAC Output (Click to Enlarge)

Hardware Setup Options

Automatic Download There are two ways to put the development board into the download mode.
• Press the Boot and Reset buttons. Release the Reset button first and then the Boot button.
• The download is performed automatically by the software. The software uses the DTR and RTS signals from
the serial port to control the status of the EN and IO0 pins.

Hardware Revision Details

ESP32-S3-LCD-EV-Board v1.5
• The following pins are re-allocated for the ESP32-S3-WROOM-1-N16R16V module:
– I2C_SCL: from IO18 to IO48
– I2C_SDA: from IO8 to IO47
– LCD_DATA6: from IO47 to IO8
– LCD_DATA7: from IO48 to IO18
• Level-shifting circuits are added to IO47 and IO48 for converting the 1.8 V logic level to a 3.3 V logic level.

ESP32-S3-LCD-EV-Board v1.4
• Initial Release

Sample Request This development board is suitable for evaluating Espressif’s high-performance HMI Smart
Displays Solution. For placing orders, please proceed to the Espressif Online Shop.

Espressif Systems 92 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 81: SP32-S3-LCD-Ev-Board - AEC PA Output (Click to Enlarge)

Fig. 82: ESP32-S3-LCD-EV-Board - AEC Reference Signal Collection (Click to Enlarge)

Espressif Systems 93 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Related Documents
• ESP32-S3 Datasheet
• ESP32-S3-WROOM-1 Datasheet
• ESP Product Selector
• ESP32-S3-LCD-EV-Board-MB Schematics
• ESP32-S3-LCD-EV-Board-MB PCB Layout
• ESP32-S3-LCD-EV-Board-SUB1 Schematics
• ESP32-S3-LCD-EV-Board-SUB1 PCB Layout
• ESP32-S3-LCD-EV-Board-SUB2 Schematics
• ESP32-S3-LCD-EV-Board-SUB2 PCB Layout
• ESP32-S3-LCD-EV-Board-SUB3 Schematics
• ESP32-S3-LCD-EV-Board-SUB3 PCB Layout
• TCA9554 Datasheet
For further design documentation for the board, please contact us at [email protected].

ESP32-S3-LCD-EV-Board v1.4

Note: Please check the version number of your ESP32-S3-LCD-EV-Board-MB indicated by the silk marking on
the back. For boards of the v1.4 and below versions, please refer to this user guide. For boards of the v1.5 version,
please refer to ESP32-S3-LCD-EV-Board v1.5.

This user guide will help you get started with ESP32-S3-LCD-EV-Board and will also provide more in-depth infor-
mation.
The document consists of the following sections:
• Board Overview: Overview of the board hardware/software.
• Start Application Development: How to set up hardware/software to develop applications.
• Hardware Reference: More detailed information about the board’s hardware.
• Hardware Revision Details: This is the first revision of this board released.
• Sample Request: How to get a sample board.
• Related Documents: Links to related documentation.

Board Overview ESP32-S3-LCD-EV-Board is an ESP32-S3-based development board with a touchscreen. To-


gether with different subboards, ESP32-S3-LCD-EV-Board can drive LCDs with IIC, SPI, 8080, and RGB inter-
faces. It houses dual array microphones, supports voice recognition and near/far-field voice wake-up, and features
screen and voice interaction. The board caters to development needs for touchscreen products with different resolu-
tions and interfaces. Currently, we have two boards available: ESP32-S3-LCD-EV-Board with 480x480 LCD and
ESP32-S3-LCD-EV-Board-2 with 800x480 LCD.

Feature List The main features of the board are listed below:
• Module Embedded: ESP32-S3-WROOM-1 module with 16 MB flash and 8 MB PSRAM
• Display: Compatibility with various subboards and support for displays with RGB, 8080, SPI, and I2C
interfaces. Please refer to LCD Subboards for more information
• Audio: Audio Codec + ADC amplifier and dual microphones
• USB: USB to serial port chip plus USB Type-C download/debug

Block Diagram The block diagram below shows the components of ESP32-S3-LCD-EV-Board and their inter-
connections.

Espressif Systems 94 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 83: ESP32-S3-LCD-EV-Board with 480x480 LCD

Espressif Systems 95 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 84: ESP32-S3-LCD-EV-Board-2 with 800x480 LCD

Fig. 85: ESP32-S3-LCD-EV-Board Block Diagram (Click to Enlarge)

Espressif Systems 96 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Description of Components The ESP32-S3-LCD-EV-Board development board consists of a mainboard and a


subboard.

Mainboard ESP32-S3-LCD-EV-Board-MB is the core of the kit, which integrates the ESP32-S3-WROOM-1
module and provides ports for connection to the LCD subboard.

Fig. 86: ESP32-S3-LCD-EV-Board-MB - Front (Click to Enlarge)

The key components of the board are described in a counter-clockwise direction.

Espressif Systems 97 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


ESP32-S3-WROOM-1- ESP32-S3-WROOM-1-N16R8 is a generic Wi-Fi + Bluetooth LE MCU mod-
N16R8 Module ule that is built around the ESP32-S3 series of SoCs. It is integrated with 16
MB flash and 8 MB PSRAM. On top of a rich set of peripherals, the acceler-
ation for neural network computing and signal processing workloads provided
by the SoC makes the module an ideal choice for a wide variety of application
scenarios related to Artificial Intelligence of Things (AIoT).
Reset Button Press this button to reset the system.
Boot Button Holding down the Boot key and momentarily pressing the Reset key initiates
the firmware upload mode. Then you can upload firmware through the serial
port or USB.
Expansion Connector Provides connections for all I/O expander pins, all power supply pins, and some
module pins.
I/O Expander TCA9554 is a device that provides 8 bits of general purpose parallel I/O ex-
pansion. It controls the I/O mode and level via two-line bidirectional I2C bus,
offering a simple solution when additional I/Os are needed.
LCD Board Connector Three different types of LCD subboards can be connected via connectors with
2.54 mm pitch.
LED Supports configuring the RGB LED display to indicate status or behavior.
USB-to-USB Port Provides power to the entire system (choose either USB-to-USB or USB-to-
UART port). It is recommended to use at least a 5V/2A power adapter to
ensure stable power supply. Used for USB communication between the PC
and the ESP32-S3-WROOM-1 module.
USB-to-UART Port Provides power to the entire system (choose either USB-to-USB or USB-to-
UART port). It is recommended to use at least a 5V/2A power adapter to
ensure stable power supply. Used for serial communication between the PC
side and the ESP32-S3-WROOM-1 module.
Left Microphone On-board microphone, connected to ADC.
Right Microphone On-board microphone, connected to ADC.
Audio ADC Chip ES7210 <http://www.everest-semi.com/pdf/ES7210%20PB.pdf> is a high per-
formance, low power 4-channel audio ADC for applications of microphone
arrays. Featuring Acoustic Echo Cancellation (AEC), it is an ideal choice for
music and voice applications.
USB-to-UART Bridge Con- CP2102N, the single-chip USB-to-UART bridge controller, provides up to 3
troller Mbps connection for software download and debugging.
Audio Codec Chip ES8311 is a low-power mono audio codec that includes a single-channel ADC
and DAC, low noise pre-amplifier, headphone driver, digital audio, analog mix-
ing, and gain function. It connects to the ESP32-S3-WROOM-1 module via
I2S and I2C buses to process audio through hardware instead of the audio ap-
plication.
Audio Amplifier NS4150 is a low EMI, 3 W mono class D audio amplifier used to drive speakers
by amplifying the audio signal from the audio codec chip.
Speaker Connector External speaker playback is possible with the help of the audio amplifier.

LCD Subboards The mainboard can be used together with three different kinds of subboards:

Espressif Systems 98 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Board Name Dis- Reso- LCD Driver Touch Available Development


play lution (Interface) Driver Boards
(Inch) (Px)
ESP32-S3-LCD-EV-Board- 0.96 128 x SSD1315 Not Not Available
SUB1 v1.0 64 (I2C) Avail-
able
2.40 320 x ST7789V XTP2046 Not Available
240 (SPI)
ESP32-S3-LCD-EV-Board- 3.50 480 x ST7796S GT911 Not Available
SUB2 v1.4 320 (8080)
3.95 480 x GC9503CV FT5x06 ESP32-S3-LCD-EV-Board
480 (RGB)
ESP32-S3-LCD-EV-Board- 4.30 800 x ST7262E43 GT1151 ESP32-S3-LCD-EV-Board-2
SUB3 v1.3 480 (RGB)

• The ESP32-S3-LCD-EV-Board-SUB1 subboard has two interfaces, which support connection to a 2.4-inch
display with the SPI interface or a 0.96-inch display with the I2C interface. This board is not yet configured,
so it is not further explained here.
• The ESP32-S3-LCD-EV-Board-SUB2 subboard has two interfaces, which support connection to a display
with the RGB interface or a display with the 8080 parallel interface. The current subboard has a 3.95-inch
touchscreen with the RGB565 interface and 480x480 resolution. The LCD driver IC is GC9503CV and the
touchscreen driver IC is FT5x06.

Fig. 87: ESP32-S3-LCD-EV-Board-SUB2 - Front (Click to Enlarge)

• The ESP32-S3-LCD-EV-Board-SUB3 subboard only supports a 4.3-inch touchscreen with the RGB565

Espressif Systems 99 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 88: ESP32-S3-LCD-EV-Board-SUB2 - Back (Click to Enlarge)

interface and 800x480 resolution. The LCD driver IC is ST7262E43 and the touchscreen driver IC is GT1151.

Start Application Development This section provides instructions on how to do hardware and software setup and
flash firmware onto the board to develop your own application.

Required Hardware
• 1 x ESP32-S3-LCD-EV-Board-MB
• 1 x LCD subboard
• 1 x USB 2.0 cable (standard Type-A to Type-C)
• 1 x PC (Windows, Linux, or macOS)

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Optional Hardware
• 1 x Speaker

Hardware Setup Prepare the board for loading of the first sample application:
1. Connect the LCD subboard to the LCD Board Connector.
2. Plug in the USB cable to connect the PC with the board.
3. The LCD lights up and you can start to interact with it.
Now the board is ready for software setup.

Espressif Systems 100 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 89: ESP32-S3-LCD-EV-Board-SUB3 - Front (Click to Enlarge)

Fig. 90: ESP32-S3-LCD-EV-Board-SUB3 - Back (Click to Enlarge)

Espressif Systems 101 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Software Setup The development framework of ESP32-S3-LCD-EV-Board is ESP-IDF. ESP-IDF is a


FreeRTOS-based SoC development framework with a bunch of components including LCD, ADC, RMT, and SPI.
An example is provided for ESP32-S3-LCD-EV-Board under the folder Examples . You can configure project op-
tions by entering idf.py menuconfig in the example directory.
To learn how to quickly set up your development environment, please go to Get Started > Installation.

Note:
• ESP-IDF v5.1.2 is required. It is recommended to use the latest release/v5.1 branch for development.
• For more information about developing LCD applications, please refer to ESP-IoT-Solution Programming
Guide.

Hardware Reference This section provides more detailed information about the board’s hardware.

GPIO Allocation The table below provides the allocation of GPIOs exposed on terminals of ESP32-S3-WROOM-
1 module to control specific components or functions of the board.

Table 5: ESP32-S3-WROOM-1 GPIO Allocation


Pin Pin Name Function
1 GND GND
2 3V3 Power supply
3 EN RESET
4 IO4 LED
5 IO5 I2S_MCLK
6 IO6 I2S_CODEC_DSDIN
7 IO7 I2S_LRCK
8 IO15 I2S_ADC_SDOUT
9 IO16 I2S_SCLK
10 IO17 LCD_DE
11 IO18 I2C_SCL
12 IO8 I2C_SDA
13 IO19 USB_D-
14 IO20 USB_D+
15 IO3 LCD_VSYNC
16 IO46 LCD_HSYNC
17 IO9 LCD_PCLK
18 IO10 LCD_DATA0
19 IO11 LCD_DATA1
20 IO12 LCD_DATA2
21 IO13 LCD_DATA3
22 IO14 LCD_DATA4
23 IO21 LCD_DATA5
24 IO47 LCD_DATA6
25 IO48 LCD_DATA7
26 IO45 LCD_DATA8
27 IO0 BOOT
28 IO35 No connection
29 IO36 No connection
30 IO37 No connection
31 IO38 LCD_DATA9
32 IO39 LCD_DATA10
33 IO40 LCD_DATA11
34 IO41 LCD_DATA12
continues on next page

Espressif Systems 102 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Table 5 – continued from previous page


Pin Pin Name Function
35 IO42 LCD_DATA13
36 RXD0 UART_RXD0
37 TXD0 UART_TXD0
38 IO2 LCD_DATA14
39 IO1 LCD_DATA15
40 GND GND
41 EPAD GND

The pins on the I/O expander connected to the module can be used for different functions.

Table 6: I/O Expander GPIO Allocation


IO Expander Pin Pin Name Function
1 A0 GND
2 A1 GND
3 A2 GND
4 P0 PA_CTRL
5 P1 LCD_SPI_CS
6 P2 LCD_SPI_SCK
7 P3 LCD_SPI_MOSI
8 GND GND
9 P4 Free
10 P5 Free
11 P6 Free
12 P7 Free
13 INT No connection
14 SCL I2C_SCL
15 SDA I2C_SDA
16 VCC Supply voltage

Power Distribution

Power Supply over USB There are two ways to power the development board via USB power port.
• Via USB-to-USB port

Fig. 91: ESP32-S3-LCD-EV-Board - USB-to-USB Power Supply

Espressif Systems 103 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• Via USB-to-UART port

Fig. 92: ESP32-S3-LCD-EV-Board - USB-to-UART Power Supply

Independent Audio and Digital Power Supply ESP32-S3-LCD-EV-Board features independent power supplies
for the audio components and ESP module. This should reduce noise in the audio signal from digital components and
improve the overall performance of the components.

Fig. 93: ESP32-S3-LCD-EV-Board - Digital Power Supply

AEC Path The acoustic echo cancellation (AEC) path provides reference signals for AEC algorithm.
ESP32-S3-LCD-EV-Board provides two compatible echo reference signal source designs. One is Codec (ES8311)
DAC output (DAC_AOUTLP/DAC_AOUTLP), the other is PA (NS4150) output (PA_OUT+/PA_OUT+). The
former is a default and the recommended selection. Resistors R54 and R56 shown in the figure below should not be
installed.
The echo reference signal is collected by ADC_MIC3P/ADC_MIC3N of ADC (ES7210) and then sent back to
ESP32-S3 for AEC algorithm.

Hardware Setup Options

Espressif Systems 104 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 94: ESP32-S3-LCD-EV-Board - Audio Power Supply

Fig. 95: ESP32-S3-LCD-EV-Board - AEC Codec DAC Output (Click to Enlarge)

Espressif Systems 105 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 96: SP32-S3-LCD-Ev-Board - AEC PA Output (Click to Enlarge)

Fig. 97: ESP32-S3-LCD-EV-Board - AEC Reference Signal Collection (Click to Enlarge)

Espressif Systems 106 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Automatic Download There are two ways to put the development board into the download mode.
• Press the Boot and Reset buttons. Release the Reset button first and then the Boot button.
• The download is performed automatically by the software. The software uses the DTR and RTS signals from
the serial port to control the status of the EN and IO0 pins.

Hardware Revision Details No previous revisions.

Sample Request This development board is suitable for evaluating Espressif’s high-performance HMI Smart
Displays Solution. For placing orders, please proceed to the Espressif Online Shop.

Related Documents
• ESP32-S3 Datasheet
• ESP32-S3-WROOM-1 Datasheet
• ESP Product Selector
• ESP32-S3-LCD-EV-Board-MB Schematics
• ESP32-S3-LCD-EV-Board-MB PCB Layout
• ESP32-S3-LCD-EV-Board-SUB1 Schematics
• ESP32-S3-LCD-EV-Board-SUB1 PCB Layout
• ESP32-S3-LCD-EV-Board-SUB2 Schematics
• ESP32-S3-LCD-EV-Board-SUB2 PCB Layout
• ESP32-S3-LCD-EV-Board-SUB3 Schematics
• ESP32-S3-LCD-EV-Board-SUB3 PCB Layout
• TCA9554 Datasheet
For further design documentation for the board, please contact us at [email protected].

1.1.11 ESP32-S3-USB-Bridge

ESP32-S3-USB-Bridge can act as an alternative to USB-to-UART chips like CP210x or debuggers by establishing a
bridge between the computer and existing microcontrollers.

ESP32-S3-USB-Bridge

This user guide will help you get started with ESP32-S3-USB-Bridge and will also provide more in-depth information.
The document consists of the following sections:
• Board Overview: Overview of the board hardware/software
• Start Application Development: How to set up hardware/software to develop applications
• Hardware Reference: More detailed information about the board’s hardware
• Hardware Revision Details: This is the first revision of this board released
• Sample Request: How to get a sample board
• Related Documents: Links to related documentation

Board Overview ESP32-S3-USB-Bridge is a development board based on ESP32-S3.


• The usb_wireless_bridge example can be used to establish a bridge between a computer and the target chip. It
can emulate a USB composite device and supports multiple functions:
– USB-to-UART Bridge: realizes serial data transmission and reception between the computer and the
target chip.
– JTAG Adapter: realizes duplex JTAG communication between the computer and the target chip.

Espressif Systems 107 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

– MSC Storage Device: updates firmware by storing the UF2 firmware files in the USB storage device of
the board.
– Wireless Bridge: realizes wireless flashing and wireless serial data transmission and reception through
ESP-NOW.

Fig. 98: ESP32-S3-USB-Bridge Type-C Connection

The development board also supports a USB Type-A interface that is convenient for replacement.

Feature List The main features of the board are listed below:
• Module Embedded: ESP32-S3-MINI-1 module with 4 MB flash and 2 MB PSRAM
• LED Indicators: on-board WS2812 LED indicator with two serial data LED indicators
• USB: on-board USB-to-UART bridge and JTAG adapter, with support for USB download/debugging

Block Diagram The block diagram below shows the components of ESP32-S3-USB-Bridge and their intercon-
nections.

Description of Components ESP32-S3-USB-Bridge is a rather compact development board, with a dimension


of 23.3 mm * 31.5 mm. It integrates the ESP32-S3-MINI-1 module and offers a 12-pin expansion connector.
The key components of the board are described in a clockwise direction.

Espressif Systems 108 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 99: ESP32-S3-USB-Bridge Type-A Connection

Fig. 100: ESP32-S3-USB-Bridge Block Diagram (Click to Enlarge)

Espressif Systems 109 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 101: ESP32-S3-USB-Bridge - Front (Click to Enlarge)

Key Component Description


ESP32-S3-MINI-1-N4R2 ESP32-S3-MINI-1-N4R2 is a generic Wi-Fi + Bluetooth LE MCU module
Module that is built around the ESP32-S3 series of SoCs. It is integrated with 4 MB
flash and 2 MB PSRAM. On top of a rich set of peripherals, the acceleration
for neural network computing and signal processing workloads provided by
the SoC makes the module an ideal choice for a wide variety of application
scenarios related to Artificial Intelligence of Things (AIoT).
TX/RX Indicator Indicates transmit and receive status of serial data.
Expansion Connector Provides connections for JTAG pins, serial pins, TX/RX pins, Boot pins, Reset
pins, and power supply pins.
Reset Button Connects the Reset button on the target chip and IO8 on the module. Press this
button to reset the target chip.
USB-to-USB Port Provides power to the entire system. Used for USB communication between
the PC and the ESP32-S3-MINI-1 module.
Boot Button Connects the Boot button on the target chip and IO9 on the module. Holding
down the Boot button and momentarily pressing the Reset button initiates the
firmware upload mode. Then you can upload firmware through the serial port
or USB.

Key Component Description


5 V to 3.3 V Converts the USB voltage to 3.3 V for powering the ESP32-S3-MINI-1 mod-
ule.
Module Boot Button Connects IO0 on the module. After holding down the Boot button and power-
ing up the development board again, the board enters the download mode and
initiates the firmware upload mode for uploading firmware.
WS2812 Connects IO42 on the module and indicates the current state of the develop-
ment board.

Espressif Systems 110 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 102: ESP32-S3-USB-Bridge - Back (Click to Enlarge)

Software Support Development of applications for ESP32-S3-USB-Bridge can be done using ESP-IDF frame-
work. ESP-IDF is a FreeRTOS-based SoC development framework with several components including LCD, ADC,
RMT, and SPI. An example is provided for ESP32-S3-LCD-EV-Board under the folder Examples . You can config-
ure project options by entering idf.py menuconfig in the example directory.

Note:
• The current supported ESP-IDF version is release/5.0.
• To prevent the default firmware from being replaced, please avoid pressing and holding the module’s own
Boot button while powering the board up/down.

Start Application Development This section provides instructions on how to do hardware and software setup and
flash firmware onto the board to develop your own application.

Required Hardware
• 1 x ESP32-S3-USB-Bridge
• 1 x LCD subboard
• 1 x USB 2.0 cable (standard Type-A to Type-C)
• 1 x PC (Windows, Linux, or macOS)

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Hardware Setup Prepare the board for loading of the first sample application:
1. Plug in the USB cable to connect the PC with the USB port on the board.
2. Make sure the board is in the download mode.
3. The LED lights up indicating the completion of flashing.
Now the board is ready for software setup.

Software Setup Please proceed to Get Started, where Section Installation will quickly help you set up the devel-
opment environment.

Espressif Systems 111 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

For more software information on developing applications, please go to Software Support.

Hardware Reference This section provides more detailed information about the board’s hardware.

GPIO Allocation The table below provides the GPIO allocation of the ESP32-S3-MINI-1 module and its 12-pin
expansion connector, which is used to control specific components or functions on the development board as well as
the externally connected target chip.

Table 7: ESP32-S3-MINI-1 and Expansion Connector GPIO Allocation


Pin Pin Name Function
1 GND GND
2 3V3 Power supply
3 IO0 Module boot button for entering download mode which can
also be used as a key input pin
4 IO2 JTAG pin TDO for test data output
5 IO3 JTAG pin TDI for test data input
6 IO4 JTAG pin TCK for synchronized test data transfer
7 IO5 JTAG pin TMS for test mode configuration
8 IO8 The Reset pin connecting to the target chip, which sets the
target chip to low level when pressed
9 IO9 The Boot pin connecting to the target chip, which sets the tar-
get chip to low level when pressed
10 IO19 USB_D-
11 IO20 USB_D+
12 IO40 RX connecting to the UART TX pin of the target chip
13 IO41 TX connecting to the UART RX pin of the target chip
14 IO42 WS2812 control pin

Note: Pin 3 to Pin 14 are the corresponding pins of the 12-pin expansion connector. Apart from the features in the
above table, all these IO pins support to be configured for other purposes. Note that GPIO5 and GPIO8 should be
connected to external keys.

Power Distribution

Power Supply over USB There are two ways to power the development board via the USB power port:
• Via the Type-A port

Fig. 103: ESP32-S3-USB-Bridge - Type-A Power Supply

Espressif Systems 112 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• Via the Type-C port

Fig. 104: ESP32-S3-USB-Bridge - Type-C Power Supply

Voltage Conversion Circuit The ESP32-S3-USB-Bridge supports converting 5 V to 3.3 V for the module.

Fig. 105: ESP32-S3-USB-Bridge - Voltage Conversion

Hardware Setup Options

Automatic Download Press the Boot button on the module and re-power up the board, then release the Boot button
to allow the board to enter the download mode.

Hardware Revision Details No previous revisions.

Sample Request This board has been open-sourced to OSHWHub. Please sample it according to your needs.

Espressif Systems 113 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Related Documents
• ESP32-S3 Datasheet
• ESP32-S3-MINI-1 Datasheet
• ESP Product Selector
• ESP32-S3-USB-Bridge PCB Layout
• ESP32-S3-USB-Bridge Schematics
For further design documentation for the board, please contact us at [email protected].

1.1.12 ESP32-S2-DevKitC-1

ESP32-S2-DevKitC-1 is an entry-level development board. This board integrates complete Wi-Fi functions. 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-S2-DevKitC-1 on a breadboard.

ESP32-S2-DevKitC-1

This user guide will help you get started with ESP32-S2-DevKitC-1 and will also provide more in-depth information.
ESP32-S2-DevKitC-1 is an entry-level development board. This board integrates complete Wi-Fi functions. 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-S2-DevKitC-1 on a breadboard.

Fig. 106: ESP32-S2-DevKitC-1 with the ESP32-S2-SOLO Module

The document consists of the following major sections:


• Getting Started: Overview of ESP32-S2-DevKitC-1 and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-S2-DevKitC-1’s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-S2-DevKitC-1.
• Related Documents: Links to related documentation.

Espressif Systems 114 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Getting Started This section provides a brief introduction of ESP32-S2-DevKitC-1, instructions on how to do the
initial hardware setup and how to flash firmware onto it.

Fig. 107: ESP32-S2-DevKitC-1 - front

Description of Components The key components of the board are described in a clockwise direction.

Key Component Description


On-board module (ESP32-S2- ESP32-S2-SOLO series modules with an on-board PCB antenna or a connector
SOLO or ESP32-S2-SOLO-U for an external antenna. This series of modules have multiple options for flash
in the above figure) and PSRAM size. For more information, please refer to Ordering Information.
3.3 V Power On LED Turns on when the USB power is connected to the board.
USB-to-UART Bridge Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
Pin Headers All available GPIO pins (except for the SPI bus for flash) are broken out to the
pin headers on the board. For details, please see Header Block.
ESP32-S2 USB Port ESP32-S2 full-speed USB OTG interface, compliant with the USB 1.1 spec-
ifications. The interface is used for power supply to the board, for flashing
applications to the chip, and for communication with the chip using USB 1.1
protocols.
Reset Button Press this button to restart the system.
Boot Button Download button. Holding down Boot and then pressing Reset initiates
Firmware Download mode for downloading firmware through the serial port.
USB-to-UART Port A Micro-USB port used for power supply to the board, for flashing applications
to the chip, as well as the communication with the chip via the on-board USB-
to-UART bridge.
RGB LED Addressable RGB LED, driven by GPIO18.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.

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

Required Hardware
• ESP32-S2-DevKitC-1

Espressif Systems 115 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

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


• Computer running Windows, Linux, or macOS

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Hardware Setup Connect the board with the computer using USB-to-UART Port or ESP32-S2 USB Port. In
subsequent steps, USB-to-UART Port will be used by default.

Software Setup Please proceed to Get Started, where Section Installation will quickly help you set up the devel-
opment environment and then flash an application example into your ESP32-S2-DevKitC-1.

Contents and Packaging

Ordering Information The development board has a variety of variants to choose from, as shown in the table
below.

Ordering Code On-board Module1 Flash PSRAMAntenna


ESP32-S2-DevKitC-1-N8R2 ESP32-S2-SOLO-2 8 MB 2 MB PCB on-board
(Recommended) antenna
ESP32-S2-DevKitC-1U-N8R2 ESP32-S2-SOLO-2U 8 MB 2 MB External antenna
(Recommended) connector
ESP32-S2-DevKitC-1 ESP32-S2-SOLO 4 MB — PCB on-board
antenna
ESP32-S2-DevKitC-1U ESP32-S2-SOLO-U 4 MB — External antenna
connector
ESP32-S2-DevKitC-1R ESP32-S2-SOLO 4 MB 2 MB PCB on-board
antenna
ESP32-S2-DevKitC-1RU ESP32-S2-SOLO-U 4 MB 2 MB External antenna
connector

Retail Orders If you order a few samples, each ESP32-S2-DevKitC-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.

Hardware Reference

Block Diagram The block diagram below shows the components of ESP32-S2-DevKitC-1 and their interconnec-
tions.
1 The ESP32-S2-SOLO-2 and ESP32-S2-SOLO-2U modules use chip revision v1.0, and the rest use chip revision v0.0. For more information

about chip revisions, please refer to ESP32-S2 Series SoC Errata.

Espressif Systems 116 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 108: ESP32-S2-DevKitC-1 (click to enlarge)

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• USB-to-UART Port and ESP32-S2 USB Port (either one or both), default power supply (recommended)
• 5V and G (GND) pins
• 3V3 and G (GND) pins

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in ESP32-S2-DevKitC-1 - front. The numbering is the same as in the
ESP32-S2-DevKitC-1 Schematic (PDF).

Espressif Systems 117 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J1

No. Name TypePage 118, 2 Function


1 3V3 P 3.3 V power supply
2 3V3 P 3.3 V power supply
3 RST I CHIP_PU
4 4 I/O/T RTC_GPIO4, GPIO4, TOUCH4, ADC1_CH3
5 5 I/O/T RTC_GPIO5, GPIO5, TOUCH5, ADC1_CH4
6 6 I/O/T RTC_GPIO6, GPIO6, TOUCH6, ADC1_CH5
7 7 I/O/T RTC_GPIO7, GPIO7, TOUCH7, ADC1_CH6
8 15 I/O/T RTC_GPIO15, GPIO15, U0RTS, ADC2_CH4,
XTAL_32K_P
9 16 I/O/T RTC_GPIO16, GPIO16, U0CTS, ADC2_CH5,
XTAL_32K_N
10 17 I/O/T RTC_GPIO17, GPIO17, U1TXD, ADC2_CH6, DAC_1
11 183 I/O/T RTC_GPIO18, GPIO18, U1RXD, ADC2_CH7, DAC_2,
CLK_OUT3, RGB LED
12 8 I/O/T RTC_GPIO8, GPIO8, TOUCH8, ADC1_CH7
13 3 I/O/T RTC_GPIO3, GPIO3, TOUCH3, ADC1_CH2
14 46 I GPIO46
15 9 I/O/T RTC_GPIO9, GPIO9, TOUCH9, ADC1_CH8, FSPIHD
16 10 I/O/T RTC_GPIO10, GPIO10, TOUCH10, ADC1_CH9,
FSPICS0, FSPIIO4
17 11 I/O/T RTC_GPIO11, GPIO11, TOUCH11, ADC2_CH0, FSPID,
FSPIIO5
18 12 I/O/T RTC_GPIO12, GPIO12, TOUCH12, ADC2_CH1, FSPI-
CLK, FSPIIO6
19 13 I/O/T RTC_GPIO13, GPIO13, TOUCH13, ADC2_CH2, FSPIQ,
FSPIIO7
20 14 I/O/T RTC_GPIO14, GPIO14, TOUCH14, ADC2_CH3,
FSPIWP, FSPIDQS
21 5V P 5 V power supply
22 G G Ground

2 P: Power supply; I: Input; O: Output; T: High impedance.


3 GPIO18 is not pulled up on boards with an ESP32-S2-SOLO-2 or ESP32-S2-SOLO-2U module.

Espressif Systems 118 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J3

No. Name Type Function


1 G G Ground
2 TX I/O/T U0TXD, GPIO43, CLK_OUT1
3 RX I/O/T U0RXD, GPIO44, CLK_OUT2
4 1 I/O/T RTC_GPIO1, GPIO1, TOUCH1, ADC1_CH0
5 2 I/O/T RTC_GPIO2, GPIO2, TOUCH2, ADC1_CH1
6 42 I/O/T MTMS, GPIO42
7 41 I/O/T MTDI, GPIO41, CLK_OUT1
8 40 I/O/T MTDO, GPIO40, CLK_OUT2
9 39 I/O/T MTCK, GPIO39, CLK_OUT3
10 38 I/O/T GPIO38, FSPIWP
11 37 I/O/T SPIDQS, GPIO37, FSPIQ
12 36 I/O/T SPIIO7, GPIO36, FSPICLK
13 35 I/O/T SPIIO6, GPIO35, FSPID
14 0 I/O/T RTC_GPIO0, GPIO0
15 45 I/O/T GPIO45
16 34 I/O/T SPIIO5, GPIO34, FSPICS0
17 33 I/O/T SPIIO4, GPIO33, FSPIHD
18 21 I/O/T RTC_GPIO21, GPIO21
19 20 I/O/T RTC_GPIO20, GPIO20, U1CTS, ADC2_CH9,
CLK_OUT1, USB_D+
20 19 I/O/T RTC_GPIO19, GPIO19, U1RTS, ADC2_CH8,
CLK_OUT2, USB_D-
21 G G Ground
22 G G Ground

Fig. 109: ESP32-S2-DevKitC-1 Pin Layout (click to enlarge)

Espressif Systems 119 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Pin Layout

Hardware Revision Details This is the first revision of this board released.

Related Documents
• ESP32-S2 Series Chip Revision v1.0 Datasheet (PDF)
• ESP32-S2 Series Chip Revision v0.0 Datasheet (PDF)
• ESP32-S2 Series SoC Errata (PDF)
• ESP32-S2-SOLO-2 & ESP32-S2-SOLO-2U Module Datasheet (PDF)
• ESP32-S2-SOLO & ESP32-S2-SOLO-U Module Datasheet (PDF)
• ESP32-S2-DevKitC-1 Schematic (PDF)
• ESP32-S2-DevKitC-1 PCB Layout (PDF)
• ESP32-S2-DevKitC-1 Dimensions (PDF)
• ESP32-S2-DevKitC-1 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

1.1.13 ESP32-S2-DevKitM-1

ESP32-S2-DevKitM-1 is entry-level development board. Most of the I/O pins on the module are broken out to the
pin headers on both sides for easy interfacing. Developers can either connect peripherals with jumper wires or mount
ESP32-S2-DevKitM-1 on a breadboard.

ESP32-S2-DevKitM-1

This user guide provides information on Espressif’s small-sized development board ESP32-S2-DevKitM-1.
ESP32-S2-DevKitM-1 is entry-level development board. Most of the I/O pins on the module are broken out to the
pin headers on both sides for easy interfacing. Developers can either connect peripherals with jumper wires or mount
ESP32-S2-DevKitM-1 on a breadboard.

ESP32-S2-DevKitM-1 ESP32-S2-DevKitM-1U

The document consists of the following major sections:


• Getting started: Provides an overview of the ESP32-S2-DevKitM-1 and hardware/software setup instructions
to get started.
• Hardware reference: Provides more detailed information about the ESP32-S2-DevKitM-1’s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-S2-DevKitM-1.

Espressif Systems 120 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• Related Documents: Gives links to related documentation.

Getting Started This section describes how to get started with ESP32-S2-DevKitM-1. It begins with a few intro-
ductory sections about the ESP32-S2-DevKitM-1, then Section Start Application Development provides instructions
on how to get the ESP32-S2-DevKitM-1 ready and flash firmware into it.

Contents and Packaging

Ordering Information The development board has a variety of variants to choose from, as shown in the table
below.

Ordering Code On-board Module1 Flash PSRAMAntenna


ESP32-S2-DevKitM-1-N4R2 ESP32-S2-MINI-2 4 MB 2 MB PCB on-board
(Recommended) antenna
ESP32-S2-DevKitM-1U-N4R2 ESP32-S2-MINI-2U 4 MB 2 MB External antenna
(Recommended) connector
ESP32-S2-DevKitM-1 ESP32-S2-MINI-1 4 MB — PCB on-board
antenna
ESP32-S2-DevKitM-1U ESP32-S2-MINI-1U 4 MB — External antenna
connector
ESP32-S2-DevKitM-1R ESP32-S2-MINI-1 4 MB 2 MB PCB on-board
antenna
ESP32-S2-DevKitM-1RU ESP32-S2-MINI-1U 4 MB 2 MB External antenna
connector

Retail Orders If you order a few samples, each ESP32-S2-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 key components of the board are described in a clockwise direction.
1 The ESP32-S2-MINI-2 and ESP32-S2-MINI-2U modules use chip revision v1.0, and the rest use chip revision v0.0. For more information

about chip revisions, please refer to ESP32-S2 Series SoC Errata.

Espressif Systems 121 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 110: ESP32-S2-DevKitM-1 - front

Fig. 111: ESP32-S2-DevKitM-1U - front

Espressif Systems 122 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


On-board module (ESP32-S2- ESP32-S2-MINI series modules with an on-board PCB antenna or a connector
MINI-1 or ESP32-S2-MINI- for an external antenna. This series of modules, known for its small size, have
1U in figures above) a flash and/or a PSRAM integrated in the chip package. For more information,
please refer to Ordering Information.
Pin Headers All available GPIO pins (except for the SPI bus for flash) are broken out to the
pin headers on the board. Users can program ESP32-S2FH4 chip to enable
multiple functions such as SPI, I2S, UART, I2C, touch sensors, PWM etc. For
details, please see Header Block.
3.3 V Power On LED Turns on when the USB power is connected to the board.
USB to UART Bridge Single USB-UART bridge chip provides transfer rates up to 3 Mbps.
Reset Button Reset button.
Micro-USB Port USB interface. Power supply for the board as well as the communication in-
terface between a computer and the ESP32-S2FH4 chip.
Boot Button Download button. Holding down Boot and then pressing Reset initiates
Firmware Download mode for downloading firmware through the serial port.
RGB LED Addressable RGB LED, driven by GPIO18.
5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output.
External Antenna Connector On ESP32-S2-MINI-2U and ESP32-S2-MINI-1U module only. For con-
nector dimensions, please refer to Section External Antenna Connector Di-
mensions in module datasheet.

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

Required Hardware
• ESP32-S2-DevKitM-1
• USB 2.0 cable (Standard-A to Micro-B)
• Computer running Windows, Linux, or macOS

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Software Setup Please proceed to Get Started, where Section Installation will quickly help you set up the devel-
opment environment and then flash an application example into your ESP32-S2-DevKitM-1.

Note: ESP32-S2 series of chips only is only supported in ESP-IDF master or version v4.2 and higher.

Hardware Reference

Block Diagram A block diagram below shows the components of ESP32-S2-DevKitM-1 and their interconnec-
tions.

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• Micro-USB Port, default power supply
• 5V and GND pin headers
• 3V3 and GND pin headers
It is recommended to use the first option: micro USB Port.

Espressif Systems 123 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 112: ESP32-S2-DevKitM-1 (click to enlarge)

Header Block The two tables below provide the Name and Function of the pin headers on both sides of the board
(J1 and J3). The pin header names are shown in ESP32-S2-DevKitM-1 - front. The numbering is the same as in the
ESP32-S2-DevKitM-1 Schematics (PDF).

J1
No. Name Type2 Function
1 3V3 P 3.3 V power supply
2 0 I/O/T RTC_GPIO0, GPIO0
3 1 I/O/T RTC_GPIO1, GPIO1, TOUCH1, ADC1_CH0
4 2 I/O/T RTC_GPIO2, GPIO2, TOUCH2, ADC1_CH1
5 3 I/O/T RTC_GPIO3, GPIO3, TOUCH3, ADC1_CH2
6 4 I/O/T RTC_GPIO4, GPIO4, TOUCH4, ADC1_CH3
7 5 I/O/T RTC_GPIO5, GPIO5, TOUCH5, ADC1_CH4
8 6 I/O/T RTC_GPIO6, GPIO6, TOUCH6, ADC1_CH5
9 7 I/O/T RTC_GPIO7, GPIO7, TOUCH7, ADC1_CH6
10 8 I/O/T RTC_GPIO8, GPIO8, TOUCH8, ADC1_CH7
11 9 I/O/T RTC_GPIO9, GPIO9, TOUCH9, ADC1_CH8, FSPIHD
12 10 I/O/T RTC_GPIO10, GPIO10, TOUCH10, ADC1_CH9, FSPICS0, FSPIIO4
13 11 I/O/T RTC_GPIO11, GPIO11, TOUCH11, ADC2_CH0, FSPID, FSPIIO5
14 12 I/O/T RTC_GPIO12, GPIO12, TOUCH12, ADC2_CH1, FSPICLK, FSPIIO6
15 13 I/O/T RTC_GPIO13, GPIO13, TOUCH13, ADC2_CH2, FSPIQ, FSPIIO7
16 14 I/O/T RTC_GPIO14, GPIO14, TOUCH14, ADC2_CH3, FSPIWP, FSPIDQS
17 15 I/O/T RTC_GPIO15, GPIO15, U0RTS, ADC2_CH4, XTAL_32K_P
18 16 I/O/T RTC_GPIO16, GPIO16, U0CTS, ADC2_CH5, XTAL_32K_N
19 17 I/O/T RTC_GPIO17, GPIO17, U1TXD, ADC2_CH6, DAC_1
20 5V P 5 V power supply
21 G G Ground

2 P: Power supply; I: Input; O: Output; T: High impedance.

Espressif Systems 124 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J3

No. Name Type Function


1 G G Ground
2 RST I CHIP_PU
3 46 I GPIO46
4 45 I/O/T GPIO45
5 RX I/O/T U0RXD, GPIO44, CLK_OUT2
6 TX I/O/T U0TXD, GPIO43, CLK_OUT1
7 42 I/O/T MTMS, GPIO42
8 41 I/O/T MTDI, GPIO41, CLK_OUT1
9 40 I/O/T MTDO, GPIO40, CLK_OUT2
10 39 I/O/T MTCK, GPIO39, CLK_OUT3
11 38 I/O/T GPIO38, FSPIWP
12 37 I/O/T SPIDQS, GPIO37, FSPIQ
13 36 I/O/T SPIIO7, GPIO36, FSPICLK
14 35 I/O/T SPIIO6, GPIO35, FSPID
15 34 I/O/T SPIIO5, GPIO34, FSPICS0
16 33 I/O/T SPIIO4, GPIO33, FSPIHD
17 26 I/O/T SPICS1, GPIO26
18 21 I/O/T RTC_GPIO21, GPIO21
19 20 I/O/T RTC_GPIO20, GPIO20, U1CTS, ADC2_CH9, CLK_OUT1, USB_D+
20 19 I/O/T RTC_GPIO19, GPIO19, U1RTS, ADC2_CH8, CLK_OUT2, USB_D-
21 18 I/O/T RTC_GPIO18, GPIO18, U1RXD, ADC2_CH7, DAC_2, CLK_OUT3, RGB LED

Fig. 113: ESP32-S2-DevKitM-1 Pin Layout (click to enlarge)

Pin Layout

Espressif Systems 125 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Hardware Revision Details This is the first revision of this board released.

Related Documents
• ESP32-S2 Series Chip Revision v1.0 Datasheet (PDF)
• ESP32-S2 Series Chip Revision v0.0 Datasheet (PDF)
• ESP32-S2 Series SoC Errata (PDF)
• ESP32-S2-MINI-2 & ESP32-S2-MINI-2U Module Datasheet (PDF)
• ESP32-S2-MINI-1 & ESP32-S2-MINI-1U Module Datasheet (PDF)
• ESP32-S2-DevKitM-1 Schematics (PDF)
• ESP32-S2-DevKitM-1 PCB Layout (PDF)
• ESP32-S2-DevKitM-1 Dimensions (PDF)
• ESP Product Selector
For other design documentation for the board, please contact us at [email protected].

1.1.14 ESP32-LCDKit

ESP32-LCDKit is an HMI (Human Machine Interface) development board with the ESP32-DevKitC at its core.

ESP32-LCDKit

Overview ESP32-LCDKit is an HMI (Human Machine Interface) development board with the ESP32-DevKitC at
its core. ESP32-LCDKit is integrated with such peripherals as SD-Card, DAC-Audio, and can be connected to an
external display. The board is mainly used for HMI-related development and evaluation.Development board reserved
screen interface type: SPI serial interface, 8-bit parallel interface, 16-bit parallel interface.
You may find HMI-related examples running with ESP32-LCDKit in HMI Example.
For more information on ESP32, please refer to ESP32 Series Datasheet.

Fig. 114: ESP32-LCDKit

Espressif Systems 126 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Block Diagram and PCB Layout

Block Diagram The figure below shows the block diagram for ESP32-LCDKit.

Fig. 115: ESP32-LCDKit Block Diagram

PCB Layout The figure below shows the layout of ESP32-LCDKit PCB.
Descriptions of PCB components are shown in the following table:

Components Description
Display connection module Allows to connect serial or parallel LCD displays (8/16 bit)
ESP32 DevKitC connection mod- Offers connection to an ESP32 DevKitC development board
ule
SD-Card module Provides an SD-Card slot for memory expansion
DAC-Audio module Features an audio power amplifier and two output ports for external speak-
ers

Functional Modules This section introduces the functional modules (interfaces) of ESP32-LCDKit and their hard-
ware schematics.
• Schematic
• PCB Layout

ESP32 DevKitC Connection Module For the HMI-related development with ESP32-LCDKit, you also need the
ESP32 DevKitC development board.
The figure below shows the schematics for the ESP32 DevKitC connection module.

Power Supply Management Module The figure below shows the schematics for the USB power supply manage-
ment module.

Espressif Systems 127 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 116: ESP32-LCDKit PCB Layout

Fig. 117: ESP32 DevKitC Connection Module

Espressif Systems 128 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 118: ESP32-LCDKit Power Supply Module

Display Connection Module The display connection module supports the following interfaces:
• SPI serial interface
• 8-bit parallel interface
• 16-bit parallel interface
With this module, you can connect ESP32-LCDKit to an external display and interact with the pre-programmed GUI
if the display has a touchscreen.
The figure below shows the schematics for this module.

SD-Card and DAC-Audio Modules The SD-Card module provides an SD Card slot for memory expansion. The
DAC-Audio module features the MIX3006 power amplifier and two output ports for connection of external speakers.
The figure below shows the schematics for the SD-Card and DAC-Audio modules.

Related Documents
• ESP32-LCDKit Schematic
• ESP32-LCDKit PCB Layout

1.1.15 ESP-Prog

ESP-Prog is one of Espressif’s development and debugging tools, with functions including automatic firmware
downloading, serial communication, and JTAG online debugging.

ESP-Prog

This user guide will help you get started with ESP-Prog and will also provide more in-depth information.

Espressif Systems 129 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 119: ESP32-LCDKit Display Connection Module

ESP-Prog is one of Espressif’s development and debugging tools, with functions including automatic firmware
downloading, serial communication, and JTAG debugging. ESP-Prog’s automatic firmware downloading and serial
communication functions are supported on ESP8266, ESP32, ESP32-S2, ESP32-S3, and ESP32-C3, while the JTAG
debugging is supported only on ESP32, ESP32-S2, ESP32-S3, and ESP32-C3.
ESP-Prog can be easily connected to a PC with the use of only one USB cable. Then, the PC can identify the board’
s Program and JTAG interfaces (functions) by their port numbers.
Given that the power supply voltage may vary on different user boards, either of the ESP-Prog interfaces can provide
5 V or 3.3 V power supply through pin headers, in order to ensure power compatibility. Power on ESP-Prog could
be toggled between 3.3 V and 5 V, but the RX/TX & JTAG signals will always be at the 3.3 V level.
The document consists of the following major sections:
• Getting started: Overview of the board and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the board’s hardware.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP-Prog on how to do the initial hardware setup.

Description of Components The key components of the board are described in a clockwise direction.

Espressif Systems 130 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 120: SD-Card and DAC-Audio Modules

Espressif Systems 131 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 121: ESP-Prog (click to enlarge)

Fig. 122: ESP-Prog - front (click to enlarge)

Espressif Systems 132 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Key Component Description


Micro USB Interface between PC and ESP-Prog.
Boot Button Download button. Holding down boot and then pressing reset initiates Firmware
Download mode for downloading firmware through the serial port.
IO0 On/Off Pin Header to set the state of GPIO0 strapping pin.
PROG PWR SEL Pin Header to select power input for the Program interface.
PROG 2.54 mm Program interface with 2.54 mm (0.1”) pin pitch.
PROG 1.27 mm Program interface with 1.27 mm (0.05”) pin pitch.
JTAG 1.27 mm JTAG interface with 1.27 mm (0.05”) pin pitch.
JTAG 2.54 mm JTAG interface with 2.54 mm (0.1”) pin pitch.
JTAG PWR SEL Pin Header to select power input for the JTAG interface.
LED Indicator LED to indicate ESP-Prog state. There are three LED modes: red, green, and blue.
The red LED lights up when the system is connected to the 3.3 V power. The green
LED lights up when ESP-Prog is downloading data. The blue LED lights up when
ESP-Prog is receiving data.
USB Bridge Single USB-to-UART bridge chip provides up to 3 Mbps of transfer rate.
Reset Button Press this button to restart the system.

Start Application Development Before powering up your board, please make sure that it is in good condition with
no obvious signs of damage.

Required Hardware
• ESP-Prog
• USB 2.0 cable (Standard-A to Micro-B)
• Computer running Windows, Linux, or macOS
• Dupont lines or flat cables provided by Espressif for connecting the development board to ESP-Prog

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Hardware Setup
1. Connect the ESP-Prog board and the PC USB port via a USB cable.
2. The PC then detects the two ports of ESP-Prog, indicating that the board is connected successfully. If the ports
are not detected install the FT2232HL chip driver on your PC.
3. Select the output power voltage for the Program/JTAG interfaces, using PROG PWR SEL/JTAG PWR SEL
pin headers.
4. Connect the ESP-Prog and ESP user board with the flat cables provided by Espressif.
5. Start programming (downloading) or JTAG debugging, using the official software tools or scripts provided by
Espressif.

Software Setup Please proceed to Get Started with ESP-IDF, where Section Installation Step by Step will quickly
help you set up the development environment.

Contents and Packaging

Retail Orders Each ESP-Prog board comes in an individual package.


The contents are as follows:
• Development board
ESP-Prog

Espressif Systems 133 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 123: ESP-Prog Package Contents

• Cables
Two flexible flat cables:
– One cable to connect to 2*5-PIN 2.54 mm male shrouded box header.
– One cable to connect to 2*3-PIN 1.27 mm male shrouded box header.
If you order a few samples, each board 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/company/contact/buy-a-sample.

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.

Hardware Reference

Block Diagram The block diagram below shows the components of ESP-Prog and their interconnections.

Power Supply Options There are three mutually exclusive ways to provide power to the board:
• ESP-Prog USB Port, default power supply (recommended)
• 5 V and G (GND) pins
• 3.3 V and G (GND) pins

Header Block The two tables below provide the Name and Function of the pins on both sides of the board
(Program Interface and JTAG Interface). The pin names are shown in the front view of the ESP-Prog board. The
numbering is the same as in the ESP-Prog Schematic (PDF).

Espressif Systems 134 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 124: ESP-Prog Block Diagram (click to enlarge)

Program Interface

No. Name Function


1 ESP_EN Enable signal
2 VDD Power supply
3 ESP_TXD TX pin
4 GND Ground
5 ESP_RXD RX pin
6 ESP_IO0 Strapping pin

JTAG Interface

No. Name Function


1 VDD Power supply
2 ESP_TMS JTAG TMS pin, mode selection
3 GND Ground
4 ESP_TCK JTAG TCK pin, clock input
5 GND Ground
6 ESP_TDO JTAG TDO pin
7 GND Ground
8 ESP_TDI JTAG TDI pin
9 GND Ground
10 NC None

Related Documents
• ESP-Prog Schematic (PDF)
• ESP-Prog PCB Layout (PDF)
• ESP-Prog Dimensions (PDF)

Espressif Systems 135 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

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

Reference Documentation

Introduction to Functions

The Working Mode of USB Bridge ESP-Prog uses FT2232HL, which is provided by FTDI, as its USB Bridge
Controller chip. The board can be configured to convert the USB 2.0 interface to serial and parallel interfaces that
support a wide range of industry standards. ESP-Prog uses FT2232HL’s default dual-asynchronous serial interface
mode available after installing the FT2232HL chip driver on their PCs.

Note: The PC is able to identify the ESP-Prog’s two ports by their port numbers. The bigger port number represents
the Program interface, while the other one represents the JTAG interface.

Communication Interface ESP-Prog can connect to ESP32 user boards using both the Program interface and the
JTAG interface.
• Program Interface
The Program interface has six pins, including the UART interface (ESP_TXD, ESP_RXD), boot mode selec-
tion pin (ESP_IO0) and reset pin (ESP_EN). The design for the Program interface on the user board should
follow the reference provided in the figure below.
• JTAG Interface
The design for the JTAG interface on the user board should follow the reference provided in the figure below.
• Fool-proof Design
The ESP-Prog board uses header connectors (DC3-6P/DC3-10P) which support reverse-current circuitry pro-
tection. In such cases, it is recommended that users also use header connectors on their user boards, such as
FTSH-105-01-S-DV-* or DC3-*P.

Note: Keying of the plugs and sockets to insert the plug is in one specific orientation, which means each socket
of ESP-Prog corresponds to the plugs on the cable and using a mismatched cable might lead to a wrong order of
connection. Please use the cables provided by Espressif.

Automatic Downloading Function ESP-Prog supports automatic downloading. After connecting the Program
interface of ESP-Prog to the user board, the downloading program can download data or run programs automatically
by controlling the states of the start-mode selection pin (ESP_IO0) and reset pin (ESP_EN), which spares the users
from manually restarting the device and selecting the downloading modes. The two buttons on the ESP-Prog board
enable users to reset and control the boot mode of the device manually.
The schematics of the automatic downloading circuit is displayed below.

Delay Circuit The delay circuit of ESP-Prog includes the bus buffer, inverter, MOSFET, first-order RC circuit,
and other components. This delay circuit ensures that the ESP32 chip can power up or reset itself before connecting
with the JTAG signal, thus protecting the chip from the influence of JTAG on power-up or reset.

LED Status Indication


• The red LED lights up when the system is connected to the 3.3 V power.
• The green LED lights up when ESP-Prog is downloading data to ESP32.
• The blue LED lights up when ESP-Prog is receiving data from ESP32.

Espressif Systems 136 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 125: Program Interface (click to enlarge)

Espressif Systems 137 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 126: JTAG Interface (click to enlarge)

Espressif Systems 138 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 127: Automatic Downloading Circuit (click to enlarge)

Fig. 128: ESP-Prog Delay Circuit (click to enlarge)

Fig. 129: LED Status (click to enlarge)

Espressif Systems 139 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Pin Headers Users can select the power supply for the Program and JTAG interfaces via the Pin Header to Select
Power Supply, and select the boot modes of ESP8266 and ESP32 via the IO0 On/Off Pin.
• Pin Header to Select Power Supply
The pin header in the middle is the power input pin for each interface. When this pin is connected to 5 V, the
power output of the interface is 5 V. When this pin is connected to 3.3 V, the power output of the interface is
3.3 V.
• IO0 On/Off Pin
Pin IO0 can be set to select ESP8266’s and ESP32’s boot modes. This pin can be used as a common
GPIO, after the chip is powered on. By removing a jumper from the pin header, users can disconnect Pin IO0
manually to protect the operation of the user board from the influence of ESP-Prog’s automatic downloading
circuit.

Fig. 130: Pin Headers (click to enlarge)

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

1.1.16 ESP-Module-Prog-1(R)

ESP-Module-Prog-1 and ESP-Module-Prog-1R (R stands for WROVER) are two flashing mainboards produced by
Espressif. They can be used to flash modules without soldering the module to the power supply and signal lines. The
only difference between ESP-Module-Prog-1 and ESP-Module-Prog-1R lies in the layout of the spring pins, which
are used to fit different modules.
ESP-Module-Prog-1 supports specific modules for ESP32, ESP32-S2, ESP32-S3, ESP32-C6, while ESP-Module-
Prog-1R supports ESP32-WROVER modules. For details about the fitting modules for corresponding mainboard
supports, please refer to the fitting module list.

ESP-Module-Prog-1(R)

This user guide will help you get started with ESP-Module-Prog-1(R) and will also provide more in-depth information.
ESP-Module-Prog-1 and ESP-Module-Prog-1R (R stands for WROVER) are two flashing mainboards produced by
Espressif. They can be used to flash modules without soldering the module to the power supply and signal lines.
The mainboard can be used independently or in combination with a subboard. Espressif supports two subboards:
ESP-Module-Prog-SUB-02 and ESP-Module-Prog-SUB-01&04, which cannot be used independently and must be
used in conjunction with any of the above-mentioned mainboards.
This user guide will introduce ESP-Module-Prog-1(R) Mainboard. For detailed information about the subboards,
please click the links below and check the corresponding user guides.
• ESP-Module-Prog-SUB-01&04
• ESP-Module-Prog-SUB-02
This user guide consists of the following sections:
• Board Overview: Overview of the board hardware/software.
• Start Application Development: How to set up hardware/software to develop applications.
• Hardware Reference: More detailed information about the board’s hardware.
• Sample Request: How to get a sample board.
• Related Documents: Links to related documentation.

Espressif Systems 140 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 131: ESP-Module-Prog-1

Espressif Systems 141 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 132: ESP-Module-Prog-1R

Espressif Systems 142 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Board Overview ESP-Module-Prog-1(R) is an Espressif flashing mainboard designed specifically for modules.
With a module mounted, it can also be used as a mini development board like ESP32-DevKitC. The only difference
between ESP-Module-Prog-1 and ESP-Module-Prog-1R lies in the layout of the spring pins, which are used to fit
different modules.

Mainboard Fitting Module


ESP-Module-Prog-1
• ESP32-WROOM-32
• ESP32-WROOM-32D
• ESP32-WROOM-32U
• ESP32-SOLO-1
• ESP32-WROOM-32E
• ESP32-WROOM-32UE
• ESP32-S2-SOLO
• ESP32-S2-SOLO-U
• ESP32-S2-SOLO-2
• ESP32-S2-SOLO-2U
• ESP32-S3-WROOM-1
• ESP32-S3-WROOM-1U
• ESP32-S3-WROOM-2
• ESP32-C6-WROOM-1
• ESP32-C6-WROOM-1U

ESP-Module-Prog-1R:
• ESP32-WROVER (PCB & IPEX)
• ESP32-WROVER-B
• ESP32-WROVER-IB
• ESP32-WROVER-E
• ESP32-WROVER-IE

For information about the above modules, please refer to Espressif Series Modules.

Description of Components The key components of the board are described in a clockwise direction.

Key Component Description


Spring Pins Pins that fit into the module’s castellated holes for attaching and securing the
module.
Female Headers 2.54 mm female headers that are connected to the pins of the module mounted
in this board. For detailed information, please refer to Section Pin Descriptions.
J4 Configures the strapping pin. For details, please refer to Section Strapping Pin
Configuration.
3.3 V Power On LED Lights up when the board is powered on with USB or power supply.
USB-to-UART Bridge Single-chip USB to UART bridge that provides transfer rates of up to 3 Mbps.
Boot Button Download button. Holding down Boot and then pressing EN initiates
Firmware Download mode for downloading firmware through the serial port.
USB Type-C to UART Inter- Serves either as a power supply interface for the development board or as a
face communication interface to the chip via an on-board USB to UART bridge.
Reset Button Reset button.
5V-to-3.3V LDO Low Dropout Regulator (LDO).
J5 Measures the current. For details, please refer to Section Measuring Current.

Start Application Development Before powering up your ESP-Module-Prog-1(R), please make sure that it is in
good condition with no obvious signs of damage.

Required Hardware

Espressif Systems 143 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 133: ESP-Module-Prog-1 - Front

Fig. 134: ESP-Module-Prog-1R - Front

Espressif Systems 144 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• Any one of the above-mentioned Espressif modules


• USB-A to USB-C cable
• PC (Windows, Linux, or macOS)

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Hardware Setup Mount the module to ESP-Module-Prog-1(R) as follows:


1. Place the module lightly on ESP-Module-Prog-1(R), making sure the castellated holes on the module are
aligned with the spring pins on the board.
2. Press the module inward until you hear a “click”, which indicates that the module has been successfully
mounted.
3. Check if all the spring pins are clicked into the castellated holes. If there is a misalignment, you can use
tweezers to poke the spring pins into the castellated holes.
Now the board is ready for software setup.

Software Setup

Recommended Approach It is recommended to use the ESP-IDF development framework to flash the binary file
(*.bin) to ESP-Module-Prog-1(R). Please refer to ESP-IDF Get Started to get a quick overview of setting up your
development environment and flashing applications.

Alternative Approach For Windows systems, you can also use the Flash Download Tool to flash the binary files.

Note:
1. To flash binary files, the chip should be set to Firmware Download mode. This can be done either by the flash
tool automatically, or by holding down the Boot button and tapping the Reset button.
2. After flashing binary files, the Flash Download Tool restarts your module and boots the flashed application by
default.

Hardware Reference This section provides more detailed information about the board’s hardware.

Block Diagram The block diagram below shows the components of ESP-Module-Prog-1(R) and their intercon-
nections.

Power Source Select There are three mutually exclusive ways to provide power to the board:
• USB Type-C to UART port (default and recommended)
• 5V and GND header pins
• 3V3 and GND header pins

Strapping Pin Configuration J4 on ESP-Module-Prog-1(R) is a 2-Pin header, with one end being P7 and one
end being High (i.e. pull-up):
• For some modules, the corresponding pin of P7 is not a strapping pin and no pull-up is needed for downloading.
In this case, a jump cap is not required for J4.
• For some modules, the corresponding pin of P7 is a strapping pin and a pull-up is needed for downloading. In
this case, a jump cap is required for J4.

Espressif Systems 145 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 135: ESP-Module-Prog-1(R)

Note: For the corresponding pin of P7 on Espressif modules, please refer to ESP-Module-Prog-1(R) GPIO Map.

Measuring Current J5 on ESP-Module-Prog-1(R) can be used to measure the current of the module.
• Remove the J5 jumper cap: At this time, the peripherals and modules on the board are disconnected from the
power supply, and the module current can be measured after the J5 pin is connected to the ammeter.
• Install the J5 jump cap (factory default): the board functions normally.

Note: When using the 3V3 and GND header pins to power up the board, you need to remove the J5 jumper cap
and connect an ammeter in series with the external circuit to measure the current of the module.

Pin Descriptions The two tables below provide the Name and Signal of female headers on both sides of the board
(J2 and J3). The pin names are shown in Figure ESP-Module-Prog-1 - Front. The numbering is the same as in the
ESP-Module-Prog-1(R) Schematics (PDF). For the corresponding pin of each signal on Espressif modules, please
refer to ESP-Module-Prog-1(R) GPIO Map.

Espressif Systems 146 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J2
No. Name Signal
1 3V3 3.3 V power supply
2 EN CHIP_EN (High: enables the chip; Low: disables the chip. Pulled up by default.)
3 1 P1
4 2 P2
5 3 P3
6 4 P4
7 5 P5
8 6 P6
9 7 P7
10 8 P8
11 9 P9
12 10 P10
13 11 P11
14 12 P12
15 13 P13
16 14 P14
17 15 P15
18 16 P16
19 17 P17
20 18 P18
21 19 P19
22 20 P20
23 21 P21
24 22 P22
25 5V 5 V power supply

J3
No. Name Signal
1 G Ground
2 44 P44
3 43 P43
4 TX TXD0
5 RX RXD0
6 42 P42
7 41 P41
8 40 P40
9 39 P39
10 38 P38
11 37 P37
12 36 P36
13 35 P35
14 34 P34
15 33 P33
16 32 P32
17 31 P31
18 30 P30
19 29 P29
20 28 P28
21 27 P27
22 26 P26
23 25 P25
24 24 P24
25 23 P23

Espressif Systems 147 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Sample Request

Retail Orders If you order a few samples, each ESP-Module-Prog-1(R) 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/company/contact/buy-a-sample.

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.

Related Documents
• ESP-Module-Prog-1(R) GPIO Map (XLS)
• ESP-Module-Prog-1(R) Schematics (PDF)
• ESP-Module-Prog-1(R) PCB Layout (PDF)
• ESP-Module-Prog-1(R) Dimensions (PDF)
• ESP-Module-Prog-1(R) Dimensions source file (DXF) - You can view it with Autodesk Viewer online
• Espressif Modules Datasheet
• Espressif Product Selector

1.1.17 ESP-Module-Prog-SUB-01&04

ESP-Module-Prog-SUB-01&04 is an Espressif flashing subboard designed specifically for modules. It can be used
to flash modules without soldering the module to the power supply and signal lines.

Note: As a subboard, ESP-Module-Prog-SUB-01&04 cannot be used alone, but must be used together with the
ESP-Module-Prog-1 or ESP-Module-Prog-1R mainboard.

For detailed information about the mainboards, please refer to ESP-Module-Prog-1(R).


ESP-Module-Prog-SUB-01&04 supports specific modules for the ESP8684-WROOM and ESP8685-WROOM se-
ries. For details about the fitting modules, please refer to the fitting module list.

ESP-Module-Prog-SUB-01&04

This user guide will help you get started with ESP-Module-Prog-SUB-01&04 and will also provide more in-depth
information. For detailed information about the mainboard and the other subboard, please click the links below and
check the corresponding user guides.
• ESP-Module-Prog-1(R)
• ESP-Module-Prog-SUB-02
This user guide consists of the following sections:
• Board Overview: Overview of the board hardware/software.
• Start Application Development: How to set up hardware/software to develop applications.
• Hardware Reference: More detailed information about the board’s hardware.
• Sample Request: How to get a sample board.
• Related Documents: Links to related documentation.

Espressif Systems 148 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 136: ESP-Module-Prog-SUB-01&04

Espressif Systems 149 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Board Overview ESP-Module-Prog-SUB-01&04 is an Espressif flashing subboard designed specifically for mod-
ules. It can be used to flash modules without soldering the module to the power supply and signal lines. With a module
mounted, ESP-Module-Prog-SUB-01&04 can also be used as a mini development board like ESP32-DevKitC. Note
that as a subboard, ESP-Module-Prog-SUB-01&04 cannot be used alone, but must be used together with the ESP-
Module-Prog-1 or ESP-Module-Prog-1R mainboard.
• ESP-Module-Prog-SUB-01&04 fits the following Espressif modules:
– ESP8685-WROOM-01
– ESP8684-WROOM-01C
– ESP8685-WROOM-04
– ESP8684-WROOM-04C
For information about the above modules, please refer to Espressif Series Modules.

Fig. 137: ESP-Module-Prog-SUB-01&04 - Front

Description of Components The key components of the board are described in a clockwise direction.

Key Component Description


Spring Pins Pins that fit into the module’s castellated holes for attaching and securing the
module.
Pin Headers 2.54 mm pin headers that are connected to the pins of the module mounted
in this board and to the mainboard. For detailed information, please refer to
Section Pin Descriptions.
J4 Configures the strapping pin. For details, please refer to Section Strapping Pin
Configuration.
ESP-Module-Prog-1(R) ESP-Module-Prog-1 and ESP-Module-Prog-1R (R stands for WROVER) are
two flashing mainboards produced by Espressif. For detailed information about
the mainboard, please refer to ESP-Module-Prog-1(R).

Start Application Development Before powering up your ESP-Module-Prog-SUB-01&04, please make sure that
it is in good condition with no obvious signs of damage.

Required Hardware
• Any one of the above-mentioned Espressif modules
• USB-A to USB-C cable
• PC (Windows, Linux, or macOS)

Espressif Systems 150 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• ESP-Module-Prog-1 or ESP-Module-Prog-1R mainboard

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Hardware Setup Mount the module to the ESP-Module-Prog-SUB-01&04 subboard as follows:


1. Place the module lightly on ESP-Module-Prog-SUB-01&04, making sure the castellated holes on the module
are aligned with the spring pins on the board.
2. Press the module inward until you hear a “click”, which indicates that the module has been successfully
mounted.
3. Check if all the spring pins are clicked into the castellated holes. If there is a misalignment, you can use
tweezers to poke the spring pins into the castellated holes.
4. Mount the subboard to the mainboard.
Now the board is ready for software setup.

Software Setup

Recommended Approach It is recommended to use the ESP-IDF development framework to flash the binary file
(*.bin) to ESP-Module-Prog-SUB-01&04. Please refer to ESP-IDF Get Started to get a quick overview of setting
up your development environment and flashing applications.

Alternative Approach For Windows systems, you can also use the Flash Download Tool to flash the binary files.

Note:
1. To flash binary files, the chip should be set to Firmware Download mode. This can be done either by the flash
tool automatically, or by holding down the Boot button and tapping the Reset button.
2. After flashing binary files, the Flash Download Tool restarts your module and boots the flashed application by
default.

Hardware Reference This section provides more detailed information about the board’s hardware.

Block Diagram The block diagram below shows the components of ESP-Module-Prog-SUB-01&04 and their
interconnections.

Strapping Pin Configuration J4 on ESP-Module-Prog-SUB-01&04 is a 2-Pin header, with one end being P14
and one end being High (i.e. pull-up):
• For some modules, the corresponding pin of P14 is not a strapping pin and no pull-up is needed for download-
ing. In this case, a jump cap is not required for J4.
• For some modules, the corresponding pin of P14 is a strapping pin and a pull-up is needed for downloading.
In this case, a jump cap is required for J4.

Note:
1. For the corresponding pin of P14 on Espressif modules, please refer to ESP-Module-Prog-SUB-01&04 GPIO
Map.
2. ESP-Module-Prog-SUB-01&04 is currently fitted to ESP8684 series modules, where P14 needs to be pulled
up. So, J4 requires a jump cap by default.

Espressif Systems 151 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 138: ESP-Module-Prog-SUB-01&04

Pin Descriptions The two tables below provide the Name and Signal of pin headers on both sides of the board
(J2 and J3). The pin names are shown in Figure ESP-Module-Prog-SUB-01&04 - Front. The numbering is the same
as in the ESP-Module-Prog-SUB-01&04 Schematics (PDF). For the corresponding pin of each signal on Espressif
modules, please refer to ESP-Module-Prog-SUB-01&04 GPIO Map.

J2
No. Name Signal
1 3V3 3.3 V power supply
2 EN CHIP_EN (High: enables the chip; Low: disables the chip. Pulled up by default.)
3 4 P4
4 5 P5
5 6 P6
6 13 P13
7 NC No connection
8 NC No connection
9 14 P14
10 7 P7
11 8 P8
12 9 P9
13 10 P10
14 NC No connection

Espressif Systems 152 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J3
No. Name Signal
1 G Ground
2 1 P1
3 2 P2
4 TX TXD0
5 RX RXD0
6 3 P3
7 17 P17
8 16 P16
9 NC No connection
10 NC No connection
11 12 P12
12 11 P11
13 NC No connection
14 15 P15

Sample Request

Retail Orders If you order a few samples, each ESP-Module-Prog-SUB-01&04 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/company/contact/buy-a-sample.

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.

Related Documents
• ESP-Module-Prog-SUB-01&04 GPIO Map (XLS)
• ESP-Module-Prog-SUB-01&04 Schematics (PDF)
• ESP-Module-Prog-SUB-01&04 PCB Layout (PDF)
• ESP-Module-Prog-SUB-01&04 Dimensions (PDF)
• ESP-Module-Prog-SUB-01&04 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
• Espressif Modules Datasheet
• Espressif Product Selector

1.1.18 ESP-Module-Prog-SUB-02

ESP-Module-Prog-SUB-02 is an Espressif flashing subboard designed specifically for modules. It can be used to flash
modules without soldering the module to the power supply and signal lines.

Note: As a subboard, ESP-Module-Prog-SUB-02 cannot be used alone, but must be used together with the ESP-
Module-Prog-1 or ESP-Module-Prog-1R mainboard.

For detailed information about the mainboards, please refer to ESP-Module-Prog-1(R).


ESP-Module-Prog-SUB-02 supports specific modules for the ESP-WROOM, ESP32-C3-WROOM, and ESP8684-
WROOM series. For details about the fitting modules, please refer to the fitting module list.

Espressif Systems 153 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

ESP-Module-Prog-SUB-02

This user guide will help you get started with ESP-Module-Prog-SUB-02 and will also provide more in-depth infor-
mation. For detailed information about the mainboard and the other subboard, please click the links below and check
the corresponding user guides.
• ESP-Module-Prog-1(R)
• ESP-Module-Prog-SUB-01&04

Fig. 139: ESP-Module-Prog-SUB-02

This user guide consists of the following sections:


• Board Overview: Overview of the board hardware/software.
• Start Application Development: How to set up hardware/software to develop applications.
• Hardware Reference: More detailed information about the board’s hardware.
• Sample Request: How to get a sample board.
• Related Documents: Links to related documentation.

Board Overview ESP-Module-Prog-SUB-02 is an Espressif flashing subboard designed specifically for modules.
It can be used to flash modules without soldering the module to the power supply and signal lines. With a module
mounted, ESP-Module-Prog-SUB-02 can also be used as a mini development board like ESP32-DevKitC. Note that
as a subboard, ESP-Module-Prog-SUB-02 cannot be used alone, but must be used together with the ESP-Module-
Prog-1 or ESP-Module-Prog-1R mainboard.

Espressif Systems 154 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• ESP-Module-Prog-SUB-02 fits the following Espressif modules:


– ESP-WROOM-02
– ESP-WROOM-02D
– ESP-WROOM-02U
– ESP32-C3-WROOM-02
– ESP32-C3-WROOM-02U
– ESP8684-WROOM-02C
– ESP8684-WROOM-02UC
For information about the above modules, please refer to Espressif Series Modules.

Fig. 140: ESP-Module-Prog-SUB-02 - Front

Description of Components The key components of the board are described in a clockwise direction.

Key Component Description


Spring Pins Pins that fit into the module’s castellated holes for attaching and securing the
module.
Pin Headers 2.54 mm pin headers that are connected to the pins of the module mounted
in this board and to the mainboard. For detailed information, please refer to
Section Pin Descriptions.
J4 Configures the strapping pin. For details, please refer to Section Strapping Pin
Configuration.
ESP-Module-Prog-1(R) ESP-Module-Prog-1 and ESP-Module-Prog-1R (R stands for WROVER) are
two flashing mainboards produced by Espressif. For detailed information about
the mainboard, please refer to ESP-Module-Prog-1(R).
J5 Configures the strapping pin. For details, please refer to Section Strapping Pin
Configuration.

Start Application Development Before powering up your ESP-Module-Prog-SUB-02, please make sure that it is
in good condition with no obvious signs of damage.

Required Hardware
• Any one of the above-mentioned Espressif modules
• USB-A to USB-C cable
• PC (Windows, Linux, or macOS)
• ESP-Module-Prog-1 or ESP-Module-Prog-1R mainboard

Espressif Systems 155 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Note: Please make sure to use the appropriate USB cable. Some cables can only be used for charging, not for data
transfer or program flashing.

Hardware Setup Mount the module to the ESP-Module-Prog-SUB-02 subboard as follows:


1. Place the module lightly on ESP-Module-Prog-SUB-02, making sure the castellated holes on the module are
aligned with the spring pins on the board.
2. Press the module inward until you hear a “click”, which indicates that the module has been successfully
mounted.
3. Check if all the spring pins are clicked into the castellated holes. If there is a misalignment, you can use
tweezers to poke the spring pins into the castellated holes.
4. Mount the subboard to the mainboard.
Now the board is ready for software setup.

Software Setup

Recommended Approach It is recommended to use the ESP-IDF development framework to flash the binary file
(*.bin) to ESP-Module-Prog-SUB-01&04. Please refer to ESP-IDF Get Started to get a quick overview of setting
up your development environment and flashing applications.

Alternative Approach For Windows systems, you can also use the Flash Download Tool to flash the binary files.

Note:
1. To flash binary files, the chip should be set to Firmware Download mode. This can be done either by the flash
tool automatically, or by holding down the Boot button and tapping the Reset button.
2. After flashing binary files, the Flash Download Tool restarts your module and boots the flashed application by
default.

Hardware Reference This section provides more detailed information about the board’s hardware.

Block Diagram The block diagram below shows the components of ESP-Module-Prog-SUB-02 and their inter-
connections.

Strapping Pin Configuration J4 on ESP-Module-Prog-SUB-02 is a 2-Pin header, with one end being P5 and one
end being High (i.e. pull-up):
• For some modules, the corresponding pin of P5 is not a strapping pin and no pull-up is needed for downloading.
In this case, a jump cap is not required for J4.
• For some modules, the corresponding pin of P5 is a strapping pin and a pull-up is needed for downloading. In
this case, a jump cap is required for J4.
J5 on ESP-Module-Prog-SUB-02 is a 2-Pin header, with one end being P4 and one end being Low (i.e. pull-down):
• For some modules, the corresponding pin of P4 is not a strapping pin and no pull-up is needed for downloading.
In this case, a jump cap is not required for J5.
• For some modules, the corresponding pin of P4 is a strapping pin and a pull-up is needed for downloading. In
this case, a jump cap is required for J5.

Note: For the corresponding pin of P4 and P5 on Espressif modules, please refer to ESP-Module-Prog-SUB-02
GPIO Map。

Espressif Systems 156 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 141: ESP-Module-Prog-SUB-02

Pin Descriptions The two tables below provide the Name and Signal of pin headers on both sides of the board
(J2 and J3). The pin names are shown in Figure ESP-Module-Prog-SUB-02 - Front. The numbering is the same as in
the ESP-Module-Prog-SUB-02 Schematics (PDF). For the corresponding pin of each signal on Espressif modules,
please refer to ESP-Module-Prog-SUB-02 GPIO Map.

J2
No. Name Signal
1 3V3 3.3 V power supply
2 EN CHIP_EN (High: enables the chip; Low: disables the chip. Pulled up by default.)
3 1 P1
4 2 P2
5 3 P3
6 4 P4
7 NC No connection
8 NC No connection
9 5 P5
10 NC No connection
11 NC No connection
12 8 P8
13 9 P9
14 NC No connection

Espressif Systems 157 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

J3
No. Name Signal
1 G Ground
2 13 P13
3 12 P12
4 TX TXD0
5 RX RXD0
6 11 P11
7 10 P10
8 7 P7
9 NC No connection
10 NC No connection
11 NC No connection
12 NC No connection
13 NC No connection
14 6 P6

Sample Request

Retail Orders If you order a few samples, each ESP-Module-Prog-SUB-02 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/company/contact/buy-a-sample.

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.

Related Documents
• ESP-Module-Prog-SUB-02 GPIO Map (XLS)
• ESP-Module-Prog-SUB-02 Schematics (PDF)
• ESP-Module-Prog-SUB-02 PCB Layout (PDF)
• ESP-Module-Prog-SUB-02 Dimensions (PDF)
• ESP-Module-Prog-SUB-02 Dimensions source file (DXF) - You can view it with Autodesk Viewer online
• Espressif Modules Datasheet
• Espressif Product Selector

1.1.19 ESP32-S2-HMI-DevKit-1

ESP32-S2-HMI-DevKit-1 has been specifically designed for human-machine interfaces in smart-home automation
controllers, smart speakers with display, smart alarm clocks, etc.
Application examples for this board can be found at Examples .

ESP32-S2-HMI-DevKit-1 V1.0

This user guide will help you get started with ESP32-S2-HMI-DevKit-1 and will also provide more in-depth infor-
mation.
ESP32-S2-HMI-DevKit-1 has been specifically designed for human-machine interfaces in smart-home automation
controllers, smart speakers with display, smart alarm clocks, etc. This development kit supports rapid secondary

Espressif Systems 158 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

development, since developers can take advantage of the kit’s various onboard resources and expansion interfaces,
in order to develop various functions.
The main features of the board are listed below:
• Module Embedded: ESP32-S2-WROVER module with 4 MB flash and 2 MB PSRAM
• Display: 4.3-inch TFT-LCD which uses 16-bit 8080 parallel port with 480×800 resolution and 256-level
hardware DC backlight adjustment circuit, connected to an I2C capacitive touch panel
• Audio: Audio amplifier, built-in microphone, speaker connector
• Storage: microSD card connector
• Sensors: 3-axis accelerometer, 3-axis gyroscope, ambient light sensor, temperature and humidity sensors
• Expansion: SPI header, TWAI interface (compatible with CAN 2.0), I2C ADC, UART/Prog header
• LEDs: Programmable RGB LED and IR LED
• Buttons: Wake Up and Reset buttons
• USB: 1 x USB-C OTG (DFU/CDC) port, 1 x USB-C debug port
• Power Supply: 5V and 3.3V power headers
• Optional Rechargeable Battery: 1,950 mAh single-core lithium battery with a charge IC

Fig. 142: ESP32-S2-HMI-DevKit-1 with ESP32-S2-WROVER module

The document consists of the following major sections:


• Getting started: Overview of the board and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the board’s hardware.
• Related Documents: Links to related documentation.

Getting Started This section provides a brief introduction of ESP32-S2-HMI-DevKit-1, instructions on how to
do the initial hardware setup and how to flash firmware onto it.

Description of Components ESP32-S2-HMI-DevKit-1 is an HMI development board designed based on the


ESP32-S2. The following figure describes its key on-board resources:
The key components of the board are described in a clockwise direction.

Espressif Systems 159 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 143: ESP32-S2-HMI-DevKit-1 (click to enlarge)

Key Component Description


ESP32-S2-WROVER Module ESP32-S2-WROVER is a powerful, generic Wi-Fi MCU module that inte-
grates ESP32-S2. It has a PCB antenna, a 4 MB external SPI flash and an
additional 2 MB PSRAM.
Temperature & Humidity Sen- Temperature & humidity sensors for detecting ambient temperature and hu-
sor midity. Read via the I2C bus.
RGB LED Addressable RGB LED (WS2812), driven by GPIO21. Can switch between
the LED and IR LED via IO expander.
Ambient Light Sensor Ambient Light Sensor used to detect ambient light intensity. Read via the I2C
bus.
Wake Up Button Download button. Press and hold the Boot button while pressing the Reset
button to initiate the “firmware download”mode to download the firmware
via the serial port. This button can also be configured to wake up the device
from deep sleep mode.
Reset Button Press this button to restart the system.
IR LED Infrared emitting diode, driven by GPIO21. Can switch between RGB LED
and IR LED via IO expander.
Charge IC Charge battery.
MEMS 3-axis accelerometer and 3-axis gyroscope.
1950 mAh Li-ion Battery An optional 1,950 mAh rechargeable lithium battery.
IO Expander Expand GPIO through I2C bus.
MIC On-board simulated microphone.
Audio PA Audio amplifier.
4.3”800 × 480 LCD A 4.3-inch TFT-LCD which uses 16-bit 8080 parallel port with 480×800 reso-
lution, and 256-level hardware DC backlight adjustment circuit. It is connected
with an I2C capacitive touch panel overlay.

Start Application Development Before powering up your board, please make sure that it is in good condition with
no obvious signs of damage.

Espressif Systems 160 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Required Hardware
• 1 x PC loaded with Windows, macOS or Linux (Linux operating system is recommended)
• 1 x ESP32-S2-HMI-DevKit-1
• 1 x USB-C cable (it is recommended to prepare two USB-C cables if you want to evaluate MCU’s USB
functions)
• 1 x Speaker (8 Ohm, 2 W)
• 1 x microSD card (some examples may have large storage needs)

Note: Be sure to use an appropriate USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.

Hardware Setup To facilitate your quick evaluation of all examples, please follow these steps to set up the board:
1. Insert microSD card into the connector. Please make sure all the important data is backed up, as the microSD
card may be formatted if its partition format is not FAT.
2. If you need to evaluate the audio playback function, please connect the speaker pad near the USB port on the
bottom of the board to the supplied speaker, or to another speaker with a similar size (8 Ohm, 2 W).

Software Setup First, please make sure you have configured the ESP-IDF development environment correctly.
To ensure this, please enter idf.py --version in your terminal and if the output is similar to ESP-IDF
v4.2-dev-2084-g98d5b5dfd, it means you have installed ESP-IDF correctly. For detailed information about
installation and configuration, please refer to ESP-IDF Get Started.
After configuration completed, you can switch back to the esp-dev-kits/esp32-s2-hmi-devkit-1 di-
rectory. All code examples are placed under the examples directory, you can build projects by running idf.py
build.

Project Options Various examples are provided for ESP32-S2-HMI-DevKit-1 as shown below:
• Printing “Hello world!”on screen: esp32-s2-hmi-devkit-1/examples/get-started/hello_world
• Blinking WS2812 LED and showing the color on screen: esp32-s2-hmi-devkit-1/examples/get-
started/led_blink
• Starting a UI to configure Wi-Fi credential: esp32-s2-hmi-devkit-1/examples/get-started/provision
• Acquiring audio with ADC from the output of analog MIC: esp32-s2-hmi-devkit-
1/examples/audio/audio_record
• Playing music: esp32-s2-hmi-devkit-1/examples/audio/music_player
• Shutting down selected board area into a deep sleep: esp32-s2-hmi-devkit-1/examples/power
• Using Freetype to render fonts: esp32-s2-hmi-devkit-1/examples/freetype
• Using on-board sensors: esp32-s2-hmi-devkit-1/examples/sensors
• Using smart panel: esp32-s2-hmi-devkit-1/examples/smart-panel
• Viewing files on SD card: esp32-s2-hmi-devkit-1/examples/storage/sdcard_fatfs
• USB flash disk: esp32-s2-hmi-devkit-1/examples/storage/usb_msc
You can configure project options by entering idf.py menuconfig in each example directory.
Please make sure to correctly configure the following options in menuconfig:
• (Top) > HMI Board Config > HMI board: Select board version. By default, please select
ESP32-S2-HMI-DevKit-V2;
• (Top) > HMI Board Config > Audio HAL: Select audio output interface, whether to use PWM or
DAC;
• (Top) > HMI Board Config > LCD Drivers: Select display IC type for LCD. By default,
ESP32-S2-HMI-DevKit-1 uses RM68120 as its display IC;
• In (Top) > Component config > ESP32S2-specific, please go to the Support for
external, SPI-connected RAM option:
– Go to SPI RAM config > Set RAM clock speed, and set the PSRAM clock as 80 MHz
clock speed;

Espressif Systems 161 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

• (Top) -> Component config -> FreeRTOS: set Tick rate (Hz) as 1000.
In each example folder, we have provided a default configuration file named sdkconfig.defaults, with above
options configured correctly.

ESP-IDF Version Dependencies The esp32-s2-hmi-devkit-1/examples/storage/usb_msc ex-


ample needs to be built in IDF v4.3, while other examples can be built in IDF v4.2 and later versions.
Notice: Due to strict regulation on battery export, for deliveries outside of China mainland, we are shipping ESP32-
S2-HMI-DevKit-1 without the battery. As a substitute, you can use the iPhone 5 replacement battery (the connector
type is non-standard). The battery capacity is not critical.

Contents and Packaging

Retail Orders If you order one or several samples of the kit, each ESP32-S2-HMI-DevKit-1 development kit
comes in an individual package.

Fig. 144: ESP32-S2-HMI-DevKit-1 package

The contents are as follows:


• Development board - ESP32-S2-HMI-Devit-1
• Cables - SH1.25 to 2.54mm cables x 7
For retail orders, please go to https://www.espressif.com/en/company/contact/buy-a-sample.

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.

Hardware Reference

Espressif Systems 162 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Block Diagram The block diagram below shows the components of ESP32-S2-HMI-DevKit-1 and their intercon-
nections.

Fig. 145: ESP32-S2-HMI-DevKit-1 block diagram

Power Supply Options The power of the ESP32-S2-HMI-DevKit-1 development board is divided into a 5 V power
domain and a 3.3 V power domain, so as to reduce power consumption, improve power efficiency and support battery
charging, part of which can be controlled by software whereas the other part is fixed in the hardware design.
To reduce current consumption, the preloaded firmware will power off all controlled power domains and put all ICs
in low-power mode.
For more information, please refer to Power.

Connectors It provides multiple extended interfaces for customized development. The connectors of the board are
described in a clockwise direction. Please refer to ESP32-S2-HMI-DevKit-1 key on-board resources.

Connectors Description
Speaker Connector To connect a speaker.
4.3”LCD FPC Connector (Reserved) Connect to the supported 4.3”LCD extension board using the FPC
cable.
USB DFU/CDC 1 x USB-C OTG (DFU/CDC) port, 1 x USB-C debug port.
3.3 V Connector 3.3 V power header.
5 V Connector 5 V power header.
I2C Connector I2C connector with 5 V/3.3 V power supply options.
TWAI interface (compatible Two-wire automotive interface.
with CAN 2.0)
SPI Can connect devices on the SPI bus if the SD card is not in use.
Prog/UART This interface is used to observe log output and firmware flash.
microSD Connector Insert microSD card to expand the storage space of the device.
Battery Connector To connect a battery.

Espressif Systems 163 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Below is the back view of the board for your reference.

Fig. 146: ESP32-S2-HMI-DevKit-1 - back view

Related Documents
• ESP32-S2 Datasheet (PDF)
• ESP32-S2-WROVER Datasheet (PDF)
• ESP32-S2-HMI-DevKit-1 Schematic (PDF)
• ESP32-S2-HMI-DevKit-1 PCB Layout (PDF)
• ESP32-S2-HMI-DevKit-1 Dimensions (PDF)
• ESP32-S2-HMI-DevKit-1 Dimensions Source File (DXF) - You can view it with Autodesk Viewer online
For further design documentation for the board, please contact us at [email protected].

Reference Documentation

Audio
The ESP32-S2-HMI-DevKit-1 development board supports audio playback and recording. You can find such exam-
ples under the esp32-s2-hmi-devkit-1/examples/audio/ directory.

Audio Playback The ESP32-S2-HMI-DevKit-1 development board can output audio via DAC or PWM. It is
recommended to use PWM for audio output since it has lower noise and higher resolution (DAC has 8-bit resolution,
while PWM can reach up to 12-bit resolution at 19.2 kHz of sampling rate).
The output signal generated through the IO port goes to the digital potentiometer TPL0401 first for lossless volume
adjustment, and then passes the 100 nF isolation capacitor C33 and the 200 kOhm resistor R52. This RC circuit
controls the cut-off frequency at around 8 Hz. On top of that, this signal will be sent to the 3 W class-D audio power

Espressif Systems 164 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

amplifier NS4150 to set the gain to 1.5 times, thus amplifying the maximum output signal from 3.3 V to 4.95 V
(slightly lower than the PA supply, 5 V) so as to maximize the output volume while minimizing saturation distortion.

Fig. 147: ESP32-S2-HMI-DevKit-1 audio playback schematic (click to enlarge)

The audio PA is powered by the 5 V power domain. Before using the audio playback function, please make sure this
power domain is powered on (refer to 5 V Power Domain section).

Audio Recording The ESP32-S2-HMI-DevKit-1 development board can record audio data from the analog mi-
crophone via an internal ADC.
The board is equipped with an analog microphone with a sensitivity of -38 dB. And it will send the output signal to
the operational amplifier TLV6741 with a fixed gain to amplify the signal.

Fig. 148: ESP32-S2-HMI-DevKit-1 microphone schematic (Click to enlarge)

The microphone and operational amplifier mentioned above are powered by a controlled 3.3 V power domain. Before
using the audio recording function, please make sure this power domain is powered on (refer to 3.3 V Power Domain
section).
Please use the Timer Group interrupt to record audio data. Do not use code such as the following format in tasks for
audio recording:
size_t index = 0;
uint16_t audio_data[configMAX_ACQUIRE_COUNT];
do {
audio_data[index] = adc1_get_raw(CONFIG_AUDIO_CHANNEL);
ets_delay_us(1000000 / CONFIG_AUDIO_FREQ);
} while (++index < CONFIG_MAX_ACQUIRE_COUNT)

The above format will cause the CPU to be occupied, thus triggering the task watchdog (if it is not disabled), and
make other tasks with lower priorities (e.g., IDLE Task) not able to operate normally.
When recording data via ADC with the interrupt function, you need to re-write the ADC recording function to
IRAM_ATTR so as to reduce response time, and place the variables to DRAM. Also, please do not use any semaphore
in this function. For more information about implementation examples, please refer to audio/audio_record
under the examples directory.

Espressif Systems 165 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

ADC Accuracy The ADC of ESP32-S2 has a high level of repeatability despite the fact that the lack of reference
voltage and using Buck power supply may result a high overall noise.
The ADC is configured with 13-bit resolution and 11 dB attenuation, corresponding to a full-scale voltage of 2.6
V. After polling the 2.5 V voltage of the AD584T reference voltage via ADC1_CH8, we convert the 4096-time
uncalibrated raw values into voltage values and get the following data:

Fig. 149: ESP32-S2-HMI-DevKit-1 ADC (click to enlarge)

As shown in the above figure, most of the uncalibrated data error is within the range of ±0.005 V with a standard
deviation (σ) of 3.339 LSB (0.00106 V). These errors are mainly from the absolute accuracy, i.e., the bias. Therefore,
the distortion and noise of sounds sampled via ADC can be kept at a relatively low level.
The AD584T has a peak output noise of 50 uV at 10 V within the range of 0.1 ~ 10 Hz, and a peak output noise
divided by the internal high-precise laser-adjusted resistor at 2.5 V. And an up to 30 mA push-pull capability is
provided by the transistor measured at 10 V. Its output noise at 2.5 V is lower than the resolving power of a 16-bit
ADC, which therefore can be used as a testing reference.

Display and Touch Panel


The ESP32-S2-HMI-DevKit-1 has a 4.3-inch color TFT-LCD with 800×480 resolution, and a touch panel with
an I2C interface. The interface type and data bit width of this display is controlled by programmable pins. This
development board has been configured as 16-bit 8080 parallel communication via resistors.
This LCD uses RM68120 as its display IC and FT5436 as its touch IC.

Communication The display IC of the LCD used in ESP32-S2-HMI-DevKit-1 has been configured for 16-bit
8080 parallel communication, with a total of 18 GPIOs used, i.e., 16 data lines (LCD_D0…LCD_D15), a bit clock
signal (LCD_WR) and a data/command distinguish signal (LCD_DC/LCD_RS).
The touch IC uses the I2C interface to communicate with MCU and can share this interface with other I2C’s ICs,
and thus does not need to use additional GPIOs. The touch IC supports interrupt signal output. The interrupt signal is
first sent to the P2 pin of the IO expander, and the falling edge from this pin will generate a low level in the interrupt
output pin of the IO expander, so that the MCU receives this interrupt signal. In this case, you can read the input level
register of the IO expander to check whether this interrupt is from the touch IC. Once a read operation completed,
the interrupt flag will be cleared.

Espressif Systems 166 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 150: ESP32-S2-HMI-DevKit-1 IO expander schematic

Backlight As the LEDs are connected in series, they need to be drived by constant current via the Booster circuit.
The rated current is 18 mA and the voltage is approximately 24 V (may not be accurate, only for reference). To prevent
the feedback voltage of the Booster circuit always being 0 when the display is not connected, and thus causing high
voltage loaded to both ends of the backlight filter capacitor C21, please make sure this capacitor can withstand 38 V.
Since PWM dimming may cause display flicker and some Booster IC do not support high-frequency PWM signal
control, this development board provides an option to use DC dimming circuit to reach high performance, as shown
in the figure below:
This DC dimming circuit inputs the VFB voltage to the operational amplifier TLV6741, whose gain resistor is a
digital potentiometer that can be modified via the I2C bus. This digital potentiometer is CAT5171, with 256 levels
of resolution and a maximum resistance value of 50 kOhm.
The EN pin of the Booster IC is controlled by the P7 pin of the IO expander in high level. If you want to keep the
contents while turning off the display, please set this pin to low level so as to disable backlight.

Touch The capacitive touch panel on the development board uses a touch IC with a resolution of 800×480 and
supports up to 5-point touch and hardware gesture recognition.
The hardware of this display IC does not support screen rotation itself. Therefore, for scenarios where the panel is
needed to be rotated, you may need to convert the data read by the touch IC through calculating its relative value to
the resolution or via certain software. Multi-touch is supported by hardware and we provide some APIs for reading
the multiple touch points. However, since the LVGL used in the GUI library does not support multi-touch processing
for now, you may need to handle the data of these touch points in the application layer yourself.

Power
The power of the ESP32-S2-HMI-DevKit-1 development board is divided into a 5 V power domain and a 3.3 V
power domain, so as to reduce power consumption, improve power efficiency and support battery charging. Part

Espressif Systems 167 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 151: ESP32-S2-HMI-DevKit-1 backlight PWM dimming schematic (click to enlarge)

Fig. 152: ESP32-S2-HMI-DevKit-1 DC dimming circuit schematic (click to enlarge)

Espressif Systems 168 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

of the power domain can be controlled by software whereas the other part is configured as permanently enabled in
hardware design.
To reduce current consumption, the preloaded firmware will power off all controlled power domains and put all ICs
to low-power mode.

3.3 V Power Domain Most of the ICs and modules are powered by the 3.3 V power domain, which can be divided
into an uncontrolled 3.3 V power domain and a controlled 3.3 V power domain.
The uncontrolled 3.3 V power domain cannot be powered off via software, and provides power for the Buck circuit.
When there is a power supply from USB, this power domain will obtain power from the 5 V input through the USB
cable; when USB is disconnected, it will obtain 3.6 ~ 4.2 V power from the lithium battery. This power domain
mainly provides power for the ESP32-S2-WROVER module and other devices which can enter low-power mode via
software control.
The controlled 3.3 V power domain comes from the uncontrolled 3.3 V power domain and is turned on/off via a
PMOS control switch, which is connected to the P4 pin of the IO expander. This power domain mainly provides
power for ICs with higher static power consumption and cannot enter low-power mode.

Fig. 153: ESP32-S2-HMI-DevKit-1 IO expander schematic

5 V Power Domain The 5 V power domain of the development board provides power for the audio amplifier and
the TWAI® transceiver. It obtains power from the following resources:
• The USB port
• The power input from external 5 V power port
• The power passing through the Booster circuit from the lithium battery
The power obtained from USB and the external 5 V power input supplies power for all devices (except CP2102N)
that require 5 V power and cannot be disconnected by software. When obtaining power from the lithium battery, the
EN pin level of the Booster IC can be controlled via the P5 pin of the IO expander to enable 5 V power in high level.

Espressif Systems 169 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

The power input through the USB port on the bottom of the board is split into two lines: one provides power for
CP2102N while the other becomes USB_5V after passing through a diode. The CP2102N will only be powered up
when this USB port is connected, since it only needs to be in operation when the PC is connected. Any 5 V power
input will cause the Booster IC to be powered off and charge the on-board lithium battery via the charging IC.

Power Dependencies The following functions depend on the 5 V power domain:


• TWAI® (selects available power supply from USB 5 V or Booster 5 V automatically)
• Audio amplifier (gets power supply from USB 5 V, if it fails, will try from the battery)
• 5 V power output connector (the same as TWAI®)
The following functions depend on the controlled 3.3 V power domain:
• Micro-SD card
• Microphone and its bias circuit, and operational amplifier
• Display and touch function
• WS2812 RGB LED and IR LED
• IR LED

Power State When the development board is connected via the USB cable, the 5 V power domain is powered on
automatically and the charging IC outputs voltage to supply power for the battery. In this case, the controlled 3.3 V
power domain is controlled by the P4 pin of the IO expander.
When the development board is powered by the battery, the controlled 3.3 V power domain is controlled by the P4
pin of the IO expander while the 5 V power domain is controlled by the P5 pin of the IO expander, and the charging
IC will not work.

1.1.20 ESP32-Sense-Kit

The ESP32 touch sensor development kit, ESP32-Sense-Kit, is used for evaluating and developing ESP32 touch
sensor system.

ESP32-Sense-Kit

Overview The ESP32 touch sensor development kit, ESP32-Sense-Kit, is used for evaluating and developing
ESP32 touch sensor system. ESP32-Sense-Kit consists of one motherboard and multiple daughterboards. The moth-
erboard contains a display unit, a main control unit and a debug unit. The daughterboards have touch electrodes in
different combinations or shapes, such as linear slider, wheel slider, matrix buttons and spring buttons, depending on
the application scenarios. Users can design and add their own daughterboards for special usage cases.
The following image shows the whole ESP32-Sense-Kit.

Preparation
• Install overlay
If plastic is used for the overlay, the recommended thickness is 3 mm or less. Because air reduces touch
sensitivity, any air gaps between the daughterboard and overlay must be eliminated. You can use double-sided
adhesive tape to fill in the air gap. For the daughterboard with metal springs, 7 mm stud bolts should be used
to install the overlay.
• Install daughterboard
Use a connector to connect motherboard with daughterboard. You can use four 7 mm plastic stud bolts to have
the daughterboard steadily parallel to the motherboard, as shown in the image below:

Espressif Systems 170 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 154: ESP32-Sense-Kit

Fig. 155: Install Overlay

Espressif Systems 171 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 156: Install Daughterboard

• Set ESP-Prog debugger


ESP-Prog is used as the program download tool and power supply. ESP-Prog has two sets of jumpers: IO0
jumper and power supply jumper. Choose 5 V power supply for the latter. IO0 can be used both for selecting
boot mode (download mode or working mode) and as a touch pin. As a result, it should be disconnected if
used as a touch pin in working mode. The image below shows the settings for ESP-Prog.

Fig. 157: Set ESP-Prog Debuggers

• Connect ESP-Prog with motherboard


The ESP-Prog has a Jtag interface and a Program interface. Connect ESP-Prog and the motherboard through
the Program interface.
• Download programs
Run make menuconfig to configure the config settings for ESP32-Sense Project, as the screenshot below
shows. Run make flash to download programs into the development board.
• Replace daughterboard
ESP32 will detect the divided voltage of the voltage divider on the daughterboard when it is powered on to
identify different daughterboards. Re-power on the development board after replacing the daughterboard.

Hardware Resources

Motherboard
• Function Block Diagram
The image below shows the function block diagram of the motherboard.
• Motherboard Components

Espressif Systems 172 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 158: Connect ESP-Prog with Motherboard

Espressif Systems 173 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 159: Download Programs

Fig. 160: Function Block Diagram

Espressif Systems 174 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

The display unit includes three segment displays and an RGB circuit. The debug unit includes the ESP-Prog
debugger interface. The main control unit includes the ESP32 module. The mini USB is the power supply.

Fig. 161: Motherboard Components

• Power Management System


The mini USB and ESP-Prog can both be the power supply for ESP32-Sense Kit. They do not interfere with
each other thanks to the protection diode. The mini USB can only serve as the power supply, while ESP-
Prog also supports automatic firmware downloading. The figure below shows the schematics of the power
management system.
• Display Unit
The display unit on the motherboard can intuitively feedback touch event. The three 7-segment displays show
the location of the pad that is being touched and the duration of a touch event. The segment displays are driven
by CH455G chip, and controlled through I2C interface. The RGB LED reflects the colors when a touch event
occurs. When a finger moves on the slider, the RGB LED will show the change of colors.
The figure below shows the schematics of the display unit:

Daughterboard
• Divided resistance
The touch electrodes are arranged in different combinations depending on the application scenario. Each
daughterboard has a voltage divider that has a unique value. The program running on motherboard reads the
divider value through ADC and thus each daughterboard can be identified. The voltage divider is shown below:

Daughterboard Divided resistance (Kohm) ADC reading (Min) ADC reading (Max)
Spring button 0 0 250
Linear slider 4.7 805 1305
Matrix button 10 1400 1900
Duplex slider 19.1 1916 2416
Wheel slider 47 2471 2971

Espressif Systems 175 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 162: Power Management System

Espressif Systems 176 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 163: Diaplay Unit

Espressif Systems 177 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 164: Voltage Divider


The divided resistance on the motherboard is 10 KΩ. The table below lists the divided resistance on each daughterboard.

Espressif Systems 178 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Application Programs ESP32-Sense Project within ESP32 IoT Solution repository contains the application pro-
grams for ESP32-Sense Kit. The directory structure is shown below:

.
├── main
│ ├── evb_adc.c //Identifies different daughterboards through ADC.␣
,→Sets unique ADC threshold for each daughterboard.

│ ├── evb.h //Configures settings for motherboard, including␣


,→touch threshold,ADC I/O,IIC I/O, etc.

│ ├── evb_led.cpp //Initialization program of RGB LED.


│ ├── evb_seg_led.c //Driver for digital tube.
│ ├── evb_touch_button.cpp //Driver for touch button.
│ ├── evb_touch_wheel.cpp //Driver for wheel slider.
│ ├── evb_touch_matrix.cpp //Driver for matrix button.
│ ├── evb_touch_seq_slide.cpp //Driver for duplex slider.
│ ├── evb_touch_slide.cpp //Driver for linear slider.
│ ├── evb_touch_spring.cpp //Driver for spring button.
│ ├── Kconfig.projbuild
│ └── main.cpp //Entry point.
├── Makefile
└── sdkconfig.defaults

Configure Settings When using overlays of different thicknesses or materials, users need to reset the change rate
of touch readings on each channel, that is, the sensitivity. This parameter is calculated from the pulse count value.
The calculation formula is: (Non-touch value - Touch value) / Non-touch value, where “Non-touch value”refers to
the pulse count value when there is no touch event, and “Touch value”refers to the pulse count value when a touch
event occurs. Users need to take a measurement and obtain these two values. When the system is initialized, the
touch threshold is automatically calculated from the change rate of touch readings. The touch threshold is directly
proportional to the change rate.
When the change rate is set, users can write it into evb.h file.

Demo

Espressif Systems 179 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Spring Button Matrix Button

Linear Slider Duplex Slider

Espressif Systems 180 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Related Resources
• Schematic
– ESP32-Sense-Kit Mainboard Schematic
– ESP32-Sense-Kit Subboard Schematic
• PCB Layout
– ESP32-Sense-Kit Mainboard PCB Layout
– ESP32-Sense-Kit Subboard PCB Layout
• Set up Software Environment
– ESP-IDF is the SDK for ESP32. You can refer to Get Started for how to set up the ESP32 software
environment.
– ESP-Prog is the debugger for ESP32 that features download and debugging functions.
• ESP32 IoT Solution
– ESP32 IoT Solution project is based on ESP-IDF and contains multiple projects.
– ESP32-Sense Project contains the programs for ESP32-Sense Kit that can be downloaded to the devel-
opment board to enable touch sensor function.
• Hardware Manuals
– Please click ESP32-Sense Kit Reference Design to download the hardware resources including schemat-
ics, PCB reference design, BOM and other files.
• Useful References
– Espressif website.
– ESP32 programming guide: It hosts extensive documentation for ESP-IDF ranging from hardware guides
to API reference.
– ESP32 touch sensor design: It is the reference design manual for the ESP32 touch sensor system.
• Technical Support
– If you need technical support regarding ESP32-Sense-Kit, please submit a new issue referring to the
ESP32-Sense Project.
• How to buy
– WeChat Account: espressif_systems.
– Purchase consulting.

1.1.21 ESP32-S2-Touch-Devkit-1

ESP32-S2-Touch-Devkit-1 is a development kit that is aimed at helping evaluate and develop capacitive touch sensor
applications on ESP32-S2. It is made up of a Motherboard-Subboard structure.

ESP32-S2-Touch-Devkit-1

Overview ESP32-S2-Touch-Devkit-1 is a development kit that is aimed at helping evaluate and develop capacitive
touch sensor applications on ESP32-S2. It is made up of Motherboard-Subboard structure. The motherboard of
ESP32-S2-Touch-Devkit-1 integrates ESP32-S2-MINI-1 controller module and several useful little components such
as buzzer, digital tube, RGB light, and so on. There are several kinds of subboards in ESP32-S2-Touch-Devkit-1 with
different kinds of capacitive touch sensor pads, developers can choose one of them and connect it with motherboard
so that they could develop different kinds of capacitive touch sensor applications. The motherboard and subboard use
the pin header/female pin header as the socket connector which makes it plug in and plug out smoothly.
Motherboard
Subboards
• Button-board: Three capacitive touch buttons with waterproof sensor.

Espressif Systems 181 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 165: ESP32-S2-Touch-Devkit-1 Board-set

Fig. 166: Motherboard

Espressif Systems 182 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Button-board Water-proof sensor

• Slider-board: Capacitive touch linear slider, the relative distance of slider has up to 8-bit precision.

Slider-board Slider

• Matrix-board: 3 x 4 capacitive touch matrix button, 7 channels of touch sensor make up of 12 capacitive touch
buttons.

Espressif Systems 183 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Matrix-board Matrix button

• Touchpad-board: 7 x 6 two-dimension capacitive touchpad.

Touchpad-board Touchpad

• Proximity-board: Three capacitive touch proximity sensors.

Espressif Systems 184 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Proximity-board Sensor

Get Started Install SDK and it’s dependencies:


1. Install ESP-IDF, please refer to ESP-IDF Programming Guide.
2. Use the release-4.3 version of ESP-IDF.

cd esp-idf #Enter esp-idf folder


git checkout release/v4.3 #Checkout release-v4.3 version of ESP-IDF
git submodule update #Maybe is needed

Get ESP32-S2-Touch-Devkit-1 project:


1. Clone esp-dev-kits repo.

git clone https://github.com/espressif/esp-dev-kits.git

2. Enter ESP32-S2-Touch-Devkit-1 project folder.

cd esp-dev-kits/esp32-s2-touch-devkit-1

The project’s structure is shown as followed:

├── CMakeLists.txt
├── components #components' driver
│ ├── board_detect #subboard detector
│ ├── buzzer #buzzer driver
│ ├── digital_tube #digital tube controller driver
│ ├── rgb_light #RGB light driver(ws2812)
│ ├── subboards #Subboards' application source file
│ └── touch_element #Touch element library
├── main #Main application demo logic
│ ├── CMakeLists.txt
│ └── main.c

Build & Flash ESP32-S2-Touch-Devkit-1 demo project:


1. Enable ESP-IDF environment variable.

cd esp-idf
. ./export.sh

2. Build & Flash.

Espressif Systems 185 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

cd esp-dev-kits/esp32-s2-touch-devkit-1
idf.py set-target esp32s2 #Enable esp32s2 platform
idf.py build flash

3. Monitor log output.

idf.py monitor

Example output:

I (2880) Touch Demo: Slider sub-board plug in


I (22480) Touch Demo: Slider sub-board plug out
I (22480) Touch Demo: Nothing detected
I (41540) Touch Demo: Touchpad sub-board plug in
I (47700) Touchpad Board: Touchpad pressed, position: [0, 5]
I (47710) Touchpad Board: Position: [0, 5]
I (47720) Touchpad Board: Position: [0, 5]
I (47730) Touchpad Board: Position: [0, 6]
I (47740) Touchpad Board: Position: [0, 6]
I (47750) Touchpad Board: Position: [0, 6]
I (47760) Touchpad Board: Position: [0, 6]
I (47770) Touchpad Board: Position: [0, 7]
I (47780) Touchpad Board: Position: [0, 8]
I (47790) Touchpad Board: Position: [0, 9]
I (47800) Touchpad Board: Position: [0, 9]
I (47810) Touchpad Board: Position: [1, 10]
I (47820) Touchpad Board: Position: [2, 11]
I (47830) Touchpad Board: Position: [2, 12]
I (47840) Touchpad Board: Position: [3, 13]
I (47850) Touchpad Board: Position: [4, 14]
I (47860) Touchpad Board: Position: [5, 15]
I (47870) Touchpad Board: Position: [6, 16]
I (47880) Touchpad Board: Position: [7, 16]
I (47890) Touchpad Board: Position: [9, 17]
I (47900) Touchpad Board: Position: [10, 18]
I (47910) Touchpad Board: Position: [11, 18]
I (47920) Touchpad Board: Position: [11, 19]
I (47930) Touchpad Board: Position: [12, 20]
I (47940) Touchpad Board: Position: [13, 21]
I (47950) Touchpad Board: Position: [14, 21]
I (47960) Touchpad Board: Position: [14, 22]
I (47970) Touchpad Board: Position: [15, 23]
I (47980) Touchpad Board: Position: [15, 23]
I (47990) Touchpad Board: Position: [15, 24]
I (48000) Touchpad Board: Position: [15, 24]
I (48010) Touchpad Board: Position: [15, 24]
I (48020) Touchpad Board: Position: [16, 24]
I (48030) Touchpad Board: Position: [16, 24]
I (48040) Touchpad Board: Position: [16, 24]
I (48050) Touchpad Board: Position: [16, 23]
I (48060) Touchpad Board: Position: [16, 23]
I (48070) Touchpad Board: Position: [16, 22]
I (48080) Touchpad Board: Position: [16, 22]
I (48090) Touchpad Board: Position: [16, 21]
I (48100) Touchpad Board: Touchpad released, position: [16, 21]

Notes
• Some new Touch Sensor features (Touchpad, Touch proximity) are not supported in ESP-IDF Touch Element
library, so we copy Touch Element from ESP-IDF components into this demo project’s components’folder
and add the necessary features. They will appear in the future version of ESP-IDF.

Espressif Systems 186 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Troubleshooting Q1: Why Proximity-board is connected with Motherboard, they don’t work or work abnormally?
A1: Though all of those subboards are hot-swappable theoretically, the Proximity-board needs to startup in an ideal
environment(Far away from your hands). If it goes wrong, you can reset it mandatorily by releasing the power-switch.

Related Documents

Schematic
• ESP32-S2-Touch-Devkit-1 Motherboard Schematic
• Button Subboard Schematic
• Slider Subboard Schematic
• Matrix Button Subboard Schematic
• Touchpad Subboard Schematic
• Proximity Subboard Schematic

Other Documents
• Touch Element Library Programming Guide
• ESP32-S2-MINI-1 Datasheet
• ESP32-S2 Datasheet
• ESP32-S2 Technical Reference Manual

1.1.22 ESP32-MeshKit-Sense

ESP32-MeshKit-Sense is a development board with an ESP32 module at its core. It features peripherals, such as a
temperature and humidity sensor, an ambient light sensor, etc. The board can be interfaced with screens. The board
is mainly used to detect the current consumption of ESP32 modules in a normal operation state or in sleep mode,
when connected to different peripherals.

ESP32-MeshKit-Sense

Overview ESP32-MeshKit-Sense is a development board with an ESP32 module at its core. It features peripherals,
such as a temperature and humidity sensor, an ambient light sensor, etc. The board can be interfaced with screens.
The board is mainly used to detect the current consumption of ESP32 modules in a normal operation state or in sleep
mode, when connected to different peripherals.
For more information on ESP32, please refer to ESP32 Datasheet.

Block Diagram and PCB Layout

Block Diagram The figure below shows the block diagram of ESP32.

PCB Layout The figure below shows the layout of ESP32-MeshKit-Sense PCB.
Functional Descriptions of PCB Layout are shown in the following table:

Espressif Systems 187 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 167: ESP32 Block Diagram

Espressif Systems 188 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

PCB El- Description


ements
EXT5V 5 V input from USB
CH5V input from the electrical charging chip
CHVBA output from the electrical charging chip
VBA Connects to the positive electrode of the battery
SUFVCC When the switch is toggled to the ”ON”position, it is connected to the power input. When the
switch is toggled to the ”OFF”position, the power supply is disconnected.
DCVCC Input from power management chip DC-DC
3.3V 3.3 V power output from power supply management chip
3.3V_PER 3.3 V power supply for all peripherals
3.3V_ESP 3.3 V power supply for all ESP32 modules
3.3V_SEN 3.3 V power supply for the three on-board sensors
3.3V_SCR 3.3 V power supply for the off-board screen
Charge Battery charging indicator, D5 is a red light, indicating that charging is undergoing; D6 is a green
light, indicating that charging is complete.
Sensor Power indicator, indicating that 3.3V_Perip_Sensor is enabled
Screen Power indicator, indicates that 3.3V_Perip_Screen is enabled
WiFi / Signal indicator, indicating that Wi-Fi connection is working properly
IO15
Network Signal indicator, indicating the board is properly connected to the server
/ IO4

Functional Modules This chapter mainly introduces each functional module (interface) and the hardware schemat-
ics for them.

Power Supply Management Module

Power Supply Management Module The development board can be powered by battery and the AP5056 power
supply management chip can be used to charge the battery. The AP5056 is a complete constant current constant volt-
age linear charger for single cell lithium-ion batteries. It has 4.2 V of preset charge voltage and 1 A of programmable
charge current.
When both the USB power supply and the battery power supply are available, the system selection of power supply
will be: VBUS is high, Q4 is in cut-off state, VBAT (battery power) is automatically cut off from the system power
supply, and the USB supplies power for the system.
The figure below shows the schematics for USB/BAT power supply management.

Power Supply Management for Peripherals First of all, the input from the USB or BAT is converted by the
power management chip into a 3.3 V voltage to power the circuit. The power management chip on the board is
ETA3425, which has an output voltage of 3.3 V and a maximum output current of 600 mA.
The figure below shows the schematics for peripheral power supply.
The main VDD33 circuit has two branches:
• ESP32_VDD33, used to power the ESP32 module module
• VDD33_PeriP, used to power all peripherals.
The connection between them can be controlled via the pin header and jumper cap. The figure below shows the
schematics for ESP32_VDD33.
The VDD33_PeriP branch circuit also has two sub-branches
• VDD33_PeriP_Screen, dedicated power supply for the external screen
• VDD33_PeriP_Sensor, power supply for the three sensors

Espressif Systems 189 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 168: USB/BAT Power Supply Management Schematics

Fig. 169: Peripheral Power Supply Schematics

Espressif Systems 190 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 170: ESP32_VDD33 Schematics

The connection of the two can be controlled by the module GPIO+MOS. The figure below shows the schematics for
VDD33_PeriP.

Boot & UART The development board is integrated with a PROG Header, which can be connected to a ESP-
PROG development board via a cable. Users can then connect the micro USB of the ESP-PROG development board
to a PC for ESP32-MeshKit-Sense firmware download and debugging.
The figure below shows the schematics for Boot & UART Circuit.

Module for Wakeup from Sleep The board has a button connected to the pin IO34, which is a pin in the RTC
domain. When the chip is in sleep, pressing the button will wake up ESP32.
The figure below shows the schematics for wakeup-from-sleep module.

External Screens The development board is integrated with a screen connector that can connect different external
screens to the board via cables.
The figure below shows the schematics for external screens.

Sensors

Temperature and Humidity Sensor The HTS221 is an ultra-compact sensor for relative humidity and tempera-
ture. A 3.3 V power supply and I2C interface on the board are dedicated to HTS221.
The figure below shows the schematics for the temperature and humidity sensor.

Espressif Systems 191 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 171: VDD33_PeriP Schematics

Fig. 172: Boot & UART Circuit

Espressif Systems 192 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 173: Wake-from-Sleep Module Schematics

Fig. 174: Schematics for External Screens

Espressif Systems 193 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 175: Temperature and Humidity Sensor Schematics

Ambient Light Sensor The BH1750FVI is a digital ambient light sensor. A 3.3 V power supply and I2C interface
on the board are dedicated to HTS221.
The figure below shows the schematics for the ambient light sensor.

Fig. 176: Ambient Light Sensor Schematics

Ambient Brightness Sensor The APDS-9960 is a ambient brightness sensor featuring advanced gesture detection,
proximity detection, digital Ambient Light Sense (ALS) and Color Sense (RGBC). It also incorporates an IR LED
driver. The development board uses 3.3V power supply and I2C interface. It should be noted that this device is not
surface-mounted by default.
The figure below shows the schematics for the ambient brightness sensor.

Example See esp-mdf/examples/development_kit/sense.

Related Documents

Espressif Systems 194 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

Fig. 177: Ambient Brightness Sensor Schematics

• ESP32-MeshKit-Sense Schematic
• ESP32-MeshKit-Sense PCB Layout

1.1.23 ESP32-S2-Kaluga-1

The ESP32-S2-Kaluga-1 kit v1.3 is a development kit by Espressif.


Application examples for this kit can be found at Examples .

ESP32-S2-Kaluga-1

For the latest version, please go to ESP32-S2-Kaluga-1 Kit.

Reference Documentation

Schematic
• ESP32-S2-Kaluga-1 v1.2 Mainboard (PDF)
• ESP-LyraT-8311A v1.2 Audio Board (PDF)
• ESP-LyraP-LCD32 v1.2 Screen (PDF)
• ESP-LyraP-TOUCHA v1.2 Touchpad (PDF)
• ESP-LyraP-CAM v1.2 Camera (PDF)

Datasheet
• ESP32-S2 Datasheet
• LCD ST7789
• Camera OV2640
• Audio ES8311

Espressif Systems 195 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

1.1.24 Contributions Guide

We welcome contributions to the esp-dev-kits project!

How to Contribute

Contributions to esp-dev-kits - fixing bugs, adding features, adding documentation - are welcome. We accept contri-
butions via Github Pull Requests.

Before Contributing

Before sending us a Pull Request, please consider this list of points:


• Is the contribution entirely your own work, or already licensed under an Apache License 2.0 compatible Open
Source License? If not then we unfortunately cannot accept it.
• Does any new code conform to the esp-dev-kits : Style Guide ?
• Does the code documentation follow requirements in Documenting-code ?
• Is the code adequately commented for people to understand how it is structured?
• Are comments and documentation written in clear English, with no spelling or grammar errors?
• If the contribution contains multiple commits, are they grouped together into logical changes (one major change
per pull request)? Are any commits with names like “fixed typo”squashed into previous commits?
• If you’re unsure about any of these points, please open the Pull Request anyhow and then ask us for feedback.

Pull Request Process

After you open the Pull Request, there will probably be some discussion in the comments field of the request itself.
Once the Pull Request is ready to merge, it will first be merged into our internal git system for in-house automated
testing.
If this process passes, it will be merged onto the public github repository.

Legal Part

Before a contribution can be accepted, you will need to sign our contributor-agreement. You will be prompted for
this automatically as part of the Pull Request process.

Related Documents

esp-dev-kits 编码规范

总体原则
• 简洁明了,结构清晰
• 统一风格,易于维护
• 充分注释,易于理解
• 继承 ESP-IDF 已有规范
• 继承第三方代码已有规范

目录结构
• components:总体上按照功能分类,大类下如果存在多级目录,应包含一个 README 做综述和索引;
• docs:rst 格式文档,包括各个组件的使用指南,API 说明;
• examples:总体上按照与组件对应的功能分类;
• tools:CI 脚本、调试工具。

Espressif Systems 196 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

头文件
• 尽量每一 .c 对应一个同名的 .h 文件;
• 单个组件存在多个 .h ,主要对外 .h 命名尽量与组件名保持一致;
• 头文件中主要放函数声明,不放函数实现;
• 尽量不在头文件定义任何形式的变量;
• 头文件应按照注释规范,对函数接口进行充分注释;
• 添加宏定义避免重复引用,宏定义名为大写的头文件名加下划线填充:

#ifndef _IOT_I2C_BUS_H_
#define _IOT_I2C_BUS_H_

#endif

• 函数声明添加 extern “C”修饰,支持 C/C++ 混合编程:

#ifdef __cplusplus
extern "C"
{
#endif

//c code

#ifdef __cplusplus
}
#endif

注释
• 安装 VSCODE 插件 Doxygen Documentation Generator 可自动生成注释框架;
• 注释中避免使用单词缩写;
• 函数声明处注释需要描述函数功能、性能或用法,输入和输出参数、函数返回值说明。
自动生成的注释框架:

/**
* @brief
*
* @param port
* @param conf
* @return i2c_bus_handle_t
*/
i2c_bus_handle_t iot_i2c_bus_create(i2c_port_t port, i2c_config_t* conf);

补充信息和参数方向:

/**
* @brief Create an I2C bus instance then return a handle if created successfully.
* @note Each I2C bus works in a singleton mode, which means for an i2c port only␣
,→one group parameter works. When

* iot_i2c_bus_create is called more than one time for the same i2c port, following␣
,→parameter will override the previous one.

*
* @param[in] port I2C port number
* @param[in] conf Pointer to I2C parameters
* @return i2c_bus_handle_t Return the I2C bus handle if created successfully,␣
,→return NULL if failed.

*/
i2c_bus_handle_t iot_i2c_bus_create(i2c_port_t port, i2c_config_t* conf);

• 版权声明注释(第三方代码,请保留版权声明信息)

Espressif Systems 197 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

// Copyright 2019-2020 Espressif Systems (Shanghai) PTE LTD


//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

函数规范
• 多处重复使用的代码尽量设计为函数;
• 作用域仅限于当前文件的函数必须声明为静态 static;
• 设计使用静态全局变量、静态局部变量的函数时,需要考虑重入问题;
• 尽量在一个固定函数中操作静态全局变量;
• 如果函数存在重入或线程安全问题,需在注释中说明;
• 同一组件内的公有函数名,应保持同一前缀;
• 函数名统一使用 snake_case 格式,只使用小写字母,单词之间加 _ ;
• 函数命名指引(应保持与已有代码风格一致,不严格约束):

函数名格式 函数示例 说明
iot_type_xxx iot_sensor_xxx; iot_board_xxx; 高度抽象的 iot 组件
iot_storage_…
type_xxx imu_xxx; light_xxx; eeprom_xxx 对一类外设的抽象
name_xxx mpu6050_xxx; 底层 driver,由于可能来自第三方,不约束
函数名
xxx_creat / 创建和销毁
xxx_delete
xxx_read / 数据操作
xxx_write

变量规范
• 避免使用全局变量,可声明为静态全局变量,使用 get_ set_ 等接口进行变量操作;
• 作用域仅限于当前文件的变量必须声明为静态变量 static;
• 静态全局变量请添加 g_ 前缀,静态局部变量请添加 s_ 前缀;
• 局部变量设计大小时,应考虑栈溢出的问题;
• 任何变量定义时,必须赋初值;
• 变量功能要明确,避免将单一变量做多个用途;
• 句柄类型变量,在对象销毁后,应重新赋值为 NULL;
• 变量统一使用 snake_case 格式,只使用小写字母,单词之间加 _;
• 避免不必要的缩写,例如 data 不必缩写为 dat;
• 变量应尽量使用有意义的词语,或者已经达成共识的符号或 词语缩写;
• 变量命名指引:

Espressif Systems 198 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

类型 规范 示例
全局变量 避免使用 x
静态全局变量 static 标识,g_ 前缀,赋初值 static uint32_t g_connect_num = 0;
静态局部变量 static 标识,s_ 前缀,赋初值 static uint32_t s_connect_num= 0;
迭代计数变量 使用通用的 i j k
常用缩写 abbreviations-in-code addr,buf ,cfg , cmd, , ctrl,

• 常用缩写列表

缩写 全称 缩写 全称 缩写 全称 缩写 全称
addr address id identifier len length ptr pointer
buf buffer info information obj object ret return
cfg command hdr header param parameter temp temporary、temperature
cmd command init initialize pos position ts timestamp

类型定义
• 使用加 snake_case 格式加 _t 后缀

typedef int signed_32_bit_t;

• 枚举应通过 typedef 通过以下方式定义

typedef enum {
MODULE_FOO_ONE,
MODULE_FOO_TWO,
MODULE_FOO_THREE
} module_foo_t;

格式和排版规范 该部分继承 ESP-IDF 规范。

1. 缩进 每个缩进层使用 4 个空格,不要使用制表符进行缩进,将编辑器配置为每次按 tab 键时发出 4


个空格。

2. 垂直间隔 在函数之间放置一个空行,不要以空行开始或结束函数。

void function1()
{
do_one_thing();
do_another_thing();
// INCORRECT, don't place empty line here
}
// place empty line here
void function2()
{
// INCORRECT, don't use an empty line here
int var = 0;
while (var < SOME_CONSTANT) {
do_stuff(&var);
}
}

只要不严重影响可读性,最大行长度为 120 个字符。

Espressif Systems 199 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

3. 水平间隔 总是在条件和循环关键字之后添加单个空格。

if (condition) { // correct
// ...
}

switch (n) { // correct


case 0:
// ...
}

for(int i = 0; i < CONST; ++i) { // INCORRECT


// ...
}

在二元操作符两端添加单个空格,一元运算符不需要空格,可以在乘法运算符和除法运算符之间省略空
格。

const int y = y0 + (x - x0) * (y1 - y0) / (x1 - x0); // correct

const int y = y0 + (x - x0)*(y1 - y0)/(x1 - x0); // also okay

int y_cur = -y; // correct


++y_cur;

const int y = y0+(x-x0)*(y1-y0)/(x1-x0); // INCORRECT

. 和 -> 操作符的周围不需要任何空格。
有时,在一行中添加水平间隔有助于提高代码的可读性。如下,可以添加空格来对齐函数参数:

gpio_matrix_in(PIN_CAM_D6, I2S0I_DATA_IN14_IDX, false);


gpio_matrix_in(PIN_CAM_D7, I2S0I_DATA_IN15_IDX, false);
gpio_matrix_in(PIN_CAM_HREF, I2S0I_H_ENABLE_IDX, false);
gpio_matrix_in(PIN_CAM_PCLK, I2S0I_DATA_IN15_IDX, false);

• 但是请注意,如果有人添加了一个新行,第一个参数是一个更长的标识符(例如 PIN_CAM_VSYNC)

它将不适合。因为必须重新对齐其他行,这添加了无意义的更改。因此,尽量少使用这种对齐,特
别是如果您希望稍后将新行添加到这列中。
• 不要使用制表符进行水平对齐,不要在行尾添加尾随空格。

4. 括号 函数定义的大括号应该在单独的行上。

// This is correct:
void function(int arg)
{

// NOT like this:


void function(int arg) {

在函数中,将左大括号与条件语句和循环语句放在同一行。

if (condition) {
do_one();
} else if (other_condition) {
do_two();
}

Espressif Systems 200 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

5. 注释 // 用于单行注释。对于多行注释,可以在每行上使用 // 或 / * * / 块注释。
虽然与格式没有直接关系,但下面是一些关于有效使用注释的注意事项。
• 不要使用一个注释来禁用某些功能。

void init_something()
{
setup_dma();
// load_resources(); // WHY is this thing commented, asks the␣
,→reader?

start_timer();
}

• 如果不再需要某些代码,则将其完全删除。如果你需要,你可以随时在 git 历史中查找这个文件。


如果您因为临时原因而禁用某些调用,并打算在将来恢复它,则在相邻行上添加解释。

void init_something()
{
setup_dma();
// TODO: we should load resources here, but loader is not fully integrated yet.
// load_resources();
start_timer();
}

• #if 0 ... #endif 块也是如此。如果不使用,请完全删除代码块。否则,添加注释以解释为什


么禁用该块。不要使用 #if 0 ... #endif 或注释来存储将来可能需要的代码段。
• 不要添加有关作者和更改日期的琐碎注释。您总是可以查找谁使用 git 修改了任何给定的行。例如,
此注释在不添加任何有用信息的情况下,使代码混乱不堪:

void init_something()
{
setup_dma();
// XXX add 2016-09-01
init_dma_list();
fill_dma_item(0);
// end XXX add
start_timer();
}

6. 代码行的结束 commit 中只能包含以 LF(Unix 风格)结尾的文件。


Windows 用户可以将 git 配置为在本地 checkout 是 CRLF(Windows 风格)结尾,通过设置 core.autocrlf 设
置来 commit 时以 LF 结尾。Github 有一个关于设置此选项的文档。但是,由于 MSYS2 使用 Unix 样式的
行尾,因此在编辑 ESP-IDF 源文件时,通常更容易将文本编辑器配置为使用 LF(Unix 样式)结尾。
如果您在分支中意外地 commit 了 LF 结尾,则可以通过在 MSYS2 或 Unix 终端中运行此命令将它们转换
为 Unix(将目录更改为 IDF 工作目录,并预先检查当前是否已 checkout 正确的分支):

git rebase --exec 'git diff-tree --no-commit-id --name-only -r HEAD | xargs␣


,→dos2unix && git commit -a --amend --no-edit --allow-empty' master

请注意,这行代码将在 master 上重新建立基,并在最后更改分支名称以在另一个分支上建立基。


要更新单个提交,可以运行

dos2unix FILENAME

然后运行

git commit --amend

Espressif Systems 201 Release master


Submit Document Feedback
Chapter 1. Supported Development Boards

7. 格式化代码 您可以使用 astyle 程序根据上述建议对代码进行格式化。


如果您正在从头开始编写一个文件,或者正在进行完全重写,请随意重新格式化整个文件。如果您正在
更改文件的一小部分,不要重新格式化您没有更改的代码。这将帮助其他人检查您的更改。
要重新格式化文件,请运行

tools/format.sh components/my_component/file.c

CMake 代码风格
• 缩进是 4 个空格
• 最大行长为 120 个字符。分割行时,请尝试尽可能集中于可读性(例如,通过在单独的行上配对关
键字/参数对) 。
• 不要在 endforeach()、endif() 等后面的可选括号中放入任何内容。
• 对命令、函数和宏名使用小写 ( with_underscores )。
• 对于局部作用域的变量,使用小写字母 ( with_underscores )。
• 对于全局作用域的变量,使用大写 ( WITH_UNDERSCORES )。
• 其他,请遵循 cmake-lint 项目的默认设置。

Espressif Systems 202 Release master


Submit Document Feedback
Bibliography

[A] Boards with the PW number before PW-2024-02-0362 (before February 2024) does not populate a 32.768 kHz
crystal by default.
[B] The flash is integrated in the chip’s package.

203

You might also like