background image

 

 

ESP-01/07/12 Series Modules User's Manual V1.4 

Copyright © 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved 

Page 22 of 

23   

+IPD,10:Ai-Thinker 

//received 10 data (Ai-Thinker)

 

AT+CIPCLOSE 

//close the UDP connection

 

 
CLOSED 
 
OK 

6 FAQ 

6.1 Garbage Instructions When Power Is On 

ESP8266 chip itself supports 26MHz and 40MHz crystal, if the use of 40MHz 

crystal, the default baud rate of 115200, if the use of 26MHz crystal, the UART0 

power after the baud rate = 26 * 115200/40 = 74880, the letter can be ESP8266 

Series modules are used 26MHz, because the general serial port tool does not support 

the baud rate, so there will be printed on the garbled. 

You can use the security serial interface assistant to configure the baud rate 

74880 to view the startup information. 

Note: part of the USB to TTL does not support 74880 baud rate, the computer 

comes with RS232 to TTL does not support 74880 baud rate, recommend the use of 

FT232, CP2102, CH340 and other chips. 

6.2 How To Shield The Power When The Garbled 

U0TXD default power will be system printing, through the UART's internal pin 

switching function, user_init () call system_uart_swap () function, the new U0TXD 

change to GPIO15, U0RXD change to GPIO13, the hardware connection on the two 

cited Feet can be serial communication. 

Note: After the exchange, the download pin on the hardware is still the original 

U0TXD and U0RXD. 

6.3 Can’t Burn Normally 

Refer to 

http://wiki.ai-thinker.com/esp_download

 to download, pay attention to 

download before the module to ensure that the download mode. 

Содержание ESP-01

Страница 1: ...ESP 01 07 12 Series Modules User s Manual OEM Integrators Installation Manual Version 1 4 Ai Thinker Inc Copyright c 2017 ...

Страница 2: ...thor Release Notes 2017 07 01 V1 0 Wang Chong First Version 2017 09 04 V1 1 Wang Chong Add ESP 01M Delete ESP 12E 2017 12 18 V1 2 Fang Dongbin Modify the GPIO4 pin description change the contact number 2018 3 10 V1 3 Lv Junxiong Add ESP 01F 2018 8 16 V1 4 Lv Junxiong Add ESP 01E ...

Страница 3: ...ect 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 Please notice that 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 enclos...

Страница 4: ...rt Features 8 3 4 Power Consumption 8 3 5 Transmit Power 10 3 6 Receive Sensitivity 10 4 Hardware Guidance 11 4 1 Typical Applications 11 4 2 PCB Antenna Display Instructions 13 4 3 Module Peripheral Routing Instructions 14 4 4 GPIO Level Conversion 15 4 5 Power Supply Reference Design 15 4 6 ADC Supply Reference Design 15 4 7 Automatically Download Reference Design 16 4 8 Reflow oven temperature ...

Страница 5: ...P Communication Test 18 5 2 2 UDP Communication Test 20 6 FAQ 22 6 1 Garbage Instructions When Power Is On 22 6 2 How To Shield The Power When The Garbled 22 6 3 Can t Burn Normally 22 6 4 SDK Development Environment 23 6 5 Startup Information Description 23 7 Module Selection 23 8 Contact US 25 ...

Страница 6: ...est 802 11b g n Wi Fi SOC module Using low power 32 bit CPU can also serve as the application processor Clocked at up to 160MHz Built in 10 bit high precision ADC Support UART GPIO IIC PWM ADC HSPI and other interfaces Integrated Wi Fi MAC BB RF PA LNA Supports multiple sleep modes deep sleep current as low as 20uA Embedded Lwip protocol stack Support STA AP STA AP work mode Supports Smart Config ...

Страница 7: ...odules User s Manual V1 4 Copyright 2017 Shenzhen Ai Thinker Technology Co Ltd All Rights Reserved Page 2 of 23 2 Module Interface 2 1 Package Size Figure 2 1 ESP 01 ESP 01S pin dimensions Figure 2 2 ESP 01M pin dimensions ...

Страница 8: ...ESP 01 07 12 Series Modules User s Manual V1 4 Copyright 2017 Shenzhen Ai Thinker Technology Co Ltd All Rights Reserved Page 3 of 23 Figure 2 3 ESP 01F pin dimensions Figure 2 4 ESP 07 pin dimensions ...

Страница 9: ...ESP 01 07 12 Series Modules User s Manual V1 4 Copyright 2017 Shenzhen Ai Thinker Technology Co Ltd All Rights Reserved Page 4 of 23 Figure 2 5 ESP 07S pin dimensions Figure 2 6 ESP 12F pin dimensions ...

