ESPRESSIF SYSTEMS ESPWROOM02DC Wi-Fi Internet of Things Module User Manual ESP WROOM 02DC Datasheet EN pages

ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD Wi-Fi Internet of Things Module ESP WROOM 02DC Datasheet EN pages

User Manual

www.espressif.comVersion 0.1 Espressif Systems Copyright © 2018 ESP-WROOM-02DC Datasheet
About This Guide This document provides introduction to the specifications of ESP-WROOM-02DC hardware. Release Notes Documentation Change Notification Espressif provides email notifications to keep customers updated on changes to technical documentation. Please subscribe at https://www.espressif.com/en/subscribe. Certification Download certificates for Espressif products from https://www.espressif.com/en/certificates. DateVersionRelease notes2018.10V0.1For certification only.
Table of Contents 1. Overview  1................................................................................................................................2. Pin Description  2......................................................................................................................3. Functional Description  4..........................................................................................................3.1. CPU!4"..........................................................................................................................................3.2. Memory!4"....................................................................................................................................3.2.1. Internal SRAM and ROM!4"...........................................................................................3.2.2. SPI Flash!4"....................................................................................................................3.3. Crystal Oscillator!5"......................................................................................................................3.4. Interface Description!5"................................................................................................................4. Electrical Characteristics  7......................................................................................................4.1. Electrical Characteristics!7"..........................................................................................................4.2. Wi-Fi Radio!7"...............................................................................................................................4.3. Power Consumption!8".................................................................................................................4.4. Reflow Profile!9"...........................................................................................................................4.5. Electrostatic Discharge!10"..........................................................................................................6.Dimensions ..........................................................................................................................117. Recommended PCB Land Pattern .....................................................................................12A. Appendix—Learning Resources .........................................................................................13 A.1. Must-Read Documents!..........................................................................................................13!A.2. Must-Have Resources!............................................................................................................14
CONFIDENTIAL!1. Overview1. Overview ESP-WROOM-02DC is ESP8266EX-based module developed by Espressif. Compared to ESP-WROOM-02D, a two-layer PCB design is applied for ESP-WROOM-02DC. 📖 Note: For more information on ESP8266EX, please refer to ESP8266EX Datasheet.Table 1-2. ESP-WROOM-02DC SpecificationsCategoriesItemsSpecificationsWi-FiWi-Fi protocols802.11 b/g/n20Frequency range2.4 GHz ~ 2.5 GHz (2412MHz ~ 2462MHz)HardwarePeripheral interfaceUART/HSPI/I2C/I2S/IR Remote ControlGPIO/PWMOperating voltage2.7V ~ 3.6VOperating currentAverage: 80 mAMinimum current delivered by power supply500 mAOperating temperature range-40°C ~ 85°CExternal interface-SoftwareWi-Fi modeStation/SoftAP/SoftAP + StationSecurityWPA/WPA2EncryptionWEP/TKIP/AESFirmware upgradeUART Download/OTA (via network)/Download and write firmware via host Software developmentSupports Cloud Server Development/SDK for custom firmware development Network protocolsIPv4, TCP/UDP/HTTP/FTP User configurationAT Instruction Set, Cloud Server, Android/iOS appEspressif!1/!142018.10
CONFIDENTIAL!2. Pin Description2. Pin Description Figure 2-1 shows the pin distribution of the ESP-WROOM-02DC. !Figure 2-1. ESP-WROOM-02DC Pin Layout (Top View) ESP-WROOM-02DC has 18 pins. Please see the pin definitions in Table 2-1. 19GNDPCB ANTENNAGNDIO16TOUTRSTIO5GNDTXDRXDIO43V3ENIO14IO12IO13IO15IO2IO0GND987654321101112131415161718Table 2-1. ESP-WROOM-02DC Pin DefinitionsNo.Pin NameFunctional Description13V33.3V power supply (VDD) 📖 Note: It is recommended the maximum output current a power supply provides be of 500 mA or above.2ENChip enable pin. Active high.3IO14GPIO14; HSPI_CLK4IO12GPIO12; HSPI_MISO5IO13GPIO13; HSPI_MOSI; UART0_CTS6IO15GPIO15; MTDO; HSPICS; UART0_RTS Pull down.Espressif!2/!142018.10
CONFIDENTIAL!2. Pin Description7IO2GPIO2; UART1_TXD Floating (internal pull-up) or pull up.8IO0GPIO0 •UART download: pull down.•Flash boot: floating or pull up.9GNDGND10IO4GPIO411RXDUART0_RXD, receive end in UART download; GPIO312TXDUART0_TXD, transmit end in UART download, floating or pull up; GPIO113GNDGND14IO5GPIO515RSTReset16TOUTIt can be used to test the power-supply voltage of VDD3P3 (Pin3 and Pin4) and the input power voltage of TOUT (Pin6). These two functions cannot be used simultaneously. 17IO16GPIO16; used for Deep-sleep wake-up when connected to RST pin.18GNDGNDNo.Pin NameFunctional DescriptionEspressif!3/!142018.10
CONFIDENTIAL!3. Functional Description3. Functional Description 3.1. CPU The ESP8266EX integrates a Tensilica L106 32-bit RISC processor, which achieves extra- low power consumption and reaches a maximum clock speed of 160 MHz. The Real-Time Operating System (RTOS) and Wi-Fi stack allow 80% of the processing power to be available for user application programming and development. The CPU includes the interfaces as below: •Programmable RAM/ROM interfaces (iBus), which can be connected with memorycontroller, and can also be used to visit flash.•Data RAM interface (dBus), which can connected with memory controller.•AHB interface which can be used to visit the register.3.2. Memory 3.2.1. Internal SRAM and ROM ESP8266EX Wi-Fi SoC integrates the memory controller and memory units including ROM and SRAM. MCU can access the memory units through iBus, dBus, and AHB interfaces. All memory units can be accessed upon request. A memory arbiter determines the running sequence in the arrival order of requests. According to our current version of SDK, the SRAM space available to users is assigned as follows: •RAM size < 50 kB, that is, when ESP8266EX is working in Station mode andconnects to the router, available space in the Heap + Data sector is around 50 kB.•There is no programmable ROM in ESP8266EX, therefore, the user program must bestored in an external SPI flash.3.2.2. SPI Flash ESP8266EX supports SPI flash. Theoretically speaking, ESP8266EX can support an up-to-16-MB SPI flash. ESP-WROOM-02DC currently integrates a 2-MB SPI flash and supports these SPI modes: Standard SPI, DIO (Dual I/O), DOUT (Dual Output), QIO (Quad I/O) and QOUT (Quad Output). Espressif!4/!142018.10
CONFIDENTIAL!3. Functional Description3.3. Crystal Oscillator ESP-WROOM-02DC uses a 26-MHz crystal oscillator. The accuracy of the crystal oscillator should be ±10 PPM. When using the download tool, please select the right type of crystal oscillator. In circuit design, capacitors C1 and C2 which connect to the earth are added to the input and output terminals of the crystal oscillator respectively. The values of the two capacitors can be flexible, ranging from 6 pF to 22 pF, however, the specific capacitive values depend on further testing of, and adjustment to, the overall performance of the whole circuit. Normally, the capacitive values of C1 and C2 are within 10 pF for the 26-MHz crystal oscillator. 3.4. Interface Description Table 3-1. Interface DescriptionInterfacePinFunctional DescriptionHSPIIO12 (MISO), IO13 (MOSI), IO14 (CLK), IO15 (CS)Connects to SPI Flash, display screen, and MCU.PWMIO12 (R), IO15 (G),IO13 (B)Currently the PWM interface has four channels, but users can extend it to eight channels. PWM interface can realize the control of LED lights, buzzers, relays, electronic machines, etc.IRIO14 (IR_T), IO5 (IR_R)The functionality of the infrared remote control interface can be realized via software programming. The interface uses NEC coding, modulation, and demodulation. The frequency of the modulated carrier signal is 38 kHz.ADCTOUTTests the power supply voltage of VDD3P3 (Pin3 and Pin4) and the input power voltage of TOUT (Pin6). However, these two functions cannot be used simultaneously. This interface is typically used in sensors.I2CIO14 (SCL), IO2 (SDA)Connects to external sensors and display screens, etc.UARTUART0: TXD (U0TXD), RXD (U0RXD), IO15 (RTS), IO13 (CTS) UART1: IO2 (TXD)Communicates with the UART device. Downloading: U0TXD + U0RXD or GPIO2 + U0RXD Communicating: (UART0): U0TXD, U0RXD, MTDO (U0RTS), MTCK (U0CTS) Debugging: UART1_TXD (GPIO2) can be used to print debugging information.  By default, UART0 will output some printed information when you power on ESP8266EX. If this issue influences some specific applications, users can exchange the inner pins of UART when initializing ESP8266EX, that is, exchange U0TXD and U0RXD with U0RTS and U0CTS. Users can connect MTDO and MTCK to the serial port of the external MCU to realize the communication.Espressif!5/!142018.10
CONFIDENTIAL!3. Functional DescriptionI2SI2S input: IO12 (I2SI_DATA) ; IO13 (I2SI_BCK ); IO14 (I2SI_WS);Collects, processes and transmits audio data. I2S output: IO15 (I2SO_BCK ); IO3 (I2SO_DATA); IO2 (I2SO_WS ).InterfacePinFunctional DescriptionEspressif!6/!142018.10
CONFIDENTIA!4. Electrical Characteristics4. Electrical Characteristics4.1. Electrical Characteristics 4.2. Wi-Fi Radio 📖 Note: Unless otherwise specified, measurements are based on VDD = 3.3V, TA = 25°C.Table 4-1. Electrical CharacteristicsParameterSymbolMinTypMaxUnitOperating temperature-–402085℃Maximum soldering temperature(Condition: IPC/JEDEC J-STD-020)---260℃Supply voltageVDD2.73.33.6VInput logic level lowVIL–0.3-0.25 VDDVInput logic level highVIH0.75 VDD-VDD + 0.3VOutput logic level lowVOL--0.1 VDDVOutput logic level highVOH0.8 VDD--VTable 4-2. Wi-Fi Radio CharacteristicsDescriptionMinTypMaxUnitInput frequency2412-2462MHzInput reflection- -–10dBOutput Impedance-*-ΩOutput PowerRF output power   20.14 22.91 23.85 dBmSensitivityDSSS, 1 Mbps  - –98 - dBmCCK, 11 Mbps  - –91 - dBmEspressif!7/!142018.10
CONFIDENTIAL!4. Electrical Characteristics4.3. Power Consumption The following power consumption data were obtained from the tests with a 3.3V power supply and a voltage stabilizer, in 25°C ambient temperature. All data are based on 50% duty cycle in continuous transmission mode. 6 Mbps (1/2 BPSK) -–93-dBm54 Mbps (3/4 64-QAM) -–75-dBmHT20, MCS7 (65 Mbps, 72.2 Mbps) -–72-dBmAdjacent channel rejectionOFDM, 6 Mbps-37-dBOFDM, 54 Mbps -21-dBHT20, MCS0 -37-dBHT20, MCS7-20-dBDescriptionMinTypMaxUnit📖 Note: For the module that uses an IPEX antenna, the output impedance is 50Ω.Table 4-3. Power ConsumptionModesMinTypMaxUnitTx 802.11b, CCK 11 Mbps, POUT = +17 dBm-170-mATx 802.11g, OFDM 54 Mbps, POUT = +15 dBm-140-mATx 802.11n, MCS7, POUT = +13 dBm-120-mARx 802.11b, 1024 bytes packet length , –80 dBm-50-mARx 802.11g, 1024 bytes packet length , –70 dBm-56-mARx 802.11n, 1024 bytes packet length , –65 dBm-56-mAModem-sleep①-15-mALight-sleep②-0.9-mADeep-sleep③-20-μAPower Off-0.5-μAEspressif!8/!142018.10
CONFIDENTIAL!4. Electrical Characteristics4.4. Reflow Profile Figure 4-1. ESP-WROOM-02DC Reflow Profile 📖 Notes: ①Modem-sleep mode is used in the applications that require the CPU to be working, as in PWM orI2S applications. According to 802.11 standards (like U-APSD), it shuts down the Wi-Fi Modemcircuit while maintaining a Wi-Fi connection with no data transmission to optimize powerconsumption. E.g. in DTIM3, maintaining a sleep of 300 ms with a wakeup of 3 ms cycle to receiveAP’s Beacon packages at interval requires about 15 mA current.②During Light-sleep mode, the CPU may be suspended in applications like Wi-Fi switch. Withoutdata transmission, the Wi-Fi Modem circuit can be turned off and CPU suspended to save powerconsumption according to the 802.11 standards (U-APSD). E.g. in DTIM3, maintaining a sleep of300 ms with a wakeup of 3ms to receive AP’s Beacon packages at interval requires about 0.9 mAcurrent.③During Deep-sleep mode, Wi-Fi is turned off. For applications with long time lags between datatransmission, e.g. a temperature sensor that detects the temperature every 100s, sleeps for 300sand wakes up to connect to the AP (taking about 0.3 ~ 1s), the overall average current is less than1mA. The current of 20 μA is acquired at the voltage of 2.5V.50 1500251 ~ 3℃/s0200250200-1 ~ -5℃/sCooling zone10021750100 250Reflow zone 217℃  60 ~ 90sTemperature (℃)Preheating zone150 ~ 200℃        60 ~ 120sRamp-up zonePeak Temp. 235 ~ 250℃Soldering 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℃/sReflow 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)Espressif!9/!142018.10
CONFIDENTIAL!4. Electrical Characteristics4.5. Electrostatic Discharge Table 4-4. Electrostatic Discharge ParametersNameSymbolReferenceLevelMaxUnitElectrostatic Discharge (Human - Body Model)VESD (HBM)Temperature: 23 ± 5℃ Based%on ANSI/ESDA/JEDEC JS - 001 - 201422000VElectrostatic Discharge (Charged - Device Model)VESD (CDM)Temperature: 23 ± 5℃ Based%on JEDEC EIA/JESD22 - C101FC2500Espressif!10/!142018.10
CONFIDENTIAL!7. Dimensions5.Dimensions !Figure 7-1. ESP-WROOM-02DC Dimensions!Module LengthUnit: mmModule WidthTop View Side View Bottom View12.00±0.1012.30±0.1015.70±0.100.90±0.100.85±0.10.90±0.1020.00±0.1020.00±0.1018.00±0.10 18.00±0.10ESP-WROOM-02DC  DIMENSIONS6.00±0.10Antenna Area1.50±0.100.90±0.10 1.50±0.1012.00±0.10PCB ThicknessModule Thickness0.80±0.103.20±0.100.90±0.100.45±0.10󲨚0.50±0.106.50±0.102.00±0.101.15±0.101.75±0.100.90±0.101.80±0.103.40±0.104.45±0.10Espressif!11/!142018.10
CONFIDENTIAL!8. Recommended PCB Land Pattern6.Recommended PCB LandPattern !Figure 8-1. Recommended PCB Land Pattern of ESP-WROOM-02DC Unit:mm7.11.5x8=122061.517.544.2940.91910187.118Espressif!12/!142018.10
CONFIDENTIAL!Appendix AA. Appendix—Learning Resources A.1. Must-Read Documents •ESP8266 Quick Start GuideDescription: This document is a quick user guide to getting started with ESP8266. Itincludes an introduction to the ESP-LAUNCHER, how to download firmware on to theboard and run it, how to compile the AT application, structure and the debuggingmethod of RTOS SDK. Basic documentation and other related resources for theESP8266 are also provided.•ESP8266 SDK Getting Started GuideDescription: This document takes ESP-LAUNCHER and ESP-WROOM-02 as examplesto introduce how to use ESP8266 SDK. The contents include preparations beforecompilation, SDK compilation and firmware download.•ESP-WROOM-02 PCB Design and Module Placement GuideDescription: The ESP-WROOM-02 module is designed to be soldered to a host PCB.This document compares six different placements of the antenna on a host board andprovides notes on designing PCB.•ESP8266 Hardware ResourcesDescription: This zip package includes manufacturing specifications of the ESP8266board and the modules, manufacturing BOM and schematics.•ESP8266 AT Command ExamplesDescription: This document introduces some specific examples of using Espressif ATcommands, including single connection as a TCP Client, UDP transmission andtransparent transmission, and multiple connection as a TCP server.•ESP8266 AT Instruction SetDescription: This document provides lists of AT commands based onESP8266_NONOS_SDK, including user-defined AT commands, basic AT commands,Wi-Fi AT commands and TCP/IP-related AT commands. It also introduces thedownloading of AT firmware into flash.•TCP/UDP UART Passthrough Test DemonstrationDescription: This guide is intended to help users run a TCP & UDP passthrough test onthe ESP8266 IoT platform.Espressif!13/!142018.10
CONFIDENTIAL!Appendix A•FAQA.2. Must-Have Resources •ESP8266 SDKsDescription: This website page provides links to the latest version of ESP8266 SDK andthe older ones.•ESP8266 ToolsDescription: This website page provides links to the ESP8266 flash download tools andESP8266 performance evaluation tools.•ESP8266 App•ESP8266 Certification and Test Guide•ESP8266 BBS•ESP8266 Resources!Espressif!14/!142018.10
Disclaimer and Copyright Notice 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.Espressif IoT Team"www.espressif.comFCC Statement Any Changes or modifications not expressly approved by the party responsible for compliance could void the user’s 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 InstructionsThe 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-ESPWROOM02DC" or “Contains FCC ID:2AC7Z-ESPWROOM02DC” Any similar wording that expresses the same meaning may be used.

Navigation menu