background image

WIFI232-B2 User Manual 

 

 

 

 

30

 / 

102

 

 

 

 

 

 

Figure 22 WIFI232 Ethernet Interface Networking (STA, Z-Ver) 

 

For above networking, WIFI232 module works as STA (Firmware is Z-Version), and 

module configured as bridge mode. When module connect to AP. all devices connected 
to module Ethernet interface will get assigned IP addressed IP address from AP (For 
example: 192.168.1.101). For module works as bridge mode, it can be treated as a 
transparent device and PC1, PC2 can communicate without any limit. But in this 
networking, WIFI232 module needs assign a static LAN IP address (For example: 
192.168.1.10) if module also communication with AP or configuration through web 
page. 

4.5

 

WI-FI parameter setting 

4.5.1

 

Auto-Frequency Function 

 

When module works as STA, WIFI232 will adjust its wireless channel to keep the 

same channel with associated AP and connect in. 

 

When module works as AP and WIFI32 enable Auto-frequency function, then when 

module boot up, it will select the best wireless channel based on surrounding 
environment 

4.5.2

 

Security

 

 

WIFi232 module supports multiple wireless encryption mechanisms, and enables to 

protect the security of user’s

 data transmission, the mechanisms include: 

 

WEP 

 

WPA-PSK/TKIP 

 

WPA-PSK/AES 

 

WPS2-PSK/TKIP 

Содержание WIFI232-B2

Страница 1: ...2 B2 User Manual 1 102 WIFI232 User Manual Note This manual is based on the version of the module with firmware V5 01 01 and above If the module you use is older version some of the functions cannot b...

Страница 2: ...1 PINS DEFINITION 12 3 1 1 WIFI232 Pins Definition 12 3 2 MECHANICAL SIZE 14 3 2 1 Dimension of WIFI232 14 3 3 ANTENNA 15 3 3 1 On board Chip Antenna 15 3 4 EVALUATION KIT 16 3 5 HARDWARE REFERENCE D...

Страница 3: ...cket B 34 4 8 NEW FUNCTION 35 4 8 1 TCP password authentication 35 4 8 2 Upload ID 35 4 8 3 WEB IO 35 4 8 4 Keepalive 35 4 8 5 Multiple STA Parameters 36 4 8 6 Websocket Function 36 4 8 7 Fast access...

Страница 4: ...5 5 2 AT INSTRUCTION SET DESCRIPTION 58 5 2 1 Description of AT Instruction 58 6 MODULE DEBUG AND USE CASES 88 6 1 MODE DEBUG 88 6 1 1 Software Debug Tools 88 6 1 2 Network Connection 88 6 2 DEBUGGING...

Страница 5: ...t first and will have a 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 chap...

Страница 6: ...ault network name SSID of the module Join the network choose to automatically obtain IP WIFI module supports DHCP server and it is enabled by default Now the Link led of WIFI232 Evaluation board is li...

Страница 7: ...oftware TCP232 test 2 COM Setting area left Choose COM port which has been used to connect the module there is COM 10 choose baud rate to 57600 it is the default baud rate of WIFI module Then click Op...

Страница 8: ...o MAC baseband chip RF transceiver unit as well as the power amplifier Embedded firmware support wi fi protocols and configuration as well as the network TCP IP protocol stack WIFI232 uses the industr...

Страница 9: ...eat Signal WIFI connected prompting Support UART auto Frame Function Single 3 3V Power Supply FCC CE Certificated 2 3 Device Parameters Item Parameters Wireless Parameters Certification FCC CE Wireles...

Страница 10: ...28 TKIP AES Work Mode Transparent Mode Serial command HTTPD Client Mode GPIO Mode AT Command AT Instruction Set Network Protocol TCP UDP ARP ICMP DHCP DBS HTTP Max TCP Connection 32 User Configuration...

Страница 11: ...ke with N2 supplied Baked required with 24 hours at 125 5 C before rework process for two modules one is new module and two is board with module Recommend to store at 10 RH with vacuum packing If SMT...

Страница 12: ...ping information Figure 6 Shipping Information TRAY Size 420x245x34mm Note 1 tray 5x20 pcs 100 pcs 1 box 2 trays 2x100 pcs 200 pcs 1 carton 4 boxes 4x200 pcs 800 pcs 3 Hardware Introduction 3 1 Pins D...

Страница 13: ...tion Name Direction Note 1 GND GDN Power Ground 2 Vcc 3 3V 350mA 3 3V Power External Power 3 3V mA 3 UART Data Transmit UART_TXD O If not use UART function this 4 pins can be configured as GPIO pins a...

