User manual Model:ESP8266-12H,IESP8266-01H,ESP8266-12L 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 ANYWARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULARPURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATIONOR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to useof information in this document is disclaimed. No licenses express or implied, by estoppel orotherwise, to any intellectual property rights are granted herein. The WiFi Alliance Member Logo is a trademark of the WiFi Alliance. All trade names, trademarks and registered trademarks mentioned in this document are property oftheir respective owners, and are here by acknowledged. Note As the product upgrade or other reasons, this manual may change. Shenzhen Hysiry Technology Co., Ltd has right to modify the contents of this manual without any notice or warning. This manual is only as a guide,Hysiry Technology Co., Ltd Spareno effort to provide accurate information in this manual, but the Hysiry can't guarantee manual there is no problem , all statements in this manual, information and suggestions do not constitute any guarantee of express or implication. Amendment record Time 2017.09 Version V1.0 Specification First release Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 2 / 14 Contents 1. Overview .......................................................................................................................................................... 4 2. Main Features .................................................................................................................................................. 4 2.1 System Diagram ......................................................................................................................................... 4 2.2 Hardware Specifications ............................................................................................................................ 5 3. Pin description ................................................................................................................................................. 6 4. Functional Description ..................................................................................................................................... 7 4.1 MCU ........................................................................................................................................................... 7 4.2 Memory ..................................................................................................................................................... 8 4.2.1 Internal SRAM and ROM ..................................................................................................................... 8 4.2.2 SPI Flash .............................................................................................................................................. 8 4.3 Interface Description ................................................................................................................................. 8 5. Electrical Characteristic ................................................................................................................................... 9 5.1 Standby Power Consumption .................................................................................................................... 9 5.2 RF Performance ....................................................................................................................................... 10 5.3 Digital Terminal Characteristics ............................................................................................................... 11 5.4 Absolute Maximum Ratings .................................................................................................................... 11 5.5 Reflow Profile .......................................................................................................................................... 12 6. Schematics ..................................................................................................................................................... 13 7. Minimum System Requirements ................................................................................................................... 13 8. Switching noise control ................................................................................................................................. 13 9. Technical Support .......................................................................................................................................... 14 Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 3 / 14 1. Overview ESP8266-12H Wi-Fi module is a low consumption, high performance Wi-Fi network control module designed by Hysiry. It can meet the IoT application requirements in smart power grids, building automation, security and protection, smart home, remote health care etc. The module's core processor ESP8266 integrates an enhanced version of Tensilica's L106 Diamond series 32-
bit processor with smaller package size and 16 bit compact mode, main frequency support 80 MHz and 160 MHz, support RTOS, integrated Wi-Fi MAC / BB / RF / PA / LNA, on-board PCB antenna. The module supports standard IEEE802.11 b / g / n protocol, a complete TCP / IP protocol stack. Users can use the module to add networking capabilities to existing devices, but also to build an independent net work controller. Figure -1.ESP8266-12H Module 2. Main Features 2.1 System Diagram Figure -2. System Diagram Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 4 / 14 2.2 Hardware Specifications Operating Voltage: 3.3V3.0 ~ 3.6V Operating Temperature-40 - 85C CPU Tensilica L106 o o RAM 50KBAvailable Flash 8 Mbit System o o o 802.11 b/g/n Frequency range 2.4 GHz ~ 2.5 GHz2400 M ~ 2483.5 M IntegratedTensilica L106 ultra-low power 32-bitmicro MCU, with 16-bit RSIC. The CPU clock speed is 80MHz. It can also reach a maximum value of 160MHz. o WIFI 2.4 GHzsupportWPA/WPA2 o o o o o Supports UARTI2CGPIOPWMSDIOSPIADCPWMIR Integrated 10 bit high precision ADC Supports TCPUDPHTTPFTP Integrated TR switch, balun,LNA, Power amplifier and matching network Integrated PLL, Regulator and power source management components, +20 dBm output power in 802.11b mode Rich interface on processor: SDIO 2.0, SPI, UARTl o Average working current80mA, <Deep sleep current < 20uA, Power down leakage current < 5uA o o Wake up ,build the connection and transmit packets in < 2ms o o Standby power consumption < 1.0mW (DTIM3) Support AT remote upgrades and cloud OTA upgrade Support Station / SoftAP / SoftAP+Station operation modes o o Ultra-Small 20.2mm * 17.6mm * 3.05mm Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 5 / 14 3. Pin description Figure -3. Pin description Figure -4.Module Size - shieldingcase (Side View) Table -1. ESP8266-12H Pin Definitions No. Pin Name Functional Description 1 2 3 4 5 6 7 8 RST TOUT EN IO16 IO14 IO12 Reset module Tests the power-supply voltage of VDD3P3 and the input power voltage of TOUT.These two functions cannot be used simultaneously. Chip enable pin (cannot be floating). Active high.GPIO14HSPI_CLK GPIO16 GPIO14 HSPI_CLK GPIO12HSPI_MIS0 MIDO HSPICSUART0_RTS IO13 GPIO13 HSPI_MOSIUART0_CTS VCC 3.3 V power supply (VDD) Note:It is recommended the maximum output current a power supply Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 6 / 14 provides be of 500 mA or above. GPIO2UART1_TXD 9 10 11 12 13 14 15 16 17 18 19 20 21 22 CS0 Chip Selection MISO MISO IO9 GPIO9 IO10 GPIO10 MOSI MOSI SCLK GND IO15 IO2 IO0 IO4 CLK Ground GPIO15MTDOHSPICSUART0_RTS GPIO2UART1_TXD GPIO0 GPIO4 IO5 GPIO5 RXD TXD UART0_RXD, receive end in UART downloadGPIO3 UART0_TXD, transmit end in UART download, floating (internal pull-up) or pull upGPIO1 4. Functional Description 4.1 MCU ESP8266EX contained in the ESP8266-12H integrates Tensilica L106 32-bit micro controller (MCU) and a 16-
bit RSIC. The CPU clock speed is 80 MHz and can reach a maximum value of 160 MHz. The system can readily run a Real Time Operating System (RTOS). Currently, the Wi-Fi stack only takes up 20% of CPU time. The remaining CPU time (80% of total MIPS) can be used for user application. The MCU can work in conjunction with the other parts of the chip through the following interfaces. Programmable RAM/ROM interface (iBus) that connects to memory controller and can access the external flash. Data RAM interface (dBus) that connects to memory controller. AHB interface that accesses the register. Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 7 / 14 4.2 Memory 4.2.1 Internal SRAM and ROM ESP8266EX Wi-Fi SoC integrates memory controller including SRAM and ROM. MCU can access the memory controller through iBus, dBus, and AHB interfaces. All these interfaces can access ROM or RAM units. A memory arbiter determines the running sequence in the arrival order of requests. According to our current version of SDK, SRAM space available to users is assigned as below. RAM size < 50 kB, that is, when ESP8266EX is working in Station mode and connects to the router, available space in Heap + Data sector is around 50 kB. There is no programmable ROM in ESP8266EX, therefore, user program must be stored in the SPI flash integrated into the ESP8266-12H. 4.2.2 SPI Flash ESP8266EX supports SPI flash. Theoretically speaking, ESP8266EX can support up to 16 MB SPI flash. ESP8266-12H. currently integrates 8 Mbit SPI flash memory. ESP8266-12H supports these SPI modes:
Standard SPI, DIO (Dual I/O), DOUT (Dual Output), QIO (Quad I/O) and QOUT (Quad Output). 4.3 Interface Description Table -2. Interface Description Interface Pin Functional Description SPI IO12(MISO),IO13(MOSI), IO14(CLK),IO15(CS) S3 can control SPI Slave as a Master or communicate with Host MCU as a Slave. In overlap mode, S3 can share the SPI interface with Flash, shifted by different CS signals. PWM Any available GPIO
(EXCEPT GPIO16) Currently the demo provides 4 PWM channels (users can extend to 6 channels). PWM interface can realize the control of LED lights, buzzers, relays, electronic machines, etc. IR Any available GPIO
(EXCEPT GPIO16) ADC TOUT I2C IO14(SCL), IO2(SDA) Any available GPIO(EXCEPT GPIO16) The functionality of Infrared remote control interface can be implemented via software programming. NEC coding, modulation, and demodulation are used by this interface. The frequency of modulated carrier signal is 38KHz. ESP8266EX integratesa 10-bit precision SARADC. ADC_IN interface is used to test the power supply voltage of VDD3P3(Pin 3 and Pin 4), as well as the input voltage of TOUT
(Pin 6). It can be used in sensors application. Can connect to external sensor and display, etc. Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 8 / 14 Devices with UART interfaces can be connected DownloadU0TXD+U0RXD or GPIO2+U0RXD Communication
(UART0):U0TXD,U0RXD,MTDO(U0RTS),MTCK(U0CTS) DebugUART1_TXD(GPIO2)Can be used to print debugging information By default, UART0 will output some printed information when the device is powered on and is booting up. If this issue exerts influence on some specific applications, users can exchange the inner pins of UART when initializing, that is to say, exchange U0TXD, U0RXD with U0RTS, U0CTS. Mainly used for audio capturing, processing and transmission UART0:
TXD(U0TXD),RXD(U0RXD)
,IO15(RTS),IO13(CTS) UART I2S UART1: IO2(TXD) I2S input IO12 (I2SI_DATA);
IO13 (I2SI_BCK );
IO14 (I2SI_WS);
I2S output:
IO15 (I2SO_BCK );
IO3 (I2SO_DATA);
IO2 (I2SO_WS );
5. Electrical Characteristic 5.1 Standby Power Consumption Table -3. Standby Power Consumption Mode Standby Status Modem Sleep Light Sleep Deep Sleep Off WorkingAverage Tx 801.11bCCK 11MbpsP OUT=+17 dBm Tx 801.11gOFDM 54MbpsP OUT =+15 dBm Tx 801.11nMCS7P OUT =+13 dBm Rx 801.11b1024 bytes packet length-80 dBm Rx 801.11g1024 bytes packet length-70 dBm Rx 801.11n1024 bytes packet length-65 dBm Typical Value 15mA 0.9mA 20uA 0.5uA 80mA 170mA 140mA 120mA 50mA 56mA 56mA Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 9 / 14 The following current consumption is based on 3.3V supply and 25C ambient with internalregulators.Values are measured at antenna port without SAW filter. All the transmissionmeasurements valuesare based on 90%
duty cycle, continuous transmission mode. Mode Status Typical Value Table -4.Standby Power Consumption Standby Modem Sleep Light Sleep Deep Sleep Off 15mA 0.9mA 20uA 0.5uA Power Save Mode
(2.4G)
(Low Power Listen disabled) DTIM period Current Cons. (mA) T1 (ms) T2 (ms) Tbeacon (ms) DTIM 1 DTIM 3 1.2 0.9 2.01 1.99 0.36 0.32 0.99 1.06 T3
(ms) 0.39 0.41
: Modem-Sleep requires the CPU to be working, as in PWM or I2S applications. According to802.11 standards (like U-APSD), it saves power to shut down the Wi-Fi Modem circuit whilemaintaining a Wi-Fi connection with no data transmission. E.g. in DTIM3, to maintain a sleep 300mswake 3ms cycle to receive APs Beacon packages, the current is about 15mA.
: During Light-Sleep, the CPU may be suspended in applications like Wi-Fi switch. Without datatransmission, the Wi-Fi Modem circuit can be turned off and CPU suspended to save poweraccording to the 802.11 standard (U-APSD). E.g. in DTIM3, to maintain a sleep 300ms-wake 3mscycle to receive APs Beacon packages, the current is about 0.9mA.
: Deep-Sleep does not require Wi-Fi connection to be maintained. For application with long timelags between data transmission, e.g. a temperature sensor that checks the temperature every 100s,sleep 300s and waking up to connect to the AP (taking about 0.3~1s), the overall average current isless than 1mA. 5.2 RF Performance Table -5. RF Performance Description Input frequency Input impedance Input reflection PA output power at 72.2 Mbps PA output power in 11b mode Min 2400
/
/
15.5 19.5 Typ
/
50
/
16.5 20.5 Max 2483.5
/
-10 17.5 21.5 Unit MHz ohm dB dBm dBm Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 10 / 14 CCK1Mbps CCK11Mbps 6Mbps1/2 BPSK 54Mbps3/4 64-QAM HT20MCS765Mbps 72.2Mbps
/
/
/
/
/
Sensitivity
-98
-91
-93
-75
-72 Adjacent channel rejection OFDM6Mbps OFDM54Mbps HT20MCS0 HT20MCS7
/
/
/
/
5.3 Digital Terminal Characteristics 37 21 37 20
/
/
/
/
/
/
/
/
/
Table -6. Digital Terminal Characteristics Terminals Symbol Input logic level low Input logic level high Output logic level low Output logic level high VIL VIH VOL VOL 5.4 Absolute Maximum Ratings Min
-0.3 0.75 VDD N 0.8 VDD Max 0.25 VDD VDD + 0.3 0.1 VDD N Table -7. Absolute Maximum Ratings Rating Condition Storage temperatue Maximum soldering temperature
/
/
Value
-40 to 125 260 Supply voltage IPC/JEDEC J-STD-020
+3.0 to +3.6 dBm dBm dBm dBm dBm dB dB dB dB Unit V V V V Unit C C V Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 11 / 14 5.5 Reflow Profile Table -8. Reflow Profile Indicator Value Ramp-up Rate (TS Max to TL) Prehea Temperature Min. (TS Min.) Temperature Typ. (TS Typ.) Temperature Min. (TS Max.) Time (TS) Ramp-up Rate (TL to TP) 3 C /second max. 150C 175C 200C 60 ~ 180 seconds 3C /second max Time maintained above: Temperature
(TL)/Time (TL) 270C / 60 ~ 150 seconds Peak temperature (TP) 260 C max, for 10 seconds Target Peak Temperature (TP Target) 260 C + 0 / -5C Time within 5C of actual Peak Temperature
(TP) 20 ~ 40 seconds TS max to TL (Ramp-down Rate) 6C / second max. Time 25C to Peak Temperature (t) 8 minutes max. Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 12 / 14 6. Schematics 7. Minimum System Requirements Figure -5. ESP8266-12H Schematics Figure -6. ESP8266-12H minimum system 8. Switching noise control ESP8266-12H has high speed GPIO and peripheral interfaces which can create severe switching noise. In applications where power consumption and EMI profile are important, it is recommended that a series resistor of 10-100 ohms be placed with digital I/O. This limits overshoot during switching and results in smoother transitions. A series resistor may also protect from ESD to some extents. Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 13 / 14 9. Technical Support E-mailtechnical@hysiry.com Shenzhen Hysiry Technology Co.,Ltd T0755-23596457 14 / 14 FCC Statement 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. Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
-Reorient or relocate the receiving antenna.
-Increase the separation between the equipment and receiver.
-Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
-Consult the dealer or an experienced radio/TV technician for help. The modular can be installed or integrated in mobile or fix devices only. This modular cannot be installed in any portable device. FCC Radiation Exposure Statement This modular complies with FCC RF radiation exposure limits set forth for an uncontrolled environment. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. This modular must be installed and operated with a minimum distance of 20 cm between the radiator and user body. If the FCC identification number is not visible when the module is installed inside another device, then the outside of the device into which the module is installed must also display a label referring to the enclosed module. This exterior label can use wording such as the following:
Contains Transmitter Module FCC ID: 2AKBPESP826612H Or Contains FCC ID:
2AKBPESP826612HWhen the module is installed inside another device, the user manual of the host must contain below warning statements;
1. 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.
(2) This device must accept any interference received, including interference that may cause undesired operation. 2. Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. The devices must be installed and used in strict accordance with the manufacturer's instructions as described in the user documentation that comes with the product. Any company of the host device which install this modular with Single modular approval should perform the test of radiated emissionand spurious emission according to FCC part 15C : 15.247 and 15.209 requirement,Only if the test result comply with FCC part 15C : 15.247 and 15.209 requirementthen the host can be sold legally.