Страница 10: ...ESP 01 07 12 Series Modules User s Manual V1 4 Copyright 2017 Shenzhen Ai Thinker Technology Co Ltd All Rights Reserved Page 5 of 23 Figure 2 7 ESP 12S pin dimensions Figure 2 7 ESP 01E pin dimensions ...

Страница 11: ... 2 0 2 0 0 8 0 1 ESP 12S 24 0 16 0 3 0 0 2 1 x 1 2 2 0 2 0 0 8 0 1 2 1 Pin Definition Table 2 2 ESP Series Module Pin Function Definitions Pin Number Pin Nam e Remarks 01 01S 01M 01E 01F 07 07S 12S 12F 7 18 18 16 1 1 RST Reset Pin Active Low 16 16 3 2 2 ADC AD conversiont Input voltage range 0 1V the value range is 0 1024 6 9 9 4 3 3 EN Chip Enabled Pin Active High 17 17 5 4 4 IO16 Connect with RS...

Страница 12: ...IO2 U1_TXD I2C_SDA I2SO_WS 3 8 8 11 12 18 IO0 GPIO0 HSPI_MISO I2SI_DATA 10 10 12 13 19 IO4 GPIO4 13 13 13 14 20 IO5 IR_R 4 4 4 14 15 21 RXD GPIO3 I2SO_DATA 5 3 3 15 16 22 TXD GPIO1 1 1 ANT Only ESP 01F 01E Can Note Only GPIO4 and GPIO5 are low at boot time the other GPIO are high 2 2 Boot Mode Table 2 3 Description of the ESP series module boot mode Mode CH_PD EN RST GPIO15 GPIO0 GPIO2 TXD0 Downlo...

Страница 13: ...nt Table 3 2 Recommended working environment Work Environment Name Min Typ Max Unit Operating Temperature 20 20 85 Supply Voltage VDD 3 0 3 3 3 6 V 3 3 Digital Port Features Table 3 3 Digital Port Features Port Name Min Typ Max Unit Input logic level low VIL 0 3 0 25 VDD V Input logic level high VIH 0 75 VDD VDD 0 3 V Output logic level low VOL N 0 1 VDD V Output logic level high VOH 0 8 VDD N V N...

Страница 14: ...ata transmission while maintaining a WiFi connection power off the WiFi Modem circuit according to the 802 11 standard eg U APSD For example in DTIM3 every sleep 300mS wake up 3mS receive AP Beacon package etc the overall average current of about 20mA Note Light Sleep for CPU can be suspended applications such as WiFi switch If there is no data transmission while maintaining a WiFi connection the ...

Страница 15: ... Power Table 3 5 RF parameters Describe Min Typ Max Unit 802 11b 11Mbps 14 16 18 dBm 802 11g 54Mbps 12 14 16 dBm 802 11n HT20 MCS7 11 13 15 dBm 3 6 Receive Sensitivity Table 3 6 Receiving Sensitivity Parameter Min Typ Max Unit DSSS 1 Mbps 95 dBm CCK 11 Mbps 80 dBm 6 Mbps 1 2 BPSK 88 dBm 54 Mbps 3 4 64 QAM 70 dBm HT20 MCS7 65 Mbps 72 2 Mbps 67 dBm ...

Страница 16: ...ance 4 1 Typical Applications Note You can t use USB to TTL 3 3V or 5V power supply it is recommended to use two dry batteries or after conversion through the LDO 3 3V it is strongly recommended to buy a new development board Figure 4 1 Typical application of ESP 01 Figure 4 2 Typical application of ESP 01S Figure 4 3 Typical application of ESP 01M ...

Страница 17: ...User s Manual V1 4 Copyright 2017 Shenzhen Ai Thinker Technology Co Ltd All Rights Reserved Page 12 of 23 Figure 4 4 Typical application of ESP 01F Figure 4 5 Typical application of ESP 07 Figure 4 6 Typical application of ESP 07S ...

Страница 18: ...f 23 Figure 4 7 Typical application of ESP 12E ESP 12F Figure 4 8 Typical application of ESP 12S Figure 4 9 Typical application of ESP 01E 4 2 PCB Antenna Display Instructions The ESP8266 series module can be soldered to the PCB board In order to get the best RF performance of the end product please pay attention to the rational ...

Страница 19: ...he board and the bottom of the hollow Option 3 Place the module along the board side of the board the antenna placed along the board and the bottom are not copper Figure 4 7 ESP 12S antenna placement instructions 4 3 Module Peripheral Routing Instructions The ESP8266 series modules integrates high speed GPIO and peripheral interfaces which can cause severe switching noise If some applications requ...

Страница 20: ...nzhen Ai Thinker Technology Co Ltd All Rights Reserved Page 15 of 23 4 4 GPIO Level Conversion Figure 4 8 Transistor level conversion 4 5 Power Supply Reference Design Figure 4 9 Power supply reference 4 6 ADC Supply Reference Design Figure 4 10 ADC supply reference ...

