background image

WAVESHARE ELECTRONICS

                                                                    

WIFI232 User Manual 

 

Page 1 of 81 

WIFI232 User Manual 

 
 

 

 
 
 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note: this article is based on the firmware version for V5.01.01 and above version of the module, 

if the version is lower than this version, some function is not supported.

Summary of Contents for WIFI232

Page 1: ...WIFI232 User Manual Page 1 of 81 WIFI232 User Manual Note this article is based on the firmware version for V5 01 01 and above version of the module if the version is lower than this version some func...

Page 2: ...3 3 Antenna 15 3 3 1 On board Chip Antenna 15 3 3 2 External Antenna 16 3 4 Evaluation Kit 16 3 5 Hardware Reference Design 18 3 5 1 Hardware Typical Application 18 3 5 2 10 100M Ethernet Interface 19...

Page 3: ...ast access Wi Fi usr link 34 4 8Palmodic Signal 36 4 9 Parameters Configuration 36 4 10 Firmware Upgrade 36 5 Web Accessing and AT instruction set 37 5 1 Configuration via Web Accessing 37 5 1 1 Open...

Page 4: ...AT TCPLK 56 5 2 2 2 20 AT TCPDIS 56 5 2 2 2 21 AT WANN 57 5 2 2 2 22 AT LANN 57 5 2 2 2 23 AT DHCPDEN 57 5 2 2 2 24 AT DHCPGW 58 5 2 2 2 25 AT TCPTO 58 5 2 2 2 26 AT MAXSK 58 5 2 2 2 27 AT TCPB 59 5 2...

Page 5: ...nswers 74 Q1 How to configure transparent serial port application TCP protocol with two WIFI modules 74 Q2 Where to Set WIFI Module LAN IP and WAN IP through Web Page 74 Q3 How to configure transparen...

Page 6: ...good understanding of the modules Users can also choose the chapter which you are interested in to read For specific details and instructions please refer to the following chapters 1 1 Hardware conne...

Page 7: ...same Open Wi Fi search network as shown in below WIFI232 _3378 A B determined according to the specific type of module XXXX is the MAC address after the four is the default network name SSID of the mo...

Page 8: ...communication the steps are as follows 1 Open test software TCP232 Test 2 COM Settings area left Choose COM port witch has connect the module there is COM10 choose band rate to 57600 this is the defau...

Page 9: ...er amplifier Embedded firmware support wi fi protocols and configuration as well as the network TCP IP protocol stack WIFI232 uses the industry s highest performance embedded industrial structure and...

Page 10: ...s Class Item Parameters Wireless Parameters Certification FCC CE Wireless standard 802 11 b g n Frequency range 2 412GHz 2 484GHz Transmit Power 802 11b 20 dBm Max 802 11g 18 dBm Max 802 11n 15 dBm Ma...

Page 11: ...mation Medical devices 2 5 Package Information 2 5 1 Recommended Reflow Profile Figure 5 Reflow Soldering Profile Table 2 Reflow Soldering Parameter Note 1 Recommend to supply N2 for reflow oven 2 N2...

Page 12: ...flow Case 1 Wifi module mounted on top side Need to bake when bottom side process over 168 hours window time no need to bake within 168 hours Case 2 Wifi module mounted on bottom side follow normal ba...

Page 13: ...Map Table 3 WIFI232 Pins Definition Pin Description Name Directio n Note 1 Ground GND GND Power Ground 2 VCC 3 3V 350mA 3 3V Power 3 3V 350mA power input 3 UART Data Transmit UART_TXD O If not use UAR...

Page 14: ...modic Signal Finish module boot up process 1 Module boot up not finish Can be configured as GPIO GPIO GPIO9 I O 10 Restore configuration nReload I Module will Restore factory default configuration aft...

Page 15: ...ng built in antenna module placement of notes and general rules Be in the user s PCB board and the red region 6X8mm corresponding to the region cannot be placed components and with GND Antenna must aw...

Page 16: ...edicated application If user select external antenna WIFI232 modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Table 4 WI...

Page 17: ...WAVESHARE ELECTRONICS WIFI232 User Manual Page 17 of 81 Figure 12 WIFI232 module Evaluation Kit...

Page 18: ...e boot up ready signal Output Logics 0 effective There is 4 7K Ohm pull up resister internal up to 3 3V The module will output 0 or Palmodic Signal after normal boot up This signal used to judge if mo...

