Zduino Wi-Fi AT Configration
Before we configure it,we should connect board and computer through CP2102 module first(TX to RX, RX to TX).
Default:Baud=115200,No check bit,Data bit=8,Stop bit=1,No blank
Send these AT Command to configure a TCP Client.
1.AT
Answer:OK (connection test)
Attention:If it not work in 115200 baud, try other baud rate.
2.AT+RST
Answer:ready (Reset Device)
3.AT+CWMODE=3
Answer:OK (Setup work mode)
4.AT+RST
Answer:ready (Reset Device)
5.AT+CWLAP
Answer:Wifi (List the Wi-Fi around you)
6.AT+CWJAP=“ssid”,“password”
”ssid” is the name of which Wifi you want to join in, and the password is the password of it.
Answer:OK
7.AT+CIFSR
Answer:IPAddress (Get IP address of Zduino Wi-Fi in the Wi-Fi)
8.AT+CIPMUX=0
Answer:OK (Setup single connection)
Para: 0: Single connection mode 1: Multi connection mode
9.AT+CIPSTART=“TCP”,“IP”,8080
Answer:OK
Para:TCP is network protocol
IP is the server IP address
8080 is the server port
10.Put Zduino Wi-Fi and PC(or some other devices ) in the same Wi-Fi
11.Open the Network debug assistant to configure a TCP server.
Para:Choose TCP server in the protocol type,
Server IP address is the local IP address of PC,
Server port is 8080.
Send these AT Command to configure a TCP Server.
1.AT
Answer:OK (connection test)
Attention:If it not work in 115200 baud, try other baud rate.
2.AT+RST
Answer:ready (Reset Device)
3.AT+CWMODE=3
Answer:OK (Set work mode)
4.AT+RST
Answer:ready (Reset Device)
5.AT+CIFSR
Answer:IPAddress (Get local IP address)
6.AT+CIPMUX=0
Answer:OK (setup single connection)
Para: 0: Single connection mode 1: Multi connection mode
7.AT+CIPSERVER=1,8080
Answer: OK
Para: 1: Setup a Server.
8080: Server port
8.Put your PC(or Some other Devices) into the Wi-Fi which is from Zduino Wi-Fi.
9.Open the Network debug assistant to build a TCP client.
Para:Choose TCP client in the protocol,
Server IP address is the local IP address of Zduino Wi-Fi(Step 4)
Server port is 8080.
Send these AT Command to configure a UDP Connection
1.AT test:AT
Answer: OK
2.Version Check:AT+GMR
Answer: AT version:0.23.b2.0(Apr 10 2015 21:21:43)
SDK version:1.0.1(b2)
compile time:Apr 10 2015 21:30:30
OK
3.Network mode setup:AT+CWMODE=3
Answer: OK
4.Confirm mode:AT+CWMODE?
Answer: +CWMODE:3
OK
5.List wifi around you:AT+CWLAP
Answer: +CWLAP:(3,”OpenJumper2015″,-64,”20:e5:2a:32:01:9a”,1)
+CWLAP:(0,”ESP_9F5EF6″,-42,”1a:fe:34:9f:5e:f6″,1)
+CWLAP:(0,”ChinaUnicom”,-90,”b0:75:d5:98:32:e3″,1)
+CWLAP:(4,”TMcompany”,-72,”d8:15:0d:2e:c1:3e”,6)
+CWLAP:(4,”MostFun”,-77,”70:a8:e3:0c:38:64″,9)
+CWLAP:(4,”sbsb.cn”,-75,”20:76:93:20:77:b0″,12)
OK
6.Join a Wi-Fi:AT+CWJAP=”OpenJumper2015″,”pssword”
//pssword.is the password of OpenJumper2015
Make sure your PC Answer: OK
7.Confirm the connection:AT+CWJAP?
Answer: +CWJAP:”OpenJumper2015″
OK
8.Get IP address:AT+CIFSR
Answer:+CIFSR:APIP,”192.168.4.1″//local IP address of Zduino Wi-Fi
+CIFSR:APMAC,”1a:fe:34:97:f6:d4″
+CIFSR:STAIP,”192.168.1.11″//IP address of Zduino Wi-Fi in the Wi-Fi
+CIFSR:STAMAC,”18:fe:34:97:f6:d4″
OK
9.Setup multi connection:AT+CIPMUX=1//0:single 1:multi
Answer: OK
10.Setup communication address:AT+CIPSTART=4,”UDP”,”192.168.1.5″,8080,1113,0
Answer:4,CONNECT
OK
Para:“4”the number of this connection in the multi connection
“UDP”network protocols
“192.168.1.5”local IP address of PC
“8080”port of PC
“1113”port of Zduino Wi-Fi
11.Open Network debug assistant
Para: Local IP address is the IP address of your PC.
Local port is “8080”
choose “UDP” protocol.
Remote IP address is the IP address of Zduino Wifi
Remote port is “1113”(All the para depend on your cofiguration in setp10)
If you want learn more about ESP8266 AT Instruction, click ESP8266 AT Instruction Set_EN_V0.23b2