DOIT.AM Doctors of Intelligence & Technology Co., LTD ESP-M WiFi Module ESP-M Manual
Features Ver V1.0 Mar., 21, 2017 Num.: DM0014CN Peripheral for Module 2*UART;
1*En;
1*ADC;
1*wakeup pin;
1*HSPI;
1*I2C;
1*I2S;
MAX 10* GPIOs;
Working temperature: -40-125 Module size:
12.3*mm*15mm; (M1 version) 12.3*mm*20mm; (M2 version) Application Serial Transparent transmission;
WiFi prober;
Smart power plug/Smart LED light;
Mesh networks;
Sensor networks;
Wireless location recognition;
Wireless location system beacon;
Industrial wireless control. Module Type Name ESP-M1 ESP-M2 Antenna Type IPEX external antenna PCB on board antenna Module Structure SOC characteristics Built-in Tensilica L106 ultra-low power consumption 32-bit cpu, the main frequency can be 80MHz and 160MHz, also support RTOS;
Built-in TCP/IP protocol stack;
Built-in 1 channel 10-bit high precision ADC;
The outside interfaces have HSPI, UART, I2C, I2S, IR Remote Control, PWM, GPIO;
The deep-sleep current is about 10uA, and the cut-off current is smaller than 5uA;
Can be wake-up within 2 ms, and connect to transmit data package;
the consume power is smaller than 1.0mW
(DTIM3) when at standby status;
built-in 1M byte for SPI Flash. Wi-Fi characteristics Support 802.11 b/g/n/e/i Support three modes: Station, SoftAP, and SoftAP+STA;
Support Wi-Fi Direct(P2P);
Support hardware acceleration for CCMP
(CBC-MAC, computation mode), TKIP (MIC, RC4), WAPI(SMS4), WEP(RC4), CRC;
P2P find, P2P GO mode/GC mode and P2P power management;
WPA/PA2 PSK and WPS;
Support 802.11 i security: pre-certification and TSN;
Support 802.11n (2.4 GHz);
802.1h/RFC1042 frame encapsulation;
Support seamless roam;
Support AT remote updation and cloud OTA updation;
Support SmartConfig function for Android and iOS device SmartConfig. Doctors of Intelligence & Technology Co., LTD (www.doit.am) Copyright@2014-2017 DOIT.AM Achieve Update Date Mar, 14, 2017 May, 11, 2017 Version V1.0 V1.1 Update Initial version Supplement the PCB design Doctors of Intelligence & Technology Co. Ltd (www.doit.am) Copyright@2014-2017 DOIT.AM Context Figures ................................................................................................................................... 4 Table ...................................................................................................................................... 4 1. Introduction ....................................................................................................................... 1 2. Interface Definition ........................................................................................................... 3 3. Shape and Size ................................................................................................................... 5 4. Electronical Characteristics ............................................................................................... 7 5. Power Consumption ......................................................................................................... 7 6. Wi-Fi RF Characteristics ................................................................................................... 8 7. The Recommended Sold Temperature Curve .................................................................. 9 8. Minimum System ............................................................................................................ 10 9. The Recommended PCB Design ..................................................................................... 11 Appendix. ........................................................................................................................... 14 Doctors of Intelligence & Technology Co. Ltd (www.doit.am) Copyright@2014-2017 DOIT.AM Figures Fig. 1.1 Module Structure ..................................................................................................................................................... 1 Fig. 2.1 ESP-M1 Definition for Pins ..................................................................................................................................... 3 2.2 ESP-M2 Definition for Pins ....................................................................................................................................... 3 Fig. 3.1 Shape for ESP-M1 ................................................................................................................................................... 5 Fig. 3.2 Size for ESP-M1 ...................................................................................................................................................... 5 Fig. 7.1 Temperature Curve when Sold ................................................................................................................................ 9 Fig. 8. 1 Minimum System .................................................................................................................................................. 10 Fig. 9. 1 Connector for the external antenna ....................................................................................................................... 11 Table Table 1.1 Parameters for ESP-M ........................................................................................................................................... 2 Table 2.1 Pin Modes ............................................................................................................................................................. 4 Table 2.2 Function Definition of Module Pins ...................................................................................................................... 4 Table 3.1 Size for ESP-M1 ................................................................................................................................................... 6 Table 4.1 Electronics ............................................................................................................................................................. 7 Table 5.1 Power Consumption ............................................................................................................................................. 7 Table 6.1 Wi-Fi RF Characteristics ....................................................................................................................................... 8 Doctors of Intelligence & Technology Co. Ltd (www.doit.am) Copyright@2014-2017 DOIT.AM ESP-M User Manual 1. Introduction The WiFi module ESP-M is manufactured by using a high-performance chip ESP8285. 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-M 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-M module provides many probabilities with the best price. PCB Ant. U.F.L connector 3.3V ESP8285 RF Transceiver 802.11 b/g/n/e/i MAC Digital baseband Crystal oscillator Bias circuit SRAM Interface 1M SPI Flash Power management Fig. 1.1 Module Structure GPIO UART I2C SPI I2S ADC Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 1 DOIT.AM ESP-M User Manual Parameters for ESP-M are listed as follows. Table 1.1 Parameters for ESP-M 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 ~125C
-40C ~ 125C 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 DOIT.AM ESP-M User Manual 2. Interface Definition Interface definition of ESP-M can be shown in the following. Fig. 2.1 ESP-M1 Definition for Pins 2.2 ESPM2 Definition for Pins Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 3 DOIT.AM ESP-M User Manual Working mode and definition of pins:
Table 2.1 Pin Modes Mode IO0 UART download low Flash Boot mode high IO2 high high Table 2.2 Function Definition of Module Pins Num Pin Name Type Function Illustration 1 2 3 4 5 6 7 8 RXD IO0 IO2 GND VCC RST EN TXD I/O I/O I/O P P I I GPIO3; able to used as UART Rx for building in Flash GPIO0; SPI_CS2; already connected to pull-up resistors GPIO2; UART1_TXD; already connected to pull-up resistors GND Power for module: 3.3V Reset signal (enable with low power), Reset; already connected to pull-up resistors Enable, Working with high power; chip closed with low power, just small current I/O GPIO1; able to built in Flash as UART Tx Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 4 DOIT.AM ESP-M User Manual 3. Shape and Size Shape and size for this module can be shown as follows. Fig. 3.1 Shape for ESP-M1
(a) Vertical View
(b) Side View Fig. 3.2 Size for ESP-M1 Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 5 Fig. 3.3 Shape for ESP-M2 DOIT.AM ESP-M User Manual
(a) Vertical View
(b) Side View Fig. 3.4 Size for ESP-M1 Table 3.1 Size for ESP-M1 Width 15mm Width 20mm Height 3 mm PAD Size(bottom) Distance between Pins 0.9*1.7mm 1.5mm Table 3.2 Size for ESP-M2 Height 3 mm PAD Size(bottom) Distance between Pins 0.9*1.7mm 1.5mm Length 12.3mm Length 12.3mm Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 6 DOIT.AM ESP-M 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. Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 7 DOIT.AM ESP-M User Manual
: 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-
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
-
16.5 17.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 8 DOIT.AM ESP-M User Manual 7. The Recommended Sold Temperature Curve Fig. 7.1 Temperature Curve when Sold Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 9 DOIT.AM ESP-M User Manual 8. Minimum System This module can work just at 3.3V working voltage. Fig. 8. 1 Minimum System Note
(1) the working voltage for module is DC 3.3V;
(2) the max current from IO of this module is 12mA;
(3) RST Pin is enabled when it is low level; and EN pin is enabled when it is high level;
(4) WiFi module is at update mode: GPIO0 is low level, then module reset to power; Wi-Fi module is at working mode: GPIO0 is at high level, and then reset to power;
(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 DOIT.AM ESP-M User Manual 9. 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. Especially, since the antenna is external for ESP-M1, the antenna can be placed by the project requirements. The connector for external antenna is shown in the following. Fig. 9. 1 Connector for the external antenna 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. Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 11 DOIT.AM ESP-M User Manual Fig. 9.2 scheme1: Antenna is at the outside of the board Fig. 9.3 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 12 DOIT.AM ESP-M User Manual Fig. 9.4 Scheme 3: Antenna is placed along with the side of the board, and dont cover copper under the module 10. 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 13 DOIT.AM ESP-M User Manual Disclaimer and Copyright Notice The information in this article, including the URL for reference, if there is any change, without prior notice. Documents are provided by the current version without any guarantee responsibility, including merchantability, suitable for any particular purpose or non-infringement guarantees, and any guarantees presented by any proposal, specification, or sample mentioned elsewhere. This document has no any responsibility, including the use of the information within this document produced by the infringement of any patent rights. This document in this, by estoppel or otherwise, grant any intellectual property licensing, whether express or implied license. The Wi-Fi alliance marks shall be owned by the Wi-Fi alliance. All the mentioned brand names, trademarks and registered trademarks presented in this document are the property of their respective owners, and hereby declare. Notice Because of the product update or other reasons, this manual may change. Doctors of Intelligence &
Technology Co., LTD Keeps the right to change the contents of this manual in the absence of any notice or reminders. This manual is used only as a guide, Doctors of Intelligence & Technology Co., LTD would try their best to provide the accurate information in this manual, but it does not ensure that the manual content is completely right and national, all the statements in this manual, and information and advice do not mean to provide any express or implied guarantees. Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 14 DOIT.AM ESP-M User Manual ATTENTION This device complies with part 15 of the FCC Rules. Operation is subject to the condition that this device does not cause harmful interference (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. 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. To maintain compliance with FCCs RF Exposure guidelines, this equipment should be installed and operated with minimum distance between 20cm the radiator your body: Use only the supplied antenna. FCC ID2AL3B-ESP-M Doctors of Intelligence & Technology (DOIT)(www.doit.am) Copyright@2014-2017 Page 15