Page 19: ...onfiguration This Ethernet support with transformer and without transformer PHY to PHY 2 kinds of connection 3 5 2 1 Ethernet Connection with Transformer User board put Ethernet transformer and RJ 45...

Page 20: ...mand is needed Module default LAN port 2 After this command make sure module WAN IP and LAN IP in different segment Modify the ALN IP in AP Settings modify the WAN IP in STA Settings AT FEPTP on CR Qu...

Page 21: ...wn resister on user board which may cause module can t work 3 5 4 Power Interface WIFI232 module support single 3 3V power supply The peak current shall about 350mA and normal WiFi working current sha...

Page 22: ...re the necessary parameters After power on module can automatically connect to the default wireless network and server As in this mode the module s serial port always work in the transparent transmiss...

Page 23: ...connection it sends data connection will remain until the re changing the target address Bit2 Indicates that the target address is IP or domain name If it is IP the target address is 4 bytes if the d...

Page 24: ...utput status Response GPIO OK or GPIO NOK GPIO n PWM m1 m2 Set GPIOn output a wave m1 is high duration and m2 is low duration Time unit is ms and minimal is 10ms Response GPIO OK or GPIO NOK GPIO n GE...

Page 25: ...er is for AP When WIFI232 works as AP other STA equipments are able to connect to wireless LAN via WIFI232 module Wireless Networking with WIFI232 is very flexible Following figure shows the functiona...

Page 26: ...figure below WIFI232 1 can be treat as an AP and WIFI232 2 WIFI232 3 and the laptop are STAs connected to WIFI232 1 Meanwhile all WIFI232 modules can connected to user device via UART interface All WI...

Page 27: ...through Phone PAD and not change the orginal network setting Users can easily setting module s parameters through WiFi when module works as STA mode AP STA Mode Setting AP STA mode need serial AT comm...

Page 28: ...closed If you need this function pls use AT FEPHY on to open it and RELD can t change this For different application WIFI232 need version switch via commands such as following description of N ver an...

Page 29: ...as router mode but PC2 can t active initiate a connection to PC1 4 4 3 WIFI232 Ethernet Interface Networking As STA Z Ver Figure 22 WIFI232 Ethernet Interface Networking As STA Z Ver For above network...

Page 30: ...KIP WPA2 PSK AES 4 5 3 Search Function for STA When using web configuration STA Interface Setting Page user can push Search button to find surrounding AP and find a AP to associated Figure 23 Search p...

Page 31: ...unction If user select open this function and setting auto frame trigger length and auto frame trigger time parameters then module will auto framing the data which received from UART port and transmit...

Page 32: ...ng figure Figure 24 Multi TCP Link Data Transmition Structure 4 7 2 Socket B Socket B has one work mode TCP Client please refer to the AT TCPB AT TCPPTB TCPADDB TCPTOB TCPLKBcommand instruction With v...

Page 33: ...nd install app any platform any equipment as long as you can into the built in Webpage of module through the browser built you can control module pin of IO 4 8 4 Keepalive V4 02 10 USR13 and above ver...

Page 34: ...ct to Wi Fi network of the module send commands to search router list and set SSID and password After the completion of set up module will automatically restart connected to the router work in the STA...

Page 35: ...al strength Setting command No Name Num of Bytes Description 1 head 1 fixed value 0xFF 2 length 2 Sum of data bytes from length bytes to check byte not contain length bytes and check byte 3 cmd 1 Comm...

Page 36: ...Hz square wave with dutyfactor 1 1 User can query this signal to judge if moduleis active live or need to re boot When module switches to command mode it will output 0 which used to distinguish work m...

Page 37: ...55 255 255 0 User Name admin Password admin 5 1 1 Open Web Management Interface Step 1 Connect laptop to SSID WIFI232 of WIFI232 module via wireless LAN card Step 2 After wireless connection OK Open W...

Page 38: ...ion options and a restart the corresponding instructions below WI FI Setting set the working mode of wifi AP mode or the STA Ethernet Ports Setting open close the Ethernet ports and set up the corresp...

Page 39: ...tion Page 5 1 4 AP Interface Setting Page This page use to setting the parameters when WIFI232 module works as AP Figure 29 AP Interface Setting Page 5 1 5 STA Interface Setting Page This page use to...