Страница 14: ...Indicate the module status of power on process nReady O 0 or Plmodic Signal Finish module boot up process 1 Module boot up not finish Can be configured as GPIO GPIO GPIO9 I O 10 Restore configuration...

Страница 15: ...nce around the higher components above 10MM Antenna cannot be shielded by any meal enclosure All cover include plastic shall away from antenna at least 10MM Make sure the antenna mounted on the edge o...

Страница 16: ...aluation kit to promote user to familiar the products and develop the detailed application The evaluation kit shown s below user can connect to WIFI232 module with the UAER poet 100M Eth port or Wirel...

Страница 17: ...There is 4 7K Ohm pull up resister internal up to 3 3V Then module will output 0 or Heartbeat Signal after normal boot up This signal used to judge if module finish boot up and ready for application o...

Страница 18: ...tion with Transformer User board put Ether transformer and RH 45 connector This is a general 10 100M Ethernet PHY layer connection The reference design as following Figure 13 PHY Layer Connection Refe...

Страница 19: ...make sure module WAN IP and LAN IP in different segment Modify the LAN IP in AP Settings modify the WAN IP in STA Settings AT FEPTP om CR Quey set default ethernet PHY PHY on off AT FEPGT on CR Open e...

Страница 20: ...dware configuration pin internal module So this pin must pull down during module power up WIFI232 modules provide internal pull down resister user cannot add pull up pull down resister on user board w...

Страница 21: ...ork Name SSID Security Mode Encryption Key TCP UDP Linking Parameters Protocol Type Link Type Server or client Target Port ID Number Target Port IP Address Serial Port Parameters Baud Rate Data Bit Pa...

Страница 22: ...or integrate wireless data transmission Note Transparent transmission mode is much simple User also could also open the serial port hardware flow control CTS RTS function so that we can make the bit e...

Страница 23: ...position is TCP waits for the timeout time 1 255 if the send command is completed did not receive a response then wait a few seconds and the corresponding if 5 said to wait for the 5S to disconnect i...

Страница 24: ...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 10 ms Response GPIO OK or GPIO NOK GPIO n GET Read GPIOn status...

Страница 25: ...0 Host 192 168 1 1 80 Data received from server will be directly sent to the serial port without any treatment Detailed about how to configure header of HTTP protocol please refer to chapter 5 2 2 45...

Страница 26: ...rk and all communication between STAs is transmitted through the AP The figure following shows such type of networking Figure 17 WIFI232 Basic Wireless Network Structure 4 3 2 AP Because WIFI232 can b...

Страница 27: ...support AP STA network mode means module support one AP interface and one STA interface at the same time as following figure Figure 19 WIFI232 AP STA Network Structure Module enable AP STA function m...

Страница 28: ...rm STA port cannot connect with AP at some time user can disable the STA scan through the following command AT STTC on off on scan AP off not scan AP This command is invalided after re powert AT FSTTC...

Страница 29: ...king STA N Ver WIFI232 module works as STA Software is N Version and module set as router mode When module connect to AP it will get wireless port IP address from AP For example 192 168 1 101 At the s...

Страница 30: ...2 module needs assign a static LAN IP address For example 192 168 1 10 if module also communication with AP or configuration through web page 4 5 WI FI parameter setting 4 5 1 Auto Frequency Function...

Страница 31: ...bits in HEX or 5 bits or 13 bits in ASCII The password of WPA PSK and WPA2 PSK is at least 8 bits 4 5 3 Search Function for STA When using web configuration STA Interface Setting Page user can push S...

Страница 32: ...ess Illegal intruders can create a wireless network with the same SSID ESSID it will make STAs in the network to join to the illegal AP thereby and then network leakage happen User can prevent STA fro...

Страница 33: ...trigger length and auto frame trigger time parameters then module will auto frame the data which received from UART port and transmitting to the network as pre defined data structure Auto Frame trigg...

Страница 34: ...truction When Socket A configured as TCP Server it supports Multi TCP link connection and maximum Multi TCP link connection will work as following structure Upstream All data from different TCP connec...

Страница 35: ...0 65535 the high byte before and low byte behind plus two bytes ID radix minus one complement For example if the module s ID is 1111 by default the first four bytes it sends to server are 0x04 0x57 0x...

Страница 36: ...ork Even if the current network signal is not exist it will keep searching instead of connecting to other networks Specific settings of this function please refer to section 4 5 3 You can also set thi...

Страница 37: ...1 fixed value 0xFF 2 length 2 Sum of data bytes from length byte to check byte Not contain length bytes and check byte 3 cmd 1 Command type 0x01 4 check 1 Sum of bytes from head byte not contain to c...

