Professional Documents
Culture Documents
Esp32 Wroom 32d
Esp32 Wroom 32d
Datasheet
Espressif Systems
February 7, 2018
About This Guide
This document provides the specifications for the ESP32-WROOM-32D/ESP32-WROOM-32U module.
Release Notes
Certification
Download certificates for Espressif products from here.
1 Overview 1
2 Pin Definitions 3
2.1 Pin Layout 3
2.2 Pin Description 3
2.3 Strapping Pins 5
3 Functional Description 7
3.1 CPU and Internal Memory 7
3.2 External Flash and SRAM 7
3.3 Crystal Oscillators 7
3.4 RTC and Low-Power Management 8
5 Electrical Characteristics 10
5.1 Absolute Maximum Ratings 10
5.2 Wi-Fi Radio 10
5.3 BLE Radio 11
5.3.1 Receiver 11
5.3.2 Transmitter 11
5.4 Reflow Profile 12
6 Schematics 13
7 Peripheral Schematics 15
8 Dimensions 16
10Learning Resources 19
10.1 Must-Read Documents 19
10.2 Must-Have Resources 19
List of Tables
2 ESP32-WROOM-32D vs. ESP32-WROOM-32U 1
3 ESP32-WROOM-32D/ESP32-WROOM-32U Specifications 2
4 Pin Definitions 3
5 Strapping Pins 5
6 Power Consumption by Power Modes 8
7 Absolute Maximum Ratings 10
8 Wi-Fi Radio Characteristics 10
9 Receiver Characteristics — BLE 11
10 Transmitter Characteristics — BLE 11
List of Figures
1 ESP32-WROOM-32D Pin layout 3
2 Reflow Profile 12
3 ESP32-WROOM-32D Schematics 13
4 ESP32-WROOM-32U Schematics 14
5 ESP32-WROOM-32D/ESP32-WROOM-32U Peripheral Schematics 15
6 Dimensions of ESP32-WROOM-32D 16
7 Dimensions of ESP32-WROOM-32U 17
8 ESP32-WROOM-32U U.FL Dimensions 18
1. OVERVIEW
1. Overview
ESP32-WROOM-32D and ESP32-WROOM-32U are powerful, generic Wi-Fi+BT+BLE MCU modules that target a
wide variety of applications, ranging from low-power sensor networks to the most demanding tasks, such as voice
encoding, music streaming and MP3 decoding. ESP32-WROOM-32U is different from ESP32-WROOM-32D in
that ESP32-WROOM-32U integrates a U.FL connector. For detailed information of the U.FL connector please see
Chapter 9.
At the core of the two modules are the ESP32-D0WD chip*. The chip embedded is designed to be scalable
and adaptive. There are two CPU cores that can be individually controlled, and the clock frequency is adjustable
from 80 MHz to 240 MHz. The user may also power off the CPU and make use of the low-power co-processor to
constantly monitor the peripherals for changes or crossing of thresholds. ESP32 integrates a rich set of peripherals,
ranging from capacitive touch sensors, Hall sensors, SD card interface, Ethernet, high-speed SPI, UART, I2S and
I2C.
Note:
* For details on the part number of the ESP32 series, please refer to the document ESP32 Datasheet.
The integration of Bluetooth, Bluetooth LE and Wi-Fi ensures that a wide range of applications can be targeted,
and that the module is future proof: using Wi-Fi allows a large physical range and direct connection to the internet
through a Wi-Fi router, while using Bluetooth allows the user to conveniently connect to the phone or broadcast
low energy beacons for its detection. The sleep current of the ESP32 chip is less than 5 µA, making it suitable
for battery powered and wearable electronics applications. ESP32 supports a data rate of up to 150 Mbps,
and 20.5 dBm output power at the antenna to ensure the widest physical range. As such the chip does offer
industry-leading specifications and the best performance for electronic integration, range, power consumption,
and connectivity.
The operating system chosen for ESP32 is freeRTOS with LwIP; TLS 1.2 with hardware acceleration is built in as
well. Secure (encrypted) over the air (OTA) upgrade is also supported, so that developers can continually upgrade
their products even after their release.
2. Pin Definitions
Keepout Zone
1 GND GND 38
2 3V3 IO23 37
3 EN IO22 36
4 SENSOR_VP TXD0 35
5 SENSOR_VN RXD0 34
6 IO34 IO21 33
7 IO35 NC 32
39: GND
8 IO32 IO19 31
9 IO33 IO18 30
10 IO25 IO5 29
11 IO26 IO17 28
12 IO27 IO16 27
13 IO14 IO4 26
CMD
IO15
SD0
GND
SD2
SD3
IO13
CLK
SD1
IO2
14 IO12 IO0 25
20
22
23
24
18
16
19
21
15
17
Note:
The pin layout of ESP32-WROOM-32U is the same as that of ESP32-WROOM-32D, except that ESP32-WROOM-32U
has no keepout zone.
Note:
* Pins SCK/CLK, SDO/SD0, SDI/SD1, SHD/SD2, SWP/SD3 and SCS/CMD, namely, GPIO6 to GPIO11 are connected
to the integrated SPI flash integrated on ESP32-WROOM-32D and are not recommended for other uses.
• MTDI
• GPIO0
• GPIO2
• MTDO
• GPIO5
Software can read the value of these five bits from the register ”GPIO_STRAPPING”.
During the chip’s system reset (power-on reset, RTC watchdog reset and brownout reset), the latches of the
strapping pins sample the voltage level as strapping bits of ”0” or ”1”, and hold these bits until the chip is powered
down or shut down. The strapping bits configure the device boot mode, the operating voltage of VDD_SDIO and
other system initial settings.
Each strapping pin is connected with its internal pull-up/pull-down during the chip reset. Consequently, if a strap-
ping pin is unconnected or the connected external circuit is high-impendence, the internal weak pull-up/pull-down
will determine the default input level of the strapping pins.
To change the strapping bit values, users can apply the external pull-down/pull-up resistances, or apply the host
MCU’s GPIOs to control the voltage level of these pins when powering on ESP32.
After reset, the strapping pins work as the normal functions pins.
Note:
• Firmware can configure register bits to change the settings of ”Voltage of Internal LDO (VDD_SDIO)” and ”Timing
of SDIO Slave” after booting.
• Both ESP32-WROOM-32D and ESP32-WROOM-32U integrate a 3.3V SPI flash, so the pin MTDI cannot be set to
1 when the modules are powered up.
3. Functional Description
This chapter describes the modules and functions integrated in ESP32-WROOM-32D and ESP32-WROOM-
32U.
• 520 kB (8 kB RTC FAST Memory included) of on-chip SRAM for data and instruction.
– 8 kB of SRAM in RTC, which is called RTC FAST Memory and can be used for data storage; it is
accessed by the main CPU during RTC Boot from the Deep-sleep mode.
• 8 kB of SRAM in RTC, which is called RTC SLOW Memory and can be accessed by the co-processor during
the Deep-sleep mode.
• 1 kbit of eFuse, of which 320 bits are used for the system (MAC address and chip configuration) and the
remaining 704 bits are reserved for customer applications, including Flash-Encryption and Chip-ID.
ESP32 can access the external QSPI flash and SRAM through high-speed caches.
• Up to 16 MB of external flash are memory-mapped onto the CPU code space, supporting 8, 16 and 32-bit
access. Code execution is supported.
• Up to 8 MB of external flash/SRAM are memory-mapped onto the CPU data space, supporting 8, 16 and
32-bit access. Data-read is supported on the flash and SRAM. Data-write is supported on the SRAM.
ESP32-WROOM-32D and ESP32-WROOM-32U integrates 4 MB of external SPI flash. The 4-MB SPI flash can be
memory-mapped onto the CPU code space, supporting 8, 16 and 32-bit access. Code execution is supported.
The integrated SPI flash is connected to GPIO6, GPIO7, GPIO8, GPIO9, GPIO10 and GPIO11. These six pins
cannot be used as regular GPIOs.
• Power modes
– Active mode: The chip radio is powered on. The chip can receive, transmit, or listen.
– Modem-sleep mode: The CPU is operational and the clock is configurable. The Wi-Fi/Bluetooth base-
band and radio are disabled.
– Light-sleep mode: The CPU is paused. The RTC memory and RTC peripherals, as well as the ULP
co-processor are running. Any wake-up events (MAC, host, RTC timer, or external interrupts) will wake
up the chip.
– Deep-sleep mode: Only the RTC memory and RTC peripherals are powered on. Wi-Fi and Bluetooth
connection data are stored in the RTC memory. The ULP co-processor can work.
– Hibernation mode: The internal 8-MHz oscillator and ULP co-processor are disabled. The RTC recovery
memory is powered down. Only one RTC timer on the slow clock and some RTC GPIOs are active.
The RTC timer or the RTC GPIOs can wake up the chip from the Hibernation mode.
The power consumption varies with different power modes/sleep patterns and work statuses of functional modules.
Please see Table 6 for details.
Note:
• When Wi-Fi is enabled, the chip switches between Active and Modem-sleep mode. Therefore, power consumption
changes accordingly.
• In Modem-sleep mode, the CPU frequency changes automatically. The frequency depends on the CPU load and
the peripherals used.
• During Deep-sleep, when the ULP co-processor is powered on, peripherals such as GPIO and I2C are able to
work.
• When the system works in the ULP sensor-monitored pattern, the ULP co-processor works with the ULP sensor
periodically; ADC works with a duty cycle of 1%, so the power consumption is 100 µA.
Note:
• Functions of Motor PWM, LED PWM, UART, I2C, I2S, general purpose SPI and Remote Controller can be configured
to any GPIO except GPIO6, GPIO7, GPIO8, GPIO9, GPIO10 and GPIO11.
• Users should note that pins of the embedded ESP32 chip, that are used for connecting peripherals are not recom-
mended for other uses. For details, please see Section 6 Schematics.
5. Electrical Characteristics
Note:
The specifications in this chapter have been tested under the following general condition: VDD = 3.3V, TA = 27°C, unless
otherwise specified.
1. VIO is the power supply for a specific pad. More details can be found in the ESP32 Datasheet, Appendix IO_MUX. For
example, the power supply for SD_CLK is the VDD_SDIO.
5.3.2 Transmitter
Peak Temp.
235 ~ 250℃
250
Preheating zone Reflow zone Cooling zone
150 ~ 200℃ 60 ~ 120s !217℃ 60 ~ 90s -1 ~ -5℃/s
217
200
Soldering time
> 30s
Ramp-up zone
1 ~ 3℃/s
100
50
25
Time (sec.)
0
0 50 100 150 200 250
6. SCHEMATICS
6. Schematics
3
GND U1 GND
CHIP_PU/EN SD2 IO22
GND
GND XOUT
CHIP_PU SHD/SD2 GPIO22
XIN
C1 C2 Pin.4 Pin.18 Pin.35
22pF/6.3V(10%) 22pF/6.3V(10%)
VDD33 SENSOR_VP SD3 U0TXD
2
SENSOR_VP SWP/SD3 U0TXD
C3 C20 GND
100pF 1uF GND Pin.5 Pin.19 Pin.34
40MHz+/-10ppm
SENSOR_VN CMD U0RXD
0R
R1 20K(5%)
VDD33 GND GND C5 GPIO21 SENSOR_VN SCS/CMD U0RXD
10nF/6.3V(10%) C6 R3 499R U0TXD
U0RXD
C9 3.3nF/6.3V(10%) GPIO22 Pin.6 Pin.20 Pin.33
0.1uF
IO34 CLK IO21
R2
GND
GPIO34 SCK/CLK GPIO21
VDD33 GND
49
48
47
46
45
44
43
42
41
40
39
L5 2.0nH GND
Pin.7 Pin.21 Pin.32
VDDA
VDDA
GND
CAP1
CAP2
XTAL_P
XTAL_N
GPIO21
U0TXD
U0RXD
GPIO22
C11 C12 C13 C10 C21
1uF NC 10uF 0.1uF NC C4 VDD33 VDD_SDIO IO35 SD0 NC
0.1uF GPIO35 SDO/SD0
8
2 3 36 GPIO23 U3
C15 C14 4 VDD3P3 GPIO23 35 GPIO18 SCS/CMD 1 5 SDI/SD1 GPIO32 SDI/SD1 GPIO19
VCC
C16 SENSOR_VP 5 VDD3P3 GPIO18 34 GPIO5 /CS DI
2.0pF±0.1pF/50V
2.7pF±0.1pF/50V
GND
SENSOR_VN8 SENSOR_CAPN SD_DATA_0 31 SCK/CLK SHD/SD2 7 3 SWP/SD3
C17 CHIP_PU 9 SENSOR_VN SD_CLK 30 SCS/CMD /HOLD /WP IO33 IO15 IO18
NC GPIO34 10 CHIP_PU SD_CMD 29 SWP/SD3 FLASH GPIO33 GPIO15 GPIO18
GND GND GND
4
GPIO35 11 VDET_1 SD_DATA_3 28 SHD/SD2
GPIO32 12 VDET_2 SD_DATA_2 27 GPIO17
GPIO33 13 32K_XP GPIO17 26 Pin.10 Pin.24 Pin.29
VDD3P3_RTC
GPIO2
GPIO0
GPIO4
MTMS
MTDO
MTCK
VDD_SDIO
MTDI
C18
1uF Pin.11 Pin.28
U2 ESP32_5x5(D0WD)
IO26 IO17
15
16
17
18
19
20
21
22
23
24
Pin.12 Pin.27
GPIO26
GPIO27
GPIO14
GPIO12
GPIO13
GPIO15
GPIO2
GPIO0
GPIO4
C19
0.1uF IO27 IO16
GPIO27 GPIO16
GND
Pin.13 Pin.26
IO14 IO4
GPIO14 GPIO4
6. SCHEMATICS
Pin.1 Pin.15 Pin.38
GND GND GND
The capacitance of C1 and C2 varies GND GND GND
with the selection of the crystal.
Pin.2 D1 Pin.16 Pin.37
LESD8D3.3CAT5G
3V3 IO13 IO23
GND VDD33 GPIO13 GPIO23
3
GND U1 GND
CHIP_PU/EN SD2 IO22
GND
GND XOUT
CHIP_PU SHD/SD2 GPIO22
XIN
C1 C2 Pin.4 Pin.18 Pin.35
22pF/6.3V(10%) 22pF/6.3V(10%)
VDD33 SENSOR_VP SD3 U0TXD
2
SENSOR_VP SWP/SD3 U0TXD
C3 C20 GND
100pF 1uF GND Pin.5 Pin.19 Pin.34
40MHz+/-10ppm
R1 20K(5%) SENSOR_VN CMD U0RXD
VDD33
0R
GND GND C5 GPIO21 SENSOR_VN SCS/CMD U0RXD
10nF/6.3V(10%) C6 R3 499R U0TXD
U0RXD
C9 3.3nF/6.3V(10%) GPIO22 Pin.6 Pin.20 Pin.33
0.1uF
IO34 CLK IO21
R2
GND
GPIO34 SCK/CLK GPIO21
VDD33 GND
49
48
47
46
45
44
43
42
41
40
39
L5 2.0nH GND
Pin.7 Pin.21 Pin.32
VDDA
VDDA
GND
CAP1
CAP2
XTAL_P
XTAL_N
GPIO21
U0TXD
U0RXD
GPIO22
C11 C12 C13 C10 C21
1uF NC 10uF 0.1uF NC C4 VDD33 VDD_SDIO IO35 SD0 NC
0.1uF GPIO35 SDO/SD0
8
3 36 GPIO23 U3
C15 C14 4 VDD3P3 GPIO23 35 GPIO18 SCS/CMD 1 5 SDI/SD1 GPIO32 SDI/SD1 GPIO19
VCC
2
2.4pF±0.1pF/50V
GND
SENSOR_VN8 SENSOR_CAPN SD_DATA_0 31 SCK/CLK SHD/SD2 7 3 SWP/SD3
C17 CHIP_PU 9 SENSOR_VN SD_CLK 30 SCS/CMD /HOLD /WP IO33 IO15 IO18
NC GPIO34 10 CHIP_PU SD_CMD 29 SWP/SD3 FLASH GPIO33 GPIO15 GPIO18
GND GND GND
4
GPIO35 11 VDET_1 SD_DATA_3 28 SHD/SD2
GPIO32 12 VDET_2 SD_DATA_2 27 GPIO17
14 ESP32-WROOM-32D/ESP32-WROOM-32U Datasheet V1.0
VDD3P3_RTC
GPIO25 14 32K_XN VDD_SDIO 25 GPIO16 GND
GPIO25 GPIO16 IO25 IO2 IO5
GPIO25 GPIO2 GPIO5
GPIO26
GPIO27
GPIO2
GPIO0
GPIO4
MTMS
MTDO
MTCK
MTDI VDD_SDIO
C18
1uF Pin.11 Pin.28
U2 ESP32_5x5(D0WD)
IO26 IO17
15
16
17
18
19
20
21
22
23
24 GND VDD33 GPIO26 GPIO17
Pin.12 Pin.27
GPIO26
GPIO27
GPIO14
GPIO12
GPIO13
GPIO15
GPIO2
GPIO0
GPIO4
C19
0.1uF IO27 IO16
GPIO27 GPIO16
GND
Pin.13 Pin.26
IO14 IO4
GPIO14 GPIO4
7. PERIPHERAL SCHEMATICS
7. Peripheral Schematics
VDD33 VDD33
C1 10uF
GND
C2 0.1uF
3
2
1
2 37 IO23
C3 0.1uF EN 3 3V3 IO23 36 IO22
GND SENSOR_VP 4 EN IO22 35 TXD
SENSOR_VN 5 SENSOR_VP TXD0 GND
34 RXD
IO34 6 SENSOR_VN RXD0 33 IO21
IO35 7 IO34 IO21 32
IO32 8 IO35 NC 31 IO19
IO33 9 IO32 IO19 30 IO18
IO25 10 IO33 IO18 29 IO5
IO26 11 IO25 IO5 28 IO17
IO27 12 IO26 IO17 27 IO16
13 IO27 IO16 26 IO4
14 IO14 IO4 25 IO0
IO12 IO0 GND
15 ESP32-WROOM-32D/ESP32-WROOM-32U Datasheet V1.0
GND2
CMD
IO13
IO15
CLK
SD2
SD3
SD0
SD1
1
2
IO2
J2
15
16
17
18
19
20
21
22
23
24
BOOT OPTION
U2 GND
1 R2 100R MTMS
MTMS
CMD
2 R3 100R MTDI
CLK
SD2
SD3
SD0
SD1
IO2
MTDI 3 R4 100R MTCK
MTCK 4 R5 100R MTDO
MTDO
JTAG
MTDI should be kept at a low electric level when powering up the module.
Note:
It is recommended that users do not solder Pad 39 to the base board. If users do want to solder it, they need to ensure that the correct quantity of soldering paste is applied.
Espressif Systems
8. DIMENSIONS
8. Dimensions
0.8±0 .1
0.9
15.8± 0.1
3.5± 0.1
25.5±0.2
25.5±0.2
16.51± 0.1
16.51± 0.1
16.51± 0.1
16.51± 0.1
3.5± 0.1
17.6± 0.1
1.27± 0.1
1.27± 0.1
1.27± 0.1
1.27± 0.1
1
0.
4±
8.5± 0.2
0.
16 ESP32-WROOM-32D/ESP32-WROOM-32U Datasheet V1.0
1.5
1.5
1.5
11.43± 0.1 3.28 3.28 11.43±0 .1
Note:
All dimensions are in millimeters.
8. DIMENSIONS
Figure 7: Dimensions of ESP32-WROOM-32U
Espressif Systems 17 ESP32-WROOM-32D/ESP32-WROOM-32U Datasheet V1.0
9. U.FL CONNECTOR DIMENSIONS
Unit: mm
Note:
All dimensions are in millimeters.
• ESP32 Datasheet
This document provides an introduction to the specifications of the ESP32 hardware, including overview, pin
definitions, functional description, peripheral interface, electrical characteristics, etc.
• ESP32 BBS
This is an Engineer-to-Engineer (E2E) Community for ESP32 where you can post questions, share knowledge,
explore ideas, and help solve problems with fellow engineers.
• ESP32 GitHub
ESP32 development projects are freely distributed under Espressif’s MIT license on GitHub. It is established
to help developers get started with ESP32 and foster innovation and the growth of general knowledge about
the hardware and software surrounding ESP32 devices.
• ESP32 Tools
This is a webpage where users can download ESP32 Flash Download Tools and the zip file ”ESP32 Certifi-
cation and Test”.
• ESP-IDF
This webpage links users to the official IoT development framework for ESP32.
• ESP32 Resources
This webpage provides the links to all available ESP32 documents, SDK and tools. �����������