Page 40: ...ace Setting Page 5 1 6 Application Setting Page This page use to setting the parameters of serial port communication such as UART setting UART AutoFrame Setting Ethernet function Device ID setting and...

Page 41: ...rotocols support three modes TCP Server TCP Client UDP Client UDP Server Besides module working as TCP Server IP address not required in this mode User must set the IP address of the device which need...

Page 42: ...2 Ethernet Setting Page 5 1 8 HTTPD Client Mode This page sets the HTTP header in the HTTPD Client mode Include the address of the server the server port request type protocol header path Connection u...

Page 43: ...ced Settings page the user can set the port mapping and function of DDNS without having to go on a router Settings reduce the complexity of setting the port mapping and DDNS can be in the public envir...

Page 44: ...the parameters of different web pages you will click Apply button to confirm the setting but the setting take effect only after user click the Restart button here the module will re boot up and refre...

Page 45: ...ck ok to go into AT instruction set configuration mode Figure 38 Switch to Configuration Mode Notes 1 When user input No Enter key required the UART port will display feedback information a and not di...

Page 46: ...ruction for Help We supply software WIFI232 Setup to send command easily software setup Figure 40 Serial port parameter Click Open Com send a it will reply ok in left side then type in and send the co...

Page 47: ...open the software see Net part Figure 42 Search module Click search then will show module click module then you can send command 5 2 2 1 Instruction Syntax Format AT Instruction protocol is based on t...

Page 48: ...ara 1 para 2 para 3 para 4 CR LF CR LF Prefix of response message RSP Response string ok Success ERR Failure op para n Parameters if query command or Error code when error happened CR ASCII 0x0d LF AS...

Page 49: ...nction DHCPGW Set Query DHCP gateway address TCPTO Set Query TCP timeout MAXSK Set Query maxima TCP connection TCPB Open Close TCPB function TCPPTB Set Query TCPB port number TCPADDB Set Query TCPB se...

Page 50: ...2 2 AT ENTM Function Set module into transparent transmission mode Format AT ENTM CR ok CR LF CR LF When operate this command module switch from configuration mode to transparent transmission mode 5 2...

Page 51: ...MARK SPACE flowctrl hardware flow control CTSRTS NFC No flow control FC flow control After WIFI232 module boots up again the setting will be effective 5 2 2 2 5 AT UARTF Function Open Close UART auto...

Page 52: ...mode CR LF CR LF Set Operation AT TMODE tmode CR ok CR LF CR LF Parameters tmode Data transmission mode Through Transparent transmission Agreement Agreement transmission Httpdclient Httpd Client Mode...

Page 53: ...nly effective for WIFI232 works as STA After WIFI232 module boots up again the setting will be effective But user can set this command when module configured as AP 5 2 2 2 11 AT WSSSID Function Set Qu...

Page 54: ...for WEB page access password Password for WEB page access 5 2 2 2 14 AT WAP Function Set Query WIFI parameters as AP Format Query Operation AT WAP CR ok wifi_mode ssid channel CR LF CR LF Set Operati...

Page 55: ...struction only effective for WIFI232 works as AP After WIFI232 module boots up again the setting will be effective But user can set this command when module configured as STA 5 2 2 2 16 AT HIDESSID Fu...

Page 56: ...e CR LF CR LF Parameters ap_site AP searched The first line of the return value is RSSI SSID BSSID Channel Encryption Authentication they are the signal strength network name MAC address channel mode...

Page 57: ...e effective But user can set this command when module configured as AP 5 2 2 2 22 AT LANN Function Set Query LAN setting only effective as AP mode Format Query Operation AT LANN CR ok address mask CR...

Page 58: ...ry Operation AT TCPTO CR ok time CR LF CR LF Set Operation AT TCPTO time CR ok CR LF CR LF Parameters time TCP timeout time 600 600s 0 0 means no timeout Default 300s TCP timeout module began to count...

Page 59: ...enable off TCPB disable After WIFI232 module boots up again the setting will be effective 5 2 2 2 28 AT TCPPTB Function Set Query TCPB port number Format Query Operation AT TCPPTB CR ok port CR LF CR...

Page 60: ...ot available 5 2 2 2 32 AT EPHY Function Open Close ETH interface Format Set Operation AT EPHY on off CR ok CR LF CR LF Parameters On off Off Close Ethernet port function On Open Ethernet port functio...

