Esp8266 at instruction set

Common AT command set

The ESP8266 has a variety of packaging methods. The antenna can support the onboard PCB antenna, IPEX interface and stamp hole interface.

ESP8266 can be widely used in smart grid, intelligent transportation, smart furniture, handheld devices, industrial control and other fields.

In fact, these are clouds, the biggest advantage is that it is a very cheap WIFI serial port solution module, suitable for student developers~

AT command debugging (initial development)

ESP8266 itself is a mcu, so it can be used for two purposes:

1. As an ordinary wifi module, develop with the official integrated AT command set;

2. As a mcu integrated with wifi function, use sdk provided by Anxin or other platforms for deep development.

Since it is shallow and deep, today we will summarize the development process of commonly used AT commands.

Connect the circuit first, pay attention to the GPIO0 pin floating, use the serial debugging assistant to send the AT command, the default baud rate is 115200, after setting, the normal communication can be performed.

Below I will list the commonly used AT instruction set:

AT+GMR ----------- ------- View version information

AT+CWMODE=? ---------- ---Response returns which modes are currently supported

AT+CWMODE=“mode” --- ---Parameter description

Mode

1 StaTIon mode; 2 AP mode; 3 AP and StaTIon mode;

AT+ CWJAP = "ssid", "pwd" ---- Parameter Description

"ssid" string parameter, access point name

"pwd" string parameter, password up to 64 bytes ASCII

AT+CIPSTART=? ----------Set AT+CIPMUX=0

+CIPSTART:

("type" list of values), ("IP address" range), ("port" range)

AT+ CIPSERVER=“mode”, “port”--parameter description

Mode 0 -- turn off server mode; 1 -- turn on server mode

Port port number, default is 333

AT+CIPSTO=“TIme”-------------Parameter Description

TIme 0~28800 server timeout in s

AT+CIPMODE=“mode”----------Parameter Description

Mode 0-- non-transparent mode; 1 -- transparent mode

The ESP8266 instruction set is mainly divided into: basic AT command, Wife function AT command, Top/IP toolbox AT command.

First, the basic AT command

1. AT: Test AT start, return OK

2. AT+RST: Restart the module and return to OK

3. AT+GMR: View version information, return OK, 8-bit version number

Second, wifi function AT command

1. AT+CWMODE? : Query WIFI application mode, return +CWMODE:OK

2. AT+CUMODE=: Set wifi application mode, return OK; command will take effect after reboot, mode: 1.Station mode, 2.AP mode, 3.AP+Station compatibility mode, remarks, station: client, AP: server ;

In Station mode:

3. AT+CWJAP? : Query the currently selected AP and return +CWJAP:OK

4. AT+CWJAP=”ssid”, “pwd”: join AP, return OK or ERROR; ssid: access point name, pwd: password up to 64 bytes ASCII

5. AT+CWLAP: List the currently available APs, return +CWLAP:,, OK/ERROR; ecn:0.OPEN, 1.WEP, 2.WPA_PSK, 3.WPA2_PSK, 4.WPA_WPA2_PSK; ssid: access point name ;rssi: signal strength

6. AT+CWQAP: Exit the connection with the AP and return OK.

In AP mode:

7. AT+CWSAP? : Query the parameters in the current AP mode, return +CWSAP:,,,;

8. AT+CWSAP=”ssid”, “pwd”, “chl”, “ecn”: set AP parameters, return OK/ERROR; ssid: access point name; pwd: password up to 64 bytes ASCII; chl: Channel number; ecn: 0.OPEN, 1.WEP, 2.WPA_PSK, 3.WPA2_PSK,

4.WPA_WPA2_PSK;

9. AT+CWLIF: View the IP of the connected device and return OK

Third, TCP / IP toolbox AT command

1. AT+CIPSTATUS: Get connection status and connection parameters, return STATUS: +CIPSTATUS:, "type", "addr", OK; id: connection id number 0-4; type: TCP or UDP; addr: IP Address; port: port number; tetype: 0. This module does the client connection, 1. This module does the server connection.

2. Single connection: AT+CIPSTART=”type”, “addr”,: establish TCP connection or register UDP port number, return OK/ERROR/ALREAY CONNECT; id: connection id number 0-4; type: TCP/ UDP; addr: remote server ip address; port: remote server port number

3. Multiple connections: AT+CIPSTART=”type”, “addr”,, return, ibid.

4. Single connection: AT+CIPSEND=: send data, return, line feed back, ERROR/SENDOK;

5. Multiple connections: AT+CIPSEND=,:id: id number used to transfer the connection

6. Transparent transmission mode: AT+CIPSEND: send data, return to return the line after receiving the second command, and then enter the transparent transmission mode, each packet of data is divided by 20ms interval, each packet is up to 2048 bytes, when inputting a single package "+++" returns to the command mode, which must be used in the transparent mode and single connection mode.

7. Multiple connections: AT+CIPCLOSE=: Close TCP/UDP, return, OK/Link is not; id: Connection id to be closed, id=5 will close all connections (id=5 is invalid after server is enabled)

8. Single connection: AT+CIPCLOSE: Close TCP/UDP, return, OK/ERROR/unlink

9. AT+CIFSR: Get the local IP address, return +CIFSR: OK/ERROR, IP addr: local ip address (station), AP mode is invalid

10. AT+CIPMUX=: Start multiple connections, return OK/Link isbuilded; mode: 0. Single connection mode, 1. Multiple connection mode; Remarks, can only be changed when the connection is disconnected, if you need to open the server Restart module

11. AT+CIPSERVER=[,]: Configure as server, return OK, shut down the server and restart, mode: 0. Turn off server mode, 1. Start server mode; port: port number, default is 333; Remarks: Open Server is automatically set up after the server to listen to, when there is a client access will automatically occupy a connection in order, multi-connection mode can open the server;

12. AT+CIPMODE: Set the module transmission mode, return OK/Link isbuilded; mode: 0. Non-transparent mode, 1. Transparent mode

13. AT+CIPSTO=: Set the server timeout time, return OK, 0~28800 server timeout time, the unit is s

14. Single connection mode: +IPD,:: Receive network data, return +IPD and data sent by network data to the serial port of the module, receive the id number of the connection, data length, received data

15. Multi-connection mode: +IPD,,:

ESP8266 is a very valuable chip, it is worthy of our in-depth study and transformation ~ Of course, AT command development also requires a certain microcontroller base, I will not repeat it.

Wire Condenser

Wire Condenser

The condensing unit is used for refrigerator temperature control devices, air conditioners, heat pumps and coolers. They are called [gas refrigerants" by compression in the form of heat, then pumped through the coil system, and heated and cooled by the coiled air. The condenser unit is mainly used in commercial refrigeration systems and industrial refrigeration systems. The condensing unit mainly consists of Mono-Blocks For Cold Storage,Semi Hermetic Condensing Unit,Box Type Condensing Unit ,we can follow the customer's requirements to produce the correct size of the condensing unit.

Wire Condenser,Cold Room Condenser,Evaporator Condenser,Refrigerator Condenser

FOSHAN SHUNDE JUNSHENG ELECTRICAL APPLIANCES CO.,LTD. , https://www.junshengcondenser.com

Posted on