ESP-WROOM-02UC Datasheet Version 0.1 Espressif Systems Copyright 2018 www.espressif.com About This Guide This document provides introduction to the specications of ESP-WROOM-02UC hardware. Release Notes Date 2018.10 Version V0.1 Release notes For certication only. Documentation Change Notication Espressif provides email notications to keep customers updated on changes to technical documentation. Please subscribe at https://www.espressif.com/en/subscribe. Certication Download certicates for Espressif products from https://www.espressif.com/en/
certicates. Table of Contents 3.1. CPU 3.2. Memory 1. Overview 2. Pin Description 3. Functional Description
................................................................................................................................ 1
...................................................................................................................... 3 5
.......................................................................................................... ......................................................................................................................................... 5
.................................................................................................................................... 5 5 Internal SRAM and ROM
........................................................................................... ................................................................................................................... 5
...................................................................................................................... 6 6
................................................................................................................ 8
...................................................................................................... 8
.......................................................................................................... .............................................................................................................................. 8
................................................................................................................. 9
......................................................................................................................... 10 11
.......................................................................................................... 4.1. Electrical Characteristics 4.2. Wi-Fi Radio 4.3. Power Consumption 4.4. Reow Prole 4.5. Electrostatic Discharge 3.2.1. 3.2.2. SPI Flash 3.3. Crystal Oscillator 3.4. Interface Description 4. Electrical Characteristics 5. Dimensions ...........................................................................................................................12 6. Recommended PCB Land Pattern ......................................................................................13 A. AppendixLearning Resources .........................................................................................14 A.1. Must-Read Documents
..........................................................................................................14 A.2. Must-Have Resources
............................................................................................................15 1. Overview Wi-Fi Items Categories Note:
Specications Wi-Fi protocols Frequency range Peripheral interface 1. 802.11 b/g/n20 2412MHz-2462MHz Table 1-1. ESP-WROOM-02UC Specications For more information on ESP8266EX, please refer to ESP8266EX Datasheet. Table 1-1 provides the specications of ESP-WROOM-02UC. Overview ESP-WROOM-02UC is ESP8266EX-based module developed by Espressif. Compared to ESP-WROOM-02U, a two-layer PCB design is applied for ESP-WROOM-02UC. CONFIDENTIAL WEP/TKIP/AES UART Download/OTA (via network)/Download and write rmware via host Supports Cloud Server Development/SDK for custom rmware development Operating current Minimum current delivered by power supply UART/HSPI/I2C/I2S/IR Remote Control GPIO/PWM Station/SoftAP/SoftAP + Station WPA/WPA2 AT Instruction Set, Cloud Server, Android/iOS app Operating temperature range Wi-Fi mode Security IPv4, TCP/UDP/HTTP/FTP Software development Network protocols User conguration Firmware upgrade Operating voltage External interface Average: 80 mA
-40C ~ 85C 2.7V ~ 3.6V Hardware Encryption Software 500 mA
-
Espressif
!1/!15 2018.10
!
1. Overview Figure 1-1 shows the IPEX antenna. The IPEX antenna supported on ESP-WROOM-02UC has the following specications:
Frequency range: 2412MHz-2462MHz Bandwidth: 100 MHz Input impedance: 50 VSWR: <2.5 Gain: >1.0 dBi Polarization type: Vertical CONFIDENTIAL Figure 1-1. ESP-WROOM-02UC Reow Prole Espressif
!2/!15 2018.10
!
!
2. 2. Pin Description Pin Description Figure 2-1 shows the pin distribution of the ESP-WROOM-02UC. Figure 2-1. ESP-WROOM-02UC Pin Layout (Top View) ESP-WROOM-02UC has 18 pins. Please see the pin denitions in Table 2-1. Table 2-1. ESP-WROOM-02UC Pin Denitions No. Pin Name 1 2 3 4 3V3 EN IO14 IO12 Functional Description 3.3V power supply (VDD) Note:
It is recommended the maximum output current a power supply provides be of 500 mA or above. Chip enable pin. Active high. GPIO14; HSPI_CLK GPIO12; HSPI_MISO Espressif
!3/!15 2018.10
!
!
2. Pin Description Pin Name Functional Description No. 5 8 7 6 12 11 IO0 IO2 TXD RXD IO15 IO13 9 10 13 14 15 GND IO4 GND IO5 RST GPIO13; HSPI_MOSI; UART0_CTS GPIO15; MTDO; HSPICS; UART0_RTS Pull down. GPIO2; UART1_TXD Floating (internal pull-up) or pull up. GPIO0 UART download: pull down. Flash boot: oating or pull up. GND GPIO4 UART0_RXD, receive end in UART download;
GPIO3 UART0_TXD, transmit end in UART download, oating or pull up;
GPIO1 GND GPIO5 Reset It 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. GPIO16; used for Deep-sleep wake-up when connected to RST pin. GND CONFIDENTIAL IO16 GND 17 18 TOUT 16 Espressif
!4/!15 2018.10
!
3. Functional Description 3. 3.1. CPU controller, and can also be used to visit ash. 3.2. Memory 3.2.1. Programmable RAM/ROM interfaces (iBus), which can be connected with memory Data RAM interface (dBus), which can connected with memory controller. AHB interface which can be used to visit the register. Functional Description 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:
CONFIDENTIAL 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:
ESP8266EX supports SPI ash. Theoretically speaking, ESP8266EX can support an up-
to-16-MB SPI ash. ESP-WROOM-02UC currently integrates a 2-MB SPI ash and supports these SPI modes:
Standard SPI, DIO (Dual I/O), DOUT (Dual Output), QIO (Quad I/O) and QOUT (Quad Output). There is no programmable ROM in ESP8266EX, therefore, the user program must be connects to the router, available space in the Heap + Data sector is around 50 kB. RAM size < 50 kB, that is, when ESP8266EX is working in Station mode and Internal SRAM and ROM stored in an external SPI ash. 3.2.2. SPI Flash Espressif
!5/!15 2018.10
!
3. Functional Description 3.4. Interface Pin Functional Description Table 3-1. Interface Description Interface Description 3.3. Crystal Oscillator ESP-WROOM-02UC 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 exible, ranging from 6 pF to 22 pF, however, the specic 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. CONFIDENTIAL 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. 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. Tests 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. 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 inuences some specic 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. UART0: TXD
(U0TXD), RXD (U0RXD), IO15
(RTS), IO13 (CTS) UART1: IO2 (TXD) IO14 (SCL), IO2 (SDA) Connects to external sensors and display screens, etc. IO12 (MISO), IO13
(MOSI), IO14 (CLK), IO15 (CS) Connects to SPI Flash, display screen, and MCU. IO14 (IR_T), IO5
(IR_R) IO12 (R), IO15
(G),IO13 (B) UART TOUT PWM HSPI ADC I2C IR Espressif
!6/!15 2018.10
!
3. Functional Description I2S Interface Pin Functional Description Collects, processes and transmits audio data. I2S input:
IO12 (I2SI_DATA) ;
IO13 (I2SI_BCK );
IO14 (I2SI_WS);
I2S output:
IO15 (I2SO_BCK );
IO3 (I2SO_DATA);
IO2 (I2SO_WS ). CONFIDENTIAL Espressif
!7/!15 2018.10
!
4. Electrical Characteristics 4. Electrical Characteristics Note:
Unless otherwise specied, measurements are based on VDD = 3.3V, TA = 25C. 4.1. Electrical Characteristics Table 4-1. Electrical Characteristics Parameter Operating temperature Maximum soldering temperature
(Condition: IPC/JEDEC J-STD-020) Supply voltage Input logic level low Input logic level high Output logic level low Output logic level high Symbol
-
-
VDD VIL VIH VOL VOH Min 40
-
2.7 0.3 0.75 VDD
-
0.8 VDD Typ 20
-
3.3
-
-
-
-
Max 85 260 3.6 0.25 VDD VDD + 0.3 0.1 VDD
-
Unit V V V V V 4.2. Wi-Fi Radio Description Input frequency Input reection Output Impedance RF Power DSSS, 1 Mbps CCK, 11 Mbps Espressif Table 4-2. Wi-Fi Radio Characteristics Min Typ 2412
-
-
-
-
*
Output Power Sensitivity
-
98 91 18.26
-
-
!8/!15 Max 2462 10
-
24.11
-
-
Unit MHz dB dBm dBm dBm 2018.10
!
4. Electrical Characteristics
-
-
20 dB
-
-
-
-
-
-
-
-
-
-
-
-
Typ Min Unit Max 37 21 37 dB dB dB Note:
Description HT20, MCS7 93 75 72 dBm dBm dBm Adjacent channel rejection OFDM, 6 Mbps OFDM, 54 Mbps HT20, MCS0 For the module that uses an IPEX antenna, the output impedance is 50. 4.3. Power Consumption 6 Mbps (1/2 BPSK) 54 Mbps (3/4 64-QAM) HT20, MCS7 (65 Mbps, 72.2 Mbps) CONFIDENTIAL Tx 802.11g, OFDM 54 Mbps, POUT = +15 dBm Tx 802.11n, MCS7, POUT = +13 dBm Rx 802.11b, 1024 bytes packet length , 80 dBm Rx 802.11g, 1024 bytes packet length , 70 dBm Rx 802.11n, 1024 bytes packet length , 65 dBm Modem-sleep Light-sleep The following power consumption data were obtained from the tests with a 3.3V power supply and a voltage stabilizer, in 25C ambient temperature. All data are based on 50%
duty cycle in continuous transmission mode. Modes Tx 802.11b, CCK 11 Mbps, POUT = +17 dBm Deep-sleep Power Off Table 4-3. Power Consumption 140 120 50 56 56 mA mA mA mA mA Max
-
Unit mA Min
-
Typ 170
-
-
-
-
-
-
-
-
-
-
mA mA 0.9 0.5 A A 15 20
-
-
-
-
-
-
-
-
Espressif
!9/!15 2018.10
!
4. Electrical Characteristics
) Notes:
4.4. Reow Prole Modem-sleep mode is used in the applications that require the CPU to be working, as in PWM or I2S applications. According to 802.11 standards (like U-APSD), it shuts down the Wi-Fi Modem circuit while maintaining a Wi-Fi connection with no data transmission to optimize power consumption. E.g. in DTIM3, maintaining a sleep of 300 ms with a wakeup of 3 ms cycle to receive APs Beacon packages at interval requires about 15 mA current. During Deep-sleep mode, Wi-Fi is turned off. For applications with long time lags between data transmission, e.g. a temperature sensor that detects the temperature every 100s, sleeps for 300s and wakes up to connect to the AP (taking about 0.3 ~ 1s), the overall average current is less than 1mA. The current of 20 A is acquired at the voltage of 2.5V. During Light-sleep mode, the CPU may be suspended in applications like Wi-Fi switch. Without data transmission, the Wi-Fi Modem circuit can be turned off and CPU suspended to save power consumption according to the 802.11 standards (U-APSD). E.g. in DTIM3, maintaining a sleep of 300 ms with a wakeup of 3ms to receive APs Beacon packages at interval requires about 0.9 mA current. CONFIDENTIAL Ramp-up zone Temp.: <150 Time: 60 ~ 90s Ramp-up rate: 1 ~ 3/s Preheating zone Temp.: 150 ~ 200 Time: 60 ~ 120s Ramp-up rate: 0.3 ~ 0.8/s Reow zone Temp.: >217 60 ~ 90s; Peak Temp.: 235 ~ 250 (<245 recommended) Time: 30 ~ 70s Cooling zone Peak Temp. ~ 180 Ramp-down rate: -1 ~ -5/s Solder Sn&Ag&Cu Lead-free solder (SAC305) Figure 4-1. ESP-WROOM-02UC Reow Prole 150 ~ 200 60 ~ 120s Peak Temp. 235 ~ 250 Cooling zone
-1 ~ -5/s
(
e r u t a r e p m e T Preheating zone Ramp-up zone
217 60 ~ 90s Soldering time Time (sec.) Reow zone 1 ~ 3/s 25 0 217 200
> 30s 150 200 100 250 250 100 50 50 0 Espressif
!10/!15 2018.10
!
4. Electrical Characteristics 2 V C2 500 Unit 2000 Name Reference Symb ol VESD
(HBM) VESD
(CDM) Level Max Table 4-4. Electrostatic Discharge Parameters Electrostatic Discharge
(Human - Body Model) Electrostatic Discharge
(Charged - Device Model) Temperature: 23 5 Basedon JEDEC EIA/JESD22 - C101F Temperature: 23 5 Basedon ANSI/ESDA/JEDEC JS - 001 - 2014 4.5. Electrostatic Discharge CONFIDENTIAL Espressif
!11/!15 2018.10
!
5. Dimensions 5. Dimensions
. i I i l i 0 1 0 5 4 4 0 1 0 0 9 0 0 1 0 0 5 6 0 1 0 0 4 3 0 1 0 0 8 1 0 1 0 5 7 1 0 1 0 5 1 1 0 1 0 0 0 2 1 0 5 8 0 0 1 0 0 5 1 0 1 0 0 9 0 0 1 0 0 9 0 m m 0 1 0 0 0 8 1 12.000.10
:
t i n U w e V m o t t o B S N O S N E M D s s e n k c h T B C P s s e n k c h T e u d o M CONFIDENTIAL Figure5-1. ESP-WROOM-02UC Dimensions h t g n e L e u d o M h t d W e u d o M C U 2 0
-
M O O R W P S E 12.000.10 14.300.10 w e V e d S w e V p o T 0 1 0 0 0 8 1 0 1 0 0 8 0 0 1 0 0 5 1 0 1 0 0 8 2 0 1 0 0 0 3 0 1 0 0 2 3 0 1 0 0 7 5 1 12.750.10 0 1 0 0 5 1 1 8.850.10 0 1 0 0 9 0 0 1 0 5 4 0 l i l
-
I i i i
. Espressif
!12/!15 2018.10
!
!
6. Recommended PCB Land Pattern 6. 4
. 1 Unit:mm Recommended PCB Land Pattern CONFIDENTIAL Figure 6-1. Recommended PCB Land Pattern of ESP-WROOM-02UC 2 1
=
8 x 5
. 1 17.5 18 9 2
. 4 3
. 4 1 1.5 9
. 0 7.1 4 4 10 18 1 9 Espressif
!13/!15 2018.10
!
!
Appendix A A. ESP8266 SDK Getting Started Guide A.1. Must-Read Documents ESP8266 Quick Start Guide Description: This document takes ESP-LAUNCHER and ESP-WROOM-02 as examples to introduce how to use ESP8266 SDK. The contents include preparations before compilation, SDK compilation and rmware download. AppendixLearning Resources Description: This document is a quick user guide to getting started with ESP8266. It includes an introduction to the ESP-LAUNCHER, how to download rmware on to the board and run it, how to compile the AT application, structure and the debugging method of RTOS SDK. Basic documentation and other related resources for the ESP8266 are also provided. CONFIDENTIAL Description: This document provides lists of AT commands based on ESP8266_NONOS_SDK, including user-dened AT commands, basic AT commands, Wi-Fi AT commands and TCP/IP-related AT commands. It also introduces the downloading of AT rmware into ash. Description: This document introduces some specic examples of using Espressif AT commands, including single connection as a TCP Client, UDP transmission and transparent transmission, and multiple connection as a TCP server. Description: 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 and provides notes on designing PCB. Description: This zip package includes manufacturing specications of the ESP8266 board and the modules, manufacturing BOM and schematics. ESP-WROOM-02 PCB Design and Module Placement Guide TCP/UDP UART Passthrough Test Demonstration ESP8266 AT Command Examples ESP8266 Hardware Resources Description: This guide is intended to help users run a TCP & UDP passthrough test on the ESP8266 IoT platform. ESP8266 AT Instruction Set Espressif
!14/!15 2018.10
!
Appendix A FAQ ESP8266 SDKs A.2. Must-Have Resources Description: This website page provides links to the ESP8266 ash download tools and ESP8266 performance evaluation tools. ESP8266 App ESP8266 Certication and Test Guide ESP8266 BBS ESP8266 Resources Description: This website page provides links to the latest version of ESP8266 SDK and the older ones. ESP8266 Tools CONFIDENTIAL Espressif
!15/!15 2018.10
!
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-ESPWROOM02UC" or Contains FCC ID:2AC7Z-ESPWROOM02UC Any similar wording that expresses the same meaning may be used. 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.com