Страница 21: ...ght 2017 Shenzhen Ai Thinker Technology Co Ltd All Rights Reserved Page 16 of 23 4 7 Automatically Download Reference Design Figure 4 11 Automatically Download Reference Design 4 8 Reflow oven temperature curve Figure 4 12 Reflow furnace temperature curve ...

Страница 22: ...network debugging tools download http wiki ai thinker com tools 5 1 Introduction To The Basic AT Command This chapter only describes the common AT commands please refer to http wiki aithinker com esp8266 docs at 5 1 1 AT parameters No Description Test AT is OK Example AT OK 5 1 2 AT GMR parameters No Description Returns the firmware version information Example AT GMR AT version 1 2 0 0 Jul 1 2016 ...

Страница 23: ...ther over TCP UDP For more examples please refer to http wiki ai thinker com esp8266 examples at_demo Test through the PC side instead of one end of the module to establish the appropriate connection 5 2 1 TCP Communication Test TCP Server is in AP mode and TCP Client is Station mode TCP Server Configuration Ai Thinker Technology Co Ltd ready AT CWMODE 2 configured for AP mode OK AT CWSAP_DEF TCP_...

Страница 24: ...VER 0 Close the server OK 0 CLOSED TCP connection is off TCP Client Configuration Ai Thinker Technology Co Ltd ready AT CWMODE 1 configured for station mode OK AT CWJAP_DEF TCP_Server 12345678 Connect to AP WIFI CONNECTED WIFI GOT IP OK AT CIFSR Query the local IP address CIFSR STAIP 192 168 4 2 CIFSR STAMAC 5c cf 7f 91 8b 3b OK AT CIPMUX 0 open single link OK AT CIPSTART TCP 192 168 4 1 333 Conne...

Страница 25: ...osed 5 2 2 UDP Communication Test One is in AP mode the local port is 8001 and the other is Station mode the local port is 8002 AP Configuration Ai Thinker Technology Co Ltd ready AT CWMODE 2 configured for AP mode OK AT CWSAP_DEF TCP_Server 12345678 5 4 AP information OK AT CIFSR Query the local IP address CIFSR APIP 192 168 4 1 CIFSR APMAC a2 20 a6 19 c7 0a OK AT CIPSTART UDP 192 168 4 2 8002 80...

Страница 26: ...ED OK Station Configuration Ai Thinker Technology Co Ltd ready AT CWMODE 2 configured for station mode OK AT CWSAP_DEF TCP_Server 12345678 5 4 Connect to AP OK AT CIFSR Query the local IP address CIFSR STAIP 192 168 4 2 CIFSR STAMAC 5c cf 7f 91 8b 3b OK AT CIPSTART UDP 192 168 4 1 8001 8002 0 Open UDP connection CONNECT OK AT CIPSEND 10 send 10 bytes of data to the server OK After the emergence of...

Страница 27: ... security serial interface assistant to configure the baud rate 74880 to view the startup information Note part of the USB to TTL does not support 74880 baud rate the computer comes with RS232 to TTL does not support 74880 baud rate recommend the use of FT232 CP2102 CH340 and other chips 6 2 How To Shield The Power When The Garbled U0TXD default power will be system printing through the UART s int...

Страница 28: ... Jan 8 2013 rst cause 1 boot mode 3 6 The start and start modes of the module can be analyzed based on the print information rst cause 1 Power restart 2 External reset 4 Hardware watchdog reset boot mode The second in parentheses has no practical meaning the first can refer to the following table to start the information analysis Table 6 1 Startup Mode Description Value Mode GPIO0 GPIO2 GPIO15 0 0...

Страница 29: ... 16 0 17 0 16 0 24 0 16 0 24 0 16 0 layer 2 2 4 2 4 4 4 Flash size 8Mbit 8Mbit 8Mbit 8Mbit 32Mbit 32Mbit 32Mbit Certificati on FCC CE FCC CE FCC CE Antenna PCB PCB PCB Ceramic IPEX IPEX PCB PCB Indicator light TXD0 POWER GPIO2 GPIO2 POWER GPIO2 GPIO2 GPIO2 Available IO 2 2 11 9 9 9 9 For more selection information please see http wiki ai thinker com esp8266 or contact us ...

Страница 30: ... www ai thinker com Develop Wiki http wiki ai thinker com Official forum http bbs ai thinker com Sample purchase https anxinke taobao com Business cooperation sales aithinker com Technical support support aithinker com Telephone 0755 29162996 Company Address 6 F Block C2 Huafeng Industrial Park Hangcheng Road Bao an Road Baoan District Shenzhen China WeChat AiSmart APP ...

Отзывы: