Home
Manual
Contents
1. rrrrrrnnnrsrnnnnnrnnnnsernnnnrnnnnnnerrnnnrnnnnnenrnnnrrrnnnssennnnnrnnessssnnnnnnnnnsnsnennnnne 3 411 Firmware ORANG EE EE OE EE RO ENE 3 5 Web Accessing and AT instruction set ee ee Re ee RR Re ee Re ee ee ee ee Re ee 38 5 1 Configuration via Web AccesSINg iese esse ee ee ee ee ee RR ee ee RR Re ee ee RR Re ee ee Ee ee 38 5 1 1 Open Web Management Interface rrrrrrnnnnnrnnnvnrnnnnrrnnnnnrrnnnnnrnrnnnrnnensnrennnrrrnnsresnnnnrsener 38 5 1 2 Mode Sele llon Pade sesse Ed ese see EG ek ede de ee ee gese ee ed dee Me dd RD iiai 39 5 1 3 AP Interface Setting Page ees ee ee Re ee Re ee RR ee ee RR ee ee EE 39 5 1 4 STA Interface Setting Page ee ee ee ee ee RR ee ee ee Re ee Re ee ee ee 40 5 1 5 Application Setting Page si DE ee ee N GN Ee ee Ge N Ge ve Ee Ee 40 Be VERN 42 5 1 7 Device Management Page ee ee Re ee Re ee RR ee ee RR Re ee ee RR Re ee ee 42 5 2 AT instruction Introduction ee ee ee Re ee Re ee ee Re ee RR Re ee Re ee ee 43 ST ENN NG 43 5 2 1 1 Switch to Configuration Mode ees ee ee Re ee RR Re ee RR Re ee ee 44 5 2 2 AT Instruction Set Overview rrrrrrvnnnsrrsrnrrvnnrrserrnnnrnnnnnrrrnnnrrnnnnssennnnrrenessennnnnrnnnssssnnnnne 44 5 2 2 1 Instruction Syntax Format svrrrenrsrroonvrrnnrrrrrsnnvrrnnnerernnnrrrennsserrsnnrennssssssnnvrnnssseenn 46 DL MENN 47 DANTE EE EE EE N EE ER RE N 48 DL AE EN N EE RE OE EE 49 SL STE de 49 SEE NE RE ER N 49 DSU RE EE OO EE EE N 50 Jinan USR IO
2. rrrrrrnrrrrnnrrrrrrnnrrnnnrrrrrnnnrrnnnernrnnnnne 6 1 Module Debug rrrrnnrrrnnnrrrnnnrernnnnrrnnnssrnsnnnrnnnnsrssnnnnnnnnsnsssnnnrnnnnssssnnnrnnnnnseene 6 1 1 Software Debug TOONS usanne 6 1 2 Network Connection sesse ee ee Re ee RR Re ee Re ee ee Jinan USR IOT Technology Limited Page 4 of 79 WWW UST SO tec Qusr cn x USR IOT Pere OPE USR WIFI232 A B C User Manual WWW UST SO oT Be Ve EE EE N EE wae memes OE OE OE OR 63 02 USE EEE EEE 65 6 2 1 Wireless Control Application rrrrrnrnnrrrrssnnnnnnrrrnnnnnnnnnsssnnnnnnrrvnnnnnnnsnsssnnnnnnrvvnrnnnenensssnsennn 65 6 2 2 Remote Management Application rrrrrnnrrnnrrnrrnnnnrrnnrnrrennnrrrnnererrnnvnrnnnssersnnnvrnnsssensnnnnne 66 6 2 3 Transparent Serial Port Application rrrnnnrrrrnnnnnnnnrsrnnrnnnnnnrrrnnnnnnsnrnssnnnnnnrrvrnnnnnsnssssvennn 66 6 2 4 Wireless Data Acquisition Card Application srrnrrrrnrnnnnnnrsrrrrnnnrrrrrrnnnnnnsvsrsrnnnnnvrrvenennn 67 Appendix A Questions and AnNSWwers rrrrrrrrrnrnrsssssssssrrrrrnnnnnnssssssnnnnnnrrvennnnnssssssnnnnnnrrrrnnnnessnsssnnenn 69 Q1 How to configure transparent serial port application TCP protocol with two WIFI 341010 10 gt ERE EE NN NE 69 Q2 Where to Set WIFI Module LAN IP and WAN IP through Web Page mrrrrrrrrrrrnnvrrrererennn 70 Q3 How to configure transparent serial port application UDP protocol with two WIFI NMU Le 70 Q4 Where to set USR WIF1I232 A B C module networ
3. x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO Appendix g History Ed V3 1 Created on 1 14 2012 Ed V4 0 Update AT command information on 6 25 2012 Ed V4 1 Update 2 1 3 AT STA function using notes and related commands Add built in antenna 1 2 3 Update Appendix B C on 10 15 2012 Ed V4 2 Update EVB reference design and picture Ed V4 3 Update on 12 01 Remove Agreement transmission function Remove WDS function support Add AT command AT DOMAIN AT FRLDEN AT DHCPDEN AT HIDESSID Ed V4 5 Update on 14 04 Add TCP password authentication Add Upload ID Add Self adaption Baudrate Add WEB IO END OF DOCUMENT Jinan USR IOT Technology Limited Page 79 of 79 tec Qusr cn
4. Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 1000 ms Send Options Data from file COM port data receive 1 Network data receive NetSettings 1 Protocol TCP Client vi 2 Server IP 10 10 100 254 2 Server Port 8234 Connect Recv Options Receive to file Add line return V Receive As HEX Receive Pause Send Options Save Clear Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Load Clear os USR Technology Co http en usr cn Interval 1000 ms pager Clear Send 170 Recv 1985 Reset l Ready Send 0 Ree 0 Reset LE Ready Figure 47 CommTools Serial Debug Tools Open test software USR TCP232 Test exe selection of hardware attached to the computer s serial number this is COM1 choose 57600 baud rate such as the WIFI module serial default baud rate open the serial port 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 p 7 gt 7 7 gt USK TCPI37 Test KS737 to Ethernet Convert tester File Options Q lp Qp T Receive ta file add bine return M Receive As MET M Receive Pause l Data free fi
5. EE j Q x j TEETE Im ADM3202ARN Q p 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 WIFI232 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 24 of 79 tec Qusr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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 gt Wireless Network Name SSID lt Security Mode lt gt Encryption Key gt TCP UDP Linking P
6. x USR IOT PORN BOE USR WIFI232 A B C User Manual WWW USF SO USR WIFI232 A B C Embedded WiFi Module User Manual Version V4 5 Remarks This module is applicable to USR WIFI232 A B C and its derivatives for example USR WIFI232 2 610 For USR WIF1232 G T S please refer to the corresponding document Jinan USR IOT Technology Limited Page 1 of 79 tec usr cn x USR IOT Be bones Da Best USR WIFI232 A B C User Manual www usr SO Table Of Contents Ne ie FE EE ERE N EE N 6 EEE 6 T2 NetWork ss 1 o ad ee a e i EE NE T 1 8 communicator tes esse es ee N ee ee oe 8 PN 8 ENN NN 9 RE EEE EE EE N 9 2 3 Device ParemeterS ees ee ee Re ee Re ee ee ee ee RR Re ee RR Re ee RR Re ee Re ee ee 10 TE PADI ese RR AA EE ER AE ER EE 10 29 Fatkacde INGE ON serrreetseentsscteciranconmonee aceasestesciceaavuncwotenaces cacticeientauaasianstaoeasaeaseuesemaaasouciecindudersens 11 2 5 1 Recommended Reflow Profile see ee ee ee Re ee Re ee RR Re ee RE Re ee 11 2 5 2 Device Handling Instruction Module IC SMT Preparation 11 PN 12 3 Hardware VIO GU ON EE EE 12 TR Nede 12 3 1 1 USR WIFI232 A B Pins Definition rrrrvvrornvrnnrrrnnvrrnnrrrnvrnnsvrsnnrnnnsrrnvrrnsssrsvrressernvrrnssenn 12 3 1 2 USR WIFI232 Ca Cb Pins Definition rrrrrrrrrrrrrnnrrrrnrrnvrrrrnrrnnversrrrnvserserrnnsssnnrrnssennnne 14 6 Mechanical EEE EE 15 2 USR WIE NPS 15 522 USR WIFI232 Ca C D asie Een SR ee GE GO AE eo Ee ees De e
7. Figure 18 Ethernet Reference Design with Transformer 3 0 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 TXOM4 PHY TXATXOP4 PHY RXARXIMA PHY RXARXIPA OUT 1V8 Jinan USR IOT Technology Limited Page 22 of 79 tec usr cn amp USR IOT Be bones Da Bet USR WIFI232 A B C User Manual www usr SO 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 A
8. external power shutdown mode reference design nilink i i i UART KE amp UART CTS i PW i i VART ATS Pb 3 UART_ATS i i i i I i I I I i UTE EFE i bi FE ae e Ead P gt D 74LVC1G126 DIODES TI 0 06 pcs S AP2280 1WG 7 MAP2280 2WG 7 DIODES 0 1 pcs Jinan USR IOT Technology Limited Page 77 of 79 tec Qusr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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 www usr so Email sales usr cn order usr cn Appendix 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 78 of 79 tec usr cn
9. x USR IOT se Ra USR WIFI232 A B C User Manual WWW USF SO 4 4 Ethernet Interface Communication rrnrrrnnnnarnnnnnvrnnnnsrnrnnnrrnnnrsernnnrrrnnnssrsnnnrrennsrsssnnnvrnnssssssnnnnne 30 4 4 1 USR WIFI232 A B C Ethernet Interface Networking AS AP 30 4 4 2 USR WIF1232 A B C Ethernet Interface Networking As STA N Ver rrwsssrvvrmes 31 4 4 3 USR WIFI232 A B C Ethernet Interface Networking As STA Z Ver mmrvrne 32 4 5 WI FI parameter setting rrrrnnrrorrnnnnrnnrrnrrrnnnrrnnnnerennnrrrnnnsvennnnnrnnnnsssnnnnnnnnnsnsssnnnrnnnnsssennnrrsenessennn 32 4 5 1 Auto Frequency Fun ction ees ee ee Re ee RR Re ee RR Re ee Re ee ee ee ee ee 32 TD SN EE N N EE EE EN NE N EE 32 450 Se FA TON lof Sels 33 4 5 4 CSS SAS ICING REE GE NR 33 4 6 UART Frame Scheme ee esse ee ee Re ee ee ee ee RR ee ee RR Re ee ee RR Re ee RE Re ee 33 iS ME ads ie or EO N EE EE N 33 4 6 UR AAI NE ses se ee RE Ge ad 34 4 NNN 34 FN SE Nenne 34 2 BG 35 TEN NNN 35 4 8 1 TCP password authentication rorrrrrrnnnnrnrsrrrrnnnrrnrrrnnnnnnrnnrrrrnnnnnrrrrnrnnnnnnssssssnnnvnvrrvenesee 35 4o 2 Upload ID ee 35 4 8 3 Self adaption Baudrate rrrrrnnnnnrsrrrrnnnnnnrrnnnnnnnnnnssennnnnnrrrennnnnnnnsssnnnnnnnnrnnnnnnnnssssssnnnnnnnnnee 36 AoA WEBIO hp 36 Tok 36 4 9 Palmodic Signal rrorararonnnnrnnnnnsnrnnnrrnnnnssrnnnnrnnnenssrnnnnnnnnnsnesnnnrnnensssnnnnrrrnnessnnnnnnvennssssnnnnnnnnnssenennnnne 36 4 10 Parameters Configuration
10. Interface Setting Page as below Figure ress 10 10 100 254 Subnet Mask 255 255 255 0 MAC Address 88 8B 5D 70 04 87 DHCP Type Server v Default DHCP Gateway 10 10 100 254 Apply Cancel Figure 55 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 IP Address 10 10 99 254 Subnet Mask 255 25500 Default Gateway 10 10 99 254 Apply Cancel Figure 56 Module WAN IP Setting Q3 How to configure transparent serial port application UDP protocol with two wifi modules gt Network structure as below figure m Module 1 Setting lt gt Works as AP mode See Mode Selection Page lt LAN IP address 10 10 100 254 See AP Interface Setting Page lt Network Protocal UDP Port ID 8899 Application IP address 10 10 100 100 See Application Setting Page m Module 2 Setting lt gt Works as STA mode See Mode Selection Page lt WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page lt Network Protocal UDP Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Setting Page lt LAN IP address 10 10 99 254 Different net segment with WAN port Jinan USR IO
11. 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 Internet oe USR WIFI232 den A B C USR WIFI232 A B C Figure 51 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 as below figures to build up a transparent serial port connection Jinan USR IOT Technology Limited Page 66 of 79 tec usr cn USR IOT EE LO USR WIFI232 A B C User Manual WWW UST SO 1 oH N UART ona User AP SSID USR WIFI232 Device AP xxxx STA SSID USR WIFI232 LAN IP 10 10 100 254 AP xxxx Net Prot Tcp Server WAN TP DHCP USR WIFIZ32 Protocol Port 8899 Net Prot Tcp client A B C 10 10 100 254 8899 USR WIFI232 LAN IP 10 10 99 254 A B C Figure 52 Transparent Serial Port Applicat
12. 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 nr T serial port eh usb rs232 PC ay am OS DUI Figure 46 Connection diagram On the serial connection module pin leads to 3 3V TTL level not directly connected with the computer need to bring the bottom or users are TTL to RS232 connecting line connected to the computer in order to facilitate the user to test the use of we provide a variety of floor for the user to choose here in the case of USR WIF1232 2 Hardware connectivity for module power supply the red power indicator light wait about 6 seconds internal system boot Ready lights said system startup complete can operate entering the next step 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 63 of 79 tec Qusr cn amp USR IOT Be Honest Do Best USR WIFI232 A B C User Manual www usr SO USR ICP232 Test RS232 to Ethernet Convert tester Sele File F Options 0 Help H COMSettings PortNum COM1 x BaudR 57600 vi DPaty NONE x DataB 8 bit vi Stop 1 bit vi Close Recv Options Receive to file Add line return Receive As HEX Receive Pause Save Clear
13. WIFI232 A B C User Manual www usr SO lt On Set module to normal mode WiFi ON When module go into sleep mode user can input AT MSLP o0n to re start the module and module go into transparent transmission mode 5 2 2 2 18 AT WSCAN m Function Seek AP when module works as STA mode m 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 5 2 2 2 19 AT TCPLK m Function Query if TCP link already build up m Format AT TCPLK lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters sta if module already setup TCP link lt on TCP link setup lt gt off TCP link not setup 5 2 2 2 20 AT TCPDIS m Function Open Cose TCP Only TCP Client available m Format Query Operation AT TCPDIS lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDIS lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters sta set query TCP link status lt on TCP link available When setting on module will connect to TCP server right away lt gt off TCP link not available when setting off module will disconnect with TCP server and not connect again 5 2 2 2 21 AT WANN m Function Set Query WAN setting only effective as STA mode m Format Query Operation AT WANN lt CR gt ok lt mode address mask gateway gt lt CR gt lt LF gt lt CR gt lt LF g
14. and one STA interface at the same time as following figure User Device AP Phone z Tep server lt gt Tcp Tcp server Client USR WIFI232 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 Jinan USR IOT Technology Limited Page 29 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO permit phone PAD to connect through TCPB then phone PAD can control user device and and setting the module parameters The advantage of AP STA mode is gt Users can easily setting and track user device through Phone PAD and not change the orginal network setting gt Users can easily setting modules parameters through WiFi when module works as STA mode AP STA Mode Setting AP STA mode need serial AT command to enable as follows gt AT FAPSTA on Enable AP STA mode gt Then when you configure module works as STA mode it s AP interface 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 Ioss So if user confirm STA port can t connect with AP at some time user can disable the STA scan
15. function Disable vw ET AP Interface Setting Apply Cancel Device ID setting Di NERE j Faser eg AET eve ID ED E E STA Interface Setting Send an ID when module connection is established Enable v gt WEB 10 Every time to send data to send ID Enable vw ay Device Management Network Setting Mode Server wv Protocol TCP Port 8899 m Server Address MAX TCP Num 1 32 32 TCP Time out MAX 600 s 0 Apply B Cancel Figure 36 Application Setting Page Notes Generally Network protocols support three modes TCP Server TCP Client and UDP UDP has no server and client requirement according to standard Besides module working as TCP Server IP address not required in this mode User must set the IP address of the device which need communicate with USR WIF1232 A B C module Also the Port ID between two sides of the communication devices must keep the same 5 1 6 WEB IO Jinan USR IOT Technology Limited Page 41 of 79 tec usr cn amp USR IOT Be Honest Do Best p Mode Selection mb AP Interface Setting sp WEB 10 USR WIFI232 A B C User Manual WWW UST SO WEB IO Note only the module in GPIO2 model IO control effect Output Input Note Green represent 1 Red represent 0 Send 127 OK Figure 37 WEB IO Page 5 1 7 Device Management Page This page use to manage USR WIF1232 A B C module general setting such as administrator setting restart m
16. 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 PC USR WIFI232 AP A B C 100M Eth _ oie STA N Ver KS Ge PC2 IP f gt IP 10 10 100 192 168 1 101 IP 10 10 100 101 254 GateWay IP 192 168 1 100 GateWay 192 168 1 101 192 168 1 1 GateWay 192 168 1 1 10 10 100 254 Figure 27 USR WIFI232 A B C Ethernet Interface Networking As STA N Ver USR WIFI232 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 WIFI232 A B C works as router mode but PC2 can t active initiate a connection to PC1 Jinan USR IOT Technology Limited Page 31 of 79 tec usr cn amp USR IOT Be bones Da Bet USR WIFI232 A B C User Manual www usr SO 4 4 3 USR WIFI232 A B C Ethernet Interface Networking As STA Z Ver PC USR WIFI232 A B C AP Fil 100M Eth gt STA Zer YS IP y IP ek 101 192 168 1 10 IP 192 168 1 100 he ae GateWay IP GateWay 168 1 192 168 1
17. lt LF gt lt CR gt lt LF gt E Parameters module id MID information lt Al1 yymmddnnnn yymmdd date nnnn serial number 5 2 2 2 44 AT VER m Function Query module software version information m Format Query Operation AT VER lt CR gt ok lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters ver Module software version information 5 2 2 2 45 AT H m Function Help m 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 E Parameters command help command introduction 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 development of the serial and network debugging two in one test software USR TCP232 Test Jinan USR IOT Technology Limited Page 62 of 79 tec Qusr cn x USR IOT Bree DOBESI USR WIFI232 A B C User Manual www usr SO f USR TCP232 Test exe In order to test the serial port to the WIFI network address conversion we will module serial connected 6 1 2 Network Connection 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
18. lt CR gt lt LF gt Set Operation AT FUDLX lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters On off Enable or Disable 485 function lt On enable 485 function lt Of disable 485 function Notes AT FUDLX is F Setting means restore to factory setting will not affect this command 5 2 2 2 37 AT MMID m Function Set Query Device ID m 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 E 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 38 AT IDFIR E Function Enable Disable Send an ID when module connection is established function Jinan USR IOT Technology Limited Page 60 of 79 tec usr cn 5 2 2 2 39 E a 9 2 2 2 40 E m 5 2 2 2 41 E E x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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 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
19. output high gt lt gt Notes n can be 3 4 5 6 8 9 10 corresponding module pin GPIO 4 and 10 can only defined as input and GPIO 3 can only defined as output GPIO READ returns all current IO status and GPIO n GET said method Such as 11111010101001 said input O output 0 low 1 express high 4 and 10 of the two pin is negated Read the 1 actual 0 actual 1 read the 0 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 Jinan USR IOT Technology Limited Page 27 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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 Processing Program Figure 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 a
20. tec usr cn amp USR IOT Ba Horst NOBEL USR WIFI232 A B C User Manual WWW US SO AP SSID USR WIFI232 AP xxxx LAN IP 10 10 100 254 Net Prot tcp client 10 10 100 100 8899 IP User 10 10 100 100 Net Prot tcp server 889 USR WIF1232 EN USR WIFI232 A B C Hi STA SSID USR WIFI232 A B C STA SSID USR WIFI232 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 53 Wireless Data Acquisition Card Application As above figure one USR WIFI232 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 WIFI232 A B C which configured as AP to make up 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 68 of 79 tec usr cn x USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW USI SO Appendix A Questions and Answers Q1 How to configure transparent serial port application TCP protocol with two wifi modules gt Network structure as below figure m Module 1 Setting lt gt Works as AP mode See
21. 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 oft This command is saved after re staring the module 4 4 Ethernet Interface Communication USR WIFI232 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 WIFI232 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 USR WIFI232 A B C Ethernet Interface Networking As AP Jinan USR IOT Technology Limited Page 30 of 79 tec usr cn I USR IOT Ba honest OPE USR WIFI232 A B C User Manual WWW US SO USR WIF1232 A B C PC2 100M Eth 10 10 100 101 IP 10 10 100 100 Geer AP GateWay 10 10 100 254 IP 10 10 100 254 10 10 100 254 Figure 26 USR WIFI232 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
22. 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 V4 02 10 USR13 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 OxOD 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 refer to the specific 5 1 2 section 4 8 2 Upload ID 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 Module is the default ID is 1111 for example is sent to the server when the first four bytes 0x57 0x04 Oxfb Oxa8 There are two ways to upload their own id one is to upload their own id for connection to the server for the first time The other is a plus id in front of e
23. up again the setting will be effective 5 2 2 2 30 AT TCPTOB m Function Set Query TCPB time out time m Format amp 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 E Parameters time TCPB time out time lt 600 600s gt 0 No time out default 300 After USR WIFI232 A B C module boots up again the setting will be effective 5 2 2 2 31 AT TCPLKB m Function Query TCPB link status Mm Format Jinan USR IOT Technology Limited Page 58 of 79 tec Qusr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO AT TCPCKB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters sta TCPB link status lt on TCPB link OK lt gt off TCPB link not available 5 2 2 2 32 AT EPHY m Function Open Close ETH interface m Format Set Operation AT EPHY lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters On off lt gt Of Close Ethernet port function 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 WIF1I232 A B C is close Ethernet port function 5 2 2 2 33 AT STTC E Function Enable Disable STA port scan function E Format Quer
24. 1 Protocol Network data receive EReceive from 10 10 100 254 8899 Jinan USR Technology Co Ltd Jinan USR Ltd Jinan USR Technology COM port data receive http ffen usr cnhttp en usr cnhttp f en u sr ch 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 LocalHost 10 10 100 100 10 100 100 Port Send Recycle Jinan USR Technology Co Ltd http en usr cn Interval 10 ms Send Send Load Clear Send 90 Recy 48 Reset je Ready Send 48 Recv 30 Reset Figure 49 The test results show that the network and serial port Note because of the RTS CTS pin processing difference currently available on the part of the serial debugging software for the module of the system is not available please be sure to want to use USR TCP232 Test we provide testing or just RXD TXD GND connected the three line to the computer please notice 6 2 Use Cases 6 2 1 Wireless Control Application User Device Jinan USR IOT Technology Limited AP SSID USR WIFI232 AP xxxx USR WIFI232 A B C Page 65 of 79 tec usr cn A USR IOT BE MONES DO BeSt USR WIFI232 A B C User Manual WWW USF SO Figure 50 Wireless Control Application For this wireless control application USR WIFI232 A B C works as AP mode
25. 1 192 168 1 1 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 connect in When module works as AP and USR WIFI232 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 WIFI232 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 Me dd Jinan USR IOT Technology Limited Page 32 of 79 tec Qusr cn amp USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 4 5 3 Sea
26. 32 A B C module works as STA Such as SSID of AP which module need to connected and also select the networking type DHCP or static IP address E Mode Selection E AP Interface Setting E STA Interface Setting E Application Setting E WEB IO E Device Management STA Interface Parameters AP s SSID USR VWIFI232 AP 3378 Search MAC Address Optional Security Mode OPEN Encryption Type NONE vw WAN Connection Type DHCP Auto config v DHCP Mode Hostname Optional USR VWIFI232 AP 3378 Figure 35 STA Interface Setting Page 5 1 5 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 iy amp EG ky Ey Mode Selection AP Interface Setting STA Interface Setting WEB IQ Device Management Wifi Uart Setting You could configure the Uart parameters and network parameters of the wifi uart application mm Vart Setting Baudrate 57600 vw Data Bits id Parity None w Stop l w CTSRTS Disable vw 485 mode Disable w Apply f Cancel UART AutoFrame Setting UART AutoFrame Disable vw Came Ethernet function 3 Jinan USR IOT Technology Limited Page 40 of 79 tec Qusr cn amp USR IOT Bree DO BeSt USR WIFI232 A B C User Manual WWW USF SO ob ide Selection Open the Ethernet
27. 43 of 79 tec usr cn WWW UST SO x USR IOT RE MONES DO BESI USR WIFI232 A B C User Manual WWW USF SO In configuration mode user can setting the module through AT instruction set which cover all web page setting function 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 ok to go into AT instruction set configuration mode B Serial COM3 SecureCRI TE FEE SEN Em0 mO BES TAQ Faw JVODA AA BEA TRY 9 A Serial COM3 a 0 Serial COM3 3 1 2647 903 vT100 Figure 41 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 4 as above UART display 2 Any other input or wro ng step to UART port will cause the module still works as original mode transparent transmission input input input input a lt 300ms lt 300ms lt 3s show a 5 2 2 AT Instruction Set Overview User can input AT Instruction through hyper terminal or other serial debug terminal also can program the AT Instruction to script User can also input AT H to list all AT Instruction and description to start Jinan USR IOT
28. 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 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 34 of 79 tec usr cn amp USR IOT Be Hoe Do Best USR WIFI232 A B C User Manual www usr SO WIFI P Devicets CC gt TOP gd Dev ice24 Serial AA Iselcclppl device leg Device3 Figure 30 Multi TCP Link Data Transmition Structure 4 7 2 Socket B Socket B has one work mode TCP Client please refer to the AT SOCKB command instruction With variety work mode socket B can provide users with flexible data
29. Be Hoe Da Best USR WIFI232 A B C User Manual www usr SO AP SSID USR WIFI232 A LAN IP 10 10 100 254 Net Prot Tcp Server Protocol Port 8899 SR I E sf N x C CRESS EEE ad A z W F TA 4220 D OFS gt rey User joes Ce USR ea me Jer WIFI232 X USR Kl STA SSID USR WIFI232 A WIFI232 X LAN IP 10 10 99 254 WAN IP 10 10 100 100 Net Prot Tcp Server Protocol Port 8899 STA SSID USR WIFI232 A WAN IP 10 10 100 101 Net Prot Tcp client 10 10 100 100 8899 LAN IP 10 10 98 254 Figure 61 Two USR WIFI232 A B C Modules Connection Through AP Q6 How to avoid IP address confliction when apply USR WIFI232 A BIC module gt The following address allocation method can avoid the IP address confliction for dynamic and static IP address mixed application m Module dynamic IP address range from 100 to 200 for last IP address segment lt Such as default IP 10 10 100 254 When module works as AP the IP address module can allocate to STA is from 10 10 100 100 to 10 10 100 200 m So if user needs to set static IP for dedicated STA internal network the available IP address range can start from 10 10 100 1 to 10 10 100 99 Q7 PC works as server all WIFI modules works as data acquisition card and connect with PC how to configure 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
30. Figure 62 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 74 of 79 tec usr cn I USR IOT Bo Hoe Da Best USR WIFI232 A B C User Manual www usr SO 1 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 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 BSDOOOOE2 guxin 50 you can get to the IP address of the module Jinan USR IOT Technology Limited Page 75 of 79 tec Qusr cn I USR IOT RE MONES DO BeSt USR WIFI232 A B C User Manual WWW UST SO Appendix b evb reference design Jinan USR IOT Technology Limited Page 76 of 79 tec Qusr cn I USR IOT Ba honest OPE USR WIFI232 A B C User Manual WWW US SO Appendix c
31. HY_TX O Support transformer and 13 ull Ethernet Output PHY TX 3 1 2 USR WIFI232 Ca Cb Pins Definition Be Honest Do Best USR WIFI232 A B C User Manual Figure 9 USR WIFI232 Ca Cb direct connection AC couple mode nLINK NC nRST lt 4 NC nReady PHY RX nReload PHY RX GND i PHY TX GND PHY TX GND lt UART_CTS UART1_RXD UART_RTS UART1_TXD UART RXD Output 1 8V VART TXD GND GND ANT 3 3V GND r 3 3V Figure 10 USR WIFI232 Ca Cb Pins Map Table 4 USR WIFI232 Ca Cb Pins Definition on 3 18 19 GND GND Power Ground 20 24 26 1 2 VCC 3 3V 350mA power input 4 UART Data Transmit UART TXD O If not use UART GPIO GPIO3 function this 4 pins Jinan USR IOT Technology Limited Page 14 of 79 tec usr cn x USR IOT Be bones Da Best USR WIFI232 A B C User Manual www usr SO UART Data Receive UART_RXD 1 can be configured as GPIO pins and can UART sends request of UART RTS change GPIO pin non nl N transmission permission rms perser GPIO e Ethemat ouipuir PAYT O rav Hiema Dai 9 Ethernet output PHY Tx O Interface Module with Ethernet Input PHY RX TE external 1 8V Ethernet Input PHY RX 1 reference voltage 14 WiFi status Indication nlink WIFI connection deed 1 No WIFI connection Module reset signal NRST Low 0 effective reset input The reset duration should be kept more than 300ms Indicate the module nReady sta
32. IP When auth WPAPSK effective AES When auth WPAPSK effective lt 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 gt 5 2 2 2 16 AT HIDESSID m Function Set Query hide AP s SSID m 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 ok 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 On not hide SSID lt gt Off hide SSID When Set lt gt Off hide SSID lt On not hide SSID 5 2 2 2 1f AT MSLP m Function Set modules into power save mode Turn OFF WiFi m 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 on off 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 Jinan USR IOT Technology Limited Page 54 of 79 tec usr cn x USR IOT Be bones Dae USR
33. KEY Set Query WIFI security parameters as AP TGPDIS WANN LANN DHCPDEN DHCPGW TCPTO MAXSK TOPS TCPPTS TGPADDB TOPTOB TCPLKE EPHY STIG DOMAIN FRLDEN RELD FUDLX MMID DFIR DEVE AABR MID VER Query module software version information Help HIDESSID MSLP WSCAN TCPLK FUDLX gt MMD gt IDEVE gt AABR 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 5 2 2 2 1 AT E m Function Open Close show back function m Format AT E lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 48 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO When USR WIF1I232 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 5 2 2 2 2 AT ENTM m Function Set module into transparent transmission mode m Format AT ENTM 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 5 2 2 2 3 AT NETP m Function Set Query network protocol parameters m Format Query Operation AT NETP lt CR gt ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NETP lt pr
34. Mode Selection Page lt LAN IP address 10 10 100 254 See AP Interface Setting Page lt Network Protocal TCP Server Port ID 8899 See Application Setting Page Module default setting m Module 2 Setting lt Works as STA mode See Mode Selection Page lt gt WAN connection type DHCP or Static IP For this example 10 10 100 100 See STA Interface Setting Page lt Network Protocal TCP Client Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Setting Page lt Notes When module 2 works as STA mode modules WiFi interface works as WAN port Module s WAN IP address and LAN IP address shall be setting different segment 50 module 2 s LAN IP address must change to other segment For this sample we change to 10 10 99 254 See AP Interface Setting Page 24 AP SSID USR WIFI232 AP xxxx STA SSID USR WIFI232 LAN IP 10 10 100 254 AP xxxx Net Prot Tcp Server WAN IP DHCP USR WIFIZ32 Protocol Port 8899 Net Prot Tep client A B C USR WIF 1232 10 10 100 254 8899 A B C LAN IP 10 10 99 254 Figure 54 Configure Transparent Serial Port Connection TCP Jinan USR IOT Technology Limited Page 69 of 79 tec usr cn x USR IOT BE MONES BORE USR WIFI232 A B C User Manual WWW USF SO 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
35. 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 125 5 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 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 11 of 79 tec usr cn x USR IOT Be honest OPEL USR WIFI232 A B C User Manual WWW US SO 2 5 3 Shipping Information j I j i V il KA ARAM MAA Vik nd Te Figure 6 Shipping Information TRAY Size 420 245 34 mm Note 1 tray 5 20 pcs 100 pcs 1 box 2 trays 2 100 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 12 o
36. PIO1 mode GPIO2 mode TCP connection password authentication can choose whether open TCP password authentication EN Mode Selection m AP Interface Setting m STA Interface Setting EE Application Setting m WEB IO E Device Management Working Mode Configuration You may configure the Uart WIFI module wifi mode and data transfor mode 9 AP Mode Access Point STA Mode Station Mode Data TransforMode Transparent Mode X TCP connection password authentication Disable Apply Cancel Figure 33 Mode Selection Page 5 1 3 AP Interface Setting Page This page use to setting the parameters when USR WIF1232 A B C module works as AP E Mode Selection E STA Interface Setting E Application Setting E WEB IO m Device Management Jinan USR IOT Technology Limited Wireless Network Network Mode lib g n mixed mode vw Network Name SSID USR WIFI232 AP 3378 Hidden F BSSID AC CF 23 FF 33 78 Frequency Channel Aut oSelect Wireless Distribution System WDS WDS Configuratio ai USR WIFI232 AP 3378 Security Mode Disable v Apply Cancel LAN Setup IP Address Default DHCP Gateway 10 10 100 254 Subnet Mask 255 255 255 0 DHCP Type Server vw Anniv pi Cancel Figure 34 AP Interface Setting Page Page 39 of 79 tec usr cn Honest Do Best USR IOT USR WIFI232 A B C User Manual WWW USF SO b 1 4 STA Interface Setting Page This page use to setting the parameters when USR WIFI2
37. SR provides the evaluation kit to promote user to familiar the product and develop the detailed application The evaluation kit shown as below user can connect to USR WIFI232 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 WIFI232 A B module Evaluation Kit Table 6 USR WIFI232 A B Evaluation Kit Interface Description Jinan USR IOT Technology Limited Page 18 of 79 tec Qusr cn x USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW UST SO 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 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 19 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO External Male serial jack of 9 pin and used to connect to DB9 Interface PC RTS Green 2 RTS GPIO Indicator gg Green nReload GPIO Indicator sr En nReady GPIO Indicator H Green 5 NLink GPIO Indicator Button Used to reset the module Module restore to factory default configuration 3 5 Hardware Reference Design 3 5 1 Hardware Typical Applica
38. T Technology Limited Page 3 of 79 tec usr cn x USR IOT Be Honest Do Best USR WIFI232 A B C User Manual SALT a 2 al al eee de 5 2 2 2 7 AT NG ERE en ne ne 52 22 8 ATIFTMODE re ese sie cre ee ee BO ac ee SE NESE GE EE 5 2 2 2 11 AT WSSSID rrrrrrrrrrnrrorerrrrrrernnrorernvrrsernrrnservnrernn 9222 PEN EEE EE SAAL IO ATW EB ee 522 2 TVR SDTV REN eo fenetteecac amass 5222 10 ATADESS PD use 5222 1 TE EE EE ONE EE 5222 TG Fl FV SCAN ses eene ee ee ei ee ede 5 22 2 19 ATF TCPLK esse oseane es es ee oe ee ee 522220 Fd BCP DS oase Ee Ne GE 322 221 AF ENAMNN oe ee EE GE Ee ie 522222 ATELANN EO EE E EE N N 5 222 235 ATDHEPDEN iese vee sie Ee Sie eis BAAAAAATEDHOEPESWM sees Eise bee Es Gee Dee MEE 922 Aa Als EE PIE ode EEE 922226 AT MA SIN see Ee ee oe ee Eie 522227 ATHIEPB ee iss iese Ges ie bi ede a 92 2 L28 ATFICPPT B se os Ee ee 9222 29ATFTOCPADDB ss Ge ie ee 5222 0 AMT TPB vvs 9 2 2231 ATtITCPLK gt es SA PE SI OE ce NTT ER RE ORE EN 5 2 2 2 34 ATDOMAIN ie sesse se sed esse dee de 5 2 2 2 35 ATFRLDEN ee ee ee ee ee ee ee ee ee ee 224 OT re Oe Ge Oe ee Ie ok S22 Ao EG le EE OE EE RE N DE 5222 6 ADEM ins Ge en ed Ge N Ge 5222 390 AT IDEVE oes iss bees se ee de Ge ee rek dies SEN ee de ee ee GE oe nsi OS ME ie de RE EE EO EN EN oo Ad APE ee ee ee Ee ee 9 2 2 2 43 AT MID errrrrornroooornrrorennrrrrernrrrersnrnsrennressnnnresernnnn dBA LL MATER ed SN ES 6 USR WIFI232 A B C Usage Introduction
39. T Technology Limited Page 70 of 79 tec usr cn amp USR IOT Be honest Oo best USR WIFI232 A B C User Manual WWW US SO 5ee AP Interface Setting Page gt nol af ee Pa Q gt ee 2 TA ED PTA dj a oN E KS 2 2825 gt Seg Sa er USR WIFI232 User Device USR WIF1232 i A B C Device AP EN G Ps gaan XXXX AP xxxx LAN IP 10 10 100 254 WAN IP DHCP Net Prot UDP Net Prot UDP 10 10 100 100 8899 10 10 100 254 8899 LAN IP 10 10 99 254 Figure 57 Configure Transparent Serial Port Connection UDP Q4 Where to set USRMIFI232 ABC module network protocol TCP UDP gt USR WIFI232 A B C network protocol setting see Application Setting Page as below Figure m Protocol TCP Server lt gt Only Port ID required 8899 Default Net Setting Mode Server Protocol TCP v Port pos IP Address 10 10 10 100 TCP Time out MAX 600 s 300 Apply Cancel Figure 58 Module Network Protocols TCP Server m Protocol TCP Client lt Application IP address required it s target TCP server s IP address lt gt Port ID required 8899 Default Net Setting Mode Client v Protocol TCP v Port 8899 IP Address 01010100 TCP Time out MAX 600 s 300 Apply Cancel Figure 59 Module Network Protocol TCP Client Jinan USR IOT Technology Limited Page 71 of 79 tec usr cn x USR IOT Be bones Do Best USR WIFI232 A B C User Manual www usr SO m Protocol
40. Technology Limited Page 44 of 79 tec Qusr cn amp USR IOT Bree DO BeSt USR WIFI232 A B C User Manual WWW USF SO Serial COR3 SecureCkT THE MED SEO ETO RD MEG IAO HH HHA AR RS TRY A a 0 AT H 0k AT NONE command reply ok AT E Echo on off to turn on off command line echo function AT ENTM Goto Through mode AT NETP Set Get the Net Protocol Parameters AT UART Set Get the UART Parameters AT WMODE Set Get the WIFI Operation Mode AP 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 Ee The Module ID eg All yymmddxxxx Cyy year mm month dd day xxxx serial num AT H Help Serial COM3 22 1 2647 983 VT100 Figure 42 AT H Instruction for Help We supply software USR WIFI232 Setup to send command easily software setup Oprate via COM Com port TIER Bandrate 115200 WIFI232 L default 115200 Others 57600 AT ENTM ik Hie Open Com Figure 43 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 Li
41. UDP lt No Server Client selection required lt Application IP address required it s target device s IP address lt Port ID required 8899 Default Net Setting Mode client E Protocol UDP v Port 6899 IP Address 01010100 t Figure 60 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 m Module 1 Setting We use USR WIFI232 A B C as AP for this example lt Works as AP mode and all default setting m Module 2 Setting lt gt Works as STA mode See Mode Selection Page WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page Network Protocal TCP Server Port ID 8899 See Application Setting Page LAN IP address 10 10 99 254 Different net segment with WAN port See AP Interface Setting Page gt m Module 3 Setting lt Works as STA mode See Mode Selection Page lt WAN connection type Static IP 10 10 100 101 See STA Interface Setting Page lt Network Protocal TCP Client Port ID 8899 Application IP address Module 2 s WAN IP address 10 10 100 100 See Application Setting Page lt LAN IP address 10 10 98 254 Different net segment with WAN port See AP Interface Setting Page Jinan USR IOT Technology Limited Page 72 of 79 tec usr cn amp USR IOT
42. WSSSID m Function Set Query WIFI target AP SSID parameters as STA m 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 5 2 2 2 12 AT WSLK m Function Query WiFi link status as STA m Format Query Operation AT WSLK lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ret lt Disconnected if no WiFi connection AP SSID CAP s MAC if WiFi connection available gt RE Of if WiFi OFF 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 13 AT WEBU m Function Set Query WEB page login parameters m Format Query Operation AT WEBU lt CR gt Jinan USR IOT Technology Limited Page 52 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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
43. a 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 AT UARTFT m Function Set Query UART auto frame trigger time m Format Query Operation AT UARTFT lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFT lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters time Range 100 10000 Unit ms Auto frame trigger time 5 2 2 2 f AT UARTFL m 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 Jinan USR IOT Technology Limited Page 50 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO ok lt CR gt lt LF gt lt CR gt lt LF gt E 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 m Format Query Operation AT TMODE lt CR gt ok lt tmode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TMODE lt tmode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters tmode Data transmission mode lt Through Transparent transmission lt Agreement Agreement transmission After USR WIFI232 A B C module boots up
44. ach data ID number related parameter is set in the serial port and other Settings section of the web build joint function of ID for the first time and each data with the function of ID are opened by default Jinan USR IOT Technology Limited Page 35 of 79 tec usr cn x USR IOT Be bones Da Best USR WIFI232 A B C User Manual www usr SO ID can also use the at command to set the related parameters specific refer to 5 2 1 4 32 5 2 1 4 34 section 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 Options O Fx Help H AutoRun Keep Alive gt Run as tray icon Synchronize baudrate RFC2217 similar E gory re P an go Da idee SS Jr renere 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 lf restart the module baud rate and will come back to before 4 8 4 WEB IO This function only work for GPIO2 mode When the module is in the GPIO2 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 th
45. again the setting will be effective 5 2 2 2 9 AT WMODE m Function Set Query WIFI work mode m 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 mode WIFI work mode gt AP v STA After USR WIFI232 A B C module boots up again the setting will be effective 5 2 2 2 10 AT WSKEY m Function Set Query WIFI security parameters as STA m 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 ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters auth Authentication mode lt gt OPEN Jinan USR IOT Technology Limited Page 51 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO lt SHARED lt WPAPSK encry Encryption algorithm v NONE When auth OPEN effective lt WEP When auth OPEN or SHARED effective lt gt 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 11 AT
46. arameters lt Protocol Type Link Type Server or Client Target Port ID Number Target Port IP Address gt Serial Port Parameters lt Baud Rate v Data Bit lt gt Parity Check Bit lt Stop Bit lt Hardware Flow Control gt Work Mode Selection lt Transparent transmission Serial command mode GPIO1 mode GPIO2 mode The following sections will introduce specific to each part in detail 4 2 Working mode 4 2 1 Transparent Transmission Mode USR WIFI232 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 25 of 79 tec Qusr cn x USR IOT Be bones Da Best USR WIFI232 A B C User Manual www usr SO The transparent transmission mode can fully compatible with user s original software platform and reduce the
47. 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 WIF1I232 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 WIFI232 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 40mm x25mm 2x7 2mm Connector Built in antenna USR WIFI232 B 40mmx25mm 2x7 2mm Connector PEX connector USR WIFI232 Ca 40mmx25mm SMT Footprint Built in antenna USR WIFI232 Cb 40mmx25mm SMT Footprint PEX connector 2 2 Device Features Support IEEE802 11b g n Wireless Standards Support TCP IP UDP Network Protocols Support UART GPIO Ethernet Data Interface Support Work As STA AP AP STA Mode Support Router Bridge Mode Networking Support Internal External Antenna Option Support Transparent Transmission Mode Support AT Instruction Set for Configuration Support Friendly Web Configuration Page Support Palmodic Signal Support UART Auto Frame Function Single 3 3V Power S
48. 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 i 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 ae A fiers A g Figure 14 Suggested Module Placement Region Layout design 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 17 of 79 tec usr cn x USR IOT Be honest OPEL USR WIFI232 A B C User Manual WWW US SO Table 5 USR WIFI232 A B C External Antenna Parameters tem Parameters Freguency range 2 4 2 5GHz 50 Ohm VSWR 2 Max 10dB Max Connector Type PEX or populate directly 3 4 Evaluation Kit U
49. ction If you cannot connect click Repair Repair Activity Packets 344 341 541 857 View Wireless Networks Figure 3 WIFI connection Now nlink led of USR WIFI232 A Evaluation Board is lighting Jinan USR IOT Technology Limited Page 7 of 79 tec usr cn Qe ta 1 3 communication test USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW USF SO Module s default setting SSID USR WIFI232 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 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 tes
50. d operator The command requires parameters input NULL Query the current command parameters setting m para n Parameters input for setting if required lt CR gt Enter Key its 0x0a or 0x0d 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 OxOd lt LF gt ASCIII OxOa gt Error Code Table 10 Error Code Description AL NE Web Access Default Setting Invalid Command Format 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 Jinan USR IOT Technology Limited Page 47 of 79 tec usr cn I USR IOT Bo Hor Da Best USR WIFI232 A B C User Manual www usr SO UARTFL transparent transmission or agreement transmission WMODE WSKEY WSSSID Set Query WIFI target AP SSID parameters as STA WSLK Query WiFi link status as STA ission WEBU Set Query WEB page login parameters User Name and Password Fi AP Set Query WIFI parameters as AP WA
51. e 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 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 gt 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 hig after normal boot up The palmodic output 0 which used to distinguish work mode and command mode Notes Jinan USR IOT Technology Limited Page 36 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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 WIF1I232 A B C module supports two met
52. f 79 tec usr cn x USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW UST SO PHY TX PHY TX PHY RX PHY RX nReady GPIO9 nReload GPIO10 RESET nLink GPIO8 UART RTS GPIOS UART CTS GPIO6 UART TXD GPIO3 UART RXD GPIO4 GND 3 3V Figure 8 USR WIFI232 A B Pins Map Table 3 USR WIFI232 A B Pins Definition e el Ground GND VART Data Transmit UART TXD O __ if not use UART function this 4 pins can be configured UART Baa Rese V RT RED as GPIO pins and can change GPIO pin status UART sends eee id a through AT command ee data transmission GPO GPIOS EG receives data UART _ ar transmission permission Low 0 effective reset WiFi status Indication 1 WIFI connection available O No WIFI GPIO GPIO8 U connection Can be configured as GPIO Indicate the module nReady status of power on process Restore configuration GPIO GPIO10 Ethernet Input PHY RX Ethernet Input PHY RX Jinan USR IOT Technology Limited Page 13 of 79 i Fa Module reset signal RESET input The reset duration should be kept more than 300ms ao 12 0 or Palmodic Signal Finish module boot up process 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 Qusr cn USR IOT Ethernet Output P
53. fter this command make sure module WAN IP and LAN IP in different segment Modify the ALN IP in AP Settings modify the WAN IP in STA Settings AT FEPTP on lt CR gt Quey set default ethernet PHY PHY on off AT FEPHY on lt CR gt Open ethernet function permanently AT RELD lt CR gt Command with F need to be affective after AT RELD After module reset command effect then will not impact by Reload For user s design pls note 1 Cable connection should be AC coupling your cable need be pulled up to VCC fit with PHY chip level 2 Cable TX connected to RX In PHY PHY direct connection PHY chip dose not support direct cross self adaption 3 Your PHY chip on board should better to be forced into 100M work mode Jinan USR IOT Technology Limited Page 23 of 79 tec usr cn amp USR IOT Be bone Da Bet USR WIFI232 A B C User Manual www usr SO 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 33VD 16 I C92 91 100NF 100NF me N GND USR WIF 1232 2 C93 MALE RIGHT ANGLED C94 a 100NF J15 100NF am NJ OG C95 pt 0NF SERIAL DEBUG PORT AG
54. function AT IDEVE Function Enable Disable Every time to send data to send ID function 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 ok lt CR gt lt LF gt lt CR gt lt LF gt 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 gt Off disable Every time to send data to send ID function AT AABR Function Enable Disable Self adaption Baudrate function Format Query Operation AT AABR lt CR gt ok lt on off gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT AABR lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters On off Enable or Disable 485 function lt On enable 485 function lt Off disable 485 function AT RELD Function Restore to factory default setting 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 Jinan USR IOT Technology Limited Page 61 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 5 2 2 2 42 AT Z m Function Re start module m Format AT Z lt CR gt 5 2 2 2 43 AT MID m Function Query module ID information m Format Query Operation AT MID lt CR gt ok lt module_id gt lt CR gt
55. 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 gt off Disable LAN DHCP function 5 2 2 2 24 AT DHCPGW m Function Set Query DHCP gateway address m Format amp Query Operation AT DHCPGW lt CR gt ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 56 of 79 tec usr cn Be Honest Do Best x USR IOT USR WIFI232 A B C User Manual WWW UST SO 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 5 2 2 2 25 AT TCPTO m Function Set Query TCP timeout m Format Query Operation AT TCPTO lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTO lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters time TCP timeout time lt lt 600 600s lt gt 5 0 0 means no timeout lt Default 300s 5 2 2 2 26 AT MAXSK m Function Set Query maxima TCP connection m Format Query Operation AT MAXSK lt CR gt ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation 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 maxima TCP connection When configure as TCP Server USR WIFI232 A B C support maxi
56. hods to configuration parameters Web Accessing and AT instruction set Web accessing means users can configure parameters through built in webpage When USR WIFI232 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 4 11 Firmware Upgrade USR WIF1232 A B C module supports firmware upgrade online Jinan USR IOT Technology Limited Page 37 of 79 tec usr cn x USR IOT Bree DOBESI USR WIFI232 A B C User Manual www usr SO 5 Web Accessing and AT instruction 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 configure the module through laptop Table 9 USR WIFI232 A B C Web Acces
57. ion 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 WIFI232 AP_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 WIFI232 A B C boot up it will find wireless AP SSID USR WIFI232 AP_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 module through serial port can communicate each other and think the connection between them is fully transparent Note LAN IP address and WAN port should in different segment as picture shown we change to 10 10 99 254 the address get from left module WAN port DHCP is 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 WIF1232 A B C module to support wireless connection function Jinan USR IOT Technology Limited Page 67 of 79
58. k protocol TCP UDP 71 Q5 How to configure transparent serial port application Two WIFI modules all configured as STA and connection TATOUGMAR sesse ee Gees GE Ge NE ee Ee EO SEGE De 12 Q6 How to avoid IP address confliction when apply USR WIFI232 A B C module 73 Q7 PC works as server all WIFI modules works as data acquisition card and connect with PC how to configure this application rrrrrrrrnrrrrnnvrrrnnrrrrrrnnnrrnnrnrrrnnnrrrennsrernnnnrennssrssnnnnrnnsssnssnnnnne 73 Q8 WIFI module support UDP multicast rsrnnnnrrrrnnnnnnrssrssnnsnnnrrrrnnennnnnssrsssnnnrnrrrrennnnnssssssnnnnnnrrvene 14 Q9 WIFI module operates in STA mode the PC how to get the IP module 74 Appendix b evb reference design ees ee ee Re ee ee ee ee ee ee ee ee RR Re ee RR Re ee ee 16 Appendix c external power shutdown mode reference design ee ee ee Re ee EE di App ndix e Contact INIOrNELUOR Es ie GE EE aai i GE ee Re EE 18 AD ed ENE 18 ANTEN 19 Jinan USR IOT Technology Limited Page 5 of 79 tec usr cn x USR IOT Bree DO BeSt USR WIFI232 A B C User Manual WWW USF SO 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 w
59. le l iato Checkow CT huto Clear Ingut M Sead As Mex UT Send Recycle Interval 1000 l r Ready inan VER Technology Co tip fan usr en Send Figure 48 TCP UDPDbg Tools Create Connection Jinan USR IOT Technology Limited Pew 0 Ret Lo Ready Page 64 of 79 d SOK EUT 10 100 254 G Connect p Racy Opticas T Receive ta file M Add lime return M Receive As MET I Receive Pause tare Clear Send Opticas T Data fros file nto Checks I Auto Clear Input M Sand As Hex M Sead Recycle tec usr cn Qe A USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW USF SO Because of the USR WIFI232 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 through the flashing amp USR ICP232 Test RS232 to Ethernet Convert tester EEk File F Options 0 Help H COMSettings PortNum COM1 vi BaudR 57600 v DPaity NONE DataB 8bi d StopB 1 bit v KO Close 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 Ready NetSettings
60. lso 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 B C 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 Jinan USR IOT Technology Limited Page 28 of 79 tec Qusr cn amp USR IOT Be honest Oo best USR WIFI232 A B C User Manual WWW US SO 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 C modules Moreover in such Adhoc network structure the whole coverage of a wireless network can be extended easily ay re USR WIFI232 A B C USR WIFI232 A B C USR WIFI232 A B C Figure 24 USR WIFI232 A B C STA Network Structure 4 3 3 AP STA USR WIFI232 A B C module support AP STA network mode means module support one AP interface
61. 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 m 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 E Parameters wifi mode WiFi protocols v 11BG v 11B v 116 v 11BGN v TIN ssid SSID when module works as AP channel WIFI channel selection lt AUTO lt CH1 CH11 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 SIA 5 2 2 2 15 AT WAKEY m Function Set Query WIFI security parameters as AP m 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 m Parameters auth Authentication mode v OPEN v SHARED Jinan USR IOT Technology Limited Page 53 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO lt WPAPSK encry Encryption algorithm v NONE When auth OPEN effective WEP When auth OPEN effective or SHARED effective TK
62. ma 32 TCP connections If not require so much connection user can resetting this parameters 5 2 2 2 27 AT TCPB m Function Open Close TCPB function m Format amp 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 E Parameters Jinan USR IOT Technology Limited Page 57 of 79 tec usr cn x USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW UST SO sta TCPB enable status lt gt on TCPB enable lt off TCPB disable After USR WIFI232 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 m Format Query Operation AT TCPPTB lt CR gt ok lt port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPB lt port gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters port decimal lt 65535 After USR WIFI232 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 m Format amp 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 address or url After USR WIFI232 A B C module boots
63. mited Page 45 of 79 tec Qusr cn I USR IOT RE MONES DO BeSt USR WIFI232 A B C User Manual WWW USF SO USR WIFI232 Setup V1 1 0 Common oprate r Oprate via COM AT H AT RELD AT VER AT Z 1 Jr prev Com pot rr Send command via vw COM NET eva 115200 KENT AT FLOGO YRKJ send WIFI232 L default 115200 JAT FLOGO YRKJ command Others 57600 pen En AEH send Oprate via Net Search Open AT FVER 2 ne jy Send Module IP MAL Version AT AT FEPTP off send m logs Help 1 Search module in LAN 2 Click searched device 3 Click button to oprate IP 10 10 100 254 Clear ATHA AT Figure 44 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 45 Search module Click search then will show module click module then you can send command b 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 46 of 79 tec Qusr cn x USR IOT Be bones Da Best USR WIFI232 A B C User Manual www usr SO 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 comman
64. module 1 through WiFi interface m PC Setting lt IP address 10 10 100 100 lt Network Protocal TCP Server Port ID 8899 m Module 1 Setting lt Works as AP mode lt LAN IP address 10 10 100 254 lt Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 m Module 2 Setting lt Works as STA mode Jinan USR IOT Technology Limited Page 73 of 79 tec usr cn x USR IOT Bree DOBESI USR WIFI232 A B C User Manual WWW USF SO v 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 m Module 3 Setting lt Works as STA mode WAN connection type Static IP 10 10 100 102 Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 LAN IP address 10 10 98 254 Different net segment with WAN port gt AP SSID USR WIFI232 AP xxxx LAN IP 10 10 100 254 Net Prot tcp client 10 10 100 100 8899 IP 10 10 100 100 V USR Net Prot tcp WIFI232 server 8899 A B C b gt User USR USR KEN User i WIFI232 A Device VEV ISA SSID USR WIFI232 A B C WIFI232 AP xxxx A B C STA SSID USR WIFI232 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 100 8899 Net Prot tcp client 10 10 100 100 8899
65. mple Other modules are the same Open Wi Fi search network as shown in below USR WIFI232 AP 3378 is the default network name SSID of the module Wireless Network Connection Choose a wireless network Network Tasks q Refresh network list Click an item in the list below to connect to a wireless network in range or to get more 2 Set up a wireless network for a home or small office Related Tasks TP LINK_14D24E Automatic g Learn about wireless Security enabled wireless network WPA2 adil networking MERCURY SEFD22 Change the order of I preferred networks F Security enabled wireless network WPA2 aali Sp Change advanced ZHUZHE settings F Security enabled wireless network WPA2 alll rongding Security enabled wireless network WPA2 ill CMCC Unsecured wireless network ill v 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 PIX i Wireless Network Connection Status PIX General Support General Support Connection Connection status Status Connected zA Address Type Assigned by DHCP p Network USR WIFI232 AP 3378 TR 10 10 100 100 Duration 06 24 04 Speed 72 0 Mbps Signal Strength anil Subnet Mask 255 255 255 0 Default Gateway 10 10 100 254 Windows did not detect problems with this Sent Received conne
66. odule button restore factory default setting button and update firmware through webpage Jinan USR IOT Technology Limited Page 42 of 79 tec Qusr cn I USR IOT Ep Mode Selection AP Interface Setting mj STA Interface Setting Application Setting E Device Management Notes Figure 39Restart 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 USR WIFI232 A B C User Manual Device Management 4 01 11 You may configure administrator account and password load default setting or update firware Adminstrator Settings Account admin Password admin Restart Module Restart Module Load Factory Defaults Load Default Button Load Default Update Firmware Location Figure 38 Device Management Page 5 2 AT instruction Introduction 5 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 Data Bits Parity Stop CTSRTS 57600 v ar None hi Disable pa Figure 40 USR WIFI232 A B C Default UART Port Parameters Jinan USR IOT Technology Limited Page
67. ork detail by sample settings which can setup via inside web pages or RS232 port The setup work only need do 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 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 r serial port er usb rs232 PC 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 Page 6 of 79 tec usr cn I USR IOT Be Honest Do Besti USR WIFI232 A B C User Manual WWW UST SO 1 2 Network connection The following is the USR WIFI232 A module exa
68. otocol CS port IP gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters protocol TCP lt UDP CS Network mode SERVER lt CLIENT Port protocol port ID Decimal digit and less than 65535 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 AT UART m Function Set Query serial port parameters m Format amp Query Operation AT UART lt CR gt ok lt baudrate data bits stop bit parityflowctri gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data bits stop bit parity flowctri gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters baudrate Jinan USR IOT Technology Limited Page 49 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO lt 50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 19200 38400 576 00 115200 230400 345600 460800 data bits lt gt 5 6 7 8 stop bits v 1 2 9 parity lt NONE EVEN ODD MARK SPACE flowctrl hardware flow control CTSRTS lt NFC No flow control lt FC flow control After USR WIFI232 A B C module boots up again the setting will be effective 5 2 2 2 5 AT UARTF m 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 par
69. rch 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 AP_3378 search MAC Address Optional Security Mode OPEN Encryption Type NONE vw Apply Cancel Figure 29 Search page 4 5 4 Address Binding USR WIFI232 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 STA 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 WIFI232 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 defa
70. s Default Setting Default Setting SSID USR WIFI232 AP xxxx IP Address 10 10 100 254 Password admin 5 1 1 Open Web Management Interface Step 1 Connect laptop to SSID USR WIFI232 AP_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 FA T The server 10 10 10 254 at GoAhead requires username and password Warning This server is requesting that your username and password be sent in an insecure manner basic authentication without secure connection User name Password Figure 32 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 Setting Application Setting WEB I0 and Device Management Jinan USR IOT Technology Limited Page 38 of 79 tec usr cn amp USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW USF SO 5 1 2 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 Serial Command mode G
71. s an example of 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 0x00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 0x0f 4 2 3 GPIO 1 mode GPIO 2 mode USR WIFI232 A B C module support 2 GPIO mode GPIO 1 and GPIO 2 At GPIO 1 mode UART TXD RXD CTS RTS defined as GPIO and others nReady nLink nReload defined as functional pin At GPIO 2 all these 7 pins defined as GPIO So GPIO mode not supports UART communication When module works at GPIO mode PC and other equipments can setup connection TCP UDP through WiFi then read write GPIO information through command lt 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 22 22 high output low
72. s bek eg ee GR De Ra 16 OAS ees go EE EE EE EO OT N N RE OE T 17 3 3 1 On board ENDANIENIOE ss De ee ee EER ENS EE Se EE ee ee ee ee 17 PENN 17 3 4 Evaluation KIL eise et eg Ge in ee Oe de dan be De ede ie GE ee One ie ea ee ee 18 3 5 Hardware Reference DesigN ese esse Re ee Re ee Re ee Ee ee ee RR ee ee ee RR ee ee 20 3 5 1 Hardware Typical Application sesse ee ee ee ee ee RR ee ee RR Re ee ee RR Re ee ee EE ee ee 20 3 5 2 10 100M Ethernet Interface ees ees ee ee Re ee Re ee Re ee Re ee Re ee Re ee 21 3 5 2 1 Ethernet Connection with Transformer rrrrnnnnnnnsnnnrrnnnnrrrnnnrrrnnnrsrnnnvnrnnnssernnnnne 21 3 5 2 2 Ethernet Connection without Transformer rrrrrnvvrrrnnnrrrnnnrrrnnnrrrrnnnrrennrsrrnnnnne 22 VTS 24 3 94 Power NERE serions ees SNEER EEE EETA NTO ER 24 4 Modules Function Description rrrrrnnnnnnnnnnnnnnnvrnnrrvrrrrrrrrrerrenvenvennnnnnnnnnnennrnnsvnssssssssssssssssssssssssnsnnnnnnnnnen 24 4 1 User configuration PproCesSS rrrrrrnrrrnnnssrrnnnrrennrssrnnnrnnnnnsernnnnrnnnnnensnnnrrnnnessnnnnrrnnessennnnnvenessssennnne 25 TZS 25 4 2 1 Transparent Transmission Mode ese ees ee ee ee ee ee ee ee ee EE 25 4 2 2 Serial command mode ee ee Re ee RR Re ee Re ee Re ee ee RR Re ee 26 4 2 3 GPIO 1 mode GPIO 2 mode ee ee ee ee Re ee Re ee Re ee ee Re ee Re ee 27 4 3 Wireless NNN 27 TT 28 1 Per 28 URGES TE ei od RE EE AE EE OE 29 Jinan USR IOT Technology Limited Page 2 of 79 tec Qusr cn
73. software development effort for 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 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 gt Bitl lf 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 l
74. t 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 m Parameters Jinan USR IOT Technology Limited Page 55 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO mode IP setting for WAN port lt gt static Static IP lt DHCP Dynamic IP address WAN port IP address mask WAN port subnet mask gateway WAN port gateway address This Instruction only effective for USR WIFI232 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 22 AT LANN m Function Set Query LAN setting only effective as AP mode m Format Query Operation AT LANN lt CR gt ok lt address mask gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LANN lt address mask gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters address LAN port IP address mask LAN port subnet mask 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 SIA 5 2 2 2 23 AT DHCPDEN m Function Enable Disable LAN DHCP server function m 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
75. t Bit2 Indicates that 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 gt 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 26 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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 OxCQ 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 i
76. tart boot up process User need add 4 7 K 10K Ohm pull up resister external the module If not use this function then can use AT command AT FRLDEN amp off to disable it 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 WIFI232 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 USR WIF 1232 mv OMT4 2 1 U19 R172 75 10 PHY TX 4TXOM4 16 MA4 1 xX 15 PHY TX TXOP4 ay 2 3 pr EE 7 i i PHY_RX4RXIM4 172 uF e 11 MB4 6 PHY RXARXIP4 40 7 p g 2 1 ma d ss R174 7 9 C161 hn1674CG C163 VWP4 1 2 CHGND RJ 45X1P n 470pF 1000pF 2K V NI O N ad Re GND Above is for USR WIF1232 A B pin type module Below is for SMD type USR WIFI232 C Jinan USR IOT Technology Limited Page 21 of 79 tec Qusr cn I USR IOT Ba honest Do best USR WIFI232 A B C User Manual WWW US SO Output 1 8 X 3 it ure SE ER we Oe n N T N Tr P at 49 96 yoo dae 8 ag p N 3 Y EE sl va Hd GND 1n ant
77. ter File F Options Q Help H Ek COMSettings PortNum COM vi BaudP 57600 v DPaity NONE DataB 8 bit StopB 1 bit v Close 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 Ready Network data receive Receive from 10 10 100 254 8899 Jinan USR Technology Co Ltd Jinan USR Technology Co Ltd Jinan USR Technology Co Ltd COM port data receive http en usr enhttp en usr cenhttp en u sr en LocalHost 10 10 100100 10 100 100 Port http en usr cn Send Reset Le Ready Send 48 pr WSR Technology Co Ltd Send 90 Recy 48 Figure 4 serial network transmission test 2 Product Overview Jinan USR IOT Technology Limited Page 8 of 79 NetSettings 12 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 1 0 ms Load Clear Reset Recv 90 tec Qusr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 2 1 General Description USR WIFI232 A B C module is an integration of 802 11
78. tion EE USR WIFI232 X TX UART RXD RX le UarT TXD CTS a VE E RTS l IART RTS JART CTS GPIO nLink nReload GPIO nRST 3 3V 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 20 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO 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 0 or Palmodic Signal after normal boot up This signal used to judge if module finish boot up and ready for application or working at normal mode nLink Module WIFI connection indication Output There is 4 7K Ohm pull up resister internal up to 3 3V When module connect to AP STA mode or some WiFi STA connect to module AP mode the module will output 0 This signal used to judge if module already at WiFi connection status nReload Module restore to factory default configuration Input Logics 0 effective User can assert nReload signal 0 more than 3 s through button or MCU pin then release module will restore to factory default configuration and re s
79. tus 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 1s then set 1 UART1 Data Receive NC ND OZ OZO OoOo O UART1 Data Transmit ed me a p ER Eth application control line 72 13 Reen nm e SSS O N 7 21 22 gt dad gt P 1213 3 2 Mechanical Size USR WIFI232 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 15 of 79 tec usr cn I USR IOT Ba honest NOBEL USR WIFI232 A B C User Manual WWW US SO 25 0 23 7 0 6 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 OT Ri 40 0 a GE R R gt go T ad ad 3 4 EE GEE 4 EN OE O IL y Figure 12 USR WIFI232 Ca Cb Mechanical Dimension Jinan USR IOT Technology Limited Page 16 of 79 tec usr cn x USR IOT Be honest NOBEL USR WIFI232 A B C User Manual WWW US SO 3 3 Antenna 3 3 1 On board Chip Antenna USR WIFI232 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 placement of notes and general rules gt Be in the user s PCB
80. ult 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 33 of 79 tec usr cn x USR IOT Be bones Dae USR WIFI232 A B C User Manual www usr SO Through AT command AT FUART TE fast normal user can set the interval time fast 10ms and normal 50ms This command is factory default setting command and AT RELD can t change its value 4 6 2 UART Auto Frame USR WIFI232 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 structure 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 WIFI232 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
81. upply Small Size 25 x 40mm 4 FCC CE Certificated Jinan USR IOT Technology Limited Page 9 of 79 tec usr cn I USR IOT Be Hoe Dae USR WIFI232 A B C User Manual www usr SO 2 3 Device Paremeters Table 1 USR WIFI232 A B C Module Technical Specifications Coss item Parameters Max Wireless ons Power Parameters Receiver Sensitivity Antenna Option External PEAX Connector i Internal On board chip antenna UART 1200bps 230400bps Data Interface GPIOs Ethernet 100Mpbs Tr Operating Voltage 3 3V 5 Operating Current 170mA 300mA Parameters l Temperature Software 3 vs TCP UDP ARP ICMP DHCP DNS HT Network Protocol TP 32 Max TCP Connection 32 User Configuration Web Server AT command config 2 4 Key Application Remote equipment monitoring Industrial sensors and controls Asset tracking and telemetry Home automation VV VV V Medical devices Jinan USR IOT Technology Limited Page 10 of 79 tec usr cn amp USR IOT Be Hoe Da Bet USR WIFI232 A B C User Manual www usr SO 2 5 Package Information 2 5 1 Recommended Reflow Profile Figure 5 Reflow Soldering Profile Table 2 Reflow Soldering Parameter Item Temperature Degree Time Sec ELON Reflow Time Time of above 220 35 55 sec 2 Peak Temp Note 1 Recommend to supply N2 for reflow oven 2 N2 atmosphere during reflow 02 lt 300ppm 2 5 2 Device Handling Instruction
82. y Operation AT STTC lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT STTC lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters Sta when query this value feedback lt On Enable STA port scan function lt Off Disable STA port scan function 5 2 2 2 34 AT DOMAIN m 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 ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters lt domain domain to access to module webpage Jinan USR IOT Technology Limited Page 59 of 79 tec usr cn x USR IOT Be Honest Do Best USR WIFI232 A B C User Manual WWW UST SO 5 2 2 2 35 AT FRLDEN m Function Enable Disable nReload pin function m Format amp Query Operation AT FRLDEN lt CR gt ok lt on off gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT FRELDEN lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters On off Enable or Disable nReload pin function lt On enable nReload pin function lt Off disable nReload pin function Notes AT FRLDEN is F Setting means restore to factory setting will not affect this command 5 2 2 2 36 AT FUDLX m Function Enable Disable 485 function m Format Query Operation AT FUDLX lt CR gt ok lt on off gt lt CR gt lt LF gt
Download Pdf Manuals
Related Search
Manual manual manualslib manual car manuale digitale manual transmission manually meaning manual timesheet manual arts high school manual wheelchair manually update your device drivers windows manual labor manual definition manual for courts martial manual muscle testing manual muscle testing grades manually register devices with autopilot manual lawn mower manualidades manual transfer switch manual blood pressure cuff manual transmission cars for sale manual therapy cpt code manual libs manual autopilot enrollment manual handling
Related Contents
Fitting instructions Make: Permanently linked to quality Codes Pannes Lave Linge WHIRLPOOL TOP ODALYS Transmit pre-arbitration scheme for a can device and a can device PC Assemblage Cypress CY14B101Q1 User's Manual SPJ17XL Bedienungsanleitung TM-VE106 FRE 3736 Rev_B.fm Gas Domino Hob Taxon Concept Schema – User Guide Copyright © All rights reserved.
Failed to retrieve file