ESP32-WROOM-32DC Datasheet C O NFIDENTIAL Prerelease version 0.1 Espressif Systems Copyright 2018 www.espressif.com About This Document This document provides the specifications for the ESP32-WROOM-32DC module. Certification Revision History For revision history of this document, please refer to the last page. Disclaimer and Copyright Notice Documentation Change Notification Download certificates for Espressif products from www.espressif.com/en/certificates. Espressif provides email notifications to keep customers updated on changes to technical documentation. Please subscribe at www.espressif.com/en/subscribe. C O NFIDENTIAL Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright 2018 Espressif Inc. All rights reserved. Contents 1 Overview 2 Pin Definitions 2.1 Pin Layout 2.2 Pin Description 2.3 Strapping Pins 3 Functional Description 3.1 CPU and Internal Memory 3.2 External Flash and SRAM 3.3 Crystal Oscillators 3.4 RTC and Low-Power Management 4 Peripherals and Sensors 5 Electrical Characteristics 5.1 Absolute Maximum Ratings 5.2 Recommended Operating Conditions 5.3 DC Characteristics (3.3 V, 25 C) 5.4 Reflow Profile 6 Physical Dimensions 7 Recommended PCB Land Pattern 8 Learning Resources 8.1 Must-Read Documents 8.2 Must-Have Resources Revision History 1 3 3 3 4 6 6 6 6 7 8 9 9 9 9 11 12 13 14 14 14 15 1 3 5 9 9 9 List of Tables 1 2 3 4 5 6 ESP32-WROOM-32DC Specifications Pin Definitions Strapping Pins Absolute Maximum Ratings Recommended Operating Conditions DC Characteristics (3.3 V, 25 C) C O NFIDENTIAL 3 11 12 13 List of Figures 1 2 3 4 ESP32-WROOM-32DC Pin Layout (Top View) Reflow Profile Physical Dimensions of ESP32-WROOM-32DC Recommended PCB Land Pattern C O NFIDENTIAL 1. Overview 1. Overview ESP32-WROOM-32DC is a powerful, generic Wi-Fi+BT+BLE MCU module that targets 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. Note:
* For details on the part numbers of the ESP32 family of chips, please refer to the document ESP32 Datasheet. At the core of this module is 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 CPU 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. The integration of Bluetooth, Bluetooth LE and Wi-Fi ensures that a wide range of applications can be targeted, and that the module is all-around: 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. The module supports a data rate of up to 150 Mbps, and 20 dBm output power at the antenna to ensure the widest physical range. As such the module does offer industry-leading specifications and the best performance for electronic integration, range, power consumption, and connectivity. C O NFIDENTIAL Specifications 802.11 b/g/n (802.11n up to 150 Mbps) A-MPDU and A-MSDU aggregation and 0.4 s guard interval support 2.4 GHz ~ 2.5 GHz Bluetooth v4.2 BR/EDR and BLE specification NZIF receiver with 97 dBm sensitivity 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 upgrade their products even after their release, at minimum cost and effort. Table 1 provides the specifications of ESP32-WROOM-32DC. Table 1: ESP32-WROOM-32DC Specifications Frequency range Protocols Categories Bluetooth Protocols Radio Items Wi-Fi Audio AFH CVSD and SBC SD card, UART, SPI, SDIO, I2C, LED PWM, Motor PWM, I2S, IR, pulse counter, GPIO, capacitive touch sensor, ADC, DAC Hall sensor 40 MHz crystal Hardware Module interface On-chip sensor On-board clock Espressif Systems 1 ESP32-WROOM-32DC Datasheet V0.1 1. Overview Categories Specifications 2.7 V ~ 3.6 V Average: 80 mA 500 mA Items Operating voltage/Power supply Operating current Minimum current delivered by power supply Recommended operating tem-
perature range Package size (mm) 40 C ~ +85 C
(18.000.10) (25.500.10) (3.100.10) C O NFIDENTIAL Espressif Systems 2 ESP32-WROOM-32DC Datasheet V0.1 2. Pin Denitions 2. Pin Definitions 2.1 Pin Layout C O NFIDENTIAL Function Ground Power supply Module-enable signal. Active high. GPIO36, ADC1_CH0, RTC_GPIO0 GPIO39, ADC1_CH3, RTC_GPIO3 GPIO34, ADC1_CH6, RTC_GPIO4 GPIO35, ADC1_CH7, RTC_GPIO5 GPIO32, XTAL_32K_P (32.768 kHz crystal oscillator input), ADC1_CH4, TOUCH9, RTC_GPIO9 GPIO33, XTAL_32K_N (32.768 kHz crystal oscillator output), ADC1_CH5, TOUCH8, RTC_GPIO8 No. Name 1 GND 2 3V3 EN 3 SENSOR_VP 4 SENSOR_VN 5 6 IO34 IO35 7 IO32 IO33 8 9 I/O I/O Figure 1: ESP32-WROOM-32DC Pin Layout (Top View) Type P P I I I I I Table 2: Pin Definitions ESP32-WROOM-32DC has 38 pins. See pin definitions in Table 2. 2.2 Pin Description Espressif Systems 3 ESP32-WROOM-32DC Datasheet V0.1 Keepout ZoneGNDIO23IO22TXD0RXD0IO21NCIO19IO18IO5IO17IO16IO4IO0383736353433323130292827262524232221201918171615IO2IO15SD1SD0CLKCMDSD3SD2IO13GND1234567891011121314GND3V3ENSENSOR_VPSENSOR_VNIO34IO35IO32IO33IO25IO26IO27IO14IO1239 GND 2. Pin Denitions Name IO25 IO26 IO27 No. 10 11 12 Type I/O I/O I/O P 16 15 14 13 23 I/O I/O I/O I/O IO2 IO13 IO12 IO14 IO15 GND 17 18 19 20 21 22 I/O I/O I/O I/O I/O I/O SHD/SD2*
SWP/SD3*
SCS/CMD*
SCK/CLK*
SDO/SD0*
SDI/SD1*
Function GPIO25, DAC_1, ADC2_CH8, RTC_GPIO6, EMAC_RXD0 GPIO26, DAC_2, ADC2_CH9, RTC_GPIO7, EMAC_RXD1 GPIO27, ADC2_CH7, TOUCH7, RTC_GPIO17, EMAC_RX_DV GPIO14, ADC2_CH6, TOUCH6, RTC_GPIO16, MTMS, HSPICLK, HS2_CLK, SD_CLK, EMAC_TXD2 GPIO12, ADC2_CH5, TOUCH5, RTC_GPIO15, MTDI, HSPIQ, HS2_DATA2, SD_DATA2, EMAC_TXD3 Ground GPIO13, ADC2_CH4, TOUCH4, RTC_GPIO14, MTCK, HSPID, HS2_DATA3, SD_DATA3, EMAC_RX_ER GPIO9, SD_DATA2, SPIHD, HS1_DATA2, U1RXD GPIO10, SD_DATA3, SPIWP, HS1_DATA3, U1TXD GPIO11, SD_CMD, SPICS0, HS1_CMD, U1RTS GPIO6, SD_CLK, SPICLK, HS1_CLK, U1CTS GPIO7, SD_DATA0, SPIQ, HS1_DATA0, U2RTS GPIO8, SD_DATA1, SPID, HS1_DATA1, U2CTS GPIO15, ADC2_CH3, TOUCH3, MTDO, HSPICS0, RTC_GPIO13, HS2_CMD, SD_CMD, EMAC_RXD3 GPIO2, ADC2_CH2, TOUCH2, RTC_GPIO12, HSPIWP, HS2_DATA0, SD_DATA0 GPIO0, ADC2_CH1, TOUCH1, RTC_GPIO11, CLK_OUT1, EMAC_TX_CLK GPIO4, ADC2_CH0, TOUCH0, RTC_GPIO10, HSPIHD, HS2_DATA1, SD_DATA1, EMAC_TX_ER GPIO16, HS1_DATA4, U2RXD, EMAC_CLK_OUT GPIO17, HS1_DATA5, U2TXD, EMAC_CLK_OUT_180 GPIO5, VSPICS0, HS1_DATA6, EMAC_RX_CLK GPIO18, VSPICLK, HS1_DATA7 GPIO19, VSPIQ, U0CTS, EMAC_TXD0
-
GPIO21, VSPIHD, EMAC_TX_EN GPIO3, U0RXD, CLK_OUT2 GPIO1, U0TXD, CLK_OUT3, EMAC_RXD2 GPIO22, VSPIWP, U0RTS, EMAC_TXD1 GPIO23, VSPID, HS1_STROBE Ground C O NFIDENTIAL
* 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 the module and are not recommended for other uses. IO16 IO17 IO5 IO18 IO19 NC IO21 RXD0 TXD0 IO22 IO23 GND I/O I/O I/O I/O I/O
-
I/O I/O I/O I/O I/O P 27 28 29 30 31 32 33 34 35 36 37 38 Notice:
IO0 IO4 I/O I/O I/O 24 25 26 2.3 Strapping Pins ESP32 has five strapping pins, which can be seen in Chapter 6 Schematics:
Espressif Systems 4 ESP32-WROOM-32DC Datasheet V0.1 2. Pin Denitions MTDI GPIO0 GPIO2 MTDO GPIO5 After reset, the strapping pins work as normal-function pins. Refer to Table 3 for a detailed boot-mode configuration by strapping pins. Software can read the values of these five bits from register GPIO_STRAPPING. To change the strapping bit values, users can apply the external pull-down/pull-up resistances, or use the host MCUs GPIOs to control the voltage level of these pins when powering on ESP32. Each strapping pin is connected to its internal pull-up/pull-down during the chip reset. Consequently, if a strapping pin is unconnected or the connected external circuit is high-impedance, the internal weak pull-up/pull-down will determine the default input level of the strapping pins. During the chips 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 devices boot mode, the operating voltage of VDD_SDIO and other initial system settings. C O NFIDENTIAL 1 Timing of SDIO Slave Falling-edge Input Rising-edge Output 0 1 Falling-edge Input Falling-edge Output 0 0 Rising-edge Input Falling-edge Output 1 0 Firmware can configure register bits to change the settings of Voltage of Internal LDO (VDD_SDIO) and Timing Enabling/Disabling Debugging Log Print over U0TXD During Booting Rising-edge Input Rising-edge Output 1 1 Default Pull-up Pull-down Voltage of Internal LDO (VDD_SDIO) Pin GPIO0 GPIO2 Table 3: Strapping Pins Default Pull-down Default Pull-up Pull-up Pull-up MTDO GPIO5 Download Boot Pin MTDO Booting Mode U0TXD Active U0TXD Silent Pin MTDI Dont-care SPI Boot Default 1.8 V 3.3 V Note:
Pin 0 0 1 0 0 1 of SDIO Slave after booting. The module integrates a 3.3 V SPI flash, so the pin MTDI cannot be set to 1 when the module is powered up. Espressif Systems 5 ESP32-WROOM-32DC Datasheet V0.1 3. Functional Description 3. Functional Description This chapter describes the modules and functions integrated in ESP32-WROOM-32DC. during the Deep-sleep mode. 448 KB of ROM for booting and core functions. 520 KB of on-chip SRAM for data and instructions. by the main CPU during RTC Boot from the Deep-sleep mode. 3.2 External Flash and SRAM 3.1 CPU and Internal Memory 768 bits are reserved for customer applications, including flash-encryption and chip-ID. 8 KB of SRAM in RTC, which is called RTC SLOW Memory and can be accessed by the co-processor 1 Kbit of eFuse: 256 bits are used for the system (MAC address and chip configuration) and the remaining 8 KB of SRAM in RTC, which is called RTC FAST Memory and can be used for data storage; it is accessed ESP32-D0WD contains two low-power Xtensa 32-bit LX6 microprocessors. The internal memory includes:
C O NFIDENTIAL ESP32 supports multiple external QSPI flash and SRAM chips. More details can be found in Chapter SPI in the ESP32 Technical Reference Manual. ESP32 also supports hardware encryption/decryption based on AES to protect developers programs and data in flash. ESP32-WROOM-32DC 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. When external flash is mapped into CPU instruction memory space, up to 11 MB + 248 KB can be mapped at a time. Note that if more than 3 MB + 248 KB are mapped, cache performance will be reduced due to speculative reads by the CPU. When external flash is mapped into read-only data memory space, up to 4 MB can be mapped at a External SRAM can be mapped into CPU data memory space. Up to 4 MB can be mapped at a time. The external flash can be mapped into CPU instruction memory space and read-only memory space ESP32 can access the external QSPI flash and SRAM through high-speed caches. 8-bit, 16-bit and 32-bit reads and writes are supported. time. 8-bit, 16-bit and 32-bit reads are supported. simultaneously. 3.3 Crystal Oscillators The module uses a 40-MHz crystal oscillator. Espressif Systems 6 ESP32-WROOM-32DC Datasheet V0.1 3. Functional Description 3.4 RTC and Low-Power Management With the use of advanced power-management technologies, ESP32 can switch between different power modes. For details on ESP32s power consumption in different power modes, please refer to section RTC and Low-Power Management in ESP32 Datasheet. C O NFIDENTIAL Espressif Systems 7 ESP32-WROOM-32DC Datasheet V0.1 4. Peripherals and Sensors 4. Peripherals and Sensors Please refer to Section Peripherals and Sensors in ESP32 Datasheet. Note:
External connections can be made to any GPIO except for GPIOs in the range 6-11. These six GPIOs are connected to the modules integrated SPI flash. For details, please see Section 6 Schematics. C O NFIDENTIAL Espressif Systems 8 ESP32-WROOM-32DC Datasheet V0.1 5. Electrical Characteristics 5. Electrical Characteristics 5.1 Absolute Maximum Ratings 1 Unit V C mA Min 0.3 40
-
Max 3.6 150 1,100 Table 4: Absolute Maximum Ratings Symbol VDD33 Tstore IO 2. Please see Appendix IO_MUX of ESP32 Datasheet for IOs power domain. 5.2 Recommended Operating Conditions Stresses beyond the absolute maximum ratings listed in the table below may cause permanent damage to the device. These are stress ratings only, and do not refer to the functional operation of the device. 1. The module worked properly after a 24-hour test in ambient temperature at 25 C, and the IOs in three domains Parameter Power supply voltage Storage temperature Cumulative IO output current
(VDD3P3_RTC, VDD3P3_CPU, VDD_SDIO) output high logic level to ground. Please note that pins occupied by flash and/or PSRAM in the VDD_SDIO power domain were excluded from the test. C O NFIDENTIAL Parameter Power supply voltage Current delivered by external power supply Operating temperature High-level input voltage Low-level input voltage High-level input current Low-level input current High-level output voltage Low-level output voltage 5.3 DC Characteristics (3.3 V, 25 C) Symbol CIN VIH VIL IIH IIL VOH VOL Table 5: Recommended Operating Conditions Table 6: DC Characteristics (3.3 V, 25 C) Symbol VDD33 IV DD T Typical 3.3
-
-
Max 3.6
-
85 Unit V A C Min 2.7 0.5 40 Pin capacitance Parameter High-level source current
(VDD1 = 3.3 V, VOH >= 2.64 V, PAD_DRIVER = 3) VDD3P3_CPU power domain 1; 2 VDD3P3_RTC power domain 1; 2 VDD_SDIO power domain 1; 3 Min
-
0.75VDD1 0.3
-
-
0.8VDD1
-
-
-
-
Typ Max 2
-
-
-
-
-
-
40 40 20 Unit pF
-
VDD1+0.3 V 0.25VDD1 V 50 nA nA 50 V
-
0.1VDD1 V mA
-
mA
-
-
mA Low-level sink current
(VDD1 = 3.3 V, VOL = 0.495 V, PAD_DRIVER = 3) Pull-up resistor
-
-
28 45
-
-
mA k IOH IOL RP U Espressif Systems 9 ESP32-WROOM-32DC Datasheet V0.1 5. Electrical Characteristics Symbol RP D VIL_nRST Notes:
Parameter Pull-down resistor Low-level input voltage of CHIP_PU to reset the chip Min
-
-
Typ Max 45
-
-
0.6 Unit k V 1. Please see Appendix IO_MUX of ESP32 Datasheet for IOs power domain. VDD is the I/O voltage for a particular power domain of pins. 2. For VDD3P3_CPU and VDD3P3_RTC power domain, per-pin current sourced in the same domain is gradually reduced from around 40 mA to around 29 mA, VOH>=2.64 V, as the number of current-source pins increases. 3. Pins occupied by flash and/or PSRAM in the VDD_SDIO power domain were excluded from the test. Espressif Systems 10 ESP32-WROOM-32DC Datasheet V0.1 5. Electrical Characteristics 5.4 Reflow Profile C O NFIDENTIAL Figure 2: Reflow Profile Espressif Systems 11 ESP32-WROOM-32DC Datasheet V0.1 501500251 ~ 3/s0200250200-1 ~ -5/sCooling zone10021750100250Reow zone 217 60 ~ 90sTemperature ()Preheating zone150 ~ 20060 ~ 120sRamp-up zonePeak Temp.235 ~ 250Soldering time> 30sTime (sec.)Ramp-up zone Temp.: <150 Time: 60 ~ 90s Ramp-up rate: 1 ~ 3/sPreheating zone Temp.: 150 ~ 200 Time: 60 ~ 120s Ramp-up rate: 0.3 ~ 0.8/sReow zone Temp.: >217 60 ~ 90s; Peak Temp.: 235 ~ 250 (<245 recommended) Time: 30 ~ 70sCooling zone Peak Temp. ~ 180 Ramp-down rate: -1 ~ -5/sSolder Sn&Ag&Cu Lead-free solder (SAC305) E s p r e s s i f S y s t e m s 1 2 E S P 3 2
-
W R O O M
-
3 2 D C D a t a s h e e t V 0 1
. 6. Physical Dimensions C O N FID E N 6 P h y s c a i l i D m e n s o n s i TIA L Figure 3: Physical Dimensions of ESP32-WROOM-32DC PCB ThicknessModule Thickness3.100.100.800.101.270.101.500.1017.600.10Module WidthModule Length1.270.1011.430.1025.500.1018.000.10Unit: mm16.510.1011.430.103.280.101.270.1025.500.10ESP32-WROOM-32DC DIMENSIONSTop ViewSide ViewBottom ViewAntenna Area0.900.100.850.106.200.1015.800.101.500.100.450.100.900.1018.000.103.280.100.500.106.400.109.200.102.200.102.200.10 7. Recommended PCB Land Pattern 7. Recommended PCB Land Pattern C O NFIDENTIAL Figure4: Recommended PCB Land Pattern Espressif Systems 13 ESP32-WROOM-32DC Datasheet V0.1 25.5181.27x13=16.511.27x9=11.432.785126.3177.492.785550.91152438Unit:mm6.514 8 Learning Resources 8. Learning Resources 8.1 Must-Read Documents The following link provides documents related to ESP32. ESP32 Datasheet ESP32 Hardware Resources ESP-IDF Programming Guide ESP32 Hardware Design Guidelines ESP32 Technical Reference Manual ESP32 AT Instruction Set and Examples The manual provides detailed information on how to use the ESP32 memory and peripherals. It hosts extensive documentation for ESP-IDF ranging from hardware guides to API reference. This document provides an introduction to the specifications of the ESP32 hardware, including overview, pin definitions, functional description, peripheral interface, electrical characteristics, etc. The zip files include the schematics, PCB layout, Gerber and BOM list of ESP32 modules and development boards. The guidelines outline recommended design practices when developing standalone or add-on systems based on the ESP32 series of products, including the ESP32 chip, the ESP32 modules and development boards. C O NFIDENTIAL ESP32 development projects are freely distributed under Espressifs 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. This document introduces the ESP32 AT commands, explains how to use them, and provides examples of several common AT commands. 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. This is a webpage where users can download ESP32 Flash Download Tools and the zip file ESP32 Certification and Test. 8.2 Must-Have Resources Here are the ESP32-related must-have resources. Espressif Products Ordering Information ESP32 GitHub ESP32 Tools ESP32 BBS 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. Espressif Systems 14 ESP32-WROOM-32DC Datasheet V0.1 Revision History Revision History Date 2018.10 Version V0.1 Release notes Preliminary release. FCC Statement Any Changes or modifications not expressly approved by the party responsible for compliance could void the users authority to operate the equipment. This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions:
(1) This device may not cause harmful interference, and
(2) This device must accept any interference received, including interference that may cause undesired operation. FCC Radiation Exposure Statement:
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment .This equipment should be installed and operated with minimum distance 20cm between the radiator&
your body. FCC Label Instructions:
The outside of final products that contains this module device must display a label referring to the enclosed module. This exterior label can use wording such as: Contains Transmitter Module FCC ID: 2AC7Z-ESPWROOM32DC,or Contains FCC ID: 2AC7Z-ESPWROOM32DC, Any similar wording that expresses the same meaning may be used. C O NFIDENTIAL Espressif Systems 15 ESP32-WROOM-32DC Datasheet V0.1