Страница 38: ...4 SSID of router2 is TEST2 signal strength of router2 is 55 Note The information of routers is ordered by signal strength Setting command No Name Num of Bytes Description 1 head 1 fixed value 0xFF 2 l...

Страница 39: ...ve two statuses Status 1 High before module finish booting Low after finishing boot User devices can inquiry this signal to check whether the module have finished booting Status 2 High before module f...

Страница 40: ...ble 0 disable parity bit 1 enable parity bit 5 4 parity bit type 00 ODD parity 01 EVEM parity 10 Mark 1 11 Clear 7 6 NC 00 set 0 Table 9 Addendum of RFC2217 Protocol 4 8 10 Parameters Configuration WI...

Страница 41: ...he IP address user name and password are as below Parameters Default Setting SSID WIFI232 IP Address 10 10 100 254 Subnet Mask 255 255 255 0 User Name admin Password admin Table 10 WIFI232 Web Managem...

Страница 42: ...ation module User follows the steps to configure the parameters and restart could make the module work normally With this way user can reduce the configuration steps and time Of cause the option on th...

Страница 43: ...uthentication can select whether open TCP password authentication Note This authentication only works when the module is set as TCP server After opening this function the fist data sent to module is p...

Страница 44: ...Page This page is used to set the parameters when WIFI232 works as STA There are two table on this page the first one is setting for STA including the SSID of AP which need to connect to security set...

Страница 45: ...terface Setting Page 4 9 7 Application Setting Page This page is used to setting the parameters of serial port communication such as UART setting UART Auto Frame Setting Ethernet function Device ID se...

Страница 46: ...mber the UDP Client of last communication and communicate with this UDP client If the module is work as UDP Client it could only communicate with target IP address If the module works as TCP Server IP...

Страница 47: ...set Ethernet port of module The Ethernet port can be opened or closed And can be configured as WAN port So the module can work as secondary router making it easy for users to network The specific sett...

Страница 48: ...Manual 48 102 Figure 35 HTTPD Client Mode Page 4 9 10 WEB IO Page Web IO page only be available when the module works in GPIO Mode This page sets the IO of module Figure 36 WEB IO Page 4 9 11 Advance...

Страница 49: ...he port mapping and DDNS can be in the public environment by entering the peanut shell domain name and port can quickly and easily find the module Figure 37 Advanced Setting Page 4 9 12 Device Managem...

Страница 50: ...will re boot up and refresh the memory information with new changes 4 9 13 Module Working Mode WIFI232 has various working mode By default Starting the module will enter transparent transmission mode...

Страница 51: ...o into AT instruction set configuration mode Figure 40 Switch to Configuration Mode Notes When user input and confirmation a the UART port will not echo as above figure User need to input and a as fas...

Страница 52: ...nstruction Set Overview 5 1 1 AT Instruction Set and WIFI232 Setup User can input AT Instruction through hyper terminal or other serial debug terminal also can program the AT Instruction to script Use...

Страница 53: ...t Parameters Click Open Com send a it will reply ok in left side Then type in and send the command on the right side after setting click AT RELD to restore Figure 44 Software of WIFI232 Setup The sett...

Страница 54: ...The optional part Command Message AT Prefix of command message CMD Command string op Symbol of command operator The command requires parameters setting NULL Query the current command parameters settin...

Страница 55: ...into transparent transmission mode NETP Set Query network protocol parameters UART Set Query serial port parameters UARTF Enable Disable UART auto frame function UARTFT Set Query UART auto frame trigg...

Страница 56: ...TCPB link status EPHY Enable Disable ETH interface RELD Restore to factory default setting FUDLX Enable Disable 485 function MMID Set module ID IDFIR Enable Disable function that send ID at first con...

Страница 57: ...first STA s encryption of three STA parameters settings WSKEYB Set Query the second STA s encryption of three STA parameters settings WSKEYC Set Query the third STA s encryption of three STA paramete...

Страница 58: ...ission mode the echo function is opened by default The first time you use this command is to close the function 5 2 1 2 AT ENTM Function Set module enter transparent transmission mode Format AT ENTM C...

Страница 59: ...tive after restart module 5 2 1 4 AT UART Function Set Query serial port parameters Format Query Operation AT UART CR ok baudrate data_bits stop_bit parity flowctrl CR LF CR LF Set Operation AT UART b...

Страница 60: ...LF Set Operation AT UARTF para CR ok CR LF CR LF Parameters para enable disable 5 2 1 6 AT UARTFT Function Set Query auto frame trigger time Format Query Operation AT UARTFT CR ok time CR LF CR LF Set...