Page 61: ...2 2 2 35 AT FUDLX Function Enable Disable 485 function Format Query Operation AT FUDLX CR ok on off CR LF CR LF Set Operation AT FUDLX on off CR ok CR LF CR LF Parameters On off Enable or Disable 485...

Page 62: ...able or Disable Every time to send data to send ID function On enable Every time to send data to send ID function Off disable Every time to send data to send ID function Note The ID function requires...

Page 63: ...odule_id CR LF CR LF Parameters module_id MID information A11 yymmddnnnn yymmdd date nnnn serial number 5 2 2 2 43 AT VER Function Query module software version information Format Query Operation AT V...

Page 64: ...tocol header path Format Query Operation AT HTTPPH CR ok Path CR LF CR LF Set Operation AT HTTPPH Path CR ok CR LF CR LF Parameters Path Max length is 50 bytes 5 2 2 2 48 AT HTTPCN Function Set Query...

Page 65: ...Query Operation AT WSSSIDB CR ok ap s ssid CR LF CR LF Set Operation AT WSSSIDB ap s ssid CR ok CR LF CR LF Parameters ap s ssid AP s SSID This Instruction only effective for WIFI232 works as STA Afte...

Page 66: ...e effective But user can set this command when module configured as AP 5 2 2 2 54 AT WSKEYB Function Set query the second AP s password of 3 sta parameters settings Format Query Operation AT WSKEYB CR...

Page 67: ...s than 64 bit and greater than 8bit This Instruction only effective for WIFI232 works as STA After WIFI232 module boots up again the setting will be effective But user can set this command when module...

Page 68: ...use the notebook computer with a USB to serial line way the author uses the desktop and WIFI card form test desktop with serial Figure 43 Connection diagram On the serial connection module pin leads t...

Page 69: ...erial number this is COM10 choose 57600 baud rate such as the WIFI module serial default baud rate open the serial port Network settings in TCP client mode the server IP address input 10 10 100 254 th...

Page 70: ...n Because of the WIFI232 module default support for transparent transmission mode so now you can debug tools two way data all data will be wholly intact transmission to the other side of display The t...

Page 71: ...TCP232 Test we provide testing or just RXD TXD GND connected the three line to the computer please notice 6 2 Use Cases 6 2 1 Wireless Control Application Figure 47 Wireless Control Application For t...

Page 72: ...WIFI232 module configured as STA mode and setting the same SSID WIFI232 for this example with left side WIFI232 module enable DHCP network and network protocol configured as TCP Client mode protocol p...

Page 73: ...ll others configured as STA mode All WIFI232 which configured as STA and data server PC wireless connected to WIFI232 which configured as AP to make up a wires network Data server PC open TCP Server p...

Page 74: ...P or Static IP For this example 10 10 100 100 See STA Interface Setting Page Network Protocal TCP Client Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Set...

Page 75: ...figure Module 1 Setting Works as AP mode See Mode Selection Page LAN IP address 10 10 100 254 See AP Interface Setting Page Network Protocal UDP Port ID 8899 Application IP address 10 10 100 100 See...

Page 76: ...cation Setting Page as below Figure Protocol TCP Server Only Port ID required 8899 Default Figure 55 Module Network Protocols TCP Server Protocol TCP Client Application IP address required it s target...

Page 77: ...e Selection Page WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page Network Protocal TCP Server Port ID 8899 See Application Setting Page LAN IP address 10 10 99 254 Different...

Page 78: ...n module works as AP the IP address module can allocate to STA is from 10 10 100 100 to 10 10 100 200 So if user needs to set static IP for dedicated STA internal network the available IP address rang...

Page 79: ...9 254 Different net segment with WAN port Module 3 Setting Works as STA mode WAN connection type Static IP 10 10 100 102 Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 L...

Page 80: ...via UDP broadcast broadcast address xx xx xx 255 Port 48899 sent a password the default password is HF A11ASSISTHREAD the password can be used AT commands AT FASWD set up it s Up to 100 bytes 2 After...

Page 81: ...ights Except the responsibility declared in the product sale clause WAVEAHARE does not assume any other responsibilities In addition WAVEAHARE does not make any warranties for the sale and use of this...

Reviews: