Categories

PrestaShop

ESP8266 ESP-01 Remote Wireless Module WIFI to UART Module

4,27 €
Tasse incluse

ESP8266 ESP-01 Remote Wireless Module WIFI to UART Module

  • Politiche per la sicurezza (modificale con il modulo "Rassicurazioni cliente") Politiche per la sicurezza (modificale con il modulo "Rassicurazioni cliente")
  • Politiche per le spedizioni (modificale con il modulo Rassicurazioni cliente) Politiche per le spedizioni (modificale con il modulo Rassicurazioni cliente)
  • Politiche per i resi merce (modificale con il modulo Rassicurazioni cliente) Politiche per i resi merce (modificale con il modulo Rassicurazioni cliente)

1.The advantage of modules:
1.Low price
2.The smallest by 11 * 10 mm or so,Embedded in any convenient products
3.Powerful internal run LWIP protocol
4.Supports three modes: AP, STA and AP + STA coexistence pattern
5.Improve the clean efficiency of the AT command, let you develop more simple.

Download Material
AT+CWQAP

AT+CWQAP;Exit links with AP
Testing Instruction :
response
OK
AT+CWQAP=?
illustrated
None
execute instruction :
response
OK
AT+CWQAP
illustrated
None


AT+CWSAP

AT+CWSAP Setting up the AP mode parameters
test instruction response
illustrated
Queries   instruction : response Returns the current AP parameters
AT+CWSAP? +CWSAP; ? ssid ??? pwd ??? chl ??? ecn ?
illustrated None
setup instruction ? response OK
AP+CWSAP= Or
? ssid ??? pwd ??? chl ??? ecn ? EPPOR
illustrated instruction parameters ?
? ssid ? string parameter ? Access Point   Name .
? pwd ? string parameter ? Password up to 64 bytes ASCII
? chl ? Channel Number
? ecn ? cipher mode
0 OPEN
1 WEP
2 WPA_PSK
3 WPA2_PSK
4 WPA_WPA2_PSK
illustrated This set of instructions is only effective after AP mode to open


TCP/IP toolkit AT command

Command
Description
AT+CIPSTATUS
Get the connection status
AT+CIPSTART
To establish a TCP connection or registered UDP port number
AT+CIPSEND
send data
AT+CIPCLOSE
Close TCP or UDP
AT+CIFSR
Get the local IP address
AT+CIPMUX
Start multiple connections
AT+CIPSERVER
Configured as a server

AT+CIPSTATUS

AT+CIPSTATUS Get the connection status
Testing Instruction
response
OK
illustrated
None
Executes   I nstruction
response
Returns the current module connection state and connection parameters
AT+CIPSTATUS
STATUS ?? stat ?
+CIPSTATUS; ? id ? , ? type ? , ? addr ? , ? port ? , ? stat ?
OK
illustrated
Response Value Description:
? id ? connection id number 0-4
? type ? string parameter ,type TCP or UDP
? addr ? string parameter ,IP address
? port ? Port Number


AT+CIPSTART

AT+CIPSTART To establish a TCP connection or registered UDP port number
Testing Instruction
response
+CIPSTART:( ? type ? A list of values ),( ? IP address ? Range),( ? port ? Range)
AT+CIPSTART=?
OK
illustrated
None
Set command
response
OK-Format correct and the connection is successful
1? single   way   connection
Or
(+CIPMUX=0)
ERROR- Failure
AT+CIPSTART=
Or
? type ? , ? addr ? , ? port ?
ALREAY CONNECT,Connection has been
2) Multiple connections
(+CIPMUX=1)
AT+CIPSTART=
? id ?? type ? , ? addr ? ,
? port ?
illustrated
Command parameters:
? id ? 0-4 connection id number
? type ? string parameter ,Indicates that the connection type, ” TCP ” established tcp connection .
“ udp ” established UDP connection .
? addr ? string parameter ,The remote server IP address.
? port ? Remote server port number
illustrated
No. 0 connections can dient or server connections, the other can only be used to connect to a remote server id

AT+CIPSEND

AT+CIPSEND send data
Testing Instruction :
response
OK
AT+CIPSEND=?
illustrated
None
setup instructions :
response
Response Returns the specified length of data.
1) single   way   connection
After receiving the instruction to wrap return "">"", and then begin to receive serial data, send data when the data length full lenght.
(+CIPMUX=0)
If you do not establish a connection or connection is disconnected, return ERROR.
AT+CIPSTART= ? lenght ?
if the data is sent successfully,return to SEND OK.
2)Multiple connections
(+CIPMUX=1)
AT+CIPSTART=
? id ? , ? lenght ?
illustrated
instruction parameters :
? id ? Required for the transport connection id number.
? lenght ? numeric argument ,Indicates that the length of the send data

AT+CIPCLOSE

AT+CIPCLOSE Close TCP or UDP
Testing Instruction :
response
OK
AT+CIPCLOSE=?
illustrated
None
Set command:
response
If the input is correct, return OK
Multiple connections
Without the connection, returns the Link is not
AT+CIPCLOSE= ? id ?
If you turn off No. 0 connection, and the connection for the server, it returns Cant close (closed 0 need to restart the server connection)
illustrated
command parameter:
? id ? Need to close the connection id
Executes Instruction:
response
If the input is correct, return OK
single   way   connection
Without the connection, returns the
AT+CIPCLOSE
ERROR
If you want to shut down the server, it returns we must restart (connection need to restart)
illustrated
None
illustrated
Closed state is unlink

AT+CIFSR

AT+CIFSR Get the local IP address
Testing Instruction :
response
OK
AT+CIFSR=?
illustrated
None
Executes Instruction:
response
+CIFSR:
AT+CIFSR
OK
Or
ERROR
illustrated
return response :
-The current IP address of the machine(station)

AT+CIPMUX

AT+CIPMUX Start multiple connections
query directives :
response
+CIPMUX:
AT+CIPMUX?
OK
illustrated
None
Set command:
response
OK
AT+CIPMUX=
If you already are connected, it returns
Link is builded
illustrated
command parameter
0 single   way   connection   mode
1 Multiple connection mode
Executes Instruction
response
None
illustrated
None

AT+CIPSERVER

AT+CIPSERVER Configured as a server
Executes Instruction
response
Automatically create a server monitor server after opening
AT+CIPSERVER=
OK
[,]
If 0 connection being used, it returns the Link is builded
Close need to restart the server
illustrated
command parameter:
0 Close the server mode
1 Open the server mode
port number, the default value is 333




2.AT command classification

Classification
instruction format
command function
TEST command
AT+=?
This command is used to query or set command to set the parameters of the internal procedures and its value range.
Query command
AT+?
This command returns the current value of the parameter.
Set command
AT+=
This command is used to set the user custom parameter values.
Execute Command
AT+
This command is used by the module to perform internal program control functions varying parameters immutable.


Note:
1) not every AT command all have these four categories command,
2)later instruction [ ] the data to the default value, do not fill or may not appear,
3) 57600 baud rate.

3.Basic AT command

Command
Description
AT+RST
Restart the module

3.1. AT+RST

AT+RST Restart the module
Execute Command ?
response
OK
AT+RST
illustrated
None
ICS-4928