Страница 61: ...Function Set Query data transmission type Format Query Operation AT TMODE CR ok tmode CR LF CR LF Query Operation AT TMODE tmode CR ok CR LF CR LF Parameters tmode Through Agreement GPIO Httpdclient...

Страница 62: ...t the module 5 2 1 10 AT WSKEY Function Set Query WIIFI encryption parameters as STA Format Query Operation AT WSKEY CR ok auth encry key CR LF CR LF Set Operation AT WSKEY auth encry key CR ok CR LF...

Страница 63: ...AT WSSSID Function Set Query WIFI target AP SSID parameters as STA Format Query Operation AT WSSSID CR ok ap s ssid CR LF CR LF Set Operation AT WSSSID ap s ssid CR ok CR LF CR LF Parameters ap s ssid...

Страница 64: ...Set Operation AT WEBU user password CR ok CR LF CR LF Parameters user user name for WEB page access password password for WEB page access 5 2 1 14 AT WAP Function Set Query WIFI parameters as AP Form...

Страница 65: ...ryption parameters at AP mode Format Query Operation AT WAKEY CR ok auth encry_key CR LF CR LF Set Operation AT WAKEY auth encry_key CR ok CR LF CR LF Parameters auth OPEN SHARED WPAPSK encry NONE ava...

Страница 66: ...LF Set Operation AT MSLP on off CR ok CR LF CR LF Parameters sta on off Notes Set off make the module enter sleep mode Set on to exit from sleep mode If the module is at sleep mode use can input AT M...

Страница 67: ...Format Query Operation AT TCPDIS CR ok sta CR LF CR LF Set Operation AT TCPDIS on off CR ok CR LF CR LF Parameters sta on TCP link available Module will connect to TCP server right now off TCP link u...

Страница 68: ...uery LAN port setting available at AP mode Format Query Operation AT LANN CR ok address mask CR LF CR LF Set Operation AT LANN address mask CR ok CR LF CR LF Parameters address IP address of LAN port...

Страница 69: ...initiatively reconnect to TCP Server If the module works as TCP server it requires TCP Client to reconnect to module initiatively 5 2 1 23 AT MAXSK Function Set Query the maximum TCP connection Forma...

Страница 70: ...ective after restart the module 5 2 1 25 AT TCPPTB Function Set Query the port number of the TCPB Format Query Operation AT TCPPTB CR ok port CR LF CR LF Set Operation AT TCPPTB port CR ok port CR LF...

Страница 71: ...restart the module 5 2 1 27 AT TCPTOB Function Set Query timeout of TCPB Format Query Operation AT TCPTOB CR ok time CR LF CR LF Set Operation AT TCPTOB time CR ok CR LF CR LF Parameters time 600s and...

Страница 72: ...FVEW disable enable and switch the module to work at LAN port disable or WAN port enable It is effective after restart 5 2 1 30 AT FUDLX Function Enable Disable RS485 Format AT FUDLX on off CR ok CR...

Страница 73: ...ould be handled on server When the module connects to server it will plus two bytes ID 0 65535 high byte first and low byte follow and two bytes radix minus one complement of ID For example if the ID...

Страница 74: ...ult 5 2 1 37 AT DOMAIN Function Set Query domain name of WEB page login Format Query Operation AT DOMAIN CR ok name CR LF CR LF Set Operation AT DOMAIN name CR ok CR LF CR LF Parameters name the domai...

Страница 75: ...ule_id A11 yymmddnnn yymmdd Production Data Year Month Day nnnn Production Serial Number 5 2 1 41 AT VER Function Query software version Format AT VER CR ok ver CR LF CR LF Parameters ver version of s...

Страница 76: ...AT HTPMODE Function Switch setting type of HTTP socket header HTTPD Client Format Query Operation AT HTPMODE CR ok type CR LF CR LF Set Operation AT HTPMODE type CR ok CR LF CR LF Parameters type new...

Страница 77: ...type GET PUT POST 5 2 1 46 AT HTTPPH Function Set Query path of HTTP protocol header Format Query Operation AT HTTPPH CR ok path CR LF CR LF Set Operation AT HTTPPH path CR ok CR LF CR LF Parameter pa...

Страница 78: ...CR LF Set Operation AT HTTPUA User Agent CR ok CR LF CR LF Parameters User Agent User Agent of HTTP protocol header 5 2 1 49 AT HTPSV Function Set Query IP and Port number of HTTP Server New Format Qu...

