Home
Datasheet
Contents
1. 0 No WIFI connection Indicate the module nReady 0 or Palmodic Signal status of power on Finish module boot up process process GPIO GPIO9 1 Module boot up not finish M be configured as GPIO Restore configuration mRebad fl O Module will Restore factory GPIO GPIO10 default configuration after set this pin 0 more than 1s then set 1 Ethernet Input PHY RX mn 1 8V Ethernet Data Interface 12 Ethernet Input PHY RX Support transformer and direct 13 Ethernet Output PHY TX O connection AC couple mode 44 Ethernet Output PHY TX o SMD type module Pins Map nLINK NC nRST 4 NC nReady PHY RX nReload Gees SR PHY_TX GND PHY_TX GND UART CTS UART1 RXD UART RTS UART1 TXD UART ps Output 1 8V UART TXD GND GND ANT 3 3V GND 3 3V Figure 2 USR WIFI232 X Pins Map Jinan USR IOT Technology Limited tec Qusr cn O BARE A Usr cn USR WIFI232 A B C User Manual http en usr cn Pin type module Definition SMD type module Definition 3 18 19 GND GND Power Ground 20 24 26 VCC 3 3V Power 3 3V 350mA power input UART Data Transmit UART TXD ER If not use UART function this 4 pins can GPIO GPIO be configured as GPIO pins and can change GPIO pin status GPIO GPIO UART sends request of UART_RTS data transmission GPIO GPIO e UART receives data UART CTS transmission permission GPIO Go 1 8V Ethernet Data EM Ethernet o
2. Query Operation AT TMODE lt CR gt ok lt tmode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TMODE lt tmode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters tmode Data transmission mode lt Through Transparent transmission lt Agreement Agreement transmission After USR WIFI232 X module boots up again the setting will be effective 4 2 2 9 AT WMODE B Function Set Query WIFI work mode B Format Query Operation AT WMODE lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WMODE lt mode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mode WIFI work mode gt AP gt STA After USR WIFI232 X module boots up again the setting will be effective 4 2 2 10 AT WSKEY B Function Set Query WIFI security parameters as STA m Format Query Operation Jinan USR IOT Technology Limited Page 50 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn AT WSKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSKEY lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters auth Authentication mode OPEN SHARED v WPAPSK encry Encryption algorithm NONE When auth OPEN effective ze WEP When auth OPEN or SHARED effective lt TKIP
3. nReload Module restore to factory default configuration Input Logics O effective User can assert nReload signal 0 more than 3 s through button or MCU pin then release module will restore to factory default configuration and re start boot up process User need add 4 7K 10K Ohm pull up resister external the module If not use this function then can use AT command AT FRLDEN off to disable it Jinan USR IOT Technology Limited Page 17 of 70 tec Qusr cn Qe A UART_TXD RXD UART port data transmit and receive signal There is 1K Ohm pull down resister internal User can t add pull up resister at these pins BARR Usr cn USR WIFI232 A B C User Manual http en usr cn 1 3 2 10 100M Ethernet Interface USR WIFI232 X modules provide one 10 100M Ethernet PHY layer interface for data transition or user configuration This Ethernet support with transformer and without transformer PHY to PHY 2 kinds of connection 1 3 2 1 Ethernet Connection with Transformer User board put Ethernet transformer and RJ 45 connector This is a general 10 100M Ethernet phy layer connection The reference design as following USR WIF 1232 F CMT4 2 1 U19 SE R172 75 10 PHY TXTXOMA 1 16 MA4 1 X 2 15 LT XOP4 SII a 14 Si 3 L xl 2 1 4 PHY RX4RXMA 5J 12 R173 75 6 11 MB4 6 PHY RX4RXIP4 10 7 7 mees e mg R174 75 9 C161 hn1674CG C163 SES i L CHGND RJ 45X1P omg 1 000pF 2K V NI oO EE be GND Above is for
4. O s iu A Usr cn USR WIFI232 A B C User Manual http en usr cn 5 PACKAGE INFORMATION 5 1 Shipping Information TRAY Size pl mm ji i Di J Al Du Wu ii ri d ak VE KW M M MALI i NUI MN NG AL d m 2 Wo Loi D d CARTON BOX Size 450 250 80 mm Figure 41 Shipping Information Note 1 tray 5 20pcs 100 pcs 1 box 2 trays 2 100 pcs 200pcs 1 carton 4 boxes 4 200 pcs 800pcs Jinan USR IOT Technology Limited Page 61 of 70 tec Qusr cn BARE Uer cn USR WIFI232 A B C User Manual http en usr cn APPENDIX A QUESTIONS AND ANSWERS Q1 How to configure transparent serial port application TCP protocol with two WIFI modules gt Network structure as below figure m Module 1 Setting lt gt Works as AP mode See Mode Selection Page lt LAN IP address 10 10 100 254 See AP Interface Setting Page lt Network Protocal T CP Server Port ID 8899 See Application Setting Page Module default setting m Module 2 Setting lt Works as STA mode See Mode Selection Page ze WAN connection type DHCP or Static IP For this example 10 10 100 100 See STA Interface Setting Page lt Network Protocal TCP Client Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Setting Page lt Notes When module 24 works as STA mode module s WiFi interface works as WAN port Module s WAN IP address and
5. lt On Open Ethernet port function If you want to keep the Ethernet port open please use the AT FEPHY on Close modules Ethernet port function can reduce the power consumption The default setting for USR WIFI232 X is close Ethernet port function Jinan USR IOT Technology Limited Page 58 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn 4 2 2 33 AT STTC E Function Enable Disable STA port scan function B Format Query Operation AT STTC lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT STTC lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters Sta when query this value feedback ze On Enable STA port scan function lt Off Disable STA port scan function 4 2 2 34 AT DOMAIN B Function Set Query domain of module webpage B Format Query Operation AT DOMAIN lt CR gt ok lt domian gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT DOMAIN lt domain gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters lt domain domain to access to module webpage 4 2 2 35 AT FRLDEN B Function Enable Disable nReload pin function m Format Query Operation AT FRLDEN lt CR gt ok lt on off gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT FRELDEN lt on 0ff gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters On off Enable or Disable
6. TURT NN 21 TAPT NN veden 21 1 4 Software Reference Ueeign eee enne nee enne nennen nnn enn ee nnn nn nens 21 1 4 1 Transparent Transmission Mode nne nennen enne 22 1 4 2 Configuration e RR 23 1 4 3 Multi TCP Link Connection r rrrnvrrvnnnsrrrsnvrrnnnssrrnnnnrnnnnnnsrrnnnrnnnnnneennnrrrnnessennnnnrnnnssssnnnnne 23 UE MES uar GU ON E 23 VS POTIN hr 24 LE E D Sn 24 2 FRON PES PO ee 25 2 1 Wireless Networkmg nennen nennen nennen nen eren nennen nere rena n seen en enn nn s 25 2 1 1 Basic Wireless Network Based On AP ntrasiruchuret 25 2 1 2 Wireless Network Based On Adhoc Network Adhoc eese 26 2 1 3 Wireless Network Based On AbxGIA eene eene enne nennen 26 2 2 Auto Frequency FUNCTION 0000 00 cccccsssscecccecsssssceeccccssssueeeeccesessneeesccecesstsseeceeeessssseeeecesseas 2f SNC E 28 STENENE 28 2A l VARI EEE 28 2 4 2 UART Auto krame essen eene nennen eene ee nene ren nn ese enne nnne s nennen nne e eene nas 28 Ze SS INN RNC mm 28 2 6 Ethernet Interface Communication 29 2 6 1 USR WIFI232 X Ethernet Interface Networking AS Ab 29 2 6 2 USR WIFI232 X Ethernet Interface Networking As STA Nvert 29 2 6 3 USR WIFI232 X Ethernet Interface Networking As STA Z Ver 30 2 JSFN TOMS A RR T 30 Zoe ei leie 30 2 9 Network Drotocol cc ccccecscccccccesssssec
7. lt CMD gt op para 1 para 2 para 3 para 4 lt CR gt B AT Prefix of command message B CMD Command string B op Symbol of command operator The command requires parameters input NULL Query the current command parameters setting B para n Parameters input for setting if required B lt CR gt Enter Key it s OxOa or OxOd in ASCII Notes When input AT Instruction AT lt CMD gt character will display capital letter automatic and other parts will not change as you input Response Message RSP op para 1 para 2 para 3 para 4 lt CR gt lt LF gt lt CR gt lt LF gt B Prefix of response message B RSP Response string ok Success ERR Failure op para n Parameters if query command or Error code when error happened CR ASCII 0x0d lt LF gt ASCIII Ox0a gt Error Code Table 6 Error Code Description USR WIFI232 X Web Access Default Setting EE Command Format Invalid Operation Symbol Invalid Parameter Operation Not Permitted 4 2 2 AT Instruction Set Table 7 AT Instruction Set List Instruction Description 0 0 0 0 null E Open Close show back function NETP Set Query network protocol parameters UART Set Query serial port parameters UARTF Open Close UART auto frame function Jinan USR IOT Technology Limited Page 46 of 70 tec Qusr cn BAR Usr cn USR WIFI232 A B C User Manual http en usr cn UARTFT UARTFL
8. 6 Device Management Page This page use to manage USR WIFI232 X module general setting such as administrator setting restart module button restore factory default setting button and update firmware through webpage Jinan USR IOT Technology Limited Page 36 of 70 tec usr cn OT BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn m Mode Selection Device Management 4 01 11 You may configure administrator account and password load default setting or update firware E Device Management Adminstrator Settings Account admin Password admin Restart Module Restart Module Load Factory Defaults Load Default Button Load Default Update Firmware Location P Figure 29 Device Management Page Notes Restart module button When you setting 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 refresh the memory information with new changes 3 2 USR WIFI232 X Usage Introduction 3 2 1 Software Debug Tools In order to facilitate the use of my company development of the serial and network debugging two in one test software USR TCP232 Test amp 3 USR TCP232 Test exe In order to test the serial port to the WIFI network address conversion we will module serial connected 3 2 2 Network Connection with the computer network and com
9. HF A11x_AP STA SSID HF A11x_AP LAN IP 10 10 100 254 WAN IP DHCP Net Prot TCP Server Net Prot TCP Client Protocol Port 8899 Protocol Port 8899 LAN IP add 10 10 99 254 Figure 36 Transparent Serial Port Application For left side USR WIFI232 X module configured as AP mode and use default SSID and IP address network protocol configured as TCP Server mode and protocol port ID 8899 Jinan USR IOT Technology Limited Page 41 of 70 tec usr cn Qe A For right side USR WIFI232 X module configured as STA mode and setting the same SSID CHE A11 AP for this example with left side USR WIFI232 X module enable DHCP network and network protocol configured as TCP Client mode protocol port ID 8899 Target IP address part setting the same IP address with left side USR WIFI232 X module 10 10 100 254 for this example BARR Usr cn USR WIFI232 A B C User Manual http en usr cn When right side USR WIFI232 X boot up it will find wireless AP SSID HF A11 AP for this example and open TCP Client network protocol to connect with left side module s TCP Server All these operation will be automatic and after finished the two user devices connected to USR WIFI232 X module through serial port can communicate each other and think the connection between them is fully transparent Note LAN IP address and WAN port should in different segment as picture shown we change to 10 10 99 254 the address get from left module WAN port DHCP is 1
10. TCP Server m Protocol TCP Client lt Application IP address required it s target TCP server s IP address lt gt Port ID required 8899 Default Mode Client v Protocol TCP D Port pog IP Address 10101010 TCP Time out MAX 600 5 300 cancel Figure 6 Module Network Protocol TCP Client m Protocol UDP lt No Server Client selection required lt Application IP address required it s target device s IP address lt gt Port ID required 8899 Default Jinan USR IOT Technology Limited Page 64 of 70 tec usr cn BARR Usr cn USR WIFI232 A B C User Manual http en usr cn Net Setting Mode Protocol Port 8899 IP Address 10 10 10 100 Figure 7 Module Network Protocol UDP Q5 How to configure transparent serial port application Two WIFI modules all configured as STA and connection through AP gt Network structure as below figure B Module 1 Setting We use USR WIFI232 X as AP for this example lt Works as AP mode and all default setting B Module 2 Setting lt gt Works as STA mode See Mode Selection Page lt WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page lt Network Protocal T CP Server Port ID 8899 See Application Setting Page lt LAN IP address 10 10 99 254 Different net segment with WAN port See AP Interface Setting Page B Module 3 Setting lt gt Works as STA mode See Mode Selection Page lt WAN connec
11. TMODE Set Query data transmission mode WMODE WSKEY Set Query WIFI security parameters as STA WSSSID Set Query WIFI target AP SSID parameters as STA WSLK Query WiFi link status as STA WEBU oet Query WEB page login parameters User Name and Password WAP oet Query WIFI parameters as AP WAKEY Set Query WIFI security parameters as AP HID Set Query hide AP s SSID WSCAN TOPLK TOPDIS WANN DHCPDEN DHCPGW TCPTO MAXSK TOPE TOPPTB TOPADDB TOPTOB TOPLKB STIG DOMAIN Re starimodue MSLP Set modules into power save mode Turn OFF WiFi Re start module MID Query module ID information VER Query module software version information Help I Notes USR WIFI232 X module can works as AP or STA user have to use different AT Instruction to set WiFi parameters when module works as AP or STA mode 4 2 2 1 AT E B Function Open Close show back function m Format AT E lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 47 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn When USR WIFI232 X module firstly switch from transparent transmission to configuration mode show back status is open input AT E to close show back function input AT E again to open show back function 4 2 2 2 AT ENTM B Function Set module into transparent transmission mode m Format AT ENTM lt CR gt ok lt CR gt lt LF gt lt CR gt
12. USR WIFI232 X power up it will default works as transparent transmission mode then user can switch to configuration mode by serial port command USR WIFI232 X UART default parameters setting as below figure vart setta Baudrate 57600 e Data Bits 9 Parity None e v Stop CTSRTS Disable Figure 38 USR WIFI232 X Default UART Port Parameters In configuration mode user can setting the module through AT instruction set which cover all web page setting function 4 1 1 Switch to Configuration Mode Two steps to finish switching from transparent transmission mode to configuration mode gt UART input after module receive and feedback a as confirmation gt UART input a after module receive a and feedback tok to go into AT instruction set configuration mode B Serial CON3S SecureCkT TFE FEE BEM MO ei BES TAL ew 33 384953535198 Serial COM3 ara Serial COM3 3 1 2647 909 vT100 Figure 39 Switch to Configuration Mode Notes 1 When user input No Enter key required the UART port will display feedback information a and not display input information as above UART display Jinan USR IOT Technology Limited Page 43 of 70 tec Qusr cn Qe A 2 Any other input or wro ng step to UART port will cause the module still works as original mode BARK Usr cn USR WIFI232 A B C User Manual http en usr cn transp
13. WIFI232 X Web Access Default Setting Parameters Default Setting SSID HF A11 AP IP Address 10 10 100 254 User Name 3 1 1 Open Web Management Interface Step 1 Connect laptop to SSID HF A11 AP of USR WIFI232 X module via wireless LAN card Step 2 After wireless connection OK Open Wen browser and access http 10 10 100 254 Step 3 Then input user name and password in the page as following and click OK button Connect to 10 10 10 254 The server 10 10 10 254 at GoAhead requires a username and password Warning This server is requesting that your username and password be sent in an insecure manner basic authentication without a secure connection User name Password Figure 24 Open Web Management page The USR WIFI232 X web management page support English and Chinese language User can select language environment at the top right corner and click Apply button The main menu include five pages Mode Selection AP Interface Setting STA Interface Setting Application Setting and Device Management Jinan USR IOT Technology Limited Page 33 of 70 tec Qusr cn Qe A 3 1 2 Mode Selection Page BARE Usr cn USR WIFI232 A B C User Manual http en usr cn This page use to setting the wireless networking mode AP and STA mode m Mode Selection Working Mode Configuration AP Interface Setting You may configure the Uart WIFI module wifi mode and data transfor mode i STA Interf
14. When auth WPAPSK effective lt AES When auth WPAPSK effective key password ASCII code shall less than 64 bit and greater than 8bit This Instruction only effective for USR WIFI232 X works as STA After USR WIFI232 X module boots up again the setting will be effective But user can set this command when module configured as AP 4 2 2 11 AT WSSSID B Function Set Query WIFI target AP SSID parameters as STA B Format Query Operation AT WSSSID lt CR gt ok lt ap s ssid gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSSSID lt ap s ssid gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ap s ssid AP s SSID This Instruction only effective for USR WIFI232 X works as STA After USR WIFI232 X module boots up again the setting will be effective But user can set this command when module configured as AP 4 2 2 12 AT WSLK B Function Query WiFi link status as STA m Format Query Operation AT WSLK lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ret ze Disconnected if no WiFi connection AP SSID CAP s MAC if WiFi connection available gt RE Off if WiFi OFF Jinan USR IOT Technology Limited Page 51 of 70 tec Qusr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn This Instruction only effective for USR WIFI232 X works as STA After USR WIFI232 X module boots up ag
15. encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAKEY lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters auth Authentication mode gt OPEN lt SHARED lt WPAPSK encry Encryption algorithm NONE When auth OPEN effective WEP When auth OPEN effective or SHARED effective TKIP When auth WPAPSK effective AES When auth WPAPSK effective ze TKIPAES When auth WPAPSK effective key password ASCII code shall less than 64 bit and greater than 8bit This Instruction only effective for USR WIFI232 X works as AP After USR WIFI232 X module boots up again the setting will be effective But user can set this command when module configured as STA gt 4 2 2 16 AT HIDESSID B Function Set Query hide AP s SSID B Format Query Operation AT HIDSSID lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HIDSSIDz sta CR ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters When Query sta reply if module s SSID is hide ze On not hide SSID lt gt Off hide SSID When Set lt gt Off hide SSID lt On not hide SSID 4 2 2 17 AT MSLP m Function Set modules into power save mode Turn OFF WiFi m Format Query Operation AT MSLP lt CR gt Jinan USR IOT Technology Limited Page 53 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232
16. enne nnne 11 Table 3 USR WIFI232 X External Antenna Harameters 14 Table A USR WIFI232 X Evaluation Kit Interface Uescrpton 15 Table5 USR WIFI232 X Web Access Default Gettnmg 33 Table 6 Error Code DescribtionUSR WIFI232 X Web Access Default Setting 46 Table 7 ARR HON SOL E m 46 Jinan USR IOT Technology Limited Page 6 of 70 tec usr cn BARE Uer cn USR WIFI232 A B C User Manual http en usr cn HISTORY Ed V3 1 Created on 1 14 2012 Ed V4 0 Update AT command information on 6 25 2012 Ed V4 1 Update 2 1 3 AT STA function using notes and related commands Add built in antenna 1 2 3 Update Appendix B C on 10 15 2012 Ed V4 2 Update EVB reference design and picture Ed V4 3 Update on 12 01 Remove Agreement transmission function Remove WDS function support Add AT command AT DOMAIN AT FRLDEN AT DHCPDEN AT HIDESSID Jinan USR IOT Technology Limited Page 7 of 70 tec usr cn BAR Uer cn USR WIFI232 A B C User Manual http en usr cn 1 PRODUCT OVERVIEW 1 1 General Specification Table 1 USR WIFI232 X Module Technical Specifications cass tem Iess Wireless Parameters Receiver Sensitivity hel Sei External l PEX Connector ntenna ion P Internal On board chip antenna UART 1200bps 230400bps Data Interface GPIOs Ethernet 100Mpbs Hardware Parameters Security Mechanisms Software n TCP UDP ARP ICMP DHCP DNS HTT Network Protocol p Max TCP Connection User Co
17. http en usr cn connected to the same wireless network AT instruction set configuration means user configure parameters through serial interface command Refer to AT instruction set chapter for more detail Notes USR can customized the parameters setting as customer request and ship USR WIFI232 X modules with these parameters as factory default configuration It will reduce user s module configuration time for mass production Also if user need different parameters setting for every module USR can provide the auto configuration tool to speed up the module configuration duration Please contact USR technical interface to acquire this tool if required 2 11 Firmware Upgrade USR WIFI232 X module supports firmware upgrade online 2 12 GPIO Function USR WIFI232 X module can provide maximum 7 GPIO pins which include 4 UART pins and 3 general use pins can be customized as GPIO pins if these functions are required As GPIO functional pin user devices can read write GPIO pins status through specific commands Jinan USR IOT Technology Limited Page 32 of 70 tec Qusr cn Qe A BARR Usr cn USR WIFI232 A B C User Manual http en usr cn 3 OPERATION GUIDELINE 3 1 Configuration via Web Accessing When first use USR WIFI232 X modules user may need some configuration User can connect to USR WIFI232 X modules wireless interface with following default setting information and configure the module through laptop Table 5 USR
18. lt LF gt When operate this command module switch from configuration mode to transparent transmission mode 4 2 2 3 AT NETP B Function Set Query network protocol parameters B Format Query Operation AT NETP lt CR gt ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NETP lt protocol CS port IP gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters protocol TCP lt UDP CS Network mode SERVER ze CLIENT Port protocol port ID Decimal digit and less than 65535 IP Server s IP address when module set as client After USR WIFI232 X module boots up again the setting will be effective 4 2 2 4 AT UART B Function Set Query serial port parameters B Format Query Operation AT UART lt CR gt ok lt baudrate data bits stop bit parityflowctri gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data_bits stop_bit parity gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 48 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn B Parameters baudrate lt gt 50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 19200 38400 576 00 115200 230400 345600 460800 data bits 5 6 7 8 stop bits lt 1 2 parity lt NONE EVEN ODD MARK SPACE flowctrl hardware flow control CTSRT
19. tec usr cn BARR Usr cn USR WIFI232 A B C User Manual http en usr cn gt Wireless Network Parameters m Wireless Network Name SSID B Security Mode m Encryption Key gt TCP UDP Linking Parameters B Protocol Type B Link Type Server or Client B Target Port ID Number B Target Port IP Address Serial Port Parameters B Baud Rate m Data Bit m Parity Check Bit B Stop Bit B Hardware Flow Control gt Work Mode Selection B Transparent transmission Transparent transmission demo as showing in the following figure a USR WIFI232 X module can be taken as a virtual serial line when UART interface working in transparent transmission mode And user device will realize wireless data transmission almost without any changes ART User Device Wg User Device USR WIFI232 x USR WIFI232 X 3 Figure 23 USR WIFI232 X Transparent Transmission Demo 2 9 Network Protocol USR WIFI232 X module supports TCP UDP network protocol and the port parameters can be set via web accessing or AT instruction set 2 10 Parameters Configuration USR WIFI232 X module supports two methods to configuration parameters Web Accessing and AT instruction set Web accessing means users can configure parameters through built in webpage When USR WIFI232 X module connected to wireless network parameters configuration is done on a PC Jinan USR IOT Technology Limited Page 31 of 70 tec Qusr cn BARK A Usr cn USR WIFI232 A B C User Manual
20. 0 10 100 xxx 3 2 Wireless Data Acquisition Card Application For this wireless data acquisition card application one PC works as data server and every data acquisition card connects with a USR WIFI232 X module to support wireless connection function AP SSID HF A11x_AP LAN IP 10 10 100 254 Net Prot TCP Client 10 10 100 100 8899 User Device IP 10 10 100 100 Net Prot TCP Server 8899 verts ys v ow USR WIFI232 X Mox W d j User Device User Device W cm User Device UART SP mm USR WIFI232 X STA SSID HF A11x AP STA SSID HF A11x AP LAN IP 10 10 99 254 LAN IP 10 10 98 254 WAN IP 10 10 100 101 Net Prot TCP Client 10 10 100 100 8899 WAN IP 10 10 100 102 Net Prot TCP Client 10 10 100 100 8899 Figure 37 Wireless Data Acquisition Card Application As above figure one USR WIFI232 X configured as AP mode and all others configured as STA mode All USR WIFI232 X which configured as STA and data server PC wireless connected to USR WIFI232 X which configured as AP to make up a wires network Data server PC open TCP Server protocol and all USR WIFI232 X modules open TCP Client protocol All data acquisition cards data and sampling information can be transmitted to data server PC for operation Jinan USR IOT Technology Limited Page 42 of 70 tec usr cn 92 BAR 8 Us cn USR WIFI232 A B C User Manual 4 AT INSTRUCTION INTRODUCTION http en usr cn 4 1 Configuration Mode When
21. 115200 AT ENTM Jinan USR IOT Technology Limited Page 44 of 70 tec usr cn BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn Click Open Com send a it will reply ok in left side then type in and send the command you need to send then click AT RELD to restore then parameters saved USR WIFI232 Setup V1 1 0 Common oprate r Oprate via COM AT H AT RELD AT VER AT Z 1 SS ESN era Send command via iv COM NET TEE 115200 TOR AT FLOGO YRKJ send WIFI232 L default 115200 E Others 57600 eee AT W ach 5 d Oprate via Net ov Eel men AT FVER 2 imd aa Send Module IP MAL Version AT FEPTP off send logs Help 1 Search module in LAN 2 Click searched device 3 Click button to oprate IP 10 10 100 254 Clear AT W AT Q Above is by COM also you can send by WIFI First connect with PC open the software see Net part 3 mn M TM Click search then will show module click module then you can send command 4 2 1 Instruction Syntax Format AT Instruction protocol is based on the instruction of ASCII command style the description of syntax format as follow Format Description B lt gt Means the parts must be included B Means the optional part gt Command Message Jinan USR IOT Technology Limited Page 45 of 70 tec usr cn OT BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn AT
22. A B C User Manual http en usr cn ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MSLP lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters When Query sta reply if the module in sleep mode lt On Module not in sleep mode WiFi ON lt Off Module in sleep mode WiFi OFF When Set lt Off Set module to sleep mode WiFi OFF lt On Set module to normal mode WiFi ON When module go into sleep mode user can input AT MSLP o0n to re start the module and module go into transparent transmission mode 4 2 2 18 AT WSCAN B Function Seek AP when module works as STA mode B Format AT WSCAN lt CR gt ok lt ap_site gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ap site AP searched 4 2 2 19 AT TCPLK B Function Query if TCP link already build up B Format AT TCPLK lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters sta if module already setup TCP link lt on TCP link setup lt off TCP link not setup 4 2 2 20 AT TCPDIS m Function Open Cose TCP Only TCP Client available m Format Query Operation AT TCPDIS lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDISz on off CR ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta set query TCP link status Jinan USR IOT Technology Limited Page 54
23. BARR Usr cn USR WIFI232 A B C User Manual http en usr cn USR WIFI232 X v4 4 Embedded WiFi Module User Manual Overview of Characteristic Support IEEE802 11b g n Wireless Standards Support TCP IP UDP Network Protocols Support UART GPIO Ethernet Data Interface Support Work As STA AP AP STA Mode Support Router Bridge Mode Networking Support Internal External Antenna Option Support Transparent Transmission Mode Support AT Instruction Set for Configuration Support Friendly Web Configuration Page Support Palmodic Signal Support UART Auto Frame Function Single 3 3V Power Supply Small Size 25 x 40mm FCC CE Certificated qr C C FC Remarks This module is applicable to USR WIFI232 A B C and its derivatives for example 9 9 9 9 gt USR WIFI232 2 610 For USR WIFI232 G T please refer to the corresponding document Jinan USR IOT Technology Limited Page 1 of 70 tec usr cn O 5 A Usr cn USR WIFI232 A B C User Manual http en usr cn Table Of Contents TRONEN 8 t1 gt gt Eeer ee 8 1 2 Hardware nt e elei d Le EEE 9 PN DENN ne 9 2 NNN 12 1 2 3 PENN 14 L24 EE EEE 15 1 25 Evaluation E 15 1 3 Hardware Reference Desom 17 1 3 1 Hardware Typical Applcaton ccc ccccccesssccccccsssssseeeeecesessseeeeceesessseeeceesesstsseeeeees 17 1 3 2 10 100M Ethernet Interface cerniere 18 1 3 2 1 Ethernet Connection with Transtormer 18 1 3 2 2 Ethernet Connection without Transtiormmer 19
24. Broken Waiting time depend on real wireless network UART Transparent Data Coomunication Figure 11 User MCU Software Flow Chart USR WIFI232 X modules provide one work mode and one configuration mode Work mode is Transparent Transmission Configuration mode is through AT instruction set to finish module setting and configuration When USR WIFI232 X modules boot up user can select one work or switch to the configuration mode 1 4 1 Transparent Transmission Mode USR WIFI232 X modules support serial interface transparent transmission mode The benefit of this mode is achieves a plug and play serial data port and reduces user complexity furthest In this mode user should only configure 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 transmission mode so users only need to think of it as a virtual serial cable and send and receive data as using a simple serial In other words the serial cable of users original serial devices is directly replaced with the module user devices can be easy for wireless data transmission without any changes The transparent transmission mode can fully compatible with user s original software platform and reduce the software development effort for integrate wireless data transmission Notes Transparent transmission mode as a low level phy layer da
25. D RXD CTS RTS defined as GPIO and others nReady nLink nReload defined as functional pin At GPIO 2 all these 7 pins defined as GPIO So GPIO mode not supports UART communication When module works at GPIO mode PC and other equipments can setup connection TCP UDP through WiFi then read write GPIO information through command gt GPIOnNIN Set GPIOn as input Response GPIO OK or GPIO NOK gt GPIO n OUT 0 Set GPIOn as output and output 0 Response GPIO OK or GPIO NOK gt GPIO n OUT 1 Set GPIOn as output and output 1 Response GPIO OK or GPIO NOK gt GPIO n SW Set GPIOn as output and switch the output status Response GPIO OK or GPIO NOK gt 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 gt GPIO n GET Read GPIOn status Response 10 11 00 01 means input low input high output low output high Notes n can be 3 4 5 6 8 9 10 corresponding module pin GPIO 4 and 10 can only defined as input and GPIO 3 can only defined as output GPIO READ returns all current IO status and GPIO n GET said method Such as 11111010101001 said input O output 0 low 1 express high 4 and 10 of the two pin is negated Read the 1 actual 0 actual 1 read the 0 1 4 6 Palmodic Signal Base on selected factory default setting nReady signal can have two output statuses gt Status One The modu
26. For above networking USR WIFI232 X 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 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 USR WIFI232 X module needs assign a static LAN IP address For example 192 168 1 10 if module also needs communication with AP or configuration through web page 2 7 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 STA Interface Parameters AP s SSID MAC Address Optional Security Mode Encryption Type 2 8 Work Mode USR WIFI232 X modules provide Transparent transmission mode only Transparent transmission mode achieves a plug and play serial data port and reduces user complexity For a module which already finished parameters setting it will try to connect a wireless network and server with these parameters after power up and serial interface is also active with pre configured parameters Then all the data is transferred directly between serial interface and Wifi interface without any interpreted The parameters which need to configure include Jinan USR IOT Technology Limited Page 30 of 70
27. I232 X modules UART interface include 4 general signals TXD RXD RTS CTS The hardware reference design with RS 232 chipset as following 33VD o MN13 t C92 100NF i i Ion MALE RIGHT ANGLED J15 C95 WW LG zs i 100NF SERIAL DEBUG PORT LL AE as w C91 100NF USR WIF 1232 C94 100NF UART RTS all UART_TXD UART RXD 11 UART CTS ADM3202ARN il 10 e Q O Figure 10 UART Interface Reference Design Notes TXD pin is also hardware configuration pin internal module So this pin MUST pull down during module power up USR WIFI232 X modules provide internal pull down resister user can t add pull up pull down resister on user board which may cause module can t work 1 3 4 Power Interface USR WIFI232 X module support single 3 3V power supply The peak current shall about 350mA and normal WiFi working current shall about 200mA The power save WiFi OFF mode will about 100mA Decoupling at power pin suggested At least one 100uF and one 10uF capacitor required at user board and put near module power input pin will increase the reliability and performance 1 4 Software Reference Design When USR WIFI232 X modules boot up phase the general user board MCU software flow chart will as following Jinan USR IOT Technology Limited Page 21 of 70 tec usr cn BARK Uer cn USR WIFI232 A B C User Manual http en usr cn Power Up Module
28. LAN IP address shall be setting different segment So module 2 s LAN IP address must change to other segment For this sample we change to 10 10 99 254 See AP Interface Setting Page YH BA r WIFI UART UART vic MCU USR WIFI232 X Z USR WIFI232 X MCU AP STA LAN IP 10 10 100 254 LAN IP 10 10 99 254 TCP Server WAN IP 10 10 100 100 85899 TCP Client I0 10 100 254 8899 Figure 1 Configure Transparent Serial Port Connection TCP Q2 Where to Set wiri Module LAN IP and WAN IP through Web Page USR WIFI232 X Wireless LAN IP address setting see AP Interface Setting Page as below Figure Jinan USR IOT Technology Limited Page 62 of 70 tec Qusr cn BARR Usr cn USR WIFI232 A B C User Manual http en usr cn LAN Setup Ip Address 10 10 100 254 Subnet Mask 255 255 255 0 MAC Address 88 8B 5D 70 04 87 DHCP Type Server DI Default DHCP Gateway 10 10 100 254 Apply Cancel Figure 2 Module LAN IP Setting gt USR WIFI232 X Wireless WAN IP address setting see STA Interface Setting Page as below Figure User can set WAN connection type to DHCP and STATIC IP WAN Connection Type STATIC fixed IP sl Subnet Mask 5525500 _ Default Gateway 10 10 99 254 Apply Cancel Figure 3 Module WAN IP Setting Q3 How to configure transparent serial port application UDP protocol with two WIFI modules gt Network structure as below
29. R WIFI232 X modules Moreover in such Adhoc network structure the whole coverage of a wireless network can be extended easily User Device User Device Figure 17 USR WIFI232 X Adhoc Network Structure 2 1 3 Wireless Network Based On AP STA USR WIFI232 X module support AP STA network mode means module support one AP interface and one STA interface at the same time as following figure SS User Device T l TU AT j c La UART Server rcp Q e TCP TCP Client Phone RX PAD ay Figure 18 USR WIFI232 X AP STA Network Structure Jinan USR IOT Technology Limited Page 26 of 70 tec usr cn BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn When module enables AP STA function Module s STA interface can connect with router and connect to TCP server in the network At the same time module s AP interface is also active and permit phone PAD to connect through TCPB then phone PAD can control user device and and setting the module parameters The advantage of AP STA mode is gt Users can easily setting and track user device through Phone PAD and not change the orginal network setting gt 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 command to enable as follows gt AT FAPSTA on Enable AP STA mode gt Then when you configure module works as STA mode it s AP interface
30. S ze NFC No flow control ze FC flow control After USR WIFI232 X module boots up again the setting will be effective 4 2 2 5 AT UARTF B Function Open Close UART auto frame function m Format Query Operation AT UARTF lt CR gt ok lt para gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTF lt para gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters para lt 4 disable Close auto frame function lt 4 enable Open auto frame function 4 2 2 6 AT UARTFT B Function Set Query UART auto frame trigger time B Format Query Operation AT UARTFT lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFT lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters time Range 100 10000 Unit ms Auto frame trigger time 4 2 2 7 AT UARTFL B Function Set Query UART auto frame trigger length m Format Jinan USR IOT Technology Limited Page 49 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn Query Operation AT UARTFL lt CR gt ok lt len gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFL lt len gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters len Range 64 4096 Unit byte Auto frame trigger length 4 2 2 8 AT TMODE B Function Set Query data transmission mode m Format
31. USR WIFI232 A B pin type module Below is for SMD type USR WIFI232 C Output 1 8 TX 1 2 T a Ea 35 D Lr USR W 23 2 Ei RK ITA Lat Figure 8 Ethernet Reference Design with Transformer 1 3 2 2 Ethernet Connection without Transformer For this application Ethernet will work as internal data transmition interface and save one transformer and RJ45 connector Ethernet PHY to PHY connection will use AC coupled connection This is a space and cost optimized solution Hardware reference design as following Note VCC signal at reference design shall base on user board PHY chipset voltage level such as 2 5V power supply for general Ethernet PHY chipset Jinan USR IOT Technology Limited Page 18 of 70 tec usr cn BARR Usr cn USR WIFI232 A B C User Manual http en usr cn USR WIF 1232 PHY_TX TXOM4 CT 0 1uF 1 2 C118 UNT PHY TXATXOPA 1 E DIE C119 0 14uF 2 PHY RX JRXIM4 1 C120 1 PHY RXARXPA USR WIFD32 C Figure 9 Ethernet Reference Design without Transformer This module Ethernet interface default is for the application with transformer connection If you need PHY PHY directly connection please change the hardware as follows 1 Weld 0 ohm resistance in red position 2 Remove the component in yellow position Jinan USR IOT Technology Limited Page 19 of 70 tec Qusr cn BARE Uer cn USR WIFI232 A B C User Manual http en usr cn BOT
32. ace Setting i i D Application Setting 9 AP Mode Access Point i Device Management O STA Mode Station Mode Data Transfor Mode Transparent Mode v Figure 25 Mode Selection Page 3 1 3 AP Interface Setting Page This page use to setting the parameters when USR WIFI232 X module works as AP i Mode Selection AP Interface Setting mj AP Interface Setting AP Interface Setting such as SSID Security m STA Interface Setting EC E Device Management Network Mode 11 b g n mixed mode ze Network Name SSID HF AT1x AP BSSID AC CF 23 00 E5 64 Frequency Channel AutoSelect v Wireless Distribution System WDS WDS Configuration Security Mode Disable v IP Address Default DHCP Gateway 10 10 100 254 Subnet Mask 2552552550 DHCP Type Server w Apply Cancel Figure 26 AP Interface Setting Page Jinan USR IOT Technology Limited Page 34 of 70 tec Qusr cn Qe A f AH Usr cn USR WIFI232 A B C User Manual http en usr cn 3 1 4 STA Interface Setting Page This page use to setting the parameters when USR WIFI232 X module works as STA Such as SSID of AP which module need to connected and also select the networking type DHCP or static IP address m Mode Selection AP Interface Setting i STA Interface Setting Application Setting E Device Management 3 1 5 Application Setting Page STA Interface Setting You could configure STA interfa
33. ain the setting will be effective But user can set this command when module configured as AP 4 2 2 13 AT WEBU m Function Set Query WEB page login parameters m Format Query Operation AT WEBU lt CR gt ok lt usr password gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WEBU lt usr password gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters usr User name for WEB page access password Password for WEB page access 4 2 2 14 AT WAP B Function Set Query WIFI parameters as AP m Format Query Operation AT WAP lt CR gt ok lt wifi_mode ssid channel gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAP lt wifi_mode ssid channel gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters wifi mode WiFi protocols v 311BG 11B v 11G 11BGN TIN ssid SSID when module works as AP channel WIFI channel selection lt AUTO gt CH1 CH11 This Instruction only effective for USR WIFI232 X works as AP After USR WIFI232 X module boots up again the setting will be effective But user can set this command when module configured as STA 4 2 2 15 AT WAKEY B Function Set Query WIFI security parameters as AP B Format Query Operation AT WAKEY lt CR gt Jinan USR IOT Technology Limited Page 52 of 70 tec Qusr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn ok lt auth
34. arent transmission input input input input a lt 300ms lt 300ms lt 3s show a C23 4 2 AT Instruction Set Overview User can input AT Instruction through hyper terminal or other serial debug terminal also can program the AT Instruction to script User can also input AT H to list all AT Instruction and description to start Serial CON3 SecureCRI lE MAE HE BEM MO Eier BEG IA hw bug 0 d each TK 9 BH ara AT H 0k AT NONE command reply ok AT E Echo on off to turn on off command line echo function AT ENTM Goto Through Mode AT NETP Set Get the Net Protocol Parameters AT UART Set Get the UART Parameters AT WMODE Set Get the WIFI Operation Mode CAP or STA AT WSKEY Set Get the Security Parameters of WIFI STA Mode AT WSSSID Set Get the AP s SSID of WIFI STA Mode AT WEBU Set Get the Login Parameters of WEB page AT WAP Set Get the Parameters of WIFI AP Mode AT WAKEY Set Get the Security Parameters of WIFI AP Mode AT WSCAN Get The AP site Survey Conly for STA Mode AT Z Reset the Module AT MID a The Module ID eg All yymmddxxxx yy year mm month dd day xxxx serial num AT H Help Serial COM3 22 1 2647 983 VT100 Figure 40 AT H Instruction for Help We supply software Mf DOSES to send command easily software setup WIFI232 L default 115200 Others 57600 Open Com Oprate via COM Bandrate
35. ce parameters here AP s SSID HF A11x AP MAC Address Optional Security Mode OPEN vi Encryption Type NONE v WAN Connection Type DHCP Auto config v DHCP Mode Hostname Optional Figure 27 STA Interface Setting Page This page use to setting the parameters of serial port communication such as UART setting and high layer network protocol setting which used support serial communication Jinan USR IOT Technology Limited Page 35 of 70 tec usr cn Qe A E Mode Selection BARK Usr cn i AP Interface Settin i STA Interface Settin i Application Settin E Device Management Notes USR WIFI232 A B C User Manual Wifi Uart Setting http en usr cn You could configure the Uart parameters and network parameters of the wifi uart application Uart Setting Baudrate Data Bits Parity Stop CTSRTS Disable vi Mode Protocol Port Server Address MAX TCP Num 1 32 TCP Time out MAX 6008 Server vi TCP wl 8899 ER 200 Figure 28 Application Setting Page Generally Network protocols support three modes TCP Server TCP Client and UDP UDP has no server and client requirement according to standard Besides module working as TCP Server IP address not required in this mode User must set the IP address of the device which need communicate with USR WIFI232 X module Also the Port ID between two sides of the communication devices must keep the same 3 1
36. dule supports the feature of binding the BSSID address of target network According to the provisions of 802 11 protocol different wireless networks can have a same network name i e SSID ESSID but must correspond to a unique BSSID address i e MAC address 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 Users can prevent STA from joining to illegal network by binding the BSSID address to improve wireless network security 2 6 Ethernet Interface Communication Jinan USR IOT Technology Limited Page 28 of 70 tec Qusr cn Qe A USR WIFI232 X module provides one 100M Ethernet interface With this Ethernet interface user can easily realize the three interface WiFi UART and Ethernet intercommunication and networking USR WIFI232 X module can configured as Bridge Mode or Router Mode base on different BARR Usr cn USR WIFI232 A B C User Manual http en usr cn networking technology Notes As the Ethernet mode will increase additional consumption so it is default closed If you need this function pls use AT FEPHY on to open it and RELD can t change this For different application USR WIFI232 610 need version switch via commands such as following description of N ver and Z ver With command AT FVER n to switch to N ver and with command AT FVER z to switch to Z ver 2 6 1 USR WIFI232 X Ethernet In
37. e Design with TransfOrmel ccccccccccesssscccccessssceecceeesseeeeeeeesssseeeceeeeseeeeeeeens 18 Figure 9 Ethernet Reference Design without Transiormmer nennen 19 Figure 10 UART Interface Reference Uesgon 21 Figure 11 User MCU Software Flow Chart 22 Figure 14 Multi TCP Link Data Transmission Giruchure nnn 23 Figure 15 USR WIFI232 X Functional Archtechure cece cccsesscccceeesseceeceeessseeeceeseseeececesessseeeesesssseeeees 25 Figure 16 USR WIFI232 X Basic Wireless Network Giruchure 25 Figure 17 USR WIFI232 X Adhoc Network Giruchure ccccccccccccccssssccccesesseeccecessssecceeessseeeeeeessseeeeeeeees 26 Figure 18 USR WIFI232 X AP STA Network Gtruchure ccccccscccccessssseccecesssseeececeessseeeeeeeesseeeeeeeensaes 26 Figure 19 USR WIFI232 X Ethernet Interface Networking As Ab 29 Figure 20 USR WIFI232 X Ethernet Interface Networking As STA N Ver eene 29 Figure 21 USR WIFI232 X Ethernet Interface Networking As STA Z Ver eese 30 Figure 23 USR WIFI232 X Transparent Transmission Uemo 31 Figure 24 Open Web Management page ene eene nennen nnnm nenne nenne een nnns esee eene nns 33 Figure 25 Mode Selection e 34 Figure 26 AP Interface Setting agoe nennen n eren enne nennen enne tenere nnns se seen enne n ns 34 Figure 27 STA Interface Setting Hage cccccecccsscccccesssssssscceecccccssessseeeeeeccccessesssseeeeseceeeessstseeeeseeeeeegs 35 Figure 28 Application Setting age eee cccccssssssscccccecccccsssss
38. e computer please notice 3 2 4 Wireless Control Application User Device USR WIF1232 X AP SSID HF A11x AP Figure 34 Wireless Control Application Jinan USR IOT Technology Limited Page 40 of 70 tec Qusr cn Qe A For this wireless control application USR WIFI232 X works as AP mode Module s serial port BARK Usr cn USR WIFI232 A B C User Manual http en usr cn connects to user device So control agent Smart phone for this example can manage and control the user device through the wireless connection with USR WIFI232 X module 3 2 5 Remote Management Application ai vart 3 User Device Usp User Device USR WIFI232 X Figure 35 Remote Management Application For this remote management application USR WIFI232 X works as STA mode and connects to Internet through wireless AP Module configured as TCP Client and communicates with remote TCP server at Internet Module s serial port connects to user device 90 user device s data or sampling information can send to remote TCP server for storage or processing Also remote TCP server can send command to control and manage the user device through the wireless network 3 2 6 Transparent Serial Port Application For this transparent serial port application two USR WIFI232 X modules connect as below figures to build up a transparent serial port connection User Device TEL u So VARTE E User Device x p USR WIFI232 X USR WIFI232 X AP SSID
39. ecccesssssseeeccecessssseeccecesssssseceeeceessseeeecceeesseeeeceesenstseeeeees 31 2 10 Parameters Configuration rrrrrrnnnrsrrnnnnrvnnrnsrrsnnnrnnnnnrrrnnnrnnnnnsnennnrrrnnnsssnnnnnrnnesssnnnnnnnnesssevnnnnee 32 Jinan USR IOT Technology Limited Page 2 of 70 tec usr cn BARBER Usr cn USR WIFI232 A B C User Manual http en usr cn 2 11 Firmware NVE 32 VN ELLO FUNCIO EE 32 ENN NE 33 3 1 Configuration via Web Accessimg nne nennen nennen nennen seen nennen 33 3 1 1 Open Web Management Interface nennen 33 3 1 2 Mode Selection age nennen eee nennen nene nnn esee nennen nennen nns 34 3 1 3 AP Interface Setting E e ein resta tri roro Id aede PER 2 xu Eb ba eu E LYE Gorda Seite SER ied cooSE 34 3 1 4 STA Interface Setting agoe enne nennen enne nens 35 3 1 5 Application Setting indc o RET T PTT 35 3 1 6 Device Management Hage sse nennen eee nennen nennen nennen nennen 36 3 2 USR WIFI232 X Usage Introduchon enn 3 21 SoftWare Debug 16018 EE 3 3 2 2 Network COMME CIO DE 3 3 2 3 Module Debug rrrrnnrrrnnnnrrnnnnrernnnnnvnnnnrrsrnnnrnnnnnssennnrrrnnnssennnnnrnnessssnnnnnrnnensssnnnrrsenessennnnnsenene 38 3 2 4 Wireless Control Applcaton nennen 40 3 2 5 Remote Management Appltcaton cccccccccccessssscccccceeessssccescecesssssseeeccesssssteeeecees 41 3 2 6 Transparent Serial Port Applcaton e 41 3 2 7 Wireless Data Acquisition Card Applcaton 42 A NTSC UO in ht ge el ege REM 43 Act SME 43 4 1 1 Switch to Configuration M
40. en 4 nReady GPIO Indicator Link Green 5 NLink GPIO Indicator Button Reset _ Used to reset the module Reload Module restore to factory default configuration Jinan USR IOT Technology Limited Page 16 of 70 tec usr cn Qe A BARR Usr cn USR WIFI232 A B C User Manual http en usr cn 1 3 Hardware Reference Design 1 3 1 Hardware Typical Application User Board USR WIFI232 X TX UART RXD RX U ART TXD CTS a 3 TR Gi e ig es GPIO GPIO nLink GPIO nRST 3 3V nReady GND Figure 7 USR WIFI232 X Hardware Typical Application Notes nRST Module hardware reset signal Input Logics 0 effective There is 100K Ohm pull up resister internal up to 3 3V When module power up or some issue happened MCU need assert nRST signal 0 at least 300ms then set 1 to keep module fully reset nReady Module boot up ready signal Output Logics O 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 module finish boot up and ready for application or working at normal mode nLink Module WIFI connection indication Output There is 4 7K Ohm pull up resister internal up to 3 3V When module connect to AP STA mode or some WiFi STA connect to module AP mode the module will output 0 This signal used to judge if module already at WiFi connection status
41. every TCP connection or client Detailed multi TCP link data transmission structure as following figure Ep Device 1 WI F ee U ser WE gt ce 1 oue lt 188 cc DD USR WIFI232 X User Device E W _ TCP e 00 User Device 3 Figure 14 Multi TCP Link Data Transmission Structure 1 4 4 TCPB Function USR WIFI232 X support 2xTCP function which means module can support 2 network connections at the same time The 2 9 net work connection called TCPB TCPB only works as TCP Client and its configuration can only through AT command not Web configuration supported The command as following gt AT TCPB on Enable TCPB function gt AT TCPPTB lt port gt Set TCPB port number Jinan USR IOT Technology Limited Page 23 of 70 tec Qusr cn BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn gt AT TCPADDB lt IP or domain Set TCPB s server address gt AT TCPTOB lt time gt Set TCPB timeout gt AT TCPLKB Query TCPB link status Detailed command description refer to AT instruction chapter After enable TCPB function two network interfaces work mode like Multi TCP Link All dates from each TCP connection will be transmitted to the serial port as a sequence and all data from serial port user will be duplicate and broadcast to each TCP connection 1 4 5 GPIO Function USR WIFI232 X module support 2 GPIO mode GPIO 1 and GPIO 2 At GPIO 1 mode UART TX
42. f a wireless network and the center of the network nodes The wireless router we use at home or in office may be an AP STA short for Station each terminal connects to a wireless network such as laptops PDA and other networking devices can be called with a STA device 2 1 1 Basic Wireless Network Based On AP Infrastructure Infrastructure it s also called basic network It built by AP and many STAs which join in The characters of network of this type are that AP is the center and all communication between STAs is transmitted through the AP The figure following shows such type of networking User Device USR WIFI232 USR WIFI232 Figure 16 USR WIFI232 X Basic Wireless Network Structure Jinan USR IOT Technology Limited Page 25 of 70 tec Qusr cn Qe BARR A Usr cn USR WIFI232 A B C User Manual http en usr cn 2 1 2 Wireless Network Based On Adhoc Network Adhoc Adhoc It s also called independent basic service set and it s built by two or more STAs without AP this type of network is a loose structure all the STAs in the network can communicate directly As showing in the figure below USR WIFI232 X 1 can be treat as an AP and USR WIF1232 X 2 USR WIFI232 X 3 and the laptop are STAs connected to USR WIFI232 X 1 Meanwhile all USR WIFI232 X modules can connected to user device via UART interface All USR WIFI232 X modules can be operated and managed through the laptop So it is convenient to O amp M all US
43. figure m Module 1 Setting lt Works as AP mode See Mode Selection Page lt LAN IP address 10 10 100 254 See AP Interface Setting Page lt Network Protocal UDP Port ID 8899 Application IP address 10 10 100 100 See Application Setting Page m Module 2 Setting lt gt Works as STA mode See Mode Selection Page lt WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page lt Network Protocal UDP Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Setting Page lt LAN IP address 10 10 99 254 Different net segment with WAN port See AP Interface Setting Page Jinan USR IOT Technology Limited Page 63 of 70 tec Qusr cn f AH Usr cn USR WIFI232 A B C User Manual http en usr cn E 2 UART MA UART MCU USR WIFI232 X Z USR WIFI232 X MCU AP STA LAN IP 10 10 100 254 LAN IP 10 10 99 254 UDP WAN IP 10 10 100 100 10 10 100 100 8899 UDP 10 10 100 254 8899 Figure 4 Configure Transparent Serial Port Connection UDP Q4 Where to set USR WIFI232 X module network protocol TCP UDP gt USR WIFI232 X network protocol setting see Application Setting Page as below Figure B Protocol TCP Server lt gt Only Port ID required 8899 Default Net Setting Mode Server zl Protocol Port IP Address TCP Time out MAX 600 s 300 Apply Cancel Figure 5 Module Network Protocols
44. inan USR IOT Technology Limited Page 38 of 70 tec Qusr cn E A BARK Usr cn USR WIFI232 A B C User Manual http en usr cn USR ICP232 Test RS232 to Ethernet Convert tester Seles File F Options 0 Help H COMSettings PortNum COM1 x DPaity NONE x DataB E bit x Close Bauch 57600 v Re cv Options Add line return Receive As HEX Receive Pause Save Clear Receive to file Send Options Auto Checksum Auto Clear Input Send As Hex Send Recycle Data from file COM port data receive 1 Network data receive NetSettings 12 Protocol TCP Client D 2 Server IP 10 10 100 254 2 Server Port 8234 Connect Recv Options Receive to file Add line return Iw Receive As HEX Receive Pause Save Clear Send ptions Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 1000 ms Jinan USR Technology Co http en usr cn Interval 1000 ms Load Clear 29 Load Clear Le Ready Send 170 Recv 1985 Reset Le Ready Send 0 Recv 0 Reset Figure 31 CommTools Serial Debug Tools Open test software USR TCP232 Test exe selection of hardware attached to the computer s serial number this is COM1 choose 57600 baud rate such as the WIFI module serial default baud rate open the serial port Net
45. is interval time exceeds defined value 50ms default USR WIFI232 X will think it as the end of one frame and transfer this free frame to WiFi port or USR WIFI232 X will receive UART data until 4K bytes then transfer 4KB frame to WiFi port USR WIFI232 X s default interval time is 50ms User can also set this interval to fast 10ms through AT command But user have to consider if user MCU can send UART data with 10ms interval or the UART data may be divide as fragment Through AT command AT FUARTTE fash normal user can set the interval time fast 10ms and normal 50ms This command is factory default setting command and AT RELD can t change its value 2 4 2 UART Auto Frame USR WIFI232 X support UART auto frame function 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 transmitting to the network as pre defined data structure gt Auto frame trigger length The fixed data length that module used to transmitting to the network Auto frame trigger time After the trigger time if UART port received data can t reach auto frame trigger length then module will transmitting available data to the network and bypass the auto frame trigger length condition Detailed UART auto frame function can refer to AT instruction set UARTF UARTFT UARTFL introduction 2 5 Address Binding USR WIFI232 X mo
46. le will output 0 after normal boot up This signal used to judge if module finish boot up and ready for application gt Status Two The module will output Palmodic Signal after normal boot up The palmodic signal is 0 5Hz square wave with dutyfactor 1 1 User can query this signal to judge if modules active live or need to re boot When module switches to command mode it will output 0 which used to distinguish work mode and command mode Notes This function is user selected factory setting and RELD instruction will not effective for this function If user not requires this function the default factory setting is Status One Contact with USR Technology for more detailed support Jinan USR IOT Technology Limited Page 24 of 70 tec usr cn BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn 2 FUNCTIONAL DESCRIPTION 2 1 Wireless Networking USR WIFI232 X module can be configured as both wireless STA and AP base on network type Logically there are two interfaces in USR WIFI232 X One is for STA and another is for AP When USR WIFI232 X works as AP other STA equipments are able to connect to wireless LAN via USR WIFI232 X module Wireless Networking with USR WIFI232 X is very flexible Following figure shows the functional architecture of USR WIFI232 X module GPIO Processing Program Figure 15 USR WIFI232 X Functional Architecture Notes AP that is the wireless Access Point the founder o
47. nReload pin function lt On enable nReload pin function lt Off disable nReload pin function Notes AT FRLDEN is F Setting means restore to factory setting will not affect this command Jinan USR IOT Technology Limited Page 59 of 70 tec Qusr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn 4 2 2 36 AT RELD B Function Restore to factory default setting m Format AT RELD lt CR gt ok rebooting lt CR gt lt LF gt lt CR gt lt LF gt This command restores the module to factory default setting and then re starts the module 4 2 2 37 AT Z B Function Re start module B Format AT Z lt CR gt 4 2 2 38 AT MID B Function Query module ID information B Format Query Operation AT MID lt CR gt ok lt module_id gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters module id Module ID information lt Ai1 yymmddnnnn yymmdd date nnnn serial number 4 2 2 39 AT VER m Function Query module software version information m Format Query Operation AT VER lt CR gt ok lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ver Module software version information 4 2 2 40 AT H B Function Help B Format Query Operation AT H lt CR gt ok lt command help gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters command help command introduction Jinan USR IOT Technology Limited Page 60 of 70 tec Qusr cn
48. nction Set Query TCPB server address B Format Query Operation AT TCPADDB lt CR gt ok lt add gt lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 57 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn Set Operation AT TCPADDB lt add gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters add TCPB server address can be IP address or url After USR WIFI232 X module boots up again the setting will be effective 4 2 2 30 AT TCPTOB B Function Set Query TCPB time out time m Format Query Operation AT TCPTOB lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTOB lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters time TCPB time out time lt 600 600s gt 0 No time out default 300 After USR WIFI232 X module boots up again the setting will be effective 4 2 2 31 AT TCPLKB m Function Query TCPB link status m Format AT TCPCKB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta TCPB link status on TCPB link OK lt gt off TCPB link not available 4 2 2 32 AT EPHY B Function Open Close ETH interface B Format Set Operation AT EPHY lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters On off lt Off Close Ethernet port function
49. net Convert tester Sec File F Options 0 Help H COMSettings COM port data receive Network data receive NetSettings PortNum COM D http dien usr cnhttp en usr cnhttp en u Receive from 10 10 100 254 8899 1 Protocol 57600 sr cn Jinan USR Technology Co Ltd Jinan USR k Bauch Ltd Jinan USR Technology 2 Server IP DPaity NONE x a 10 10 100 254 DataB 8 bit E KO Close Disconnect Recv Options Recv Options 2 Server Port Receive to file Add line return Receive As HEX Receive Pause Receive to file Add line return Receive As HEX Receive Pause Save Clear Save Clear Send Options Send Options Data from file Data from file Auto Checksum Auto Checksum Auto Clear Input Auto Clear Input Send As Hex Send As Hex Send Recycle LocalHost 10 10 100 100 10 100 100 Port Send Recycle Interval 1000 ms Jinan USR Technology Co http en usr cn Interval 10 ms Send Send Load Clear Load Clear 185 Ready Send 90 Recv 48 Reset Le Ready Send 48 Recv 30 Reset Figure 33 The test results show that the network and serial port Note because of the RTS CTS pin processing difference currently available on the part of the serial debugging software for the module of the system is not available please be sure to want to use USR TCP232 Test we provide testing or just RXD TXD GND connected the three line to th
50. nfiguration Web Server AT command config Jinan USR IOT Technology Limited Page 8 of 70 tec usr cn A BARR Usr cn USR WIFI232 A B C User Manual http en usr cn 1 2 Hardware Introduction O WIFI USR WIFI2327 amp Zl wette USR WIF1232 A USR WIF1232 B USR WIF1232 C USR WIFI232 D RT CNTFL AER ig Ue Ir MRLE EURT e LERSCH KHU AL GR FIF i A LARTAEN I b Hi Figure 1 UL SR WIFI232 X 1 2 1 Pins Definition Pin type module Pins Map PHY TX PHY TX PHY RX PHY RX nReady GPIO9 nReload GPIO10 RESET nLink GPIO8 UART RTS GPIO5 UART_CTS GPIO6 UART TXD GPIO3 UART RXD GPIO4 GND 3 3V Pin type module Definition Table 2 USR WIFI232 X Pins Definition kenn dl 1 Ground GND GND Ground VCC 3 3V 350mA 3 3V 350mA power input 3 UART Data Transmit UART TX If not use UART function this 4 pins can be configured as D GPIO GPIO3 GPIO pins and can change D UART Data Receive UART_RX GPIO pin status through AT command GPIO GPIO4 UART sends request of UART RT data transmission S Jinan USR IOT Technology Limited Page 9 of 70 tec usr cn ABER Sr CH USR WIFI232 A B C User Manual http en usr cn GPIOS UART receives data CT transmission permission SC EL Module reset signal mr Low 0 effective reset input The reset duration should be kept more than 300ms WiFistatusIndication nlink Io 1 WIFI connection available NN NN Can be configured as GPIO n
51. nnt tnn n sisse terns sss e nnns 62 Q1 How to configure transparent serial port application TCP protocol with two WIFI modules 62 Q2 Where to Set WIFI Module LAN IP and WAN IP through Web Page sssesss 62 Q3 How to configure transparent serial port application UDP protocol with two WIFI modules 63 Q4 Where to set USR WIFI232 X module network protocol CTCRIUDRI 64 Q5 How to configure transparent serial port application Two WIFI modules all configured as STA and connection through CNN T TTE 65 Q6 How to avoid IP address confliction when apply USR WIFI232 X module 66 Q7 PC works as server all WIFI modules works as data acquisition card and connect with PC how to configure this applcatond nennen nennen nemen nennen nennen nnn nennen 66 Appendix B evb reference design 68 Appendix C external power shutdown mode reference design 69 Appendix D Contact Informal ON ME 70 Jinan USR IOT Technology Limited Page 4 of 70 tec usr cn BARE Usr cn USR WIFI232 A B C User Manual http en usr cn LIST OF FIGURES FPOe TOSR AWIFIZ E 9 Figure 2 USR WIFI232 X Pins MaD ercis eenen in EAA Taaa 10 Figure 3 USR WIFI232 X Mechanical Dumenson nennen enne 13 Figure 4 USR WIFI232 X Chip Antenna Keep Out HRegon ene 14 Figure 5 Suggested Module Placement Hegon eene 14 Figure 6 SMD Type Evaluation Kr 16 Figure 7 USR WIFI232 X Hardware Typical Applcaton sse 17 Figure 8 Ethernet Referenc
52. ode 43 4 2 AT Instruction Set Ov rview ccc ccccessssscceccsssssseeeccceecssseeeeccecessssseeceeeesssssseeeeeeessstaeeeeeeeeens 44 421 Instruction Syntax FONE ia icatvtevasvedssnandcectiaaandewostscinisnodocinsesidiananioadnssataelaravcawlaseneuiavane 45 AeL ATE EG eene RN TERRE ERE 46 TT NE 47 WEAR EE 48 Ae ae iE EE 48 tr TURN 48 1 SMURT 49 22 0 TURT Ve 49 TMU EN 49 a EW OD EE 50 AA EA TANMO DE Pe E EEA Tee ne eee eee 50 EEE EEE 50 EN ESS EE 51 RE VEN VE RE 51 Aee E E EE 52 4 2 2 14 ic EEE EE 52 FE NONE E EE 52 TESS NN o3 TTV E E ENE A ES A E AE T OEEO EA 53 22 e E a IN EE 54 ZENON TOF E a EE EE 54 Tr TT LE 54 Jinan USR IOT Technology Limited Page 3 of 70 tec Qusr cn Oe ARH A Usr cn USR WIFI232 A B C User Manual http en usr cn FT aN Ar E 55 1 PRAN EE 55 A Ki e LE RE EE 55 EN GB EE EEE 56 7 EE AE cam BG al TO EE 56 2S ELM JG EEE 56 ER ENE EE gt EEE ERE of TANTE Bue TEE E of A A RLW INE BL IR EE of RENE JIO ee 58 EEE ESA REE EN 58 24 6928 EN 58 AEE EO EEE NE E E 59 4 2 2 34 AT DOMAIN eereerorrrrvvvrrrersnrrrvnrrsrrssnnrrnnnssrssnnrrnnnnssernnrrrennssssnnnnrenessssnnnnnrnnsssssnnnnrenenseen 59 TREN 59 Pe ME EED EE 60 TN 60 1 TND ene 60 72 PR 60 uM ON ILI EE EEE EE EE 60 gt FR ENN 61 5 1 Shipping Intormmaton nnne nennen nen enhn nennen nere nns eene n nnns 61 Appendix Appendix A Questions and Answerg sse eene enne eennnne nene ennnna ne
53. of 70 tec usr cn BAR Usr cn USR WIFI232 A B C User Manual http en usr cn lt on TCP link available When setting on module will connect to TCP server right away lt gt off TCP link not available when setting oft module will disconnect with TCP server and not connect again 4 2 2 21 AT WANN B Function Set Query WAN setting only effective as STA mode m Format Query Operation AT WANN lt CR gt ok lt mode address mask gateway gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WANN lt mode address mask gateway gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mode IP setting for WAN port lt gt static Static IP lt DHCP Dynamic IP address WAN port IP address mask WAN port subnet mask gateway WAN port gateway address This Instruction only effective for USR WIFI232 X works as STA After USR WIFI232 X module boots up again the setting will be effective But user can set this command when module configured as AP 4 2 2 22 AT LANN B Function Set Query LAN setting only effective as AP mode m Format Query Operation AT LANN lt CR gt ok lt address mask gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LANN lt address mask gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters address LAN port IP address mask LAN port subnet mask This Instruction only effective for USR WIFI232 X
54. puter links to WIFI Due to the need to have both a WIFI and serial special requirements only a minority of the notebook computer can achieve the user can use the desktop with a USB card or use the notebook computer with a USB to serial line way the author uses the desktop and WIFI card form test desktop with serial Jinan USR IOT Technology Limited Page 37 of 70 tec Qusr cn Qe A Note there USB transfer RS232 the line quality uneven some good and some bad in order not to waste your valuable time look for buying a used FT232 chip scheme suggested switching line about the price 10 BARR Usr cn USR WIFI232 A B C User Manual http en usr cn i r serial port eb sb rs232 PC OO i USB Wifi Figure 30 Connection diagram On the serial connection module pin leads to 3 3V TTL level not directly connected with the computer need to bring the bottom or users are TTL to RS232 connecting line connected to the computer in order to facilitate the user to test the use of we provide a variety of floor for the user to choose here in the case of USR WIF1232 2 Hardware connectivity for module power supply the red power indicator light wait about 6 seconds internal system boot Ready lights said system startup complete can operate entering the next step 3 2 3 Module Debug As shown above opened in PC program set the COM export and open the serial port connection J
55. s Item Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max 10dB Max Connector Type I PEX or populate directly Jinan USR IOT Technology Limited Page 14 of 70 tec Qusr cn Qe A 1 2 5 Evaluation Kit BARK Usr cn USR WIFI232 A B C User Manual http en usr cn USR provides the evaluation kit to promote user to familiar the product and develop the detailed application The evaluation kit shown as below user can connect to USR WIFI232 X module with the RS 232 UART port 100M Eth port or Wireless port to configure the parameters manage the module or do the some functional tests Pin type module Evaluation Kit Table A USR WIFI232 X Evaluation Kit Interface Description Pin type module Evaluation Kit Interface Description Function Name Description Z o External ode LED nLink GPIO Indicator Used to reset the module Module restore to factory default configuration SMD module Evaluating Kit Jinan USR IOT Technology Limited Page 15 of 70 tec usr cn BARR Usr cn USR WIFI232 A B C User Manual http en usr cn Figure 6 SMD Type Evaluation Kit The external interface description for evaluation kit as follows SMD module Evaluation Kit Interface Description Function Name Descripion Z o External om Male serial jack of 9 pin and used to connect to DB9 Interface PC RTS Green 2 RTS GPIO Indicator PIER nReload GPIO Indicator GER Gre
56. s Data Acquisition Card Setting Jinan USR IOT Technology Limited Page 67 of 70 tec Qusr cn Being A Us cn USR WIFI232 A B C User Manual http en usr cn APPENDIX B EVB REFERENCE DESIGN Jinan USR IOT Technology Limited Page 68 of 70 tec Qusr cn BARR Usr cn USR WIFI232 A B C User Manual http en usr cn APPENDIX C EXTERNAL POWER SHUTDOWN MODE REFERENCE DESIGN nLink UART CTS UART RTS S AP2280 1WG 7 s amp AP2280 2WG 7 DIODES 0 13 pcs Jinan USR IOT Technology Limited Page 69 of 70 tec usr cn OL a ARK x Us cn USR WIFI232 A B C User Manual http en usr cn APPENDIX E CONTACT INFORMATION Contact us Company Jinan USR IOT Technology Limited Address 1 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 803 Web http en usr cn Skype lisausr Email sales usr cn tec Qusr cn END OF DOCUMENT Jinan USR IOT Technology Limited Page 70 of 70 tec Qusr cn
57. s application gt Network structure as below figure Three USR WIFI232 X module setup 3 TCP links with PC server Module 1 works as AP and all devices connect to module 1 through WiFi interface m PC Setting lt IP address 10 10 100 100 lt Network Protocal TCP Server Port ID 8899 m Module 1 Setting lt Works as AP mode lt LAN IP address 10 10 100 254 lt Network Protocal T CP Client Port ID 8899 Application IP address 10 10 100 100 B Module 2 Setting lt Works as STA mode ze WAN connection type Static IP 10 10 100 101 lt Network Protocal T CP Client Port ID 8899 Application IP address 10 10 100 100 lt LAN IP address 10 10 99 254 Different net segment with WAN port B Module 3 Setting lt 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 LAN IP address 10 10 98 254 Different net segment with WAN port gt Jinan USR IOT Technology Limited Page 66 of 70 tec usr cn BARK Usr cn USR WIFI232 A B C User Manual http en usr cn AP LAN IP 10 10 100 254 PC WIFI TCP Client Lit 10 10 100 100 8899 IP 10 10 100 100 USR WIFI232 X jh TCP Server IFI WIFI 8899 2 USR WIFI232 X 3 USR WIFI232 X STA STA LAN IP 10 10 99 254 LAN IP 10 10 98 254 WAN IP 10 10 100 101 WAN IP 10 10 100 102 TCP Client TCP Client 10 10 100 100 8899 10 10 100 100 8899 Figure 9 Wireles
58. side component TOP side component Specific PHY PHY direct connection reference to user manual chapter 1 3 2 2 application of Ethernet without transformer and AT FEPTP command The command AT FVEW enable lt CR gt to open ethernet WAN port function Remark 1 Only when ethernet as WAN this command 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 lt CR gt Quey set default ethernet PHY PHY on off AT FEPHY on lt CR gt Open ethernet function permanently AT RELD lt CR gt Command with F need to be affective after AT RELD After module reset command effect then will not impact by Reload For user s design pls note 1 Cable connection should be AC coupling your cable need be pulled up to VCC fit with PHY chip level 2 Cable TX connected to RX In PHY PHY direct connection PHY chip dose not support direct cross self adaption 3 Your PHY chip on board should better to be forced into 100M work mode Jinan USR IOT Technology Limited Page 20 of 70 tec usr cn O 5 A Usr cn USR WIFI232 A B C User Manual http en usr cn 1 3 3 UART Interface UART interface is the serial data transmition interface mainly used for USR WIFI232 X modules User can add RS 232 chipset on user board and convert the signal to RS 232 voltage to communicate with outside equipment or sensors USR WIF
59. sseeesecccecessesseeeeececeesessesaeeeeseeeeseetssaeeeeeses 36 Figure 29 Device Management agoe 3 Restart module button When you setting 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 refresh the memory information with new chandes 37 Fig re 30 Come CIA GIA E 38 Figure 31 CommTools Serial Debug Tools sss nennen nennen eene 39 Figure 32 TCP UDPDbg Tools Create Connechon sess 39 Figure 33 The test results show that the network and serial port 40 Figure 34 Wireless Control Applcaton eee nennen nennen eene ener nns 40 Figure 35 Remote Management Applcaton cc ccccccsssscccecccccesesessceeeececccesessseeeeeeceecessesesseeeeeeeeeeeeas 41 Figure 36 Transparent Serial Port Applcaton nennen 41 Jinan USR IOT Technology Limited Page 5 of 70 tec usr cn h A BARBER Usr cn USR WIFI232 A B C User Manual http en usr cn Figure 37 Wireless Data Acquisition Card Applcaton nenne 42 Figure 38 USR WIFI232 X Default UART Port Harameiers enn 43 Figure 39 Switch to Configuration Mode 43 Figure 40 AT H Instruction for Help 44 Figure 41 Shipping Iotormaton nennen nennen nennen nnn nn nns seen entren nne en 61 LIST OF TABLES Table 1 USR WIFI232 X Module Technical Gpecifcatons 8 Table 2 USR WIFI232 X Pins Definition esses
60. still active AP STA Mode Notes When user enable AT STA function the STA port need to keep connected with other router AP or STA port will have to scan the AP frequently which will affect AP port function and may cause some date loss So if user confirm STA port can t connect with AP at some time user can disable the STA scan through the following command gt AT STTC on off on Scan AP off NO Scan AP After re start module this command not saved gt AT FSTTC on off This command is saved after re staring the module 2 2 Auto Frequency Function When module works as STA USR WIFI232 X will adjust its wireless channel to keep the same channel with associated AP and connect in When module works as AP and USR WIFI232 X enable Auto frequency function then when module boot up it will select the best wireless channel based on surrounding environment 2 3 Security USR WIFI232 X 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 WPA2 PSK TKIP WPA2 PSK AES 9999 Jinan USR IOT Technology Limited Page 27 of 70 tec Qusr cn BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn 2 4 UART Frame Scheme 2 4 1 UART Free Frame USR WIFI232 X support UART free frame function If user select open this function module will check the intervals between any two bytes when receiving UART data If th
61. t in antenna options when customers choose a built in antenna must comply with the following built in antenna module placement of notes and general rules Jinan USR IOT Technology Limited Page 13 of 70 tec usr cn Qe A Be in the user s PCB board and the red region 6X8mm corresponding to the region cannot be BARK Usr cn USR WIFI232 A B C User Manual http en usr cn Y placed components and with GND Antenna must away from the metal at least to the distance 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 Figure 4 USR WIFI232 X Chip Antenna Keep Out Region USR technological suggestions USR WIFI232 X module be placed in the following areas of user board in order to reduce the antenna and a wireless signal influence at the same time please consult with technology and technical support staff to assist module placement and associated regions of Layout design A D ier CP D Figure 5 Suggested Module Placement Region 1 2 4 External Antenna USR WIFI232 X modules support internal antenna and external antenna option for user dedicated application If user select external antenna USR WIFI232 X modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Table 3 USR WIFI232 X External Antenna Parameter
62. ta transmitting can t keep zero error rates by itself User can enable UART port s hardware flow control CTS RTS function or though higher layer protocol such as TCP to lower error rate and mange the data completeness USR recommend when doing large amounts of data transmitting in transparent transmission mode hardware flow control should be enabled so as to fully ensure reliable data transmission Jinan USR IOT Technology Limited Page 22 of 70 tec usr cn BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn In the applications which doesn t need flow control users can simply leave RTS CTS pin vacant 1 4 2 Configuration Mode In configuration mode user can finish USR WIFI232 X module configuration management and parameters setting work In work mode Transparent Transmission user can switch to the configuration mode through AT instruction detailed switch operation refer to Alt instruction set chapter 1 4 3 Multi TCP Link Connection When USR WIFI232 X module configured as TCP Server it supports Multi TCP link connection and maximum 32 TCP clients permit to connect to USR WIFI232 X module User can realize multi TCP link connection at each work mode Multi T CP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence Downstream All data from serial port user will be duplicate and broadcast to
63. terface Networking As AP PC2 100 Eth Figure 19 USR WIFI232 X Ethernet Interface Networking As AP USR WIFI232 X module works as AP and also the center of this network All devices IP address in this network shall use the same network segment with USR WIFI232 X and they can intercommunication with this method 2 6 2 USR WIFI232 X Ethernet Interface Networking As STA N Ver Figure 20 USR WIFI232 X Ethernet Interface Networking As STA N Ver USR WIFI232 X 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 100 At the same time module also form a subnet Default 10 10 100 254 and all devices connected to module Ethernet interface will get assigned IP address For example 10 10 100 101 So as shown PC1 at internal subnet can initiate a connection to PC2 For USR WIFI232 X works as router mode but PC2 can t active initiate a connection to PC1 Jinan USR IOT Technology Limited Page 29 of 70 tec Qusr cn Qe A 2 6 3 USR WIFI232 X Ethernet Interface Networking As STA Z Ver BARR Usr cn USR WIFI232 A B C User Manual http en usr cn STA Soft Z Ver PC1 KP p v s USR WIFI232 IP 192 168 1 101 IP 192 168 1 10 IP 192 168 1 1 D 192 168 1 100 Gateway 192 168 1 1 Gateway 192 168 1 1 Gateway 192 188 1 1 Figure 21 USR WIFI232 X Ethernet Interface Networking As STA Z Ver
64. tion type Static IP 10 10 100 101 See STA Interface Setting Page lt Network Protocal T CP Client Port ID 8899 Application IP address Module 2 s WAN IP address 10 10 100 100 See Application Setting Page lt LAN IP address 10 10 98 254 Different net segment with WAN port See AP Interface Setting Page 14 AP USR WIFI232 X LAN IP 10 10 100 254 TCP Server WIE WIFI 28 3 4 UART STA STA LAN IP 10 10 99 254 LAN IP 10 10 98 254 WAN IP 10 10 100 100 WAN IP 10 10 100 101 TCP Server TCP Client 8899 10 10 100 100 8899 Figure 8 Two USR WIFI232 X Modules Connection Through AP Jinan USR IOT Technology Limited Page 65 of 70 tec Qusr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn Q6 How to avoid IP address confliction when apply USR WIFI232 X module gt The following address allocation method can avoid the IP address confliction for dynamic and static IP address mixed application m Module dynamic IP address range from 100 to 200 for last IP address segment lt Such as default IP 10 10 100 254 When module works as AP the IP address module can allocate to STA is from 10 10 100 100 to 10 10 100 200 m So if user needs to set static IP for dedicated STA internal network the available IP address range can start from 10 10 100 1 to 10 10 100 99 Q7 PC works as server all WIFI modules works as data acquisition card and connect with PC how to configure thi
65. unction Set Query maxima TCP connection m Format Query Operation AT MAXSK lt CR gt ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation Jinan USR IOT Technology Limited Page 56 of 70 tec usr cn OL a ARK x Us cn USR WIFI232 A B C User Manual AT MAXSK lt num gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters http en usr cn num 1 32 default 32 maxima TCP connection When configure as TCP Server USR WIFI232 X support maxima 32 TCP connections If not require so much connection user can resetting this parameters 4 2 2 27 AT TCPB m Function Open Close TCPB function m Format Query Operation AT TCPB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPB lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta TCPB enable status lt on TCPB enable lt gt off TCPB disable After USR WIFI232 X module boots up again the setting will be effective 4 2 2 28 AT TCPPTB m Function Set Query TCPB port number m Format Query Operation AT TCPPTB lt CR gt ok lt port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPB lt port gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters port decimal 65535 After USR WIFI232 X module boots up again the setting will be effective 4 2 2 29 AT TCPADDB m Fu
66. utput PHY TX ERES Interface Module with external 1 8V reference a Ethernet output PHY TX ER voltage EM Ethernet Input PHY RX EH EN Ethernet Input PHY RX EN WiFi status Indication Jinan USR IOT Technology Limited Page 11 of 70 tec Qusr cn 0 WIFI connection available 1 No WIFI connection BARK Low 0 effective reset input Usr cn USR WIFI232 A B C User Manual http en usr cn The reset duration should be kept more 1 Module reset signal NRST than 300ms 1 Indicate the module status nReady of power on process 0 Finish module boot up process 1 Module boot up not finish m TT Module will Restore factory default configuration after set this pin 0 more than 1s then set 1 Output 1 8V 1 1 8V 0300mA to the Eth application 2 4GHz Antenna ANT 50ohm impedance control line 1 2 2 Mechanical Size USR WIFI232 X modules physical size 25x40mm as follows Pin type module Mechanical Size NC NC BV 5 6 7 1 2 3 5 Jinan USR IOT Technology Limited Page 12 of 70 tec usr cn BARR Usr cn USR WIFI232 A B C User Manual http en usr cn 25 0 23 7 0 6 1 0 1 0 0 9 SMD module Mechanical Dimension y gi O 40 0 Esa K lt e E k r p a 3 PI ww ow IW EC O MN y Figure 3 USR WIFI232 X Mechanical Dimension 1 2 3 On board Chip Antenna USR WIFI232 X supports a buil
67. work settings in TCP client mode the server IP address input 10 10 100 254 this is WIFI module default IP address server port number 8899 this module default monitor TCP port number click the link to establish TCP connection Then click the create connection C USR TCP232 Tesz KS737 to Ethernet Convert tester FileQ Options QU lp Qp etSetng 2 Sere 4 10 10 100 254 E Connect p Becr Opticas Receive ta file Ad Line return Receive As SEI D Receive Pause D Receive ta Die AM lim return D Receive An MEI Receive Pause Scare Clear tare Clear Send Options D Data froe file Auto Checkow Auto Clear Input Sead As Mex Send Recycle Interval 1000 ex inan WER Techsology Co Lad ttp n usr cn Send led Cle L Ready Send 0 Recv 0 Reset to Besay Send Opticas Date from file Auto Checksum Auto Clear Ingut TF Send As Mex Ses Recycle Figure 32 TCP UDPDbg Tools Create Connection Jinan USR IOT Technology Limited Page 39 of 70 tec usr cn Qe A Because of the USR WIFI232 X module default support for transparent transmission mode so now BARR Usr cn USR WIFI232 A B C User Manual http en usr cn 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 module TXD and RXD indicator lights in the data through the flashing Y USR ICP232 Test RS232 to Ether
68. works as AP After USR WIFI232 X module boots up again the setting will be effective But user can set this command when module configured as STA 4 2 2 23 AT DHCPDEN B Function Enable Disable LAN DHCP server function B Format Query Operation Jinan USR IOT Technology Limited Page 55 of 70 tec usr cn Qo BARK A Usr cn USR WIFI232 A B C User Manual http en usr cn AT DHCPDEN lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT DHCPDEN lt sta gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta If Enable Disable LAN DHCP server function lt on Enable LAN DHCP function lt gt off Disable LAN DHCP function 4 2 2 24 AT DHCPGW B Function Set Query DHCP gateway address B Format Query Operation AT DHCPGW lt CR gt ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT DHCPGW lt address gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters address DHCP gate address 4 2 2 25 AT TCPTO B Function Set Query TCP timeout m Format Query Operation AT TCPTO lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTO lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters time TCP timeout time lt lt 600 600s gt 0 0 means no timeout lt Default 300s 4 2 2 26 AT MAXSK B F
Download Pdf Manuals
Related Search
Datasheet datasheet datasheet pdf datasheets 360 datasheet view datasheet catalog datasheet or data sheet datasheet archive datasheet4u datasheet lm35 datasheet 2n2222 datasheet gps module datasheet 7404 datasheet template datasheet ne555 datasheet bc547 datasheet arduino uno datasheet meaning datasheet raspberry pi pico datasheet dht11 datasheet pic16f877a datasheet view access datasheet 741 datasheets for datasets datasheet lm324 datasheet esp8266
Related Contents
Circulaire n°1 - Listes électorales Mod: PPF/18 Datalogger Bedienungsanleitung - baer Instrucciones de instalación Lavadoras alto centrifugado W465H Manual de instruções Copyright © All rights reserved.
Failed to retrieve file