ESP8266 Module V2
ESP8266 Module V2
ESP8266 WiFi Module (WRL-17146) Commands are case sensitive and should end with /r/n
PCB Antenna
AT+CWSAP*=<ssid>,<pwd><chl><ecn> - Set up access point
Chip Enable
Reset
4- CHPD
6- RST
2 1 0. Open. No security
1. WEP
3.3V 8- 3V 4 3 2. WPA_PSK
3. WPA2_PSK
4. WPA_WPA2_PSK
GND 1- GND 6 5 AT+CWLIF - Show assigned IP addresses as access point
AT+CIPSTATUS - Show current status as socket client or server
D2/SDA GPIO2
D0 GPIO0
3- GPIO2
5- GPIO0
8 7 AT+CIPSTART=<type>,<addr>,<port> - Connect to socket server
IP is fixed at 192.168.4.1, mask is fixed at 255.255.255.0
if CIPMUX is set to multichanel add <id> to beginning of string
D8 GPIO3 RX 7- RXI AT+CIPCLOSE - Close socket connection
AT+CIFSR - Show assigned IP address when connected to network
AT+CIPMUX=<mode> - Set connection
0. Single Connection
Power I/O Features Basic Connection 1. Multi-Channel Connection
VCC-3.0-3.6V Integrated TCP/IP VCC - 3.3V AT+CIPSERVER=<mode>[,<port>](AT+CIPMUX=1) - Default port is 333
0. Close the Socket Server
Standby ~ 0.9uA Integrated TR switch, LNA, GND - GND 1. Open the Socket Server
Running ~60-215mA, balun TX - RX on Arduino or FTDI AT+CIPMODE=<mode> - Set transparent mode
Average ~ 80mA RX - TX on ARduino or FTDI Data received will be sent to serial port as
0. +IPD,<connection channel>,<length>format (AT+CIPMUX=[0,1])
Chip Enable - 3.3V 1. Data stream (AT+CIPMUX=0)
Wifi Features Memory/Speed Features AT+CIPSTO=<time> - Set auto socket client disconnect timout
802.11 b/g/n 80MHz Default Baud Rate from 1-28800s
2.4GHz 64KB instruction RAM 115200* 8N1
Example commands
WPA/WPA2 96KB data RAM AT+CWMODE=? //View options for mode (test)
LEDs AT+CWMODE=3 //Set mode to client and access modes (set)
Wifi Direct 64K boot ROM
Blue: TX AT+CWLAP //View available networks (execute)
4MB* Flash Memory AT+CWJAP = "ssid","password" //Join network (set)
AT+CWJAP? //View the current network (inquiry)
AT+CIFSR //Show IP address (execute)
AT+CWQAP //Disconnect from network (execute)
*mileage may vary on different AT+CWSAP="apoint","pass",11,0//Setup an open access point (set)
+20dBm output power (802.11b) version of the board AT+CWLIF //Show devices connected to access point