Страница 79: ...GET PUT POST Note This setting only valid at HTTPD Client mode and it is effective after restart module Can be set at other modes 5 2 1 51 AT HTPURL Function Set Query path of HTTP protocol header Ne...

Страница 80: ...irst AP s SSID of three STA parameters settings Format Query Operation AT WSSSIDA CR ok ap s ssid CR LF CR LF Set Operation AT WSSSIDA ap s ssid CR ok CR LF CR LF Parameters ap s ssid SSID of AP Note...

Страница 81: ...CR ok ap s ssid CR LF CCR LF Set Operation AT WSSSID ap s ssid CR ok CR LF CCR LF Parameters ap s ssid SSID of AP Note This setting is only valid at STA mode and it is effective after restart module...

Страница 82: ...its ASCII 8 bits and 64 bits Note The setting is valid at STA mode it is effective after restart module Can be set at AP mode as well 5 2 1 57 AT WSKEYB Function Set Query the second AP s password of...

Страница 83: ...module Can be set at AP mode as well 5 2 1 58 AT WSKEYC Function Set Query the third AP s password of three STA parameters settings Format Query Operation AT WSKEYC CR ok auth encry key CR LF CR LF Se...

Страница 84: ...rs setting Format Query Operation AT WSQY CR ok ret CR LF CR LF Set Operation AT WSQY ret CR ok CR LF CR LF Parameters ret percentage of signal strength Note If you set the parameters to 100 module wi...

Страница 85: ...ARTEN sta CR ok CR LF CR LF Parameters sta on the heartbeat packet function is enable off the heartbeat packet function is disable Note The setting is effective after restart module 5 2 1 62 AT HEARTT...

Страница 86: ...meters usr the length much less than 40 bytes HEX 5 2 1 64 AT HEARTTM Function Set Query interval of heartbeat packet transmission Format Query Operation AT HEARTTM CR ok time CR LF CR LF Set Operatio...

Страница 87: ...T Function Set Query the time of Boot Timing Format Query Operation AT REBOOTT CR ok time CR LF CR LF Set Operation AT REBOOTT time CR ok CR LF CR LF Parameters time 1 720h It is 24h by default 5 2 1...

Страница 88: ...1 Software Debug Tools In order to facilitate the use please use TCP232 Test which is the serial and network debugging two in one function 6 1 2 Network Connection In order to test the serial port to...

Страница 89: ...mputer in order to facilitate the user to test the use of module We provide a variety of floor for the user to choose here in the case of WIFI232 Hardware connectivity for module power supply the red...

Страница 90: ...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 this is WIFI mo...

Страница 91: ...fault 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 testing process can be seen in modu...

Страница 92: ...D GND connected the three lines to the computer please notice 6 3 Use Cases 6 3 1 Wireless Control Application Figure 50 Wireless Control Application For this wireless control application WIFI232 work...

Страница 93: ...pplication For left side WIFI232 module configured as AP mode and use default SSID and IP address network protocol configured as TCP Server mode and protocol port ID 8899 For right side WIFI232 module...

Страница 94: ...cts with a WIFI232 module to support wireless connection function Figure 53 Wireless Data Acquisition Card Application As above figure one WIFI232 configured as AP mode and all others configured as ST...

Страница 95: ...IP For example 10 10 100 100 Network Protocol TCP Client Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 Note When module 2 works s STA mode module s WIFI interface works...

Страница 96: ...Setting Works as AP mode LAN IP address 10 10 100 254 Network Protocol UDP Port ID 8899 Application IP address 10 10 100 100 Module 2 Setting Works as STA mode WAN connection type Static IP 10 10 100...

Страница 97: ...odule network protocol TCP UDP A4 WIFI232 network protocol setting as below Figure Protocol TCP Server Only Port ID required 8899 Default Protocol TCP Client Application IP address required it s targe...

Страница 98: ...e Module 1 Setting We use WIFI232 as AP for this example Works as AP mode and all default setting Module 2 Setting Works as STA mode WAN connection type Static IP 10 10 100 100 Network Protocol TCP Se...

Страница 99: ...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...

Страница 100: ...100 Module 2 Setting Works as STA mode WAN connection type Static IP 10 10 100 101 Network Protocol TCP Client Port ID 8899 Application IP address 10 10 100 100 LAN IP address 10 10 99 254 Different n...

Страница 101: ...wifi module supports UDP search they will return to their respective IP MAC MID detailed search process is as follows 1 PC via UDP broadcast broadcast address xx xx xx 255 Port 48899 sent a password...

Страница 102: ...t 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 product in...

Отзывы: