Transcription of Ai-Thinker
1 Ai-ThinkerESP-01/07/12 Series Modules User's ManualVersion IncCopyright(c)2017Ai-ThinkerESP-01/07/1 2 Series ModulesUser's Manual RecordDateVersionAuthorRelease Wang ChongFirst Wang ChongAdd ESP-01M, Delete Fang DongbinModify the GPIO4 pin description, changethe contact JunxiongAdd ESP-01 FAi-ThinkerESP-01/07/12 Series ModulesUser's Manual Of Contents1 Product Overview .. Product Features .. Application Plan ..12 Module Package Size .. Pin Definition .. Boot Mode ..73 Electrical Maximum Ratings .. Suggested Working Environment .. Digital Port Features .. Power Consumption .. Transmit Power .. Receive Sensitivity.
2 104 Hardware Guidance .. Typical Applications .. PCB Antenna Display Instructions .. Module Peripheral Routing Instructions .. GPIO Level Conversion .. Power Supply Reference Design .. ADC Supply Reference Design .. Automatically Download Reference Design .. Reflow oven temperature curve .. 165 Usage Guide .. Introduction To The Basic AT Command .. AT .. AT+GMR .. AT+RST .. 17Ai-ThinkerESP-01/07/12 Series ModulesUser's Manual AT+ Use Examples .. TCP Communication Test .. UDP Communication Test .. 206 FAQ .. Garbage Instructions When Power Is On .. How To Shield The Power When The Garbled .. Can t Burn Normally .. SDK Development Environment.
3 Startup Information Description .. 237 Module Selection .. 238 Contact US .. 25Ai-ThinkerESP-01/07/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights ReservedPage1of231 Product OverviewESP8266 series wireless module is a series of cost-effective Wi-Fi SOC modulewhich can be developed independently. The series modules support the b/g/n protocol, built-in complete TCP/IP protocol stack. Users can usethis series of modules to add networking capabilities to existing devices, or to buildstandalone network Technology can provide customers with a complete hardware,software reference program, in order to shorten your product development cycle, foryour cost Product FeatureszThe smallest Wi-Fi SOC modulezUsing low-power 32-bit CPU, can also serve as the applicationprocessorzClocked at up to 160 MHzzBuilt-in 10 bit high precision ADCzSupport UART/GPIO/IIC/PWM/ADC/HSPI and other interfaceszIntegrated Wi-Fi MAC/BB/RF/PA/LNAzSupports multiple sleep modes.
4 Deep sleep current as low as 20uAzEmbedded Lwip protocol stackzSupport STA/AP/STA + AP work modezSupports Smart Config/AirKiss key distribution networkzSerial port rate up to 4 MbpszGeneral AT commands can be used quicklyzSupport SDK secondary developmentzSupports serial local upgrade and remote firmware upgrade (FOTA) Application Plan Industrial wireless control Infant Monitor IP camera Sensor network Household appliances Home automation Smart socket/intelligent light Mesh network Wearable electronic products Wireless location sensing device Security ID tag Wireless posit ioning system beaconAi-ThinkerESP-01/07/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co.
5 , Ltd All Rights ReservedPage2of232 Module Package SizeFigure ESP-01/ESP-01S pin dimensions Figure ESP-01M pin dimensionsAi-ThinkerESP-01/07/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights ReservedPage3of23 Figure ESP-01F pin dimensionsFigure ESP-07 pin dimensionsAi-ThinkerESP-01/07/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights ReservedPage4of23 Figure ESP-07S pin dimensionsFigure ESP-12F pin dimensionsAi-ThinkerESP-01/07/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights ReservedPage5of23 Figure ESP-12S pin dimensionsTable ESP series module size tableModelLength(mm)Width(mm)Height(mmPA D size(mm)PinSpacing(mm)ShieldedShell(mm)T hickness(mm) x x x Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co.)
6 , Ltd All Rights Pin DefinitionTable ESP Series Module Pin Function DefinitionsPin NumberPinNameRemarks0101S01M01F0707S12S1 2F7181611 RST Reset Pin, Active Low-16322 ADCAD conversiont, Input voltage range0~1V, the value rangeis0~ Chip Enabled Pin, Active High-17544IO16 Connect with RST pin to wake upDeep Sleep-15655IO14 HSPI_CLK IR_T I2C_SCL I2SI_WS-14766IO12 HSPI_MISO-5877IO13 HSPI_MOSI; UART0_CTS821788 VCCM odule power supply pin, thevoltage range of ~ Flash chip select signal---10 MISOS lave Output Master Input-11-11IO9 GPIO9 Only ESP-01M Can-12-12IO10 GBIO10 Only ESP-01M Can---13 MOSIM aster Output Slave Input---14 SCLKC lock112/18915 GND GND-691016IO15 HSPI_CS U0_RTS I2SO_BCK27101117IO2 U1_TXD I2C_SDA I2SO_WS38111218IO0 GPIO0 HSPI_MISO I2SI_DATA-10121319IO4 GPIO4-13131420IO5 IR_R44141521 RXD GPIO3 I2SO_DATA53151622 TXD GPIO11 ANT Only ESP-01F CanNote: Only GPIO4 and GPIO5 are low at boot time, the other GPIO are Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co.
7 , Ltd All Rights Boot ModeTable Description of the ESP series module boot modeModeCH_PD(EN)RSTGPIO15 GPIO0 GPIO2 TXD0 DownloadmodehighhighlowlowhighhighRunnin gmodehighhighlowhighhighhighChip Testmodehighhigh---lowAi-ThinkerESP-01/0 7/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights ReservedPage8of233 Electrical Maximum RatingsTable Maximum RatingsRated valueconditionValueUnitStorage Temperature--40 ~ 90 Maximum WeldingTemperature-250 Supply VoltageIPC/JEDECJ-STD-020+ ~ + Suggested Working EnvironmentTable Recommended working environmentWork EnvironmentNameMinTypMaxUnitOperating Temperature-202085 Supply Digital Port FeaturesTable Digital Port FeaturesPortNameMinTypMaxUnitInput logic level * VDDVI nput logic level highVIH * VDD-VDD + logic level * VDDVO utput logic * VDD-NVNote: Unless otherwise specified, the test conditions are: VDD = V andtemperature 20.
8 Power ConsumptionAll measurements are made at the antenna interface without SAW Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights ReservedPage9of23 All transmit data is based on a 90% duty cycle measured in the continuous Power consumptionModeMinTypMaxUnitTransmit , CCK 11 Mbps, POUT = +17dBm170mATransmit , OFDM 54 Mbps, POUT = +15dBm140mATransmit , MCS7, POUT = + 13dBm120mAReceive , packet length 1024 bytes,-80dBm50mAReceive , packet length 1024 bytes,-70dBm56mAReceive , packet length 1024 bytes,-65dBm56mAModem-Sleep 20mALight-Sleep 2mADeep-Sleep 20uAPower Off1uANote: Modem-Sleep is used to require the CPU to remain in operation, such as PWM or there is no data transmission while maintaining a WiFi connection, power off the WiFiModem circuit according to the standard (eg U-APSD).
9 For example, in DTIM3, everysleep 300mS, wake up 3mS receive AP Beacon package, etc., the overall average current of : Light-Sleep for CPU can be suspended applications, such as WiFi switch. If thereis no data transmission while maintaining a WiFi connection, the WiFi Modem circuit can beswitched off and the CPU is powered down according to the standard (eg U-APSD). Forexample, at DTIM3, every sleep 300 ms, wake up 3 ms to receive AP's Beacon packets, etc., theoverall average current is about 2 : Deep-Sleep is used for applications that do not have to keep the WiFi connection for along time, such as a sensor that measures the temperature once every 100 seconds.
10 Every 300 swake up after - 1s connected to the AP to send data, the overall average current can be muchsmaller than Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Transmit PowerTable RF @HT20, Receive SensitivityTable Receiving SensitivityParameterMinTypMaxUnitDSSS, 1 Mbps-95dBmCCK, 11 Mbps-80dBm6 Mbps (1/2 BPSK)-88dBm54 Mbps (3/4 64-QAM)-70dBmHT20, MCS7 (65 Mbps, Mbps)-67dBmAi-ThinkerESP-01/07/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co., Ltd All Rights ReservedPage11of234 Hardware Typical ApplicationsNote: You can t use USB to TTL or 5V power supply, it is recommendedto use two dry batteries or after conversion through the LDO , it is stronglyrecommended to buy a new development Typical application of ESP-01 Figure Typical application of ESP-01 SFigure Typical application of ESP-01 MAi-ThinkerESP-01/07/12 Series ModulesUser's Manual 2017 Shenzhen Ai-Thinker Technology Co.
