Ai Thinker Technology ESP12F ESP-12F User Manual ESP 12F
Shenzhen Ai-Thinker Technology co., LTD ESP-12F ESP 12F
User Manual
ESP-12F User Manual REV:2.0 2017.8 ESP-12F User Manual 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. (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. 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 enclosed module. This exterior label can use wording such as the following: “Contains FCC ID: 2AHMR-ESP12F” any similar wording that expresses the same meaning may be used. This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment.This equipment should be installed and operated with a minimum distance of 20cmbetween the radiator & your body. This transmitter must not be co-located or operating inconjunction with any other antenna or transmitter. CE Mark Warning The module is limited to OEM installation ONLY. The OEM integrator is responsible for ensuring that the end-user has no manual instruction to remove or install module. The module is limited to installation in mobile application; A separate approval is required for all other operating configurations, including portable configurations with respect to Part 2.1093 and difference antenna configurations. There is requirement that the grantee provide guidance to the host manufacturer for compliance with Part 15B requirements. Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com ESP-12F User Manual Table Of Contents 1. Preambles............................................................................................................................................................... 2 1.1. Features................................................................................................................................................3 1.2. Parameters........................................................................................................................................... 4 2. Pin Descriptions...................................................................................................................................................... 5 2.1. Interfaces..............................................................................................................................................6 2.2. Pin Mode.............................................................................................................................................. 8 2.3. Antenna interface.................................................................................................................................8 3. Package information and OEM installation method............................................................................................. 9 3.1. Package information...........................................................................................................................10 3.2. OEM installation mathod................................................................................................................... 10 4. Absolute Maximum Ratings................................................................................................................................. 11 4.1Recommended Operating Conditions..........................................................................................................11 4.2.AT commend Testing................................................................................................................................... 11 4.3.AT commend............................................................................................................................................... 12 4.3.1.AT Command Description.........................................................................................................................12 4.3.2.Basic AT Command Set.............................................................................................................................12 Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com ESP-12F User Manual 1. Preambles ESP-12F WiFi module is developed by AI-Thinker Co.,Ltd, core processor ESP8266 in smaller sizes of the module encapsulates Tensilica L106 integrates industry-leading ultra low power 32-bit MCU micro, with the 16-bit short mode, clock speed support 80 MHz, 160 MHz, supports the RTOS, integrated Wi-Fi MAC/BB/RF/PA/LNA, on-board antennas. The module supports standard IEEE802.11 b/g/n agreement, complete TCP/IP protocol stack. Users can use the add modules to an existing device networking, or building a separate network controller. ESP8266 is high integration wireless SOCs, designed for space and power constrained mobile platform designers. It provides unsurpassed ability to embed Wi-Fi capabilities within other systems, or to function as a standalone application, with the lowest cost, and minimal space requirement. ESP8266EX offers a complete and self-contained Wi-Fi networking solution; it can be used to host the application or to offload Wi-Fi networking functions from another application processor. When ESP8266EX hosts the application, it boots up directly from an external flash. In has integrated cache to improve the performance of the system in such applications. Alternately, serving as a Wi-Fi adapter, wireless internet access can be added to any micro controllerbased design with simple connectivity (SPI/SDIO or I2C/UART interface). ESP8266EX is among the most integrated WiFi chip in the industry; it integrates the antenna switches, RF balun, power amplifier, low noise receive amplifier, filters, power management modules, it requires minimal external circuitry, and the entire solution, including front-end module, is designed to occupy minimal PCB area. ESP8266EX also integrates an enhanced version of Tensilica’s L106 Diamond series 32-bit processor, with on-chip SRAM, besides the Wi-Fi functionalities. ESP8266EX is often integrated with external sensors and other application specific devices through its GPIOs; codes for such applications are provided in examples in the SDK. 1.1. Features • 802.11 b/g/n • Integrated low power 32-bit MCU • Integrated 10-bit ADC • Integrated TCP/IP protocol stack • Integrated TR switch, balun, LNA, power amplifier and matching network • Integrated PLL, regulators, and power management units Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com ESP-12F User Manual • Supports antenna diversity • Wi-Fi 2.4 GHz, support WPA/WPA2 • Support STA/AP/STA+AP operation modes • Support Smart Link Function for both Android and iOS devices • SDIO 2.0, (H) SPI, UART, I2C, I2S, IRDA, PWM, GPIO • STBC, 1x1 MIMO, 2x1 MIMO • A-MPDU & A-MSDU aggregation and 0.4s guard interval • Deep sleep power <10uA, Power down leakage current < 5uA • Wake up and transmit packets in < 2ms • Standby power consumption of < 1.0mW (DTIM3) • +20dBm output power in 802.11b mode • Operating temperature range -40C ~ 85C 1.2. Parameters Table 1 below describes the major parameters. Table 1 Parameters Categories WiFi Paramters Hardware Paramaters Items Values WiFi Protocles 802.11 b/g/n Frequency Range 2.4GHz-2.5GHz (2400M-2483.5M) UART/HSPI/I2C/I2S/Ir Remote Contorl Peripheral Bus Shenzhen Ai-Thinker Technology Co., Ltd GPIO/PWM http://www.ai-thinker.com ESP-12F User Manual Software Operating Voltage 3.3V Operating Current Average value: 80mA Operating Temperature Range -40°~125° Ambient Temperature Range Normal temperature Package Size 18mm*20mm*3mm External Interface N/A Wi-Fi mode station/softAP/SoftAP+station Security WPA/WPA2 Encryption WEP/TKIP/AES Firmware Upgrade Parameters Ssoftware Development Network Protocols User Configuration Shenzhen Ai-Thinker Technology Co., Ltd UART Download / OTA (via network) / download and write firmware via host Supports Cloud Server Development / SDK for custom firmware development IPv4, TCP/UDP/HTTP/FTP AT Instruction Set, Cloud Server, Android/iOS APP http://www.ai-thinker.com ESP-12F User Manual 2. Pin Descriptions There are altogether 16 pin counts, the definitions of which are described in Table 2 below. Figure 2 ESP-12F pinout Table 2 ESP-12F pin description Pin number Pin name function RST Reset module ADC A/d conversion result. Input voltage range 0~1V, value range: 0~1024 EN Chip enable pin. Active high GPIO16 GPIO16; can be used to wake up the chipset from deep sleep mode GPIO14 GPIO14; HSPI_CLK GPIO12 GPIO12; HSPI_MISO GPIO13 GPIO13; HSPI_MOSI; UART0_CTS VCC 3.3V power supply (VDD) Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com ESP-12F User Manual 2.1. CS0 SPI CS0;GPIO11 10 MISO SPI MISO;GPIO7 11 GPIO9 SPI HD;GPIO9 12 GPIO10 SPI WP;GPIO10 13 MOSI SPI MOSI;GPIO8 14 CLK SPI CLK;GPIO6 15 GND GND 16 GPIO15 GPIO15; MTDO; HSPICS; UART0_RTS 17 GPIO2 GPIO2; UART1_TXD 18 GPIO0 GPIO0 19 GPIO4 GPIO4 20 GPIO5 GPIO5 21 RXD0 UART0_RXD; GPIO3 22 TXD0 UART0_TXD; GPIO1 Interfaces Table 3 Interface Descriptions of Interfaces Description Pin Name IO12(MISO), HSPI IO13(MOSI) SPI Flash , display screen, and MCU can be connected using HSPI IO14(CLK), interface IO15(CS) PWM IO12(R), Currently the PWM interface has four channels, but users can extend IO15(G), the channels according to their own needs. PWM interface can be Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com ESP-12F User Manual IO13(B) used to control LED lights, buzzers, relays, electronic machines, and so on. The functionality of Infrared remote control interface can be IR Remote IO14(IR_T), Control IO5(IR_R) implemented via software programming. NEC coding, modulation, and demodulation are used by this interface. The frequency of modulated carrier signal is 38KHz. ESP8266EX integrates a 10-bit analog ADC. It can be used to test the power supply voltage of VDD3P3 (Pin3 and Pin4) and the input ADC TOUT power voltage of TOUT (Pin 6). However, these two functions cannot be used simultaneously. This interface is typically used in sensor products. I2C IO14(SCL), I2C interface can be used to connect external sensor products and IO2(SDA) display screens, etc. Devices with UART interfaces can be connected with the module. Downloading: U0TXD+U0RXD or GPIO2+U0RXD UART0: TXD(U0TXD), RXD(U0RXD), UART IO15(RTS), IO13(CTS) 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 the device is powered on and is booting up. If this issue exerts influence UART1: IO2(TXD) on some specific applications, users can exchange the inner pins of UART when initializing, that is to say, exchange U0TXD, U0RXD with U0RTS, U0CTS. I2S Input: I2S IO12 (I2SI_DATA) ; I2S interface is mainly used for collecting, processing, and transmission of audio data. IO13 (I2SI_BCK ); IO14 (I2SI_WS); Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com ESP-12F User Manual I2S Output:: IO15 (I2SO_BCK ); IO3 (I2SO_DATA); IO2 (I2SO_WS ). 2.2. Pin Mode Table 4 Pin Mode 2.3. Mode GPIO15 UART low Flash Boot low GPIO0 GPIO2 low high high high Antenna interface ESP-12F Modules through the IPEX interface to connect to external antenna. The antenna must be in line with the 802.11g/802.11b IEEE standard, and the antenna parameters are shown in the following table: Table 5 Antenna parameters Rating Frequency range Impedance Shenzhen Ai-Thinker Technology Co., Ltd Value 2.4~2.4825GHz 50Ω http://www.ai-thinker.com ESP-12F User Manual 3. Package information and OEM installation method The external size of theESP-12F WiFi module is 16mm*17mm*3mm, as is illustrated in Figure 4 below: Figure 4 Dimensions of ESP-12F WiFi Module Table 5 Dimensions of ESP-12F WiFi Module Length 16mm 3.1. width 24mm Height 3 mm PAD Size(Bottom) Pin Pitch 1 mm x 1.2 mm 2mm Package information ESP-12F use a half hole patch package, Module PCB Footprint shown in the following figure: Figure 5 Module PCB Footprint Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com ESP-12F User Manual 3.2. OEM installation mathod Using ESP-12F module Please reference in front of the package information in the Layout on the main board for OEM factory .Please pay more attention Module's direction and the antenna close to the edge of board is better ,the Components and layout should not be on the bottom of antenna then soldering the module.when the module be soldering can not in the environment of high temperature ,We recommend the reflow soldering temperature curves is shown in figure 6: Figure 6 Recommend reflow soldering temperature curves 4. Absolute Maximum Ratings Table 6 Absolute Maximum Ratings Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com 10 ESP-12F User Manual Rating Condition Value Unit Storage Temperature -40 to 125 ℃ Maximum Soldering Temperature 260 ℃ +3.0 to +3.6 Supply Voltage IPC/JEDEC J-STD-020 4.1Recommended Operating Conditions Table 7 Recommended Operating Conditions Operating Condition Symbol Operating Temperature Supply voltage VDD Min Typ Max Unit -40 20 125 ℃ 3.0 3.3 3.6 4.2.AT commend Testing 1.Hardware connection As shown in Figure 7, ESP-12F via a USB to TTL Tool connected to the computer, software tool through the serial port on the computer can be AT instruction test Figure 7 ESP-12F connect with computer 4.3.AT commend Espressif AT instruction set functions and methods of use Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com 11 ESP-12F User Manual AT commands set is divided into: Basic AT commands, WiFi related AT commands, TCP / IP AT 4.3.1.AT Command Description Table 8 Each Command set contains four types of AT commands. Notes: 1. Not all AT Command has four commands. 2. [] = default value, not required or may not appear 3. String values require double quotation marks, for example: AT+CWSAP="ESP756290","21030826",1,4 4. Baudrate = 115200 5. AT Commands has to be capitalized, and end with "/r/n" 4.3.2.Basic AT Command Set The ESP8266 wireless WiFi modules can be driven via the serial interface using the standard AT commands. Here is a list of some basic AT commands that can be used. Table9 basic AT commands Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com 12 ESP-12F User Manual AT – Test AT startup The type of this command is "executed". It's used to test the setup function of your wireless WiFi module. AT+RST – Restart module Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com 13 ESP-12F User Manual The type of this command is "executed". It’s used to restart the module. AT+GMR – View version info This AT command is used to check the version of AT commands and SDK that you are using, the type of which is "executed". AT+GSLP – Enter deep-sleep mode This command is used to invoke the deep-sleep mode of the module, the type of which is "set". A minor adjustment has to be made before the module enter this deep sleep mode, i.e., connect XPD_DCDC with EXT_RSTB via 0R. Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com 14 ESP-12F User Manual ATE – AT commands echo This command ATE is an AT trigger command echo. It means that entered commands can be echoed back to the sender when ATE command is used. Two parameters are possible. The command returns "OK" in normal cases and "ERROR" when a parameter other than 0 or 1 was specified. AT+RESTORE – Factory reset This command is used to reset all parameters saved in flash (according to appendix), restore the factory default settings of the module. The chip will be restarted when this command is executed. Detailed instruction test, please refer to the Esp8266 AT Instruction Set, you can download it from our website。 Shenzhen Ai-Thinker Technology Co., Ltd http://www.ai-thinker.com 15
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.7 Linearized : No Page Count : 17 Create Date : 2017:09:12 16:44:21+00:00 Modify Date : 2017:09:12 16:44:21+00:00 Title : ESP-12F User Manual Author : Ai-Thinker Creator : WPS Office 专业版EXIF Metadata provided by EXIF.tools