Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
19 views

ESP8266 Module V2

The document provides information about AT commands for an ESP8266 WiFi Module. It lists several types of AT commands including set, inquiry, test, and execute commands. It provides a table of common AT commands and their usage, such as AT+CWMODE to set the operating mode, AT+CWJAP to join a WiFi network, and AT+CIFSR to show the assigned IP address. The document also includes information about connecting to a socket server and setting up an access point using additional AT commands.

Uploaded by

Julian M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

ESP8266 Module V2

The document provides information about AT commands for an ESP8266 WiFi Module. It lists several types of AT commands including set, inquiry, test, and execute commands. It provides a table of common AT commands and their usage, such as AT+CWMODE to set the operating mode, AT+CWJAP to join a WiFi network, and AT+CIFSR to show the assigned IP address. The document also includes information about connecting to a socket server and setting up an access point using additional AT commands.

Uploaded by

Julian M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AT Command Usage

ESP8266 WiFi Module (WRL-17146) Commands are case sensitive and should end with /r/n

Commands may use 1 or more of these types


Set = AT+<x>=<...> - Sets the value
Inquiry = AT+<x>? - See what the value is set at
Test = AT+<x>=? - See the possible options
Execute = AT+<x> - Execute a command
Name Power Commands with * have been depreciated in favor of
COMMAND_CUR and COMMAND_DEF. CUR will not write the
value to flash, DEF will write the value to flash and be used as the
Ground Control default in the future.

Serial GPIO AT Command List


AT - Attention
AT+RST - Reset the board
Arduino AT+GMR - Firmware version
AT+CWMODE* - Operating Mode
1. Client
2. Access Point
3. Client and Access Point
AT+CWJAP*=<ssid>,<pwd> - Join network
AT+CWLAP - View available networks
D7 GPIO1 TX 2- TXO AT+CWQAP - Disconnect from network

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

You might also like