telligence
& Techno ology Co.
, LTD Doc ctors of Int ESP-
-F WiF Fi Module e Ver V1
.1 Mar.,
, 18, 2017 Num m.: DM0012 2CN D DOIT. AM P-F ESP nual Man Fe eatures SOC char racteristics
-in Tensilica Built-
umption 32-b consu be 80MHz a can b S;
RTOS Built-
-in TCP/IP pr
-in 1 channel Built-
outside inter The I2S, IR Remo deep-sleep cu ff current is s be wake-up w mit data pack onsume pow M3) when at I2C, I The d cut-of Can b transm the c
(DTIM a L106 ult bit cpu, the m and 160MHz tra-low pow main frequen z, also suppo wer ncy ort rotocol stack;
;
C;
precision AD 10-bit high p HSPI, UAR RT, rfaces have
;
ote Control, P PWM, GPIO;
the t 10uA, and t urrent is about 5uA;
smaller than 5 within 2 ms, and connect kage;
wer is smalle standby statu er than 1.0m us;
mW to Wi-Fi cha aracteristics g/n/e/i odes: Station Suppo Suppo SoftA Suppo Suppo
(CBC RC4) P2P f powe WPA Suppo and T Suppo 802.1 Suppo Suppo updat Suppo and iO ort 802.11 b/g ort three mo AP+STA;
rect(P2P);
ort Wi-Fi Dir e acceleratio ort hardware putation mod C-MAC, comp S4), WEP(RC
), WAPI(SMS find, P2P GO O mode/GC nt;
er managemen nd WPS;
A/PA2 PSK an ort 802.11 i security: p TSN;
ort 802.11n (
1h/RFC1042 f ort seamless r ort AT remot tion;
ort SmartCo OS device Sm 2.4 GHz);
frame encaps roam;
te updation a onfig function martConfig. n, SoftAP, a and MP MIC, on for CCM de), TKIP (M C4), CRC;
mode and P2 2P pre-certificati ion sulation;
and cloud OT TA n for Andro oid dule al for Mod P Periphera 2*UA ART;
1*En n;
1*AD DC 1*wa akeup pin 1*H SPI 1*I2 C 1*I2 S 4M b byte Flash MAX X 11* GPIOs s;
Working re: -40-85 g temperatur Module s size: 16mm*2 24mm;
A Applicatio ons Serial Transp parent transm
;
WiFi prober Smart power r plug/Smart rks;
Mesh netwo Sensor netw orks;
Wearable ele ectronics;
abel;
Securit ID la ation recogni Wireless loc Wireless loc ation system ireless contro Industrial wi M Module Ty ype mission;
LED light;
ition;
beacon;
ol. Name ESP-F Antenn PCB on na Type n board ante nna M Module St tructure Doctors of I Intelligence &
& Technology y Co., LTD (
www.doit.am m) Copyright@
@2014-2017 HuDun Demo DOIT.AM Datasheet Page 2 ESP8266EX PCB Ant. RF Transceiver 802.11 b/g/n/e/i MAC Digital base Crystal oscillator Bias Circuit SRAM 4M bytes SPI FLASH SDIO Interface Power Mangement 3.3V GPIO UART I2C SPI I2S ADC Achieve Update Date Mar, 21, 2017 Version V1.0 Update Ver 1.0 ESP-F HuDun Demo DOIT.AM Context Figures ................................................................................................................................... 4 Table ...................................................................................................................................... 4 1. Introduction ....................................................................................................................... 1 2. Interface Definition ........................................................................................................... 3 3. Shape and Size ................................................................................................................... 5 4. Electronical Characteristics ............................................................................................... 6 5. Power Consumption ......................................................................................................... 6 6. Wi-Fi RF Characteristics ................................................................................................... 7 7. The Recommended Sold Temperature Curve .................................................................. 8 8. Schematics for ESP-F ........................................................................................................ 8 9. Minimum System .............................................................................................................. 9 10. The Recommended PCB Design ................................................................................... 11 11. Peripheral Line Suggestion ........................................................................................... 12 Appendix. ........................................................................................................................... 13 Doctors of Intelligence & Technology Co. Ltd (www.doit.am) Copyright@2014-2017 HuDun Demo DOIT.AM Figures Fig. 1.1 Module Structure ..................................................................................................................................................... 1 Fig. 2.1 ESP-F Definition for Pins ........................................................................................................................................ 3 Fig. 3.1 Shape for ESP-F ....................................................................................................................................................... 5 Fig. 3.2 Size for ESP-F ......................................................................................................................................................... 5 Fig. 7.1 Temperature Curve when Sold ................................................................................................................................ 8 Fig. 9. 1 Minimum System .................................................................................................................................................... 9 Fig. 10.1 scheme1: Antenna is at the outside of the board .................................................................................................. 11 Fig. 10.2 Scheme 2: Antenna is placed along with side of the board, and it is blank at the bottom of the board. ............ 11 Fig. 10.3 Scheme 3: Antenna is placed along with the side of the board, and dont cover copper under the module........ 12 Table Table 1.1 Parameters for ESP-F ............................................................................................................................................ 2 Table 2.1 Pin Modes ............................................................................................................................................................. 3 Table 2.2 Function Definition of Module Pins ...................................................................................................................... 4 Table 3.1 Size for ESP-F ....................................................................................................................................................... 5 Table 4.1 Electronics ............................................................................................................................................................. 6 Table 5.1 Power Consumption ............................................................................................................................................. 6 Table 6.1 Wi-Fi RF Characteristics ....................................................................................................................................... 7 Doctors of Intelligence & Technology Co. Ltd (www.doit.am) Copyright@2014-2017 HuDun Demo DOIT.AM ESP-F User Manual 1. Introduction The WiFi module ESP-F is manufactured by using a high-performance chip ESP8266EX. This small chip is encapsulated an enhanced Tensilicas L106 diamond series 32-bit kennel CPU with a SRAM. Thus, ESP8285 has the complete function Wi-Fi function; it not only can be applied independently, but can be used as a slaver working with other host CPU. When ESP8285 is applied as a slaver, it can start from the onboard Flash. The built-in high-speed buffer is not only benefit to improve the system performance, but optimize the store system. In addition, ESP8285 can be used as Wi-Fi adapter by SPI/SDIO or I2C/UART interface, when it is applied to other MCU design. The ESP-F module supports the standard IEEE802.11 b/g/n/e/i protocol and the complete TCP/IP protocol stack. User can use it to add the WiFi function for the installed devices, and also can be viewed as a independent network controller. Anyway, ESP-F module provides many probabilities with the best price. ESP8266EX PCB Ant. RF Transceiver 802.11 b/g/n/e/i MAC Digital base Crystal oscillator Bias Circuit SRAM 4M bytes SPI FLASH SDIO Interface Power Mangement GPIO UART I2C SPI I2S ADC 3.3V Fig. 1.1 Module Structure Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 1 HuDun Demo DOIT.AM ESP-F User Manual Parameters for ESP-F are listed as follows. Table 1.1 Parameters for ESP-F Types Wi-Fi Hardware Software Items Frequency scope Transmit power Receiving sensitivity Antenna CPU Perpherl Working voltage Working current Working temperature Environment temperature Size Wi-Fi mode Security mode Encryption type Update firmware Software develop Network protocol User configuration Parameters 2.4G~2.5G(2400M~2483.5M) 802.11b: +20 dBm 802.11g: +17 dBm 802.11n: +14 dBm 802.11b: -91 dbm (11Mbps) 802.11g: -75 dbm54Mbps 802.11n: -72 dbmMCS7 PCB onboard antenna Tensilica L106 32 bit MCU UART/SDIO/SPI/I2C/I2S/IR control GPIO/ADC/PWM/SPI/I2C/I2S 2.5V ~ 3.6V Average current: 80 mA
-40C ~85C
-40C ~ 85C 16mm x 24mm x 3mm Station/SoftAP/SoftAP+Station WPA/WPA2 WEP/TKIP/AES UART Download/OTA (by internet) Non-RTOS/RTOS/Arduino IDE etc. IPv4, TCP/UDP/HTTP/FTP/MQTT AT+ command/cloud sever/ Android/iOS APP Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 2 HuDun Demo DOIT.AM ESP-F User Manual 2. Interface Definition Interface definition of ESP-F can be shown in the following. SLEEP HSCK HMISO HMOSI 3.3V U0CTS RST ADC EN IO16 IO14 IO12 IO13 VCC 1 2 3 4 5 6 7 8 ESP-F 9 10 11 12 13 14 2 2 1 2 0 2 9 1 8 1 7 1 6 1 5 1 TXD0 RXD0 IO5 IO4 IO0 IO2 IO15 GND GPIO1 GPIO3 FLASH TXD1 U0RTS C S 0 M I S O I O 9 I O 1 0 M O S I S C K Fig. 2.1 ESP-F Definition for Pins Working mode and definition of pins:
Mode UART download Flash Boot mode Table 2.1 Pin Modes GPIO0 GPIO15 low low low high GPIO2 high high Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 3 HuDun Demo DOIT.AM ESP-F User Manual Num Pin Table 2.2 Function Definition of Module Pins Type Function 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 RST ADC EN IO16 IO14 IO12 IO13 VCC CS0 I I I Reset the signal outside (enable with low), Reset module A/D pin. Input voltage 0~1V, value: 0~1024 Enable, high level: chip work normally; low level: chip closes with small current. I/O deep sleep/wakeup I/O GPIO14; HSPI_CLK I/O GPIO12;HSPI_MISO I/O GPIO13;HSPI_MOSI; UART0_CTS P Module working voltage: 3.3V I/O GPIO11; SD_CMD; SPI_CS0 MISO I/O GPIO7; SD_D0, SPI_MSIO IO9 IO10 I/O GPIO9; SD_D2 PIHD; HSPIHD I/O GPIO10; SD_D3; SPIWP; HSPIWP1 MOSI I/O GPIO8; SD_D1; SPI_MOSI1 SCLK I/O GPIO6; SD_CLK; SPI_CLK GND IO15 IO2 IO0 IO4 IO5 RXD TXD P GND I/O GPIO15; MTDO;HSPICS;UART0_RTS I/O GPIO2; UART1_TXD I/O GPIO0; SPI_CS2 I/O GPIO4 I/O GPIO5 I/O GPIO3; used to build in Flash as UART Rx I/O GPIO1; used to build in Flash as UART Tx Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 4 HuDun Demo D DOIT. AM ESP-F Use er Manual 3. Shape a and Size e Shape an ash is 4M b nd size for bytes (32Mb this modul bits). Fla le can be sh hown as fo ollows. Its s size is 16m mm*24mm*
3mm, and the Fig. 3. 1 Shape for r ESP-F
(a) Vertical V iew
(b b) Side Vie Fig. 3 3.2 Size for w ESP-F Table 3 3.1 Size for r ESP-F Wid dth 14m mm Height t 3 mm Pin 4 x 2 Distance be etween Pins 2.54 L Length 2 4.5mm Doct tors of Intelli igence & Tec chnology (DO OIT)(www.do oit.am) Copyr right@2014-2 2017 Pag ge 5 HuDun Demo DOIT.AM ESP-F User Manual 4. Electronical Characteristics Table 4.1 Electronics Min
-40 Classical Normal Parameters Store Temperature Sold Temperature I/O Working Voltage VIL/VIH VOL/VOH IMAX Electrostatic release quantity (Human model) Electrostatic release quantity (Human model) Condition
-
IPC/JEDEC J-STD-020
-
-
-
-
TAMB=25 TAMB=25
-
-
-
2.5
-0.3/0.75VIO N/0.8VIO
-
-
3.3
-
-
-
-
-
Max 125 260 3.6 0.25VIO/3.6 0.1VIO/N 12 2 0.5 Unite V V mA KV KV 5. Power Consumption Table 5.1 Power Consumption Parameters Tx802.11b, CCK 11Mbps, POUT=+17dBm Tx802.11g, OFDM 54 Mbps, POUT =+15dBm Tx802.11n,MCS7,POUT =+13dBm Rx 802.11b1024 Bytes, -80dBm Rx 802.11g1024 Bytes, -70dBm Rx 802.11n1024 Bytes, -65dBm Modem-sleep Light-sleep Deep-sleep close Min
-
-
-
-
-
-
-
-
-
-
Classical Max 170 140 120 50
-
-
-
-
56 56 15 0.9 20 0.5
-
-
-
-
-
-
Unite mA mA mA mA mA mA mA mA A A Note
: Modem-Sleep mode can be used for the case that CPU is always working, e.g., PWM or I2S etc. If WiFi is connected and no data is to transmitted, in this case, WiFi modem can be closed to save power energy. For example, if at DTIM3 status, keep asleep at 300ms, Then, the module can wake up to receive the Beacon package within 3ms and the current being 15mA.
: Light-Sleep mode can used for the case that CUP can stop the application temporally, e.g., Wi-Fi Switch . If Wi-Fi is connected and there is no data packet to transmitted, by the 802.11 standard (e.g., U-
Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 6 HuDun Demo DOIT.AM ESP-F User Manual APSD), module can close Wi-Fi Modem and stop CPU to save power. For example, at DTIM3, keep up sleeping at 300ms, it would receive the Beacon package from AP after each 3ms, then the whole average current is about 0.9mA. Deep-Sleep mode is applied to the case that Wi-Fi is not necessary to connect all the time, just send a data packet after a long time (e.g., transmit one temperate data each 100s) . it just need 0.3s-1s to connect AP after each 300s, and the whole average current is much smaller 1mA. 6. Wi-Fi RF Characteristics The data in the following Table is gotten when voltage is 3.3V and1.1V in the indoor temperature environment. Table 6.1 Wi-Fi RF Characteristics Parameters Input frequencey Input impedance Input reflection At 72.2Mbps, output power consumption for PA At 11b mode, output power consumption for PA Min 2412
-
-
15.5 19.5 Classical Max 2484
-
-
50
-
-10 17.5 16.5 20.5 21.5 Sensibility DSSS, 1Mbps CCK11, Mbps 6Mbps(1/2 BPSK) 54Mbps(3/4 64-QAM) HT20, MCS7(65 Mbps, 72.2 Mbps) Adjacent Inhibition OFDM, 6Mbps OFDM, 54Mbps HT20, MCS0 HT20, MCS7
-
-
-
-
-
-
-
-
-
-
-
-98
-91
-93
-75
-72 37 21 37 20
-
-
-
-
-
-
-
-
-
-
Unite MHz dB dBm dBm
-
dBm dBm dBm dBm dBm dB dB dB dB Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 7 HuDun Demo D DOIT. AM ESP-F Use er Manual 7. The Re ecomme nded So ld Temp perature Curve Fig g. 7.1 Temp perature Cur rve when S old 8. Schema atics for ESP-F Doct tors of Intelli igence & Tec chnology (DO OIT)(www.do oit.am) Copyr right@2014-2 2017 Pag ge 8 HuDun Demo D DOIT. AM ESP-F Use er Manual Fig. 8.1 S chematics for ESP-F 9. Minimu um Syste em This modu ule can work j just at 3.3V w working volta age. Fig. 9. 1 1 Minimum m System Note
(1) the w
(2) the m
(3) RST
(4) WiFi is s at working working volt max current Pin is enab i module is g mode: GP tage for mo from IO of bled when it at update m PIO0 is at hi dule is DC f this module is low leve mode: GPIO igh level, an 3.3V;
e is 12mA;
el; and EN p O0 is low lev nd then rese pin is enable vel, then m et to power;
ed when it i odule reset l;
is high level to power;
Wi-Fi mod dule Doct tors of Intelli igence & Tec chnology (DO OIT)(www.do oit.am) Copyr right@2014-2 2017 Pag ge 9 HuDun Demo DOIT.AM ESP-F User Manual
(5) Wi-Fi module is connected to RXD of the other MCU, and TXD is connected to RXD of the other MCU. Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 10 HuDun Demo DOIT.AM ESP-F User Manual 10. The Recommended PCB Design Wi-Fi module can be inserted into the PCB board directly. For the high RF performance for the end device, please note the placement for the antenna and the module. It is suggested that the module is placed along with PCB side, the antenna is placed outside the board, or along with the PCB side, and the below board is blank, please refer to the scheme 1 and scheme 2; if the PCB antenna must placed on the board, please do not cover the copper at the bottom of PCB antenna, as can be shown at scheme 3. 6.6mm 1 2 3 4 5 6 7 ESP-F 16 5 1 4 1 3 1 2 1 1 1 0 1 9 8 Mainboard Fig. 10.1 scheme1: Antenna is at the outside of the board 5mm 5mm 6.6mm 1 2 3 4 5 6 7 ESP-F 16 5 1 4 1 3 1 2 1 1 1 0 1 9 8 Main Board Fig. 10.2 Scheme 2: Antenna is placed along with side of the board, and it is blank at the bottom of the board. Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 11 HuDun Demo DOIT.AM ESP-F User Manual 5mm 5mm 6.6mm MainBoard 1 2 3 4 5 6 7 ESP-F 16 5 1 4 1 3 1 2 1 1 1 0 1 9 8 Fig. 10.3 Scheme 3: Antenna is placed along with the side of the board, and dont cover copper under the module 11. Peripheral Line Suggestion Wi-Fi module is already integrated into high-speed GPIO and Peripheral interface, which may be generated the switch noise. If there is a high request for the power consumption and EMI characteristics, it is suggested to connect a serial 10~100 ohm resistance, which can suppress overshoot when switching power supply, and can smooth signal. At the same time, it also can, to a certain extent, prevent electrostatic discharge (ESD). Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 12 HuDun Demo D DOIT. AM ESP-F Use er Manual D Disclaim mer an nd Co opyrigh ht Not tice The inform no otice. mation in thi is article, in ncluding the e URL for reference, i if there is a any change, without pr rior Documents me erchantabili pre esented by res sponsibility an ny patent ri lic censing, whe s are provi ity, suitable any propo y, including ights. This ether expres ided by th e for any pa sal, specifi the use of t document ss or implie ed license. he current v articular pur cation, or s the informa in this, by version wi rpose or no sample men ation within y estoppel thout any on-infringem ntioned else this docum or otherwi guarantee ment guaran ewhere. Th ment produce ise, grant a responsibil ntees, and a his documen ed by the in any intellec lity, includi any guarante nt has no a nfringement ctual prope ing ees any t of erty T The Wi-Fi a lliance mark ks shall be owned by th he Wi-Fi al lliance. A All the men the e property o ntioned bran of their resp nd names, t pective owne trademarks ers, and her and registe ered tradem e. reby declare arks presen nted in this document are Notic Be manu Techn conte remin Docto try th manu is com this m to pro ce ecause of t ual may hnology C ents of thi nders. Th ors of Inte heir best to ual, but it mpletely manual, an ovide any the produ change. Co., LTD s manual his manua elligence &
o provide does not right and nd inform express o ct update Doctors Keeps the in the abs al is use
& Techno the accura ensure tha national, mation and or implied or other r of Inte e right to sence of a ed only a ology Co., ate inform at the man all the st d advice d guarantee reasons, th elligence change t any notice as a guid LTD wou mation in th nual conte tatements do not me es. his
&
the or de, uld his ent in ean Docto ors of Intellig gence & Tech hnology (DOI IT)(www.doit t.am) Copyrig ght@2014-20 017 Page e 14 HuDun Demo 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. NOTE: 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 device has been evaluated to meet general RF exposure requirement. The device can be used in portable exposure condition without restriction. FCC ID: 2AL3B-ESP-F