Home

- Jinan USR IOT Technology Limited

image

Contents

1. IP HTTP server IP address Port HTTP server Port number 5 2 2 2 59 AT HTPTP E Function Set Query HTTP request type E Format Query Operation AT HTPTP lt CR gt Jinan USR IOT Technology Limited Page 74 of 93 tec usr cn BARK A BATUERA USR WIF1I232 A B C User Manual http www usriot com ok lt Type gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPTP lt Type gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Type GET default or POST 5 2 2 2 60 AT HTPURL Function Set Query HTTP header path Format Query Operation AT HTPURL lt CR gt ok lt Path gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPURL lt Path gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters Path Max length is 50 bytes 5 2 2 2 61 AT HTPHEAD E Function Set Query HTTP header m Format Query Operation AT HTPHEAD lt CR gt ok lt head gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPHEAD lt head gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters head HTTP header Please use the lt lt CRLF gt gt instead of carriage return Max length 200 bytes Note the AT command of AT HTPMODE AT HTPSV AT HTPTP AT HTPURL AT HTPHEAD is supported in V5 01 14 and above version 5 2 2 2 62 AT REGEN Function Settings query Registered Package Type E Format Query Ope
2. ke 8 a 4 j 10 7 i _ 5 ADM3202ARN Figure 21 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 A B C 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 3 5 4 Power Interface USR WIF1I232 A B C 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 4 Modules Function Description Jinan USR IOT Technology Limited Page 25 of 93 tec usr cn BATUERA USR WIF1232 A B C User Manual http www usriot com BARK A 4 1 User configuration process After USR WIFI232 A B C module electric starter based on user pre set parameters automatically connect to wireless networks and servers and enter the working mode is set to open in accordance with the default serial port parameters The parameters which need to configure include gt Wireless Network Parameters lt Wireless Network Name SSID lt Security Mode lt Encryption Key gt TCP UDP Linking Para
3. Recv 90 tec usr cn 2 BAU EHS USR WIF1I232 A B C User Manual BARK A Product Overview 2 1 General Description http www usriot com USR WIF1232 A B C module is an integration of 802 11 b g n wi fi module which provide a wireless interface to any equipment with a Serial interface for data transfer The module used to 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 USR WIF1232 A B C uses the industry s highest performance embedded industrial structure and for the application of smart furniture smart grid handheld devices personal medical industrial control etc These data fields do a professional optimization USR WIF1I232 A B C as a hot spot can accommodate 32 clients simultaneously wi fi access but also can accommodate 32 TCP client specific models and parameters of the series modules are as follows USR WIFI232 A 40mmx25mm 2x7 2mm Connector USR WIFI232 B 40mmx25mm 2x 2mm Connector USR WIFI232 Ca 40mmx25mm SMT Footprint USR WIFI232 Cb 40mmx25mm SMT Footprint 2 2 Device Features 4 4 Support IEEE802 11b g n Wireless Standards Support TCP IP UDP Network Protocols Support UART GP O Ethernet Data Interface Support Work As STA AP AP STA Mode Support Router Bridge Mode Networking Support Internal External Antenna Option Support Tr
4. LAN IP address 10 10 99 254 Different net segment with WAN port See AP nterface Setting Page E Module 3 Setting lt gt lt gt lt gt Works as STA mode See Mode Selection Page WAN connection type Static IP 10 10 100 101 See S7A nterface Setting Page Network Protocal TCP Client Port ID 8899 Application IP address Module 2 s WAN IP address 10 10 100 100 See Application Setting Page LAN IP address 10 10 98 254 Different net segment with WAN port See AP Interface Setting Page Jinan USR IOT Technology Limited Page 86 of 93 tec usr cn CBARK A BATZVAKS USR WIF1232 A B C User Manual http www usriot com AP SSID USR WIFI232 A LAN IP 10 10 100 254 Net Prot Tcp Server Protocol Port 8899 USR WIFI232 X User Device z ip UART User pe WI a X gsp STA SSID USR WIFI232 A WIFI232 X Device LAN IP 10 10 99 254 WAN IP 10 10 100 100 Net Prot Tcp Server Protocol Port 8899 STA SSID USR WIFIZ32 A WAN IP 10 10 100 101 Net Prot Tcp client 10 10 100 100 8899 LAN IP 10 10 98 254 Figure 65 Two USR WIF1232 A B C Modules Connection Through AP Q6 How to avoid IP address confliction when apply usr wiFi232 A B c 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 add
5. 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 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 4 4 Ethernet Interface Communication USR WIF1I232 A B C 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 WIF1I232 A B C module can configured as Bridge Mode or Router Mode base on different 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 4 4 1
6. 9 1 9 WEB IO m Quick Configure m Mode Selection WEB IO m AP Interface Setting Note only the module in GPIO2 model IO control effect m STA Interface Settin Output ae N N mb Ethernet Setting Input m HTTPD Chent Mode INT m Advanced ee T eee m Device Management Note Green represent 1 Red represent 0 Figure 41 WEB IO Page Jinan USR IOT Technology Limited Page 48 of 93 tec usr cn CBARK A BAUR USR WIF1232 A B C User Manual http www usriot com 5 1 10 Advanced Page Under the advanced Settings page the user can set the port mapping and function of DDNS without having to go on a router Settings reduce the complexity of setting the port mapping and DDNS can be in the public environment by entering the peanut shell domain name and port can quickly and easily find the module E HTTPD Client Mode E WEBIO E Device Management Advanced Setting Set the module of some advanced features Port mapping set Port mapping function 51968 Internal port 0 65535 oO 300 External port 0 65535 Port mapping time interval 0 1000 seconds Note this is used to get port forwarding from router then to mapping the port to module Apply Cancel Dynamic DNS Oray com Apply Cancel Figure 42 Advanced Setting Page 5 1 11 Device Management Page This page use to manage USR WIFI232 A B C module general setting such as administrator setting
7. Device ID setting Device ID 0 65535 1111 Send an ID when module connection is established Disable Jinan USR IOT Technology Limited Page 46 of 93 tec usr cn CBARK A BAIS USR WIFI232 A B C User Manual http www usriot com l ee O m Quick Configure pni Mode Server w E azeneriece serong Protocol TCP ka m STA Interface Setting Port 2399 Server Address MAX TCP Num 1 32 ag E Ethernet Setting TCP Time out MAX 600 5 0 E HTTPD Client Mode TCP ER password authentication Disable m WEBIO Open the SocketB function on m Advanced OV Port BEEE m Device Management Server Address 10 10 100 100 TCPE Time out MAX 600 5 0 App lay Cancel Figure 38 Application Setting Page Notes Generally Network protocols support three modes TCP Server TCP Client UDP Client UDP Server Besides module working as TCP Server IP address not required in this mode User must set the IP address of the device which need communicate with USR WIF1232 A B C module Also the Port ID between two sides of the communication devices must keep the same 5 1 7 Ethernet Setting This page is used to set Ethernet front end ports of the module It can be open or closed And also can be set to the WAN port to use this module can be used as a secondary router making it easy for users to network Specific Settings page is as follows m Quick Configure Ethernet Ports Setting rs Mode Selection Open or closed modules Ethernet
8. FASWD set up it s Up to 100 bytes 2 After the module receives a password if the password is correct to the address Unicast Port 48899 sends local IP address and MAC address and name of the module IP MAC MID as 10 10 100 254 888 B5D0000E2 guxin So you can get to the IP address of the module Jinan USR IOT Technology Limited Page 89 of 93 tec usr cn CBARK A BATIUBHS USR WIF1232 A B C User Manual http www usriot com Appendix b evb reference design 1 E sana BA KEY amp LED POWER Jinan USR IOT Technology Limited Page 90 of 93 tec usr cn BATU BHS USR WIF1I232 A B C User Manual http www usriot com BABE A Appendix c external power shutdown mode reference design USR WIFL232 gt UART FXO a UART_TXD piken FLEIR WART CTS WART ATS ob Ei 1 T I P l Ci 1 1 l i 1 i l on i w l m 1 i i i 1 i 1 w 1 m 1 T TALVC1G126 DIODESTI 0 06 pes S AP2280 1WG 7 RAP2290 2WG 7 DIODES 0 12 pcs Jinan USR IOT Technology Limited Page 91 of 93 tec usr cn BAZVAHS USR WIF1232 A B C User Manual http www usriot com CBARK A 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 Web http www usriot com Support http h usriot com Email sales usr cn Appe
9. The ID function requires that the server carries out corresponding processing In front of the data when module connected to the server with two bytes of ID ID the range is 0 65535 the high byte before and the low byte behind plus two bytes ID radix minus one Jinan USR IOT Technology Limited Page 68 of 93 tec usr cn CBARK A BATUERA USR WIF1232 A B C User Manual http www usriot com complement Module is the default ID is 1111 for example is sent to the server when the first four bytes 0x57 0x04 Oxfb Oxa8 2 2 2 39 AT AABR E Function Enable Disable Self adaption Baudrate function E Format Query Operation AT AABR lt CR gt ok lt onloff gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT AABR lt onloff gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters On off Enable or Disable Self adaption Baudratefunction lt On enable Self adaption Baudrate function lt Off disable Self adaption Baudrate function 2 2 2 40 AT RELD E 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 2 2 2 41 AT Z m Function Re start module E Format AT Z lt CR gt 2 2 2 42 AT MID Mm Function Query module ID information E Format Query Operation AT MID lt CR gt ok lt module_id gt lt CR gt lt LF gt lt C
10. gt NFC No flow control lt FC flow control After USR WIF1I232 A B C module boots up again the setting will be effective 5 2 2 2 5 ATtUARTF E 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 m Parameters para lt disable Close auto frame function lt enable Open auto frame function 5 2 2 2 6 ATtUARTFT m Function Set Query UART auto frame trigger time E Format Query Operation AT UARTFT lt CR gt Jinan USR IOT Technology Limited Page 57 of 93 tec usr cn BARK A BATUERA USR WIF1I232 A B C User Manual http www usriot com 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 m Parameters time Range 100 10000 Unit ms Auto frame trigger time 5 2 2 2 ATtUARTFL E Function Set Query UART auto frame trigger length m Format 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 m Parameters len Range 64 4096 Unit byte Auto frame trigger length 5 2 2 2 8 AT TMODE m Function Set Query data transmission mode E Format Query Operation
11. 2 2 2 36 AT MMID m Function Set Query Device ID E Format Query Operation AT MMID lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MMID lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ID device id 0 65535 After USR WIFI232 A B C module boots up again the setting will be effective 5 2 2 2 37 AT IDFIR E Function Enable Disable Send an ID when module connection is established function m Format Query Operation AT IDFIR lt CR gt ok lt on off gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT IDFIR lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters On off Enable or Disable Send an ID when module connection is established function lt On enable Send an ID when module connection is established function lt Off disable Send an ID when module connection is established function 5 2 2 2 38 AT IDEVE m Function Enable Disable Every time to send data to send ID function E Format Query Operation AT IDEVE lt CR gt ok lt on off gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT IDEVE lt on off gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt E Parameters On off Enable or Disable Every time to send data to send ID function lt On enable Every time to send data to send ID function lt Off disable Every time to send data to send ID function Note
12. 3 5 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 USR WIF 1232 PHY _TX 1XOM4 PHY _TX4 TXOP4 PHY _RX 4RXIM4 PHY_RX4RXIPA VCC PHY HP IRPHY USR WIFI232 C Jinan USR IOT Technology Limited Page 23 of 93 tec usr cn BATZVAKS USR WIF1232 A B C User Manual http www usriot com CBARK A Figure 19 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 BOT side component TOP side component Figure 20 Schematic resistance changes 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 thi
13. 5 2 2 2 3 AT tNETP m Function Set Query network protocol parameters E Format Query Operation AT NETP lt CR gt ok lt protocol CS port P 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 m Parameters protocol lt TCP lt UDP CS Network mode lt SERVER lt CLIENT Port protocol port ID Decimal digit and less than 65535 Note When it is Tcp and Udp Server the Port can not be 80 HTTP port 8000 websocket port 49000 usr link port Jinan USR IOT Technology Limited Page 56 of 93 tec usr cn BARK A BATUERA USR WIF1I232 A B C User Manual http www usriot com IP Server s IP address when module set as client After USR WIFI232 A B C module boots up again the setting will be effective 5 2 2 2 4 ATtUART m Function Set Query serial port parameters E Format Query Operation AT UART lt CR gt ok lt baudrate data_bits stop_bit parity flowctri gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data_bits stop_bit parity flowctri gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters baudrate lt 300 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 345 600 460800 data_bits lt 5 6 7 8 stop bits v 1 2 parity lt NONE EVEN ODD MARK SPACE flowctrl hardware flow control CTSRTS lt
14. 99 254 1 UART User Device AP 551D USK WIFI 232 AP xxxx LAN IP 10 10 100 254 Net Prot Tcp Server Protocol Port 8899 USK WIFI Ss A B C Figure 58 Jinan USR IOT Technology Limited Page 83 of 93 See AP nterface Setting Page 2H UART 52 User Device STA SSID USR WIFI232 AP xxxx WAN IP DHCP USR WIFT232 Net Prot Tcp client 10 10 100 254 8899 LAN IP 10 10 99 254 A B C Configure Transparent Serial Port Connection TCP tec usr cn CBARK A BAZVAKS USR WIF1I232 A B C User Manual http www usriot com Q2 Where to Set WIFI Module LAN IP and WAN IP through Web Page gt USR WIFI232 A B C Wireless LAN IP address setting see AP Interface Setting Page as below Figure LAN Setup IP Address 1010100254 Subnet Mask 255 255 255 0 MAC Address 88 8B 5D 70 04 87 DHCP Type Server gt a Default DHCP Gateway 1010 100 254 Apply Cancel Figure 59 Module LAN IP Setting gt USR WIFI232 A B C 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 Static Mode subnet Mask s 25500 Default Gateway fi 0 10 99 254 Apply Cancel Figure 60 Module WAN IP Setting Q3 How to configure transparent serial port application UDP protocol with two wiri modules gt Network structure
15. 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 o0k lt CR gt lt LF gt lt CR gt lt LF gt E Parameters tmode Data transmission mode lt Through Transparent transmission lt Agreement Agreement transmission lt Httpdclient Httpd Client Mode lt GPIO GPIO Mode After USR WIFI232 A B C module boots up again the setting will be effective Note No CMD After power on the module will not work in the AT command mode by default 5 2 2 2 9 AT WMODE E Function Set Query WIFI work mode E 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 m Parameters Jinan USR IOT Technology Limited Page 58 of 93 tec usr cn CBARK A BAZVAHS USR WIF1I232 A B C User Manual http www usriot com mode WIFI work mode AP lt STA After USR WIF1I232 A B C module boots up again the setting will be effective 5 2 2 2 10 AT WSKEY E Function Set Query WIFI security parameters as STA E Format Query Operation 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 o0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters auth Authentication mode lt OPEN lt SHARED lt WPAPSK encry Enc
16. C modules Moreover in such Adhoc network structure the whole coverage of a wireless network can be extended easily Jinan USR IOT Technology Limited Page 30 of 93 tec usr cn CBARK A BATIUBHS USR WIF1232 A B C User Manual http www usriot com PL USR WIFI232 A B C USR WIFI232 A B C USR WIFI232 A B C un User Device User Device Figure 24 USR WIFI232 A B C STA Network Structure 4 3 3 AP STA USR WIF1I232 A B C module support AP STA network mode means module support one AP interface and one STA interface at the same time as following figure User Device Phone Tcp server Tcp Tcp server Client USR WIFI 232 A B C Figure 25 USR WIFI232 A B C AP STA Network Structure 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 Jinan USR IOT Technology Limited Page 31 of 93 tec usr cn BATUERA USR WIF1232 A B C User Manual http www usriot com BARK A 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
17. Ports E gt AP Interface Setting E STA Interface Se Ethernet function A pplication Setting Open the Ethernet2 i Set the Ethernetz work mode LAN port Ethernet Setting o Ep iia Cancel Figure 39 Ethernet Setting Page Jinan USR IOT Technology Limited Page 47 of 93 tec usr cn CBARK A BATIUBHS USR WIF1232 A B C User Manual http www usriot com 5 1 8 HTTPD Client Mode This page sets the HTTP header in the HTTPD Client mode Include the address of the server the server port request type protocol header path Connection user agent HTTPD Client mode support POST PUT GET three HTTP request types ls a POST or PUT request way serial data can be added to the back of the HI TP header When the request is a GET data can be added to the back of the path in the HTTP header The specific way of sending data can consult section 4 2 4 m Quick Configure HTTPD Client Mode E Mode Selection In HTTPD Client mode set the relevant parameters of HTTP Note HTTPD Client mode is used to communicate with HTTP Server It encapsulate the serial data to be HTTF protocol data then send to HTTP Server m Application Setting HTTPD Server address 10 10 100 200 E Ethernet Setting HTTPD Server port ao HTTPD Request Type GET E WEB IO HTTPD Header path fabed HTTPD Header Connection keep alive m Advanced HTTP Header User Agent lwipl 3 2 E Device Management Apply Cancel Figure 40 HTTPD Client Mode Page
18. Specific setup process please refer to the AT command section 5 2 2 2 39 EX Help AutoRun Keep Alive Run as tray icon Synchronize baudrate RFC2217 similar 3 LE k p l S Figure 31 RFC 2217 In this way the module of baud rate will be as the USR VCOM to change at any time and don t have to restart the module lIf restart the module baud rate and will come back to before 4 8 4 WEB IO This function only work for GPIO mode When the module is in the GPIO mode enter the Webpage in WEB IO you can click on the corresponding button to control module pin level Without the need to download and install app any platform any equipment as long as you can into the built in Webpage of module through the browser built you can control module pin of IO 4 8 5 Keepalive V4 02 10 USR13 and above version of the firmware added keepalive when the TCP connection mechanism so when the module of network anomalies timely diagnose abnormal to the network and disconnect when the network has resumed after and just in time to connect to the server 4 8 6 Multiple STA parameters This function based on V4 02 10 D U SR18 and above version of the firmware in the sta mode if can network signal is too low it will automatically switch to the other AP network switching network automatically restart This feature provides a signal threshold when the current network signals is lower than the critical value the module of automatic
19. Time out MAX 600 5 300 Apply Cancel Figure 62 Module Network Protocols TCP Server m Protocol TCP Client lt Application IP address required it s target TCP server s IP address lt Port ID required 8899 Default Mode Client Protocol TCP Port s899 t lt i it IP Address 10 10 10 40 tt lt C tits S TCP Time out MAX 600 s 300 cancel Figure 63 Module Network Protocol TCP Client Jinan USR IOT Technology Limited Page 85 of 93 tec usr cn lt gt lt gt lt gt CBARK A BATZVAKS USR WIF1232 A B C User Manual http www usriot com E Protocol UDP No Server Client selection required Application IP address required its target device s IP address Port ID required 8899 Default Net Setting Mode Protocol Port IP Address 10 10 10 100 Figure 64 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 E Module 1 Setting We use USR WIFI232 A B C as AP for this example lt Works as AP mode and all default setting E Module 2 Setting lt gt lt gt lt gt lt gt Works as STA mode See Mode Selection Page WAN connection type Static IP 10 10 100 100 See S7A nterface Setting Page Network Protocal TCP Server Port ID 8899 See Application Setting Page
20. User Name and Password ilable WANN Set Query WAN setting only effective as STA mode Open close baud rate adaptive function HTPSV Under the new mode Settings query server and IP address HTTPD Client HTPTP Under the new mode Settings query request type HT TPD Client HTPURL Under the new mode setting query request path HT TPD Client HTPHEAD Under the new mode Settings query the HTTP header HTTPD Jinan USR IOT Technology Limited Page 55 of 93 tec usr cn BARK A BAZVAHS USR WIF1232 A B C User Manual http www usriot com Client REGEN Settings query Registered Package Type REGTCP Settings query Upload Manner Settings query Device ID Notes USR WIFI232 A B C 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 2 2 2 1 AT E E 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 When USR WIFI232 A B C 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 2 2 2 2 ATtENTM E Function Set module into transparent transmission mode E Format ATtENTM lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt When operate this command module switch from configuration mode to transparent transmission mode
21. a wires network Data server PC open TCP Server protocol and all USR WIFI232 A B C 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 82 of 93 tec usr cn BARK A BAUR Appendix A Questions USR WIF1232 A B C User Manual http Awww usriot com and Answers Q1 How to configure transparent serial port application TCP protocol with two wiri modules gt Network structure as below figure E Module 1 Setting lt Works as AP mode lt LAN IP address 10 10 100 254 lt Network Protocal TCP Server Port ID Module default setting E Module 2 Setting lt Works as STA mode See Mode Selection Page See AP nterface Setting Page 8899 See Application Setting Page See Mode Selection Page lt WAN connection type DHCP or Static IP For this example 10 10 100 100 lt gt Network Protocal TCP Client Port ID IP address 10 10 100 254 lt gt See STA Interface Setting Page 8899 Application IP address Module 1 s LAN See Application Setting Page Notes When module 2 works as STA mode module s WiFi interface works as WAN port Module s WAN IP address and 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
22. command operator The command requires parameters input NULL Query the current command parameters setting E para n Parameters input for setting if required 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 gt Response Message lt RSP gt op para 1 para 2 para 3 para 4 lt CR gt lt LF gt lt CR gt lt LF gt m Prefix of response message m RSP Response string ok Success ERR Failure op para n Parameters if query command or Error code when error happened lt CR gt ASCII 0x0d lt LF gt ASCIII Ox0a gt Error Code Table 10 Error Code Description Eads aE Web Access Default Setting 41s invalid Command Format Invalid Command 2 Invalid Command Invalid Operation Symbol Invalid Parameter Operation Not Permitted 5 2 2 2 AT Instruction Set Table 11 AT Instruction Set List Instruction Description gt Z gt Jinan USR IOT Technology Limited Page 54 of 93 tec usr cn BAZVAHS USR WIF1232 A B C User Manual http www usriot com BARK A transparent transmission or agreement transmission 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 Set Query WEB page login parameters
23. duplicate and broadcast to every TCP connection or client Detailed multi TCP link data transmition structure as following figure Jinan USR IOT Technology Limited Page 36 of 93 tec usr cn BAZVAKS USR WIF1I232 A B C User Manual http www usriot com CBARK A WIFI e Devicel C Device2s device Device3i Figure 30 Multi TCP Link Data Transmition Structure 4 7 2 SocketB Socket B has one work mode TCP Client please refer to the AT TCPB AT TCPPTB TCPADDB TCPTOB TCPLKBcommand instruction With variety work mode socket B can provide users with flexible data transfer methods For example Socket B can connect to a remote server in order to achieve remote control 4 8 New function This chapter is based on the function of V5 01 01 and above if not this version you can skip this section 4 8 1 TCP password authentication This feature is available only on the module as a TCP server when the TCP client connection module the module will authenticate each connected tcp Each TCP client first data is the password 0x0d 0x0a the password is Webpage authentication password The default password is admin so the first piece of data should be 0x61 0x64 Ox6D 0x69 Ox6E Ox0D Ox0A Hex If the password is correct the module returns OK on the other hand return to the NO and disconnect The TCP connection of this function can be Webpage in TCP connection password authentication is opened or disable Please r
24. 100 LAN IP address 10 10 98 254 Different net segment with WAN port gt AP SSID USR WIFI 232 AP xxxx LAN IP 10 10 100 254 Net Prot tcp client 10 10 100 100 8899 iW ae User Ps Device 10 10 100 100 USR Net Prot Lep WIFI232 server 8899 A B C User USR USR Y k i WIFI232 z DevicRTA SSID USR WIFI232 WIFI232 Ta A B C A B C STA SSID USR WIFI 232 LAN IP 10 10 99 254 AP _xxxx WAN IP 10 10 100 101 LAN IP 10 10 98 254 Net Prot tcp client WAN IP 10 10 100 102 10 10 100 1008899 Net Prot tcp client 0 10 100 100 8899 Figure 66 Wireless Data Acquisition Card Setting Q8 WIFI module support UDP multicast At present all the WIFI module does not support UDP multicast function IP multicast address range is 224 0 0 0 239 255 255 255 When setting module please don t set this IP section if set may cause the module can t normal start Q9 WIFI module operates in STA mode the PC how to get the IP module All wifi module supports UDP search they will return to their respective IP MAC MID detailed search process is as follows Jinan USR IOT Technology Limited Page 88 of 93 tec usr cn BAZVAKS USR WIF1232 A B C User Manual http www usriot com BARK A o_o PC via UDP broadcast broadcast address xx xx xx 255 Port 48899 sent a password the default password is HF A11ASSISTHREAD the password can be used AT commands AT
25. 37 4 8 2 Registered Package ID MAC eeeeeseeesserrrrrssssrrrrrrrsssserrrrrrssssrrrerresssserrrererssesrrrereesses 37 4 8 3 Self adaption Baudrate eseeeeeeererrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrerrerrrrrrrrrrrrren 38 WOENE B IO a EN TE E A AEE A E TEA E E E ETE EEE 38 Ano Reen NVO ea A A A eee er eee ere eee 38 4 8 6 Multiple STA parameterS eeeeeeeeeeeeeeeesseesssssessssseeeeeeeseererereresereerrrereereereereerrererereee 38 O ODS KO ae r E E E E N ONE EINEN T EAE N OANE ONEN ONNE 39 4 8 8 Fast access Wi Fif usr link eeeseeeeeserrssssssrrrrrrsssssrrrrrsrssssrirrrersssrrrrrrrrsssrrrreersssssrrn 39 ADT SIM OCIG lt 5 Vall a A 41 4 10 Parameters Configuration ccccccesssssssscccecececcccccceeesesssssssssscceeeeeesccececeeeeeessssseetseeeeeess 41 4 11 AL s at i gt 6 eee ene er A erines earrannan ease I NEEE ON EEE onra EUSA resi ianes iie 42 5 Web Accessing and AT INStrUCTION SOt eee eeeecccccccccccccccceeseeeessssssssceeeeeecccecceeeseeeesetsnaeeeeeeeeeeeceeees 43 5 1 Configuration via Web ACCESSING cccccceeesssscccceceeeccccccceeseseesesssnceeeeeeececececeeeeeeeetetsttteaeeess 43 5 1 1 Open Web Management Interface eeeecccccccccesssssseeecccceesssssseeeeceeeesssssseeeeeees 43 SAAD 6s O09 1 N 2 vena ne re ne ene Ren E E eee ee E 44 5 1 3 Mode Selection Page cccccccccccccccesssssssssssccceeeeescecccceceseesesssesseceeeeseseeceeeeeseeseeeees 44 5 1 4 AP
26. A_3378 T Paikat 1010 100 300 Duration 0 24 04 Speed 72 0 Mbps Signal Strength aill Subnet Mack 255 255 255 0 Default Gateway 10 10 100 254 Details Auchivity Windows did not detect problems wath this rP im pe connection If you cannot connect click Co al it Hepar i Disable View Wireless Networks Close Jinan USR IOT Technology Limited Page 8 of 93 tec usr cn BANH BAEVA USR WIFI232 A B C User Manual http www usriot com Figure 3 WIFI connection Now nlink led of USR WIFI232 A Evaluation Board is lighting 1 3 communication test Module s default setting SSID USR WIF1232 A Encryption mode open none UART 57600 8 1 None Network parameters TCP Server 8899 10 10 100 254 IP 10 10 100 254 We just need to follow the parameters of the corresponding set of network communication parameters you can make serial lt gt WIFI communication the steps are as follows 1 Open test software USR TCP232 Test 2 COM Settings area left Choose COM port witch has connect the module there is COM3 choose band rate to 57600 this is the default band rate of WIFI module Click Open COM port 3 Net Settings area right Choose TCP client mode Server IP write 10 10 100 254 it is the WIFI default IP address Server port to 8899 It is the default Port the WIFI module listen Click Connect to link to the module Now you can test send data between RS232 and WIFI
27. BATUBHS USR WIF1232 A B C User Manual http www usriot com BARK A USR WIFI232 A B C Embedded WiFi Module User Manual Version V5 0 8 Remarks This module is applicable to USR WIFI232 A B C and its derivatives for example USR WIF1I232 2 610 For USR WIFI232 G T S please refer to the corresponding document Note this article is based on the firmware version for V5 01 01 and above version of the module if the version is lower than this version some function is not supported Jinan USR IOT Technology Limited Page 1 of 93 tec usr cn BARK A BATIABIKS USR WIF1232 A B C User Manual http www usriot com Table Of Contents FUCK S 2 g mene E nS ve ne Ne ve ae EA ae 7 1 1 Hardware CONNECE ccccceceeessccccecccccccccccecsssssssssnsneceeessccececceesesesssesescaeeeeeesceceeeeeeeeeseeeetsttaeenees T 1 2 NetWork CONDE CUO nieres eenei T 1 3 COMMUNICATION TESTE eee eeeeccccecccccccccceceeeeesssssssnceeeeeeecccececeeeeeeeeeessssseeeeeeeececceeeeeeeeeeettttttaeeeess 9 2 Produc Over EW veisicnstcstiantacedsangoneteassinciiasstaetiansesadsaneacsteautuniieevnian uassonadeantensteantiessia ciaetiavsisateawsinaten mien 9 PI C a 21 DESCH O pee en eT Pt EO ST A TS I A 10 Zoe NOVICA MS aa A oes navn ee oan eaers A AO enemas 10 2 3 Device PAreMeteYS i cccccesssssssscccceecccccccceesessssssessccceeeeesssccceceseseeeseeseescaceeseesceceeeeeeeseeeeeeas 11 2 4 Key AD DINCAUOMN ies sviacssacncestesancesdiemsdss evns
28. COM port to WIFI PC RS232 gt Module RS232 gt Module WIFI gt PC WIFI WIFI to COM port PC WIFI gt Module WIFI gt Module RS232 gt PC RS232 USR ICP232 Test RS232 to Ethernet Convert tester File F Options Q Help H COMSettings COM port data receive PortNum comi http fen usr enhttp en usr enhttp en u BaudR 57600 sr cn DPaity NONE gt DataB abt Stop ibt Close Network data receive EReceive from 10 10 100 254 8899 Jinan USR Technology Co Ltd Jinan USR Technology Co Ltd Jinan USR Technology Co Ltd NetSettings 1 Protocol 2 Server IP 2 Server Port Disconnect Recy Options Receive to file Add line return Receive As HEX Receive Pause Save Clear Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 1000 ms Load Clear LE Ready Jinan USR IOT Technology Limited Port Jinan WSR Technology Co Ltd http fen usr en Send Send LocalHost 10 10 100 100 10 100 100 Send 90 Recy 48 Reset I6 Ready Send 48 Figure 4 serial network transmission test Page 9 of 93 Recy Options Receive to file Add line return Receive As HEX Receive Pause Save Clear Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 10 ms Load Clear Reset
29. 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 5 2 2 2 20 AT TCPDIS E Function Open Cose TCP Only TCP Client available E Format Query Operation Jinan USR IOT Technology Limited Page 62 of 93 tec usr cn 9 2 2 2 21 E E 0 BARK fa BATUERA USR WIFI232 A B C User Manual http www usriot com AT TCPDIS lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDIS lt onl off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters sta set query TCP link status lt on TCP link available When setting on module will connect to TCP server right away lt off TCP link not available when setting off module will disconnect with TCP server and not connect again AT WANN Function Set Query WAN setting only effective as STA mode 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 Parameters mode IP setting for WAN port lt 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 A B C works as STA After USR WIFI232 A B C module boots up ag
30. F1I232 A B C User Manual http www usriot com Serial CON3 SecureCRTI MAE HE BEM AMO fem BES IAW Hw HYJA BA Geo FSB A Serial COM3 a 0O AT H ok 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 lok The Module ID eg All yymmddxxxx Gyy year mm imonth dd day xxxx serial num AT H Help Serial COM3 22 1 2647 983i VT100 Figure 46 AT H Instruction for Help We supply software USR WIFI232 Setup to send command easily software setup m OUprate via COM WIF232 L default 175200 Others 57600 ao renn Figure 47 Serial port parameter 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 Jinan USR IOT Technology Limited Page 52 of 93 tec usr cn 0 BARK A BATUERA USR WIFI232 A B C User Manual http www usriot
31. F1I232 A B C works as router mode but PC2 can t active initiate a connection to PC1 Jinan USR IOT Technology Limited Page 33 of 93 tec usr cn BATZVAKS USR WIF1232 A B C User Manual http www usriot com CBARK A 4 4 3 USR WIFI232 A B C Ethernet Interface Networking As STA Z Ver USK WIFI232 A B C 7 100M Eth Gen STA I Ver ra E BS E lt i ta sE Py a g 2 Boe s s k a S j in 3 eee hei Sie ete 192 168 1 100 GateWay 192 168 1 1 192 168 1 1 LP p S Pa 2 160 4 101 192 168 1 10 GateWay GateWay IP 192 168 ded 192 168 1 1 Figure 28 USR WIFI232 A B C Ethernet Interface Networking As STA Z Ver For above networking USR WIFI232 A B C 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 A B C 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 4 5 WI FI parameter setting 4 5 1 Auto Frequency Function When module works as STA USR WIFI232 A B C will adjust its wireless channel to keep the same channel with associated AP and co
32. Interface Setting PAGe ec cccccccccssssssssssssseeeeeescccccceeeeseeseesessssseeeeeeeceeeeeeess 45 5 1 5 STA Interface Setting Page eeesssssscccccccccccccceceessessssssssscseeeeeesecceceeeesseeseeeas 45 5 1 6 Application Setting Page cccccccssssssssssseeeeeeeececeeeeeeeeeessssssseeeeeeeeeeeeeeeeeeeeeeeas 46 Ar ENETEIA a aaae 47 9 OF PPD CHEE MOGG recria dusniavsdensduneSaveiuuniorssng E E a ENEE 48 TINE B IO ea E E E E A E AA E E AA ss E E ER TAE 48 5 1 10 Advanced Page ccccscsssscccccccccccccccesssssssssssscsceeeessececcceeeessesseseesccceeeesesececeeeeeeesseeeeas 49 5 1 11 Device Management Page sssessesseeerrrrrrssssssssesrrrrrrerrrrssssssssserrrrrrerrerressssssseerrrrrees 49 92 Altin truction NroduUCUOMe critani n a Mee ee 50 5 2 1 Configuration MOdE ssiressssrassnuredsrssirisn dnra iiia ioiii 50 5 2 1 1 Switch to Configuration MOde eeeeeeeeeessesssssssssssserrrrrrrrrrsssssssssserrrrrreerreesssssssee 51 9 2 2 Al FP Instruction Set OV EIVICW seceireceiisi piis n Esae nEs ron EEEE ESSE EENET 51 50 22 1 Str CON Syntax Formales rE AAEE AT ATE 53 Jinan USR IOT Technology Limited Page 3 of 93 tec usr cn BAEV EWS USR WIF1I232 A B C User Manual BARK A 5222 A WSU UIC ON SE bei nce ene staneeaana eieaceauaaeeeeeten eet eaieanses e TAT E ee a aerate EEE E E EE EE E EE ER E eLA AMEN TM eesin E EEEE OE O E E CS ey AAP aa ATENE TP ea EEEE E E EE eee ee ere ee D222 A FAR seseiincnetaintaictnoenntnses snsiai
33. OST AT HTTPPH Function Set Query HTTP protocol header path Format Query Operation AT HTTPPH lt CR gt ok lt Path gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPPH lt Path gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Path Max length is 50 bytes AT HTTPCN Function Set Query Connection of HTTP protocol header Format Query Operation Page 70 of 93 http Awww usriot com BARK A BATUERA USR WIF1I232 A B C User Manual http www usriot com 9 2 2 2 49 m E 5 2 2 2 50 m m AT HTTPCN lt CR gt ok lt Connection gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPCN lt Connection gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Connection Max length is 20 bytes AT HTTPUA Function Set Query User Agent of HTTP protocol header Format Query Operation AT HTTPUA lt CR gt ok lt Parameter gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPUA lt Parameter gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Parameter Max length is 20 bytes AT WSSSIDA Function Set query the first AP s ssid of 3 sta parameters settings Format Query Operation AT WSSSIDA lt CR gt ok lt ap s ssid gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSSSIDA lt ap s ssid gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF g
34. Off hide SSID Jinan USR IOT Technology Limited Page 61 of 93 tec usr cn BARK A BATUERA USR WIF1232 A B C User Manual http www usriot com lt On not hide SSID 2 2 2 17 AT MSLP m Function Set modules into power save mode Turn OFF WiFi Regardless of the AP mode or the sta mode E Format Query Operation AT MSLP lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MSLP lt onloff gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m 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 on to re start the module and module go into transparent transmission mode 2 2 2 18 AT WSCAN E Function Seek AP when module works as STA mode E Format AT WSCAN lt CR gt ok lt ap_site gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ap site AP searched The first line of the return value is RSSI SSID BSSID Channel Encryption Authentication they are the signal strength network name MAC address channel mode of authentication encryption algorithm 5 2 2 2 19 AT TCPLK E Function Query if TCP link already build up E Format AT TCPLK lt CR gt ok lt sta gt lt CR gt lt LF gt lt
35. R gt lt LF gt m Parameters module id MID information lt Ai1 yymmddnnnn yymmdd date nnnn serial number 2 2 2 43 AT VER E 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 m Parameters ver Module software version information 2 2 2 44 AT H m Function Help Jinan USR IOT Technology Limited Page 69 of 93 tec usr cn 9 2 2 2 45 i m 5 2 2 2 46 E m 5 2 2 2 47 m 5 2 2 2 48 E E Jinan USR IOT Technology Limited 0 BARK fa BAUR USR WIF1I232 A B C User Manual 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 Parameters command help command introduction AT HTTPURL Function Set Query HTTP server IP address and Port Number Format Query Operation AT HTTPURL lt CR gt ok lt IP Port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPURL lt IP Port gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters IP HTTP server IP address Port HTTP server Port number AT HTTPTP Function Set Query HTTP request type Format Query Operation AT HTTPTP lt CR gt ok lt Type gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPTP lt Type gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Type GET default or P
36. TA from joining to illegal network by binding the BSSID address to improve wireless network security 4 6 UART Frame Scheme 4 6 1 UART Free Frame USR WIF1I232 A B C 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 this interval time exceeds defined value 50ms default USR WIFI232 A B C will think it as the end of one frame and transfer this free frame to WiFi port or USR WIFI232 A B C will receive UART data until 4K bytes then transfer 4KB frame to WiFi port USR WIF1232 A B C 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 Jinan USR IOT Technology Limited Page 35 of 93 tec usr cn BARK A BATUERA USR WIF1232 A B C User Manual http www usriot com Through AT command AT FUARTTE fast normal user can set the interval time fast 10ms and normal 5O0ms This command is factory default setting command and AT RELD can t change its value 4 6 2 UART Auto Frame USR WIF1I232 A B C 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 structu
37. USR WIF1I232 A B C Ethernet Interface Networking As AP 32 4 4 2 USR WIF1I232 A B C Ethernet Interface Networking As STA N Ver 008 33 4 4 3 USR WIF1I232 A B C Ethernet Interface Networking As STA Z Ver 0 08 34 45 WI Fiparameter SUING bciccissasicerisveesiteniatsteiiersteinttesdinisinksindsleskdettoiesiubdniewislutitnd EES NEEE NEENA 34 4 5 1 Auto Frequency Function eeeeeessseeerrrrssssssssssrrrrrrrrrrrrsssssssseerrrrrerrrressssssssserrrrereeeeeesse 34 Aa EC a E teas sad oessanahac a teateussiosevastes wnenseereiateast 34 4 9 3 Sedich FUNCION TOr eee s enetneeden reeni edn di eiie rider it criden iadair ii 35 Ce OOS SS BNdNeeicscien taneaaeadouaestetecticuciansudedocueatedsorststaneaauiavacde toeseauessiatetanaesas 35 4 6 UART Frame SCMC IIS vcccisssesseacossvcsiesantisncassestassanseenenunestacd atdansuesiatdevsats sane stesdaadaathnaeeaaeetdovestounnnds 35 4 6 1 UART TA SCH VAIN C ss ccstnncassctsenccadndosddedbaawanosbioneanasinncddaaesoeddntbaawddnsbioncadechbneddassnandaneoawdnmunnads 35 46 2 UART ANE CO ad irc 2 eee nee ee to on tee a a 36 A NetWork Seting Peet ne Oe ne te ee ne eee ee 36 BET OCIS GPa rssccapsiserecsit scontere E a ve ovesett st erigd seinen T E A EE EEEE EE 36 AE cD Ee EN MENEE EEEN ESEA EEEE T ESE ONEEN SEEE AEEA 37 a O NON TUNC HOR er A A A tonmeagsecouunat 37 4 8 1 TCP password authentication eeeeeeeeeeeeeeeseesessesssssssssesssssessreesreresererereeereereereeererrerene
38. USR WIFI232 A B C Ethernet Interface Networking As AP Jinan USR IOT Technology Limited Page 32 of 93 tec usr cn BATIUBHS USR WIF1232 A B C User Manual http www usriot com CBARK A i USR WIFI 232 A B C rbd IP 10 10 100 101 IPs 10 10 2100 100 GateWay AP GateWay 10 10 100 254 IPs 10 10 100 204 0 10 100 254 Figure 26 USR WIF1232 A B C Ethernet Interface Networking As AP USR WIFI232 A B C 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 A B C and they can ntercommunication with this method 4 4 2 USR WIFI232 A B C Ethernet Interface Networking As STA N Ver USRWIFI232 AP A B C ae STA N Ver Ip IP IP 7 1 100 192 168 1 101 IP 10 10 100 101 oR GateWay IP 192 168 1 100 GateWay Loe 1GG61 101 192 168 1 1 GateWay 0 10 100 254 192 160 11 Figure 27 USR WIFI232 A B C Ethernet Interface Networking As STA N Ver USR WIF1I232 A B C 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 WI
39. a TCP connection When configure as TCP Server USR WIFI232 A B C support maxima 32 TCP connections If not require so much connection user can resetting this parameters 5 2 2 2 21 AT TCPB E Function Open Close TCPB function E 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 m Parameters sta TCPB enable status lt on TCPB enable lt off TCPB disable After USR WIF1I232 A B C module boots up again the setting will be effective 5 2 2 2 28 AT TCPPTB m Function Set Query TCPB port number E 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 m Parameters port decimal lt 65535 Jinan USR IOT Technology Limited Page 65 of 93 tec usr cn BARK A BATUERA USR WIF1I232 A B C User Manual http www usriot com After USR WIF1I232 A B C module boots up again the setting will be effective 5 2 2 2 29 AT TCPADDB m Function Set Query TCPB server address E Format Query Operation AT TCPADDB lt CR gt ok lt add gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPADDB lt add gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters add TCPB server address can be IP add
40. a specific application send data 0x55 Oxaa 0x00 Ox0a 0x00 0x00 0x00 0x21 0x00 0x85 0x00 OxA8 OxCO 0x01 OxOf Length 0x00 Ox0a Function byte 0x00 UDP Short connection IP cut protocol Destination port 0x21 0x00 33 Target address 0x85 0x00 OxA8 OxCO 192 168 0 133 Data 0x01 data length 1 Sum check 0x0f Ox00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 O0x0f 4 2 3 GPIO mode USR WIFI232 A B C module support GPIO mode At GPIO UART TXD RXD CTS RTS defined as GPIO and others Ready Link also defined as GPIO pin When module works at GPIO mode PC and other equipments can setup connection TCP UDP through WiFi then read write GPIO information through command GPIOn IN Set GPIOn as input Response GPIO OK or GPIO NOK GPIO n OUT 0 Set GPIOn as output and output 0 Response GPIO OK or GPIO NOK GPIO n OUT 1 Set GPIOn as output and output 1 Response GPIO OK or GPIO NOK GPIO n SW Set GPIOn as output and switch the output status Response GPIO OK or GPIO NOK GPIO n PWM m1 m2 Set GPIOn output a wave m1 is high duration and m2 is low duration Time unitis ms and minimal is 10ms Response GPIO OK or GPIO NOK lt 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 corresponding module pin GPIO 4 can only defined as input and GPIO 3 can only defined as output GPIO READ returns
41. able V RF Off if WiFi OFF http Awww usriot com This Instruction only effective for USR WIFI232 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as AP 2 2 2 13 AT tWEBU E Function Set Query WEB page login parameters E 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 m Parameters usr User name for WEB page access password Password for WEB page access 5 2 2 2 14 AT WAP mM 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 m Parameters wifi mode WiFi protocols lt 11BG lt V 11B 11G 11BGN lt 11N ssid SSID when module works as AP channel WIFI channel selection lt AUTO lt CH1 CH11 Jinan USR IOT Technology Limited Page 60 of 93 tec usr cn BARK A BAUR USR WIF1I232 A B C User Manual http Awww usriot com This Instruction only effective for USR WIFI232 A B C works as AP After USR WIFI232 A B C module boots up again the setting will be effective But user can set
42. ain the setting will be effective But user can set this command when module configured as AP 9 2 2 2 22 E E AT LANN Function Set Query LAN setting only effective as AP mode 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 Parameters address LAN port IP address mask LAN port subnet mask Jinan USR IOT Technology Limited Page 63 of 93 tec usr cn CBARK A BAZVAHS USR WIF1232 A B C User Manual http www usriot com This Instruction only effective for USR WIFI232 A B C works as AP After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as STA Note AT WANN check the wan port address of module AT LANN check the LAN port address of module and the two IP cannot be set on the same network segment If do Module will be abnormal 2 2 2 23 AT DHCPDEN E Function Enable Disable LAN DHCP server function E Format Query Operation 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 m Parameters sta If Enable Disable LAN DHCP server function lt on Enable LAN DHCP function lt off Disable LAN DHCP function 5 2 2 2 24 AT DHCPGW mE Function Set Qu
43. all current IO status and GPIO n GET said method Such as 11111010101001 said input O output O low 1 express high 4 pin is negated Read the 1 actual O actual 1 read the 0 gt lt gt 4 2 4 HTTPD Client mode This mode is used to send data to the HTTP server After setting the HTTP header format by webpage or AT command the data sent each time by UART will add the HTTP header automatically Convenient for the user directly submit data or read data from the HTTP server Jinan USR IOT Technology Limited Page 28 of 93 tec usr cn BATUERA USR WIF1232 A B C User Manual http www usriot com BARK A Below is the specific application for example The first set HTTP parameters using AT instructions AT HT TPURL 192 168 1 1 80 The serveraddress and portsettings AT HTTPTP POST Set the HTTP type GET PUT or POST AT HTTPPH set Set the path the mostis50 bytes AT HT TPCN keep alive set the Connection maximum length of 20bytes AT HT TPUA Iwip13 2 Set the User Agent maximum length of 20bytes If the sending data is 1234 In the 80 port of 192 168 1 1 will receive the following data POST set HTTP 1 1 Connection keep alive User Agent lwip1 3 2 Content Length 4 Host 192 168 1 1 80 1234 If the HTTP type is GET the 80 port 192 168 1 1 receive data POST set1234 HTTP 1 1 Connection keep alive User Agent lwip1 3 2 Content Length 0 Host 192 168 1 1 80 Data received from server will be directly sent to th
44. ansparent 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 Jinan USR IOT Technology Limited Page 10 of 93 Built in antenna I PEX connector Built in antenna I PEX connector tec usr cn BAZVAHS USR WIF1I232 A B C User Manual http www usriot com CBARK A FCC CE Certificated 2 3 Device Paremeters Table 1 USR WIFI232 A B C Module Technical Specifications Class item Parameters Wireless transmit Fower Parameters Receiver Sensitivity External l PEX Connector Internal On board chip antenna UART 300bps 460800bps Data Interface GPIOs Ethernet 100Mpbs Antenna Option sear arameters Temperature Work Mode Transparent Mode Serial command nasi AT instruction set Parameters comman instruction se TCP UDP ARP ICMP DHCP DNS HT Network Protocol TP Max TCP Connection User Configuration Web Server AT command config Operating Voltage 3 3V 5 2 4 Key Application Remote equipment monitoring Industrial sensors and controls Asset tracking and telemetry Home automation VV VV WV Medical devices Jinan USR IOT Technology Limited Page 11 of 93 tec usr cn CBARK A BAZVAHS USR WIF1I232 A B C User Manual http www usriot com 2 5 Package Information 2 5 1 Recommended Reflow Profile Figure 5 Reflow Solderi
45. as below 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 E Module 2 Setting lt 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 Jinan USR IOT Technology Limited Page 84 of 93 tec usr cn BARK A BAZV AHS USR WIF1I232 A B C User Manual http www usriot com See AP Interface Setting Page UART User Devi USR WIFI 232 evlce A B C USR P Device AP SSID USR WIFI232 E E Ar frry a LAN TPs 1 100 254 WAN IP DHCP Net Prot UDP 10 10 100 100 8899 a aoe i i 10 10 100 254 8899 LAN IP 10 10 99 254 Figure 61 Configure Transparent Serial Port Connection UDP Q4 Where to set usr wiFi232 vB c module network protocol TCP UDP gt USR WIFI232 A B C network protocol setting see Application Setting Page as below Figure mE Protocol TCP Server lt Only Port ID required 8899 Default Net Setting Mode Server Protocol Port IP Address TCP
46. cccceeesssssscceeeeeeceeeceeeeeeeeeeens 22 3 5 2 2 Ethernet Connection without TransfOrmel ccccccccccccccccccceeeeessssesssssteeeeees 23 LIS UART ICT AC C serps e E EEE E E ENEE OEE EEE REER 25 3 5 4 Power INterface cc ccccccssssssssccceeeeeccccccccessssssssssssnceeeeeeeseccceeeeseeessesssnsaeeeeseeeeeeeeeees 25 4 Modules Function D SCTIPtION oc ccccccccccccccccececceeeeeeceeeseesseeeeeseseseeeeeeeeeeeeeseeseseeseseseeeueeeaeaaas 25 4 1 User configuration ProCe SS cccccccccccccccccceceseeesssssssncsceeeeeececcccceeceeeeseeessessceeeeeeeeeeeeeeeeeeseeenas 26 AZ WV OF KING WIAO Oierren N 26 42 1 Transparent MOOG esisiini na Sasebasetensiane Sasntasatevsieie dovedavetensianedesntasadens 26 4 2 2 Seral command 6 812 eee enn ne ne et ne rn en Pe ve ne e iiei ner 2 vl aie ORIO MO ee eee mn eo re eve ee E ee 28 4 2 4 HTTPD Client Mode ccccccccsssssssssssseeeeeecccececeeesssessssssssceeeeeeseeceeeeeeeeeesseeas 28 4 3 Wireless I NO CVV OMG scatssteetescrsets de airertn de oteatente dita vats itcatsots n a a i 29 WP cr rs cesses cm cece csr cts tacit esas cede con tone nes eter concen E 30 Phe PA ee nasa Tee ae he ess ese a 30 yo ARE TAa EE A E A E EA R 31 4 4 Ethernet Interface COMMUNICATION ic cceceesssscccceeccecccceceeseesessssssstsceeeeesscceceeeeeseeeeeeas 32 Jinan USR IOT Technology Limited Page 2 of 93 tec usr cn BARK A BATIABIKS USR WIF1232 A B C User Manual http www usriot com 4 4 1
47. ceeseseeeeseeeeeeseeeeeseseeeeeeeeeeaeas 19 6 2 2 Remote Management Application cc cccccccccessssssssssssseeeeeeeeeeceeeseeeessessstseseeess 80 6 2 3 Transparent Serial Port Application ccc cc cece cece ccceceeeeeseeeeeeseeeeseeeeeeeseeeeeeaas 80 6 2 4 Wireless Data Acquisition Card Application ccccccc cece ccccccccccceeseeseseeeseeeeeeeeeeas 81 Appendix A Questions ANd ANSWETS cccceecesecccscccccccccccecssssesessssseceeesesssceccecesseseeesssssesceeeessseeeceeeess 83 Q1 How to configure transparent serial port application TCP protocol with two WIFI FOG UN CS 7 cicsecancasisesnces guar oi rekan ERRARE E Ii EAEE EET oni OENES 83 Q2 Where to Set WIFI Module LAN IP and WAN IP through Web Page 00 ee 84 Q3 How to configure transparent serial port application UDP protocol with two WIFI MOG rss essere E A EEE neces saan tedeniaetoes 84 Q4 Where to set USR WIF1I232 A B C module network protocol TCP UDP 85 Q5 How to configure transparent serial port application Two WIFI modules all configured as STA and COMME CUON Mrough AP 2 cesses enscnsstssuisuciietetestudctinietlsinaicussia E E ENEE NE E EEN 86 Q6 How to avoid IP address confliction when apply USR WIFI232 A B C module 87 Q7 PC works as server all WIFI modules works as data acquisition card and connect with PC NOW to configure this appliCatlOn vcponscnsancacenssnsssieninnndevavacaveweancaadessassiaaiucadennaxcedensataadava
48. cess 1 Module boot up not finish Can be configured as GPIO Module will Restore factory default configuration after set this pin 0 more than 1s then set 1 1 8V Ethernet Data Interface tec usr cn CBARK A BAVBHS USR WIF1I232 A B C User Manual http www usriot com 13 Ethernet Output PHY _TX O Support transformer and Ethernet Output PHY_TX direct connection AC couple mode 3 1 2 USR WIFI232 Ca Cb Pins Definition nLINK t NC nRST t NC nReady PHY RX nReload nite i GND g PHY_TX GND t PHY _TX GND UART_CTS WART1_RXD UART_RTS UART1_TXD t UART RXD Output 1 8V i UART_TXD GND GND ANT r 3 3V GND P 3 3V Figure 10 USR WIFI232 Ca Cb Pins Map Table 4 USR WIFI232 Ca Cb Pins Definition on 3 18 19 Power Ground ne 2A 26 input hie Data Transmit UART_TXD O If not use UART GPIO GPIO3 function this 4 pins Jinan USR IOT Technology Limited Page 15 of 93 tec usr cn BAZVAHS USR WIF1I232 A B C User Manual http www usriot com BARK A 5 VART Data Receive Se 1 can be configured as GPIO pins and can 6 UART sends request of UART_RTS change GPIO pin seo oo aii el transmission permission GIO 5 Ethemet output PHY O 718V Enema Dala 9 Ethemet output PHY_TX _ Interface Module with 10 Ethernet Input PHY RX it external 1 8V 11 Ethernet Input PHY_RX I reference voltage 14 WiFi statu
49. cessing means users can configure parameters through built in webpage When USR WIF1I232 A B C module connected to wireless network parameters configuration is done on a PC 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 A B C 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 Jinan USR IOT Technology Limited Page 41 of 93 tec usr cn BARK A BAZVAKS USR WIF1I232 A B C User Manual http www usriot com 4 11 Firmware Upgrade USR WIF1I232 A B C module supports firmware upgrade online Jinan USR IOT Technology Limited Page 42 of 93 tec usr cn BAZVAKS USR WIF1232 A B C User Manual http www usriot com BARK A 5 Web Accessing and AlTtinstruction set 5 1 Configuration via Web Accessing When first use USR WIFI232 A B C modules user may need some configuration User can connect to USR WIFI232 A B C module s wireless interface with following default setting information and
50. com a e eaa e aanneemesaaae e aaeuaaeniaansanenedacna ae neonnaeeaeiedaeesarssananie aanmanen ne annaanammammammme mna USR WIFI232 Setup 1 1 0 l ol Common oprate Oprate via COM AT4H AT RELD AT4VER AT Z aa m ea a Send command via i COM NET Denies 115200 AT ENTM AT FLOGO RE send WiHFl2d2 L default 115200 ia Others 57600 Open Com send l ATH o Oprate via Het Gend 7 Search Open AT TVER 2 command Send Module IFP MAL Yeron ABA command AT FEPTP off send command logs Help 1 Search module in LAN 2 Click searched device 3 Click Button to oprate IF 10 10 100 254 Clear AT ATi Figure 48 software of USR WIFI232 Setup Above is by COM also you can send by WIFI First connect with PC open the software see Net part Figure 49 Search module Click search then will show module click module then you can send command 5 2 2 1 Instruction Syntax Format AT Instruction protocol is based on the instruction of ASCII command style the description of syntax format as follow gt Format Description m lt gt Means the parts must be included m Means the optional part gt Command Message Jinan USR IOT Technology Limited Page 53 of 93 tec usr cn BANH BATUERA USR WIFI232 A B C User Manual http www usriot com AT lt CMD gt op para 1 para 2 para 3 para 4 lt CR gt m AT Prefix of command message CMD Command string op Symbol of
51. configure the module through laptop Table 9 USR WIFI232 A B C Web Access Default Setting Default Setting SSID USR WIF1232 A B_xxxx IP Address 10 10 100 254 255 255 255 0 Password admin 5 1 1 Open Web Management Interface Step 1 Connect laptop to SSID USR WIFI232 A B_xxxx of USR WIFI232 A B C 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 Go head 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 f admin Password Figure 33 Open Web Management page The USR WIFI232 A B C 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 Application Setting WEB lO and Device Management 7 J Setting Jinan USR IOT Technology Limited Page 43 of 93 tec usr cn CBARK A BAVA USR WIF1232 A B C User Manual http www usriot com 9 1 2 Quick Configure This page provides users with a method of rapid configuration module Users according to th
52. deasbeoedeatiasendesdiaanieadesauesdornstnalesercuataossdoasesauceeshennes enniaasones 11 ZED Packe MONI AU OWN ineei EE E EEEE EAEE AEE 12 2 5 1 Recommended Reflow Profile ccccccccccccccccccccceeessssssssssnccceesescccecceeeeessesssststteeeeees 12 2 5 2 Device Handling Instruction Module IC SMT Preparation 12 ZOD SIMO IG MTOF MP AUON secocons e NS 13 ACW A TUE OCU ON esrar E E AN NAE EE 13 OF PIRS DENNO eenen EA E E 13 3 1 1 USR WIFI232 A B Pins Definition eee cc ccccccsesssceeececeessssseeeeeceeeesssseeeeeeeeeseees 13 3 1 2 USR WIFI232 Ca Cb Pins Definition cece cccccesssssceeccecceessssseeeeceeesssesseeeeeeees 15 3 2 Mechanical SIZE eee ee S 16 T No acters ees fac set es a ee ER A cin tee dante cee 16 3 2 2 WSR WIRIZS2 C al CD incsid ici crnisnincdtatinioaeiincaadidelohesedinanedsdsvohonelivaqedeicinnaiiveredsidteiaaeiiasentoied 17 SC Meee TIAA A A AAO AEA A T AAO ANA IA AAA AAA AA 18 3 3 1 On board Chip ALA Co dc Renee nner ee ae ne Penn eee wren re ee 18 3 9 2 EXemMal ANENA errie er ie e RE ASIN EO TEETE 18 SA EVO E eraren as sie E E E E E A 19 3 5 Hardware Reference DeSIQN cccccccccccccccccessssssssssscccceesecccccccecessessessssscceeeesessececeeeeeeeseeeas 21 3 5 1 Hardware Typical AppliCation ccccccccccccccccccccccceceeseesssssssscsceeeeeccceceeeeseeessststsseeeeees 21 3 5 2 10 100M Ethernet Interface cece ena a EEEE 22 3 5 2 1 Ethernet Connection with Transformet cc ccc
53. directly 3 4 Evaluation Kit 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 WIF1I232 A B C 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 Figure 15 USR WIF1232 A B module Evaluation Kit Table 6 USR WIFI232 A B Evaluation Kit Interface Description Jinan USR IOT Technology Limited Page 19 of 93 tec usr cn BARK A BAGIUBHS USR WIF1I232 A B C User Manual http www usriot com Function Name Description __ _ _ External DC jack 5V power input connector Interface Male serial jack of 9 pin and used to connect to DB9 PC RJ 45 100M Eth Interface 2x 2mm DIP connector connect WIFI module LED Power a Red 3 3V Power Indicator Reset Used to reset the module Module restore to factory default configuration Figure 16 USR WIFI232 Ca Cb module Evaluation Kit Table 7 USR WIFI232 Ca Cb module Evaluation Kit Interface Description Jinan USR IOT Technology Limited Page 20 of 93 tec usr cn BANH BATUA HE USR WIFI232 A B C User Manual http www usriot com External Male serial jack of 9 pin and used to connect to DB9 Interface PC RTS Green 2 RTS GPIO Indicator ies Green nReload GPIO Indicator Roady areen nReady GPIO Indicator a Green 5 NLink GPIO Indicator Button Used t
54. e configured as AP Jinan USR IOT Technology Limited Page 73 of 93 tec usr cn BATUBHS USR WIF1I232 A B C User Manual http Awww usriot com BABE A 5 2 2 2 56 AT WSQY m Function Set query the critiacl value of network switching E Format Query Operation AT WSQY lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSQY lt ret gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ret The percentage of signal intensity such as signalstrength was 50 setting should be AT WSQY 50 lt CR gt Note if set to 100 the module will not automatically switch WIFI network If the users only one STA parameter please be sure to set this parameter to 100 5 2 2 2 5 AT HTPMODE m Function The switch of new old HTTP headers setting mode HTTPD Client E Format Query Operation AT HTPMODE lt CR gt ok lt type gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPMODE lt type gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters type lt new The new HTTP headers setting mode lt old The old HTTP headers setting mode 5 2 2 2 58 AT HTPSV i Function Set Query HTTP server IP address and Port Number E Format Query Operation AT HTPSV lt CR gt ok lt IP Port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPSV lt IP Port gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters
55. e steps to configure the parameters and restart the module page you can let the module is normal work reduced the configuration steps and time Of course the options on this page is less if some detailed configuration still need to the corresponding configuration page 1F WI FI Setting Modify Wifi Mode Mode AP Mode Y Wireless configuration Network Name SSID USR WIFI232 AP 2524 Hidden AC CF 23082524 Apply Cancel gi l a m E HTTPD Client Mode 2 F Ethernet Ports etting Modify E gt WEB IO E Advanced 3 F uart Setting Modify E Device Management A F Network Setting Modif 5 F Device Management Restart Module Restart Module 2 Figure 34 Quick Configure Page This page has four configuration options and a restart the corresponding instructions below WI FI Setting set the working mode of wifi AP mode or the STA Ethernet Ports Setting open close the Ethernet ports and set up the corresponding work mode UART Setting set serial port parameters including baud rate parity bit 485 functions and so on Network Setting set network parameters Only TCPA related parameters Device Management when after completion of the above parameters are configured click reset module 9 1 3 Mode Selection Page This page use to setting the wireless networking mode AP and STA mode Data transmission mode selection module working mode are Transparent Mode Seria
56. e 7 of 93 tec usr cn BARK A BATUBHS USR WIF1232 A B C User Manual http www usriot com 1 2 Network connection The following is the USR WIFI232 A module example Other modules are the same Open Wi Fi search network as shown in below USR WIFI232 A B_3378 A B determined according to the specific type of module XXXX is the MAC address after the four is the default network name SSID of the module i Wireless Network Connection Network Tasks Choose a wireless network m Refresh network list l Click an item in the list below to connect to a wireless network in range or to get more information 2 Set up a wireless network For a home or small office TP LINK_14D24E Related Tasks JD Learn about wireless if Security enabled wireless network PAZ networking MERCURY_S5EFD22 Change the order of E preferred networks E Security enabled wireless network WPA a Change advanced AHUZHE settings E Security enabled wireless network WPA rongding i Security enabled wireless network WPA CMCC Unsecured wireless network Connect Figure 2 WIFI Search Join the network choose to automatically obtain IP WIFI module supports DHCP Server feature and is enabled by default i Wireless Network Connection Status Ag i Wireless Network Connection Status General Support General Support Connection Connection status Status Connected F Address Type Assigned by DHCP Network USR WIFIZ32
57. e Orne AEA A EAE EER 11 Sa eS a Ale a ooo BD Oe eee ent ae nnn ee ee nn eee ee 72 D222 AAW SINE YA iicaccctcortsewtenaeceainicuatinaendedviuriseatecnniadt inwrseakesandedsiacusestncnsenates 72 Sapa eee A SATE tL 6q aah f cec ener on ae eee nee en ae eee 72 ZO YG secretes stresses cnceeiserac a a 73 Nd aces set dessin ssc cesee dae cans see seca cen E 74 SLL oes Yr oN Kis ATPMODE ee rR Pe eR EN en et ge enn Oe eRe Onn ee On eee E 74 e 9 4 a x ll cox See ite rn E re ees ee 74 eZ 2 Fe E E oen ad tie eee ie eee eee 74 Oe eR ac otras oe gente stanes encoen tiseetanesausenesieeasaceseuntees eeateeeseeeicedeerances 75 SLALO TAIFATPAEAD oeenn EEEE EE E E EEE 15 co Ran an oA Mol REGEN DE eT POT eae Te eT 15 SAZASA ak cal Gen ren eee E err nen ere 76 ee OI AES OID is coasie ena viet etic uecadtneadadedieleoattucnadaddleseceiduanadedsisiesoltuenedeidieieneliucsetase 76 6 USR WIFI232 A B C Usage Introduction icc cccccesssccceccccceessssceeecececeessssseeececeeeessssseeeeeeeeeeas 76 HOC DEDUO esac sete E T saree tin wt saeco 76 6 1 1 Software Debug TOONS vsiccstcncsscsicrseonssounenesiarttanassehsanseanseqncsenasoostanalavsseeneaateeaeonioubionsiansians 76 6 1 2 Network Connection eesseseseeerrrrresssssssssserrrrerrrrrrrssssssssertrrerrrrerressssssseettiireereeressssssssee ai 2 Fe E 0 e errant EET E EN ere Tf 60 2 USE oh ee ee re eee eee ee ee ee 19 6 2 1 Wireless Control APpliCation o oo ccc cece ccccccccccccccce
58. e effective But user can set this command when module configured as AP 5 2 2 2 53 AT WSKEYA Function Set query the first AP s password of 3 sta parameters settings m Format Query Operation AT WSKEYA lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSKEYA lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters auth Authentication mode OPEN lt SHARED V WPAPSK encry Encryption algorithm lt NONE When auth OPEN effective lt WEP When auth OPEN or SHARED effective lt TKIP 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 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as AP 5 2 2 2 54 AT WSKEYB E Function Set query the second AP s password of 3 sta parameters settings E Format Query Operation Jinan USR IOT Technology Limited Page 72 of 93 tec usr cn BARK A BATUERA USR WIF1232 A B C User Manual http www usriot com AT WSKEYB lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSKEYB lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Param
59. e serial port without any treatment Note after V5 01 14 version of the firmware it add a new method of HITP header definition called the new mode the way at above is called the old mode Users can custom HTTP headers in the way of the new mode can add delete modify the contents of each HTTP header if the HTTP request type is POST PUT module will automatically add the Content Length Including the AT HTPMODE AT HTPSV AT HTPTP AT HTPURL AT HTPHEAD specific instructions please refer to the AT command set process section Similarly also has the corresponding Settings page in the web page Note in the new mode if you use the AT command set HITP headers Please use the lt lt CRLF gt gt instead of carriage return in the web page you don t need to worry about the return 4 3 Wireless Networking USR WIFI232 A B C module can be configured as both wireless STA and AP base on network type Logically there are two interfaces in USR WIFI232 A B C One is for STA and another is for AP When USR WIFI232 A B C works as AP other STA equipments are able to connect to wireless LAN via USR WIFI232 A B C module Wireless Networking with USR WIFI232 A B C is very flexible Following figure shows the functional architecture of USR WIFI232 A B C module Jinan USR IOT Technology Limited Page 29 of 93 tec usr cn BAZVAKS USR WIF1I232 A B C User Manual http www usriot com GPIO Processing BARK A Program Fi
60. ected the three line to the computer please notice 6 2 Use Cases 6 2 1 Wireless Control Application AP SSID USR WIFI232 AP xxxx UART User Device USR WIFI 232 A B C Jinan USR IOT Technology Limited Page 79 of 93 tec usr cn CBARK A BATZVAKS USR WIF1232 A B C User Manual http www usriot com Figure 54 Wireless Control Application For this wireless control application USR WIFI232 A B C works as AP mode Module s serial port 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 A B C module 6 2 2 Remote Management Application UART nternet User Device A B C UART User Nasties USR WIFI232 A B C Figure 55 Remote Management Application For this remote management application USR WIFI232 A B C 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 So 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 6 2 3 Transparent Serial Port Application For this transparent serial port application two USR WIF1I232 A B C modules connect a
61. ed and also select the networking type DHCP or static IP address Jinan USR IOT Technology Limited Page 45 of 93 tec usr cn CBARK A AAEH USR WIF1I232 A B C User Manual http www usriot com m Quick Configure Encryption Type1 NONE E Mode Selection aE Sane al USR WIF1232 A4P2 ET MAC Address2 Optional m AP Interface Setting Security Modez OFEN Encryption Type2 NONE AP9 s SSID USR WIFI232 aP 3 m Ethernet Setting Security Modes OPEN m HTTPD Client Mode Encryption Type3 NONE m WEB IO Signal threshold Note The signal is less than this value Switching network E gt Advanced WAN Connection Type DHCP uto config DHCP Mode Hostname Optional USR WIFI232 aP_ 2524 ann aI ae j PTS A Figure 37 STA Interface Setting Page 5 1 6 Application Setting Page This page use to setting the parameters of serial port communication such as UART setting UART AutoFrame Setting Ethernet function Device ID setting and high layer network protocol setting which used support serial communication Uart Setting m Quick Configure Baudrate 57600 m Mode Selection 7 ana aoe Data Bits 8 AP Interface Se in eee FOUN TELE RULER eae alc een ee EE EES Ene Stop oil CTSRTS Disable 485 mode Enable E Ethernet Settin Baudrate adaptive RFC2117 Enable E HTTPD Client Mode UART AutoFrame Setting E Advanced UART AutoFrame Disable up Device Management
62. efer to the specific 5 1 6 section 4 8 2 Registered Package ID MAC This function only applies to the module as a TCP client in front of the data when module connected to the server with two bytes of ID ID the range is 0 65535 the high byte before and the low byte behind plus two bytes ID radix minus one complement or upload 6 bytes MAC address Module is the default ID is 1111 MAC D8B04CF20000 for example is sent to the server when the first four bytes 0x57 0x04 Oxfb Oxa8 or OxD8 OxBO Ox4C OxF2 0x00 0x00 There are two ways to upload their own id one is to upload their own ID MAC for connection to the server for the first time The other is a plus ID MAC in front of each data Registered Package related parameter is set in the serial port and other Settings section of the Jinan USR IOT Technology Limited Page 37 of 93 tec usr cn BAZVAHS USR WIF1232 A B C User Manual http www usriot com CBARK A web build joint function of ID MAC for the first time and each data with the function of ID MAC are disabled by default Note the function of the upload MAC supported in V5 01 14 and above version 4 8 3 Self adaption Baudrate This feature please cooperate with our company s virtual serial port software use Use a serial port connected module and use the at command at AABR on open this function and restart In the USR VOCM software synchronous baud rate RFC2217 similar is selected the following figure
63. ery DHCP gateway address E 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 E Parameters address DHCP gate address 2 2 2 25 AT TCPTO m Function Set Query TCP timeout E 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 m Parameters time TCP timeout time lt lt 600 600s lt gt 0 0 means no timeout lt Default Os Jinan USR IOT Technology Limited Page 64 of 93 tec usr cn BARK A BAU EHS USR WIF1I232 A B C User Manual http www usriot com TCP timeout module began to count when TCP channel did not receive any data receive data purge count If the timing time exceed TCPTO disconnect the TCP channel If module work in TCP Client it will take the initiative to rewiring the TCP Server If module work in the TCP Server the TCP Client need active reconnection 5 2 2 2 26 AT MAXSK E Function Set Query maxima TCP connection E 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 AT MAXSK lt num gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters num 1 32 default 32 maxim
64. eters auth Authentication mode lt OPEN lt SHARED lt WPAPSK encry Encryption algorithm lt NONE When auth OPEN effective lt WEP When auth OPEN or SHARED effective lt TKIP 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 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as AP 2 2 2 55 AT WSKEYC m Function Set query the third AP s password of 3 sta parameters settings E Format Query Operation AT WSKEYC lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSKEYC lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters auth Authentication mode lt OPEN lt SHARED lt WPAPSK encry Encryption algorithm lt NONE When auth OPEN effective lt WEP When auth OPEN or SHARED effective lt TKIP 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 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when modul
65. from head not contained byte to check byte not contained Example Data from phone PDA to module HEX FF 00 01 01 02 Data from module to phone PDA HEX FF 00 14 81 02 54 45 53 54 31 00 40 OD OA 54 45 53 54 32 00 37 OD OA 1F Explanation The phone PDA send searching command to module the response from module is SSID of router1 is TEST1 signal strength of router1 is 64 SSID of router2 is TEST2 signal strength of router2 is 55 Note The information of routers is ordered by signal strength setting command Num of Bytes fixed value 0xFF 2 length 2 Sum of data bytes from length bytes to check byte not contain length bytes and check byte Command type 0x02 4 reserve reserve fixed value 0x00 SSID SSID of router E eepeintor fixed value 0x0D 0x0A 2 Password of router Sum of bytes from head not contained byte to check byte not contained Response for setting fixed value OxFF Sum of data bytes from length bytes to check byte not contain length bytes and check byte 3 Command type 0x82 Commandtype 0x8200 S 4 Check for 1 If the SSID set by PDA exist check value is 0x01 SSID otherwise is 0x00 Check for If the form of password set by PDA is correct check Jinan USR IOT Technology Limited Page 40 of 93 tec usr cn BATUBHS USR WIF1I232 A B C User Manual http Awww usriot com BARE A password value is 0x01 otherwise is 0x00 oe Fl Sum of bytes fro
66. gure 22 USR WIFI232 A B C Functional Architecture Notes AP that is the wireless Access Point the founder of 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 4 3 1 STA 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 A P MU EA See oe pk ed E Se A eS aster 5 D gt Ire ae s efs se ash 23 lt Sei sE USR WIFI232 A B C USR WIFI232 A B C User Device Figure 23 USR WIFI232 A B C Basic Wireless Network Structure 4 3 2 AP Because USR WIFI232 A B C can be set to AP can also be set to STA so the USR WIFI232 A B C can be achieved easily wireless ad hoc network As showing in the figure below USR WIFI232 A B C 1 can be treat as an AP and USR WIFI232 A B C 2 USR WIFI232 A B C 3 and the laptop are STAs connected to USR WIFI232 A B C 1 Meanwhile all USR WIFI232 A B C modules can connected to user device via UART interface All USR WIFI232 A B C modules can be operated and managed through the laptop So it is convenient to O amp M all USR WIFI232 A B
67. ignal O 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 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 3 5 2 10 100M Ethernet Interface USR WIF1I232 A B C 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 3 5 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 1V8 7 Q CMT4 2 1 U19 USR WIF 1232 u20 TEF T 10 PHY _TX 41XOMA4 1 16 MAA 1 a moal H 1p PHY _TX TXOP4 gt 3 4 Pi 3 4 ee 2 4 PHY_RX eee 12 R173 75 EIT H 11 MB4 6 PHY RX4RXIP4 f 0 T g 2 1 8 2 R174 75 9 C161 hn1674CG C163 WPA 1 f CHGND RJ 45X1P n 47 0pF 1000pF 2K VINI G FA t9 GND Above is for USR WIFI232 A B pin type module Below is for SMD type USR WIFI232 C Jinan USR IOT Technology Limited Page 22 of 93 tec usr cn BATVUBHS USR WIF1232 A B C User Manual http www usriot com CBARK A Output 1 8V USR WIF 1232 C cH R45 Figure 18 Ethernet Reference Design with Transformer
68. ing function Jinan USR IOT Technology Limited Page 50 of 93 tec usr cn BABE A BACUARE USR WIFI232 A B C User Manual http www usriot com 5 2 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 CON3 SecureCRTI THE mD BEM Amo Hd MEC IA HhHw HYAA BA BSI TZI as Serial COM3 a o Serial CONS 3 1 2677 90A T100 Figure 45 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 2 Any other input or wro ng step to UART port will cause the module still works as original mode 14 7J transparent transmission input input input input a lt 400 ms lt 300ms lt 35 5 2 2 Al 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 Jinan USR IOT Technology Limited Page 51 of 93 tec usr cn CBARK A BATUBHS USR WI
69. integrate wireless data transmission Notes Users also open the serial port hardware flow control CTS RTS function so that we can make the bit error rate to a minimum If the user doesn t need hardware flow control function of the serial port only need to the corresponding pin foot CTS RTS hung up 4 2 2 Serial command mode In this mode the user can send the serial data to a different server address this pattern can be use udp or TCP client sends data to the server Customer MCU send packets according to the following format parsing module is finished only the n bytes of data sent to the destination address When data is returned not analytical data from serial port output directly Table 8 Protocol table of Serial command mode frame length functio Backup Destinati Target Data Sum header n data area on port address check byte 2 2 1 2 2 m n 1 n m 5 frame header 0x55 OxAA Constant Length Starting from the function byte to Sum check does not contain the sum check all bytes High byte at the front Function byte BitO UDP 0 TCP 1 Bit1 Short connection 0 Long connection 1 Bit2 IP 0 Domain name 1 Bit7 cut protocol 0 full protocol 1 Note currently only supports cut protocol Notes lt Bitt If it is a short connection it sends data and then will be disconnected if it is long connection it sends data connection will remain until the re changing the target address lt Bit2 Indicates tha
70. ionieradosateSedoouseiederatebeabontnendeeneness SAPT AMTOP B sinare ee ieee rae eei inns DALL AICP P TB ner E E E PERASA ia ad CD errer e E E E E E A TEE A TE TE 522 290A TOP TOB meen ineee er ne ner EEr En EE Ei E eee ee TAPAA E O m E i e ET A O EA A OA r ino VAG cl P R SP e T E SVa eae O E I IA NE T i 2V4 ATIDOMAIN ce tiarade xe tea sticedsacteaateanticatiacienston cient eieiei Coy Aa ATE UD I er EE PS er oy nee penne at en meer nna nea nnE nur rte er ne Te nee aT nner nee arn ver DRR 7 Ae B al Seer ee ee een ne ne E eee E D22 2S0 Fe ge cette sata cect crt atnat Gents uedduatneteieseceddeateceeiea EEE ERENER Saas Se ATT AAB 5 ae een ee ene oe ee een EN OF ee BO erin S OL rere ae eas hee asa seen ses ase ee ee ie FN IMI eE E E EEE AEE E EE e A ARVER ea E N ENE Jinan USR IOT Technology Limited Page 4 of 93 http www usriot com tec usr cn BARK A BATIABIKS USR WIF1232 A B C User Manual http www usriot com SA AT E ee en eae ee ae eee E ee eee ae een ee 69 ose eo Me loa Ul PORE erri ne E ee E eee 70 5 2 2 2 AOA WE IP ieideteincaeescoeaticesinaencdtonstdiscenapnnesivnnatdabscnnntentneatleseouneseiiteseibeteneads 70 OZ Pa Mist eae ecstatic teach EEE E EEEE 70 522 248 Al Al TPON vise sss srcesccnsienasesanceinstotasonesaoerinsnciaseeakebninzbaiessabeaneunabepaentanss 70 Di TIP enaa sueciaude ae teoninetiandeaees 71 aaa RL OW ANDi EN S B eens ae On A A E N 71 DeL OFATNI B gt meee enn tne enon
71. l Command mode HTTPD Client mode GPIO mode TCP connection password authentication can choose whether open TCP password authentication Jinan USR IOT Technology Limited Page 44 of 93 tec usr cn CBARK A BATIUBHS USR WIF1232 A B C User Manual http www usriot com Working Mode Configuration You may configure the Vart WIFI module wifi mode and data transfor mode AP Mode eg STA Interface Settin Access Point STA Mode station Mode Data Transfor Mode Transparent Mode T E Ethernet Setting Apply Cancel E HTTPD Client Mode E Figure 35 Mode Selection Page 5 1 4 AP Interface Setting Page This page use to setting the parameters when USR WIF1232 A B C module works as AP Wireless Network Quick Configure es Network Mode lib g n mixed mode m Mode Selection Network Name SSID USR WIFI232 AP_2524 Hidden E BSSID T acecr 2308 2524 00 Frequency Channel Autoselect x m Application Setting WIFI232 AP 252 m Ethernet Setting see wks a 24 Security Mode Disable m HTTPD Client Mode re o as m WEB IO E Advanced LAN Setup IP Address Default DHCP Gateway 10 10 100 254 m Device Management S n Subnet Mask 255 255 255 0 DHCP Type Server Figure 36 AP Interface Setting Page 9 1 5 STA Interface Setting Page This page use to setting the parameters when USR WIF1232 A B C module works as STA Such as SSID of AP which module need to connect
72. lopment of the serial and network debugging two in one test software USR TCP232 Test Si USR TCPSS2 Test exe Jinan USR IOT Technology Limited Page 76 of 93 tec usr cn CBARK A BATZVAKS USR WIF1I232 A B C User Manual http www usriot com 6 1 2 Network Connection In order to test the serial port to the WIFI network address conversion we will module serial connected with the computer network and computer 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 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 Figure 50 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 light
73. m head not contained byte to check byte not contained Example Data from phone PDA to module HEX FF 00 OF 02 00 54 45 53 54 31 OD 0A 31 32 33 34 35 36 CE Data from module to phone PDA HEX FF 00 03 82 01 01 87 Explanation The phone PDA send setting command to module SSID is set to TEST1 password is set to 123456 The response from module is that the TEST1 Wi Fi network exist the form of password is correct 4 9 Palmodic Signal Base on selected factory default setting nReady signal can have two output statuses lt gt Status One The module will output 0 after normal boot up This signal used to judge if module finish boot up and ready for application lt Status Two The module will output Palmodic Signa signal is 0 5Hz square wave with dutyfactor 1 1 User can query this signal to judge if moduleis active live or need to re boot When module switches to command mode it will after normal boot up The palmodic 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 4 10 Parameters Configuration USR WIFI232 A B C module supports two methods to configuration parameters Web Accessing and AT instruction set Web ac
74. meters lt 4 Protocol Type Link Type Server or Client Target Port ID Number Target Port IP Address gt Serial Port Parameters lt Baud Rate lt Data Bit lt 4 Parity Check Bit lt Stop Bit lt Hardware Flow Control gt Work Mode Selection lt Transparent mode Serial command mode GPIO mode The following sections will introduce specific to each part in detail 4 2 Working mode 4 2 1 Transparent Mode USR WIF1I232 A B C 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 Jinan USR IOT Technology Limited Page 26 of 93 tec usr cn BARK A BATUERA USR WIF1232 A B C User Manual http www usriot com The transparent transmission mode can fully compatible with user s original software platform and reduce the software development effort for
75. ndix f Disclaimer This document provides information about USR WIFI232 A B C modules this document does not grant any license to intellectual property rights Except the responsibility declared in the product sale clause USR does not assume any other responsibilities In addition USR does not make any warranties for the sale and use of this product including the suitability of the product for a particular purpose merchantability or fitness for any patent copyright or other intellectual property infringement etc USR may make changes to specifications and product descriptions without notice Jinan USR IOT Technology Limited Page 92 of 93 tec usr cn BATUERA USR WIF1I232 A B C User Manual http www usriot com BARK A Appendix g History Ed V4 5 Update on 14 04 Add TCP password authentication Add Upload ID Add Self adaption Baudrate Add WEB IO Ed V5 0 0 Update on 14 10 Add Httpdclient Mode Add AT TMODE options Add Quick Configure and Ethernet Setting Web page Add usr link agreement Ed V5 0 1 Update on 14 11 Modify the SSID of AP Mode Ed V5 0 2 Update on 14 12 Modify the problem of TCPB in the specification he AT command related is AT TCPB AT TCPPTB etc Modify Self adaption Baudrate function default open Delete the AT FRLDEN Ed V5 0 4 Update on 14 12 Add the AT setting of three sta parameter sets More advanced Settings page including the port mapping and DDNS Ed V5 0 5 Update on 15 01 2015 Change
76. ng Profile Table 2 Reflow Soldering Parameter NO item Temperature Degree _ Time Sec _ Reflow Time Time of above 220 35 55 sec Peak Temp Note 1 Recommend to supply N2 for reflow oven 2 N2 atmosphere during reflow O2 lt 300ppm 2 9 2 Device Handling Instruction Module IC SMT Preparation gt Shelf life in sealed bag 12 months at lt 30 C and lt 60 relative humidity RH gt After bag is opened devices that will be re baked required after last baked with window time 168 hours gt Recommend to oven bake with N2 supplied gt Baked required with 24 hours at 1255 C before rework process for two modules one is new module and two is board with module gt Recommend to store at 10 RH with vacuum packing gt If SMT process needs twice reflow 1 Top side SMT and reflow a 2 Bottom side SMT and reflow Case 1 Wifi module mounted on top side Need to bake when bottom side process over 168 hours window time no need to bake within 168 hours Case 2 Wifi module mounted on bottom side follow normal bake rule before process Note Window time means from last bake end to next reflow start that has 168 hours space Jinan USR IOT Technology Limited Page 12 of 93 tec usr cn CBARK A BATIUBHS USR WIF1232 A B C User Manual http www usriot com 2 5 3 Shipping Information Figure 6 Shipping Information TRAY Size 420 245 34 mm Note 1 tray 5 20 pcs 100 pcs 1 box 2 trays 2 100
77. nnect in When module works as AP and USR WIF1I232 A B C enable Auto frequency function then when module boot up it will select the best wireless channel based on surrounding environment 4 5 2 Security USR WIF1I232 A B C 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 0 o Jinan USR IOT Technology Limited Page 34 of 93 tec usr cn BAZVAKS USR WIF1232 A B C User Manual http www usriot com BARK A 4 5 3 Search Function for STA When using web configuration STA Interface Setting Page user can push Search button to find surrounding AP and find a AP to associated STA Interface Parameters AP s SSID USR WIFI232 aF 3378 Search MAC Address Optional Security Mode OPEN r Encryption Type NONE pply Cancel Figure 29 Search page 4 5 4 Address Binding USR WIF1I232 A B C module 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 S
78. nonvniwanatapniesensmternedsnsdobmeninaiondenvdahesepbesesanedenes Sa ai o ATUAR TE eee meen renner a S OZ 220 FA PUA IP Trennen bassuassdevineosasnuansedonsmauess ioe d PM MPM eeren get cee te ede A A E E Od Os aceasta essere et eh cesar D022 29 FA PWV MODE ssacicirescettinsinedasisianssestanindas tiacuses eniudusvventsesiinanedaavveoctentearedaevlonsaeiees Be VO VY ce tate cece ce etree cc tds ee asp eee as peed EAE S22 21T FV ese teesicc tents cnet ce totic E tase EPET NE A E Ean eee E E en ee ee E ee eee eee Be ey eae e a ceca ie nests N EEN EN a MV EN OAE 5 2 2 2 15 AL EWAN E YF srcctiancgsaucretincabincgunanssutintatiasabusemsnediniadiedabawabinepnasiiegonshivetmeesenedasenes D22 LTI AN ia B mre B aeeere ner ene pen SER trees EESE EnrT OnEtETEREOE rteT anE TERE ENE SET Etm ERED ErrOn Te rrEayn oy eared WY ATIM E oen E EAE ee ee 922 218 ATFWSCAN emery Pete EA mS Ne TCF EE EE ee tet erry eR NAT E TOPDI gt ene Per eee Te ne ene Te og ert ere Ue ee oe DRR NI 1 1 een nO ee eve ene eevee eee SRP Po AIF Re ene E nee Ree ne eee E eee reer eee O52 2262 20 A EDIRC PO EN tasicrsssnvsocctnezianasauvsbactocsiaxesanssbeitonsiaveencosbeatausiavenqucstuttansiaetes Di ie PAA Ss Ld OW sa cs avieatncssk acids dete asiivnssbiusiia dvasiacEoanici usdvsuasinctnandi sabe davedtensteaddesenviads saa aes 2 3 yA ca TOP TO sareren ope meee vee ete NaO NEEE tr Mir mea ir Erne Soe 5 2 2 2 26 AT MAX SI siete catetectinnctnsntnraiptasientsnintocatiNed
79. nt of notes and general rules gt Bein the user s PCB board and the red region 6X8mm corresponding to the region cannot be placed components and with GND gt Antenna must away from the metal at least to the distance around the higher components above 10MM gt Antenna cannot be shielded by any meal enclosure All cover include plastic shall away from antenna at least 10MM Figure 13 USR WIFI232 A B C Chip Antenna Keep Out Region USR technological suggestions USR WIF1232 A B C 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 eea a B Figure 14 Suggested Module Placement Region 3 3 2 External Antenna USR WIFI232 A B C modules support internal antenna and external antenna option for user dedicated application If user select external antenna USR WIFI232 A B C modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Jinan USR IOT Technology Limited Page 18 of 93 tec usr cn BARK A BATUBHS USR WIF1232 A B C User Manual http www usriot com Table 5 USR WIFI232 A B C External Antenna Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max 10dB Max Connector Type I PEX or populate
80. o reset the module Module restore to factory default configuration 3 5 Hardware Reference Design 3 5 1 Hardware Typical Application paerEAHne USR WIFI232 X UART_RXD UART TXD sok UART_RTS s J Fe art cet nReady nLink 1 nReload nRST GND Figure 17 USR WIFI232 A B C 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 Jinan USR IOT Technology Limited Page 21 of 93 tec usr cn BAZVAKS USR WIF1232 A B C User Manual http www usriot com BARK A nReady Module boot up ready signal Output Logics 0 effective There is 4 7K Ohm pull up resister internal up to 3 3V The module will output O 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 nReload Module restore to factory default configuration Input Logics 0 effective User can assert nReload s
81. once then it will save the setting forever This chapter is a user guide for USR WIFI232 series products We suggest users follow the guide to test module at 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 chapters If there are problems in using the process you can refer to the official website of our application case http www usriot com Faq cat 47 html We can also submit the issue to our customer support center http h usriot com 1 1 Hardware connect In order to test WIFI module we need connect module RS232 to PC and also WIFI to PC In order to test the communication between serial and WIFI network we need to connect the serial port to PC and also connect WIFI networks to PC Due to the special need both WIFI and serial we use PC which add USB WIFI network Card such as the following picture 00000 ger ial port wb i usb rs232 WA onn A DoS LEG Wifi P PC SR E E E EEEE E E E T EEA Figure 1 hardware connection diagram About the serial connection because the module RS232 is 3 3V TTL level the computer can not connect to module directly the user needs to have a TTL to RS232 adapter cable and then connect to the computer in order to facilitate the test we provide USR WIFI232 A B C evaluation board for users to choose Jinan USR IOT Technology Limited Pag
82. pcs 200pcs 1 carton 4 boxes 4 200 pcs 800pcs 3 Hardware Introduction 3 1 Pins Definition 3 1 1 USR WIFI232 A B Pins Definition Figure 7 USR WIFI232 A B Jinan USR IOT Technology Limited Page 13 of 93 tec usr cn BAUR BARK A PHY TAF PHY Ri nReady G PIO 9 RESET UART RTS GPIO5 UART TXD GPIO3 GND USR WIF1232 A B C User Manual http Awww usriot com nReload G PIO 1 0 nLink G PIO8 UART CTS GPIO 6 UART RXD GPIO4 Figure 8 USR WIFI232 A B Pins Map Table 3 USR WIFI232 A B Pins Definition a n a o Ground GND Ground UART Data Transmit _ UART_TXD O If not use UART function this 4 pins can be configured UART Data Receive UART_RXD I as GPIO pins and can GPIO GPIO4 change GPIO pin status UART sends request UART RTS through AT command of data transmission GPIO GPIO5 UART receives data UART CTS transmission permission GPIO GPIO6 a Module reset signal an 12 WiFi status Indication GPIO GPIO8 I O Indicate the module nReady status of power on process GPIO GPIO9 I O Restore configuration O GPIO GPIO10 Ethernet Input PHY RX Ethernet Input PHY RX Jinan USR IOT Technology Limited Page 14 of 93 Low 0 Y effective reset input The reset duration should be kept more than 300ms 0 WIFI connection available 1 No WIFI connection Can be configured as GPIO 0 or Palmodic Signal Finish module boot up pro
83. pusaendies 87 Q8 WIFI module support UDP multicast oe eeeccccccecccsccccccecesessessessesseseesessesseeeeeess 88 Jinan USR IOT Technology Limited Page 5 of 93 tec usr cn BARK A BATUABIKS USR WIF1232 A B C User Manual http www usriot com Q9 WIFI module operates in STA mode the PC how to get the IP module 0 88 Appendix b evb reference GESIQN cc ccccccccssssssssssnsscceeeeecccccceeeeesessssssssneeeeeessecceceeeseeeeseseenttaaeeeees 90 Appendix c external power shutdown mode reference CeSIQN ccccccccccccccceeecceeeesessssssssseeeeees 91 Appendix e Contact INFOrmation cececssssssccscccccscccccccesssessssssssceeeesssccccceeeessssssssssscaaeeessesccceeeees 92 Appendix f B X01 lt 1 00 tetette tesse stet EE EEEEEEEEEEEEESSS EEE EEEE EEEE EE EEEe ee eseeeet 92 PAPPER O PISTO seee E E E ee eee eee 93 Jinan USR IOT Technology Limited Page 6 of 93 tec usr cn BAZVAKS USR WIF1I232 A B C User Manual http www usriot com BARK A 1 Quick Start USR WIFI232 series product is used to transmit data between RS232 and WIFI TCPIP transparently user can update the product to WIFI control without knowing the WIFI and TCPIP detail All the convert work is done by the module For users the RS232 side is only as a serial device the WIFI side is TCPIP Socket data User can setup the work detail by sample settings which can setup via inside web pages or RS232 port The setup work only need do
84. ration AT REGEN lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT REGEN lt mode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters mode lt id Registered package of ID lt mac Registered package of MAC Jinan USR IOT Technology Limited Page 75 of 93 tec usr cn BATUERA USR WIF1232 A B C User Manual http www usriot com BARK A lt off disable Registered package 5 2 2 2 63 AT REGTCP E Function Settings query Upload Manner E Format Query Operation AT REGTCP lt CR gt ok lt type gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT REGTCP lt type gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters type lt first Module send registration packet when connection established lt every Send registration packet every time when module send data 5 2 2 2 64 AT REGID m Function Settings query Device ID E Format Query Operation AT REGID lt CR gt ok lt ID gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT REGID lt ID gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters D ID number the range is 0 to 65535 Note the AT command of AT REDEN AT REGTCP AT REGID is supported in V5 01 14 and above version 6 USR WIFI232 A B C Usage Introduction 6 1 Module Debug 6 1 1 Software Debug Tools In order to facilitate the use of my company deve
85. re gt Auto frame trigger length The fixed data length that module used to transmitting to the network gt 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 UARTFEL introduction 4 7 Network Setting USR WIF1I232 A B C module has two TCP UDP Socket Socket A and Socket B Serial data written to the module will be sent to the Socket A and B simultaneously TCP UDP data that module receives through either Socket A or B will be sent to the serial port Dual Socket through different settings you can achieve a variety of network interconnect When the module shipped only open Socket A Socket B default is not to connect if the user needs to use please set by AT commands 4 7 1 SocketA socket A has three work mode TCP Server TCP Client UDP The setting method please refer to the AT NETP command instruction When Socket A configured as TCP Server it supports Multi TCP link connection and maximum 32 TCP clients permitted to connect to Socket A Multi TCP 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
86. ress or url After USR WIF1I232 A B C module boots up again the setting will be effective 5 2 2 2 30 AT TCPTOB E Function Set Query TCPB time out time E 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 m Parameters time TCPB time out time lt 600 600s gt 0 No time out default 0 After USR WIF1I232 A B C module boots up again the setting will be effective 5 2 2 2 31 AT TCPLKB E Function Query TCPB link status E Format AT TCPCKB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters sta TCPB link status lt on TCPB link OK lt off TCPB link not available 5 2 2 2 32 AT EPHY E Function Open Close ETH interface m Format Set Operation AT EPHY lt onloff gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters On off lt Off Close Ethernet port function Jinan USR IOT Technology Limited Page 66 of 93 tec usr cn BARK A BATUERA USR WIF1I232 A B C User Manual http www usriot com lt On Open Ethernet port function If you want to keep the Ethernet port open please use the AT FEPHY on Close module s Ethernet port function can reduce the power consumption The default setting for USR WIF1232 A B C is close Ethernet port function Use AT FVEW disable enable so you can set the modules
87. ress segment lt gt 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 this application gt Network structure as below figure Three USR WIFI232 A B C module setup 3 TCP links with PC server Module 1 works as AP and all devices connect to module 1 through WiFi interface E 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 TCP Client Port ID 8899 Application IP address 10 10 100 100 E Module 2 Setting lt Works as STA mode Jinan USR IOT Technology Limited Page 87 of 93 tec usr cn BARK A BAZVAKS USR WIF1232 A B C User Manual http www usriot com lt WAN connection type Static IP 10 10 100 101 lt Network Protocal TCP 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 Mm 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
88. restart module button restore factory default setting button and update firmware through webpage Jinan USR IOT Technology Limited Page 49 of 93 tec usr cn 0 BARK A BAZVAKS USR WIF1I232 A B C User Manual http www usriot com E Quick Configure 5 01T 10 E Mode Selection You may configure administrator account and password load default setting or update firware Adminstrator Settings Apply Cancel Restart Module sae E WEB IO Load Factory Defaults ig Advanced Load Default Button Load Default E Device Management Update Firmware Apply Figure 43 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 5 2 ATtinstruction Introduction 9 2 1 Configuration Mode When USR WIFI232 A B C power up it will default works as transparent transmission mode then user can switch to configuration mode by serial port command USR WIFI232 A B C UART default parameters setting as below figure Baudrate 57600 Data Bits Parity None Stop 1 CTSRTS Disable H Figure 44 USR WIFI232 A B C Default UART Port Parameters In configuration mode user can setting the module through AT instruction set which cover all web page sett
89. rough the flashing USR ICP232 Test RS232 to Ethernet Convert tester File F Options Q Help H COMSettings COM port data receive Network data receive NetSettings PortNum COM http en usr enhttp en usr cnhttp en u Receive from 10 10 100 254 8899 1 Protocol 57600 spies Jinan USR Technology Co Ltd Jinan USR wv oe Ltd Jinan USR Technology l 2 ServerIP DPaity NONE l F rio 10 100254 DataB fe bit Close Discomnect 2 Server Port Recy Options Recy Options Receive to file Receive to file Add line return Add line return Receive As HEX Receive As HEX Receive Pause 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 Port Send Recycle Interval 1000 ms Jinan USR Technology Co Ltd http en usr en Interval 10 ms Send Send Load Clear Load Clear LE Ready Send 90 Recy 48 Reset LE Ready Send 48 Recv 90 Reset Figure 53 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 conn
90. ryption algorithm lt NONE When auth OPEN effective lt WEP When auth OPEN or SHARED effective lt TKIP 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 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as AP 2 2 2 11 AT WSSSID E Function Set Query WIFI target AP SSID parameters as STA E 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 m Parameters ap sssid AP s SSID This Instruction only effective for USR WIFI232 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as AP 2 2 2 12 AT WSLK E Function Query WiFi link status as STA Jinan USR IOT Technology Limited Page 59 of 93 tec usr cn BARK A BAU EHS USR WIF1I232 A B C User Manual 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 m Parameters ret V Disconnected if no WiFi connection AP SSID AP s MAC if WiFi connection avail
91. s said system startup complete can operate entering the next step 6 1 3 Debug As shown above opened in PC program set the COM export and open the serial port connection Jinan USR IOT Technology Limited Page 77 of 93 tec usr cn A BANH BAERE USR ICP232 Test File F Options Help H COMSettings PortNum coMt BaudR 57600 l DPaity NONE x DataB E bit gt StopB f1 bit l Close j Recy Options Receive to file Add line return Receive As HEX Receive Pause Save Clear Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 1000 1000 ms Load Clear L Ready Figure 51 port data receive Jinan USR Technology Co Ltd Send 170 USR WIF1232 A B C User Manual RS232 to Ethernet Convert tester Network data receive http fen usr cn Send oe 0 Reset E LE Ready Recv 13985 CommTools Serial Debug Tools http www usriot com NetSettings 1 Protocol TCP Client l 2 Server IP 10 10 100 254 2 Server Port 8234 Comect Recy Options Receive to file Add line return V Receive As HEX Receive Pause Save Clear Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 1000 ms Load Clear Reset Recy 0 Open test software USR TCP232 Test exe selection of hardware at
92. s Indication nlink O WIFI connection available 1 No WIFI connection Module reset signal nRST Low O Y effective reset input The reset duration should be kept more than 300ms Indicate the module nReady status of power on 0 Finish module process boot up process 1 Module boot up not finish Restore configuration nReload Module will Restore factory default configuration after set this pin 0 more than n then set 1 UART1 Data Receive 22 UART1 Data Transmit NC EER goer Eth application control line TO 3 2 Mechanical Size USR WIF1232 A B C modules physical size 25x40mm as follows 3 2 1 USR WIFI232 A B USR WIFI232 A B module Mechanical Size Jinan USR IOT Technology Limited Page 16 of 93 tec usr cn CBARK A BAVBHS USR WIF1232 A B C User Manual http www usriot com 25 0 231 1 0 1 0 0 9 Figure 11 USR WIFI232 A B Mechanical Size 3 2 2 USR WIFI232 Ca Cb USR WIFI232 Ca Cb module Mechanical Dimension 29 0 E E ee ee s E y E ee E Figure 12 USR WIFI232 Ca Cb Mechanical Dimension Jinan USR IOT Technology Limited Page 17 of 93 tec usr cn CBARK A BATUERA USR WIF1I232 A B C User Manual http www usriot com 3 3 Antenna 3 3 1 On board Chip Antenna USR WIF1232 A B C supports a built in antenna options when customers choose a built in antenna must comply with the following built in antenna module placeme
93. s below figures to build up a transparent serial port connection Jinan USR IOT Technology Limited Page 80 of 93 tec usr cn 0 BARK A BAZVAKS USR WIF1I232 A B C User Manual http www usriot com 1 ott UART ase er res UART D User AP SSID USR WIFI 232 Device IT STA SSID USEN IFIZ Z LAN IP 10 10 100 254 AP XXXX Net Prot Tcp Server WAN IP DHCP USR WIFIT 232 Protocol Port 8899 Net Prot Tcp client A B C USR WIFI232 10 10 100 254 8899 LAN IP 10 10 99 254 A B C Figure 56 Transparent Serial Port Application For left side USR WIFI232 A B C 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 USR WIFI232 A B C module configured as STA mode and setting the same SSID USR WIF1232 A B_xxxx for this example with left side USR WIFI232 A B C 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 A B C module 10 10 100 254 for this example When right side USR WIF1I232 A B C boot up it will find wireless AP SSID USR WIFI232 A B_xxxx 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 A B C mod
94. s 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 24 of 93 tec usr cn CBARK A BAVA USR WIF1232 A B C User Manual http www usriot com 3 5 3 UART Interface UART interface is the serial data transmition interface mainly used for USR WIFI232 A B C 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 WIFI232 A B C modules UART interface include 4 general signals TXD RXD RTS CTS The hardware reference design with RS 232 chipset as following 3 3VD R MN13 16 C92 100NF Z 18 T ND 2 C93 MALE RIGHT ANGLED k 100NF J15 USR WIF 1232 g na gt 0 2 T 3 o c95 0NF SERIAL DEBUG PORT O
95. sion of the firmware When one module works in AP mode it opens a UDP port used to receive fast access Wi Fi commands the port number is 49000 The phone PDA can directly connect to Wi Fi network of the module send commands to search router list and set SSID and password After the completion of set up module will automatically restart connected to the router work in the STA mode at this time Protocol format Searching command Num of Bytes 1 head 1 fixedvalue OxFF an length T EOE Sum of data bytes from length bytes to check ere e rane contain length bytes and check byte 3 cmd 1 Command type 0x01 O o O 4 check 14 Sum of bytes from head not contained byte to Jinan USR IOT Technology Limited Page 39 of 93 tec usr cn BAZVAHS USR WIF1232 A B C User Manual http www usriot com BARK A po check byte not contained Response for searching Num of Bytes head fixed value OxFF 1 fixed value 0xFF S Sum of data bytes from length bytes to check byte not contain length bytes and check byte Command type 0x81 6 separator 1 Separator of SSID1 fixed value 0x00 Signal 1 Signal strength of router 1 0 100 0 100 strength1 separator Separator of signal strength1 fixed value 0x0D 0x0A 2 e acer SSID n The SSID of router n 1 Separator of SSID n fixed value 0x00 A Signal Signal strength of router n 0 100 0 100 strength fixed value 0x0D 0x0A 1 check Sum of bytes
96. switching network and restart If the signal value is set to 100 the module will not switch network Even if the current network signal is not the current network will always search not heavy to other networks The function of the specific Settings page refer to section 5 1 4 Jinan USR IOT Technology Limited Page 38 of 93 tec usr cn BANH BATUA RE USR WIFI232 A B C User Manual http www usriot com Specific setup process please refer to the AT command section 5 2 2 2 50 5 2 2 2 56 4 8 7 Websocket This module can realize the function of the websocket server allowing serial real time interaction with the web module replace the previous HTTP GET POST corresponding faster This module provides the corresponding websocket test page for user testing specific page is as follows web Page 10 10 100 254 websocketen html Gere Recelve as hex Clear Receive as ASCII Send As ASCII Send As Hex Figure 32 Websocket Page Click on the connect page and then implements a connection so a serial port with page can send or receive data from each other This module websocket server support 8 client connection at the same time This function for web applications and for web users with higher response speed if you want to customize the corresponding web page can connect your company Note This function occupy the 8000 port of module 4 8 8 Fast access WI Fi usr link This function is based on V5 01 08 and above ver
97. t Parameters ap sssid AP s SSID This Instruction only effective for USR WIFI232 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as AP 9 2 2 2 51 AT WSSSIDB Function Set query the second AP s ssid of 3 sta parameters settings Format Query Operation AT WSSSIDB lt CR gt ok lt ap s ssid gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSSSIDB lt ap s ssid gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters ap sssid AP s SSID Jinan USR IOT Technology Limited Page 71 of 93 tec usr cn BARK A BATUERA USR WIF1232 A B C User Manual http www usriot com This Instruction only effective for USR WIFI232 A B C works as STA After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as AP 5 2 2 2 52 AT WSSSIDC E Function Set query the third AP s ssid of 3 sta parameters settings E Format Query Operation AT WSSSIDC lt CR gt ok lt ap s ssid gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSSSIDC lt ap s ssid gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ap sssid AP s SSID This Instruction only effective for USR WIFI232 A B C works as STA After USR WIFI232 A B C module boots up again the setting will b
98. t the target address is IP or domain name If it is IP the target address is 4 bytes if the domain name the target address length for the entire domain name string length the last byte address is 0 that is the end of the string lt Bit7 Under the cut protocol reply frame contains only data Under the full protocol reply frame has failed to send waiting for UDP radio response equipment IP frame data Backup data area lt First byte lf it is a short connection this 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 if the sending command immediately receive the returned data then immediately disconnected if it is long connection this position is 0x00 lt Second byte Reserve Jinan USR IOT Technology Limited Page 27 of 93 tec usr cn BATUBHS USR WIF1I232 A B C User Manual http Awww usriot com BABE A Destination port Little endian low byte in the former such as port 23 here are 0x17 0x00 Target address If it is IP is 4 bytes for example 192 168 0 7 said 0x07 0x00 OxA8 OxCO if it is a domain name then the address of indefinite length ending with the 0 Data Variable length the maximum not exceeding 1000bytes Sum check From the function word to check byte does not contain a check byte add Sum check The following is an example of
99. tached 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 Network 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 d 05R TCP7392 Tost Fecr Opticas Receive te file Add Line return Beeeive As BED Bective Foose care Glam Teri Opi ons Date fire file Aate hea ela kata Chea Inpui Send As Hex Sand Racycls Laterval sc Nell at ma EE Tackealegr C E a Figure 52 Jinan USR IOT Technology Limited jan uir 2 mairg Rec ee 100254 Beriya te fils Aad line return Bective Ag PEI Receive Paari Cart clei T Sand ptica Bote from file date Cadira kote Clear Input M Send An Hex Send Baepele Interval i fj m Lesd Chew Recy 0 Ramt TCP UDPDbg Tools Create Connection Page 78 of 93 tec usr cn CBARK A BATVUBHS USR WIF1232 A B C User Manual http www usriot com Because of the USR WIF1I232 A B C module default support for transparent transmission mode so now you can debug tools two way data all data will be wholly intact transmission to the other side of display The testing process can be seen in module TXD and RXD indicator lights in the data th
100. the AT WSLQ to WSQY Ed V5 0 6 Update on 16 03 2015 Modify the registration packet types increase the upload MAC function and modify the corresponding instructions based on V5 01 14 and above Modify the setting of the HTTP header change to custom header and compatible the old way of setting based on V5 01 14 and above version Ed V5 0 7 Update on 03 05 2015 modify the minimum temperature 40 Modify the TCP timeout default to 0 When tcp or udp server Tip 80 8000 49000 is not available Ed V5 0 8 Update on 16 06 2015 Increase customer support center link remove WAPI encryption END OF DOCUMENT Jinan USR IOT Technology Limited Page 93 of 93 tec usr cn
101. this command when module configured as STA 2 2 2 15 AT WAKEY E Function Set Query WIFI security parameters as AP E Format Query Operation AT WAKEY lt CR gt ok lt auth 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 E Parameters auth Authentication mode lt gt lt gt lt gt OPEN SHARED WPAPSK encry Encryption algorithm lt gt gt lt gt NONE When auth OPEN effective WEP When auth OPEN effective or SHARED effective TKIP When auth WPAPSK effective AES When auth WPAPSK effective 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 A B C works as AP After USR WIFI232 A B C module boots up again the setting will be effective But user can set this command when module configured as STA 2 2 2 16 AT HIDESSID m Function Set Query hide AP s SSID E 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 HIDSSID lt sta gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters When Query sta reply if module s SSID is hide lt gt lt gt On not hide SSID Off hide SSID When Set lt gt
102. ule 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 10 10 100 xxx 6 2 4 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 WIF1I232 A B C module to support wireless connection function Jinan USR IOT Technology Limited Page 81 of 93 tec usr cn CBARK A BATVUBHS USR WIF1232 A B C User Manual http www usriot com AP SSID USR WIFI232 AP xxxx LAN IP 10 10 100 254 Net Prot tcp client 10 10 100 100 8899 UART User IP 10 10 100 100 Device Net Prot tcp server 889 cas User Usk VLE Zoe Device USRWIFT 232 A B C ners STA SSID USR WIFI232 A B C STA SSID USR WIFI232 001C AP xxxx AP XXXX LAN IP 10 10 99 254 LAN IP 10 10 98 254 WAN IP 10 10 100 101 WAN IP 10 10 100 102 Net Prot tcp client Net Prot tcp client 10 10 100 100 8899 10 10 100 100 8899 Figure 57 Wireless Data Acquisition Card Application As above figure one USR WIF1I232 A B C configured as AP mode and all others configured as STA mode All USR WIFI232 A B C which configured as STA and data server PC wireless connected to USR WIF1232 A B C which configured as AP to make up
103. work in LAN port disable or wan port enable the directive restore factory Settings to take effect 5 2 2 2 30 AT STTC E Function Enable Disable STA port scan function E 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 onloff gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Sta when query this value feedback lt On Enable STA port scan function lt Off Disable STA port scan function 2 2 2 34 AT DOMAIN E Function Set Query domain of module webpage m 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 o0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters lt domain domain to access to module webpage 5 2 2 2 35 AT FUDLX E Function Enable Disable 485 function E Format Query Operation AT FUDLX lt CR gt ok lt onloff gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT FUDLX lt on off gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters On off Enable or Disable 485 function lt On enable 485 function lt Off disable 485 function Jinan USR IOT Technology Limited Page 67 of 93 tec usr cn BARK A BATUERA USR WIF1232 A B C User Manual http www usriot com Notes AT FUDLX is F Setting means restore to factory setting will not affect this command

Download Pdf Manuals

image

Related Search

Related Contents

Air Force One 5 - logo Full Wireless  owner`s manual manuel d`utilisateur manual del propietario  Wiley Professional Crystal Reports for Visual Studio .NET, 2nd Edition  MAAX 105938-900-084-100 Installation Guide  Pathrider 130 XL - Pride Mobility Products  Manual de instrucciones  

Copyright © All rights reserved.
Failed to retrieve file