Home
USR-WIFI232-S/T/G2 Low Power WiFi Module User Manual V3.0
Contents
1. 76 lir NES ei RR 76 LA VPS e AN E ajan ero daa ap ara a a aaa aa 76 Fi T 5 K ca eege TT Appendix A HW Reference Re ME 78 USR WIFI232 S Evaluation Kit SCHEMATIC eee 78 USR WIFI232 T Evaluation Kit Gchematc essen enne 79 USR WIFI232 G2 Evaluation Kit Gchematnc eee eee 80 Appendix B GPIO PWM CONTROL WITH NETWORK COMMAND nn 81 Appendix C Contact MONA ON sarasa a AN EN e ee aaa naa aa aa na Na naa adana aa aaa 86 eieiei t KT IPs RTT aana awanan aana aana nawan ope aan OPE ewag ope aana aana nawan en aana aana TENET ove aana ere oye aaa naa an 86 Appendix E Update HIStory ccccccccssesssssssncsceeeeeeeccccceceseeeeessssscseeeeeeeccceceeseeeceesessscaeeeeeeeeceeeceeeeeeeneeas 86 Page 6 of 87 Jinan USR IOT Technology Limited tec usr cn 97 5 x5 A 1 Quick start USR WIFI232 series product is used to transmit data between RS232 and WIFI TCPIP transparently user can update the product to WIFI control without knowing the WIFI and TCPIP detail All the convert work is done by the module For users the RS232 side is only as a serial device the WIFI side is TCPIP Socket data User can setup the work detail by sample settings which can setup via inside web pages or RS232 port The setup work only need do 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 wil
2. X 58 Page 4 of 87 Jinan USR IOT Technology Limited tec usr cn H A BABE FN Us cn eweg ae Low Power WiFi Module User Meng htipulenusren 11 ATEUARTE 59 12 ATHUARTET MM 59 EE CL a 59 14 ATEUARTTE aaa eaaa aa eaaa aa aee a eaaa aaa eaaa aaa eee aaa eee eea eaaa eaaa eaaa eee ee M 59 15 v Nec 60 LINESS MM 60 IPAE Ie MEM 60 18 NES RM 60 19 ATEMANXSK 61 DONYA TENG PING ee 61 AUNES O i LON 62 PAINEA DIS 62 23 38 1 19 10 4 W 62 DA PU SUNN RICE ekan oara kok anab ah aa ena ah na nanah egong ana akun antah ei enetake ee bi warana ngenang a ET 63 25 NERIO A F0 ARM 63 AIENEA EA ettet ttt ttt ttt ttt ttc 64 27 ATASNDR D 64 28 ATARBCHR M 64 29 ATOANSSSID ttt ttt ttt ttt 64 30 ATOWSKEY cccscccssscccsseccosscccsssccesscccsssccssssccsssecesssecssucesssecsssesesssesssuscesusesssucessuccasucssssecsesaeesssecsasaceen 64 31 ATOWANN 65 32 ATOWSMAC 65 SEVERE EM 66 ONES SRM 66 Eve MM 66 36 ATAWWSDNS aa eeeee aaa aee aana a aee eaaa aee eaaa aee eaaa aee ttt ttt ttt 66 37 ATALANN eaaa eeeea aaa eaaa anaa eaaa aaa eaaa eaaa eaaa eaaa eaaa eaaa aa eaaa aa eee eea aa eee eea eee eee eea 67 38 ATSUMAB sasanga bengat antaga Saad anang anda ma saang bakang secre pi ngedan neg Sad sana Sat ang Sedang E EE LT E nia 67 39 ATAMWAkKEN eaaa eaaa eaaa aa aee eaaa eaaa eaaa aee eaaa eaaa ena eaaa eaaa ttt ttt ttt ttt eee eea 67 40 ATEWAMAC cccccccsscccssseccssec
3. A t AH USR WIFI232 S T G2 Low Power WiFi Module User Manual V3 0 USR WIFI232 5 USR WIFI232 T USR WIF1232 G2 Overview of Characteristic Jinan USR IOT Technology Limited Support IEEE802 11b g n Wireless Standards Based on Self developed High Performance MCU Ultra Low Power Applications with Excellent Power Save Support UART PWM GPIO Data Communication Interface Support Work As STA AP Mode Support Smart Link Function APP program provide Support USRLINK Function Fast set SSID Support Wireless Upgrade Function Support WPS Function Support Multi TCP Link 5 Channel Application Support Internal External I PEX SMA Antenna Option Single 3 3V Power Supply Smallest Size USR WIFI232 S 22mm x 13 5mm x 2 3mm SMT Footprint USR WIFI232 T 22mm x 13 5mm x 6mm 1x10 2mm Connector USR WIFI232 G2 23 1mm x 32 8mm x 2 mm SMT Footprint Page of 87 tec usr cn 0 gt A BARE Usr cn USR WIFI232 S T G2 Low Power WiFi Module User Manual http en usr cn e FCC CE Certificated Page 2 of 87 Jinan USR IOT Technology Limited tec usr cn H A BABE FN Us cn eweg ae Low Power WiFi Module User Meng htipulenusren Catalogue E E Te EE 7 Belo 16 eea MAA NG eG Oe EEAS EEA NA KN NANA KE NE ANG 7 1 2 Network Connechon anana In nennen nana eene hen nn nnne nn esses eese nente e eene n nana sess sese een 8 Ti DAGAN ON LOSI nasa m 8 E AD DIIGATION EX QIN TE 10 1 4 1 Wireless remote control applications 1
4. Function Query STA WIFi signal strength Format Query Operation AT WSLQ CR ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters ret Disconnected if no WiFi connection AP sWIFi signal strength if WiFi connection available 35 AT WSCAN Function Scan AP gt Format Query Operation AT WSCAN CR ok lt LF gt lt CR gt Ch SSID BSSID Security Indicator lt LF gt lt CR gt lt ap site 1 LF CR ap site 2 LF CR ap site 3 LF CR ap site N LF lt CR gt lt CR gt lt LF gt gt Query Operation ap site N AP site has been searched Ch Wifi network channel number SSID the SSID of router BSSID the MAC address of the router security the security model of router Indicator signal strength Such as 11 TP_LINK D8 15 0D C6 3E 14 WPA2PSK AES 76 36 AT WSDNS gt Function Set Query STA static DNS server address gt Format K A A A Page 66 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS Query Operation AT WSDNS CR ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSDNS lt address gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters address STA s DNS server address Effective right away 37 AT LANN gt Function Set Query AP s network parameters Setting is valid after reset Format Query Operation AT LANN lt CR gt ok lt ipad
5. Page 83 of 87 tec usr cn A SAS PWM NOK Command failed B 2 Hexadecimal Network Command send hexadecimal data to fastly read write module s port status B 2 1 Read all PWM Channel Frequency gt Send Data 30 gt Return Data b0 lt value value2 value3 value4 value5 value6 value value8 gt value1 High byte of PWM Channel O GPIO11 frequency value2 Low byte of PWM Channel 0 GPIO11 frequency value3 High byte of PWM Channel 1 GPIO12 frequency value4 Low byte of PWM Channel 1 GPIO12 frequency valued High byte of PWM Channel 2 GPIO18 frequency value6 Low byte of PWM Channel 2 GPIO18 frequency value7 no used K A A AAA value8 no used B 2 2 Write PWM Channel Frequency gt Send Data 32 channel value1 value2 channel PWM Channel number Value High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency Return Data b2 channel value1 value2 Channel PWM Channel number Value High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency B 2 3 Read All PWM Channel Duty Send Data 20 gt Return Data a0 lt value1 value value3 value4 gt value1 Duty of PWM Channel 0 value2 Duty of PWM Channel 1 value3 Duty of PWM Channel 2 value4 no used B 2 4 Write PWM Channel Duty gt Send Data 22 channel value1 gt channel PWM Channel number value1 Duty of PWM Channel gt Return Data a2 channel
6. Query Operation AT UARTFL lt CR gt ok lt len gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFL lt len gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Len Range 8 1000 Unit Byte Auto frame trigger length 14 AT UARTTE Function Set Query UART free frame trigger time between two bytes Format Jinan USR IOT Technology Limited Page 59 of 87 tec usr cn AH Query Operation AT UARTTE CR ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTTE lt mode gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Mode fast No free frame trigger time the uart data maybe be broken into to fragment normal free frame trigger time between two bytes is 50ms 15 AT PING gt Function Network Ping command Format Set Operation AT PINGZ IP address CR ok lt fb gt lt CR gt lt LE CR LF gt gt Parameters Fb feedback result Success e Timeout e Unknown host 16 AT SEND Function Send Data to SOCKA at Command Mode gt Format AT SEND lt data_lenth gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters data lenth Lenth of send data Range 0 1000 Byte The UART port will feedback a gt and then wait 3 seconds for input after this command is sent OK The data received from UART port is sent to SOCKA If the interval
7. V 0 1 06 09 2013 First Version V1 1 09 11 2013 Update AT command Add AT MDCH AT UARTFT command improve UDP Server function in AT NETP command V1 2 10 12 2013 Update AT command Add AT LPTIO Update PWM GPIO function Add HTTP protocol demo Add auto frame function V 1 3 10 18 2013 Add nReload and nLink Pin description V2 0 03 20 2014 Update evaluation board circuit Update AT commande Add AT WALK AT WALKIND AT WPS AT SMTLK command V2 1 04 14 2014 Update AT commands V2 2 06 03 2014 Add USR WIFI232 H Introdution V2 3 08 25 2014 Add Fast access Wi Fi protocol Add searching Wi Fi protocol and network AT command Correct some AT command Delete module sleep mode Add the note how reload stably Add AT USERVER and AT CUSTOMER command Add reporting MAC function V2 4 11 28 2014 Add AT WIFI command Modify AT RECV and AT UARTTE command Delete buad rate 300 V2 5 07 27 2015 update contact information Jinan USR IOT Technology Limited Page 86 of 87 tec usr cn aeuum V3 0 08 29 2015 add D2D function HTTPD Client function RS485 function Delete information of H END Page 87 of 87 Jinan USR IOT Technology Limited tec usr cn
8. Window time means from last bake end to next reflow start that has 168 hours space Page 15 of 87 tec usr cn 97 BARK A 2 6 3 Shipping Information IMC ROA CONE VO AROMA AE m LEES Figure 9 Shipping Information TRAY Size 420 245 34 mm Note 1tray 5 20pcs 100 pcs 1box 2trays 2 100 pcs 200pcs 1 carton 4 boxes 4 200 pcs 800pcs Page 16 of 87 Jinan USR IOT Technology Limited tec usr cn ax BABE 3 Hardware Introduction 3 1 Pins Definition 3 1 1 USR WIFI232 S Pins Definition ETIKETT k i Fi IEEE d FE NMyyusindminmupe i bs e me a CES Lud Ld LI wa eg P kik z mu er eg DUR v St P e m Eich H SEH p Figure 10 USR WIFI232 S View Figure 11 USR WIFI232 S Pins Map Table 4 USR WIFI232 S Pins Definition Describtion Signal Type 4 sPipaaou sPLMOS o SPI interface Reserved 2 sPiciock serak vo 3 SPIData0ut SPIMISO 1 5 UARTO UARTO TX O JUART Interface 6 uro u 1 S ses eae Geo oe wo es No connect Prot use Module Reset nReset Low effective reset input Pull up if not use 11 Module Boot Up nReady o 0 Bootup OK Jinan USR IOT Technology Limited Page 17 of 87 tec usr cn SZ BARE A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual _http en usr cn Indicator 1 Boot up No OK No connect if not use Module Recovery nReload Low effective reset input Pul
9. Enable Wi Fi 71 AT WIFICHK gt Function Enable Disable allow module to checking WIFI with PING gateway gt Format Query Operation AT WIFICHK CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WIFICHK lt status gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Status If allow module to checking WIFI with PING gateway On Enable e Off Disable 72 AT CHKTIME Page 76 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS Function Set Query WIFI checking period Format Query Operation AT CHKTIME CR ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT CHKTIME lt time gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters time WIFI checking period Units are seconds range is 30 65535 73 AT RSEN Function Enable Disable RS485 function Format Query Operation AT RSEN CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT RSEN lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Status RS485 function e On Enable e Off Disable Jinan USR IOT Technology Limited Page 77 of 87 tec usr cn BZ BARK A Appendix A HW Reference Design USR WIFI232 S Evaluation Kit Schematic The picture shows USR WIFI232 S evaluation kit schematic USR WIFI232 S evaluation board design files please
10. Restore Web Ver 1 0 11 Figure 38 Other Setting Page 5 1 8 UART Setting Page This page set UART parameters mx English UART Setting Fast Setting ammeter System Data Bit STA Setting AP Setting Pe Network CTSRTS UART Setting Account Upgrade SW Restart Restore Web Ver 1 0 11 Figure 39 Other Setting Page 5 1 9 Account Management Page This page set web server s user name and password Page 49 of 87 Jinan USR IOT Technology Limited tec usr cn Bea Uer cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual mx English Set a New Account and Password STA Setting Grade AP Setting Current Password Network New User Name UART Setting Account Upgrade SW Restart Restore New Password Web Ver 1 0 11 Figure 40 Account Page 5 1 10 Upgrade Software Page User can upgrade new software firmware version through Wi Fi FAX English Upgrade Software Current version V1 0 04a PEN ES STA Setting AP Setting Network UART Setting Account Upgrade SW Restart Restore Web Ver 1 0 11 Figure 41 Upgrade SW page 5 1 11 Restart Page Most of the settting and configuration can only effective after system restart User shall restart after finish all setting Jinan USR IOT Technology Limited Page 50 of 87 http en usr cn tec usr cn OT eise A SUR USRWIFIS2SIT G2I Low Power WiFi Module User Manual__hitp en usr on x English Restart Device Fast
11. USR WIFI232 module can provide multiple PWM and GPIO function pin for GPIO and PWM based control applications the following table is the pin mapping table UJSR WIFI232 H don t have this function Table 13 USR WIFI232 S GPIO PWM pin map Configure PWM GPIO Default Tvpe d Function Index number Setting A 9 GPG GPIO WO Table 14 USR WIFI232 T GPIO PWM pin map Configured PWM GPIO Default Tvpe Function Index number Setting YP a PwmePo Wes o Table 15 USR WIFI232 G2 GPIO PWM pin map Configured PWM GPIO Default Tuna Function Index number Setting Ar PWMIGPIO Pw io Page 34 of 87 Jinan USR IOT Technology Limited tec usr cn A BAR PWM GPIO GPIO PWM GPIO function and transparent transmit nLink nReady WPS function can t be used simultaneously User can select the function by AT command AT TMODE and AT LPTIO The setting parameters are as follows S Transparent transmission throughput Ipt200 nLink nReady WPS T Transparent transmission throughput on nLink nReady WPS Transparent transmission throughput off Ze an o Note After setting restart the module to take effect When module works at PWM GPIO mode PC and other devices can setup connection TCP UDP through WiFi then read control PWM GPIO status through command data The basic commands are as follows Detailed usage please refer to Appendix B GPIO n OUT 0 Set GPlOn output 0 Response GPIO OK or GPIO NOK GPIO n OUT 1 Set GPlOn ou
12. after reset Parameters Channel GPIO Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 Value GPIO Channel value 1 high voltage O low voltage Return Data GPIO OK Command successful GPIO NOK Command failed USR ICP232 Iest RS232 to Ethernet Convert tester COMSettings COM port data receive Network data receive PortNum COM3 EI BaudR 115200 DPaity NONE DataB 8 bit x Open Recv Options Receive to file jw Add line return Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 100 ms Load Clear Le Par t Hun Jinan USR Technology Co Ltd Send 0 Recy 0 LocalHost 192 168 10 101 Send Send Reset 4 Par Hun Send 103 Port NetSettings 1 Protocol S 2 Server IP 2 Server Port Recv ptions Receive to file jw Add line return Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 600 ms Load Clear Reset Recy 57 B 1 2 GPIO channel GET Function Query GPIO Channel value Parameters channel GPIO Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 Return Data Jinan USR IOT Technology Limited ok lt value gt B Value GPIO Channel value 1 high voltage O low voltage GPIO NOK Command failed Page 8
13. lt head gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPHD lt head gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters head HTTP request head such as Connection Keep Alive OD OA This parameter must be ended with OD OA Because some data can not be included in AT command string such as carriage return it s non printable character so we escape this kind of characters with for example the value of carriage return is OxOD we put OD into In the same way the value of line feed is OxOA so we put OA into After escape OD means carriage return and OA means line feed 55 AT HTPURL Function Set Query HTTP request URL Format Query Operation AT HTPURL CR ok lt url gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPURL lt url gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters url HTTP request head such as 1 php 3F Because some data can not be included in AT command string such as carriage return it s non printable character so we escape this kind of characters with for example the value of carriage return is OxOD we put OD into In the same way the value of line feed is OxOA so we put OA into After escape OD means carriage return and OA means line feed 56 AT HTPTO Function Set Query HTTP request timeout Format Query Operation AT HTPTO CR ok lt t
14. Industrial sensors and controls e Asset tracking and telemetry s Home automation e Medical devices Page 14 of 87 Jinan USR IOT Technology Limited tec usr cn 97 BARK A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 2 6 Package Information 2 6 1 Recommended Reflow Profile Figure 8 Reflow Soldering Profile Table 3 Reflow Soldering Parameter NO Item Temperature Degree Time Sec Reflow Time Time of above 220 C 35 55 sec Peak Temp 260 C max Note 1 Recommend to supply N2 for reflow oven 2 N2 atmosphere during reflow O2 300ppm 2 6 2 Device Handling Instruction Module IC SMT Preparation Jinan USR IOT Technology Limited Shelf life in sealed bag 12 months at 30 C and lt 60 relative humidity RH After bag is opened devices that will be re baked required after last baked with window time 168 hours Recommend to oven bake with N2 supplied Baked required with 24 hours at 125x5 C before rework process for two modules one is new module and two is board with module Recommend to store at 5 10 RH with vacuum packing 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
15. Setting System STA Setting Important notice i After restart you will need to re login the configuration interface t AP Setting is recommended to restart after completing all configurations Network Restart will interrupt the network for a very short period are you sure to restart now UART Setting Account Upgrade SW Restart Restore Web Ver 1 0 11 Figure 42 Restart Page 5 1 12 Restore Page After module restore factory default setting all user configuration profile will lose User can access http 10 10 100 254 to set again and user name and password is admin USR WIFI232 G2 H will restore to AP mode for factory default setting FAX English Restore Factory Setting Fast Setting System STA Setting Important notice After restoring factory settings all users configuration will be AP Setting deleted You can reconfigure it on http 10 10 100 254 Account Network and password are both admin UART Setting pink Upgrade SW Restart Restore Web Ver 1 0 11 Figure 43 Restore Page 9 2 AT command AT command means the command by which user can query and set the parameters to module in command mode through the serial port The following will explain in detail about the method of switching module work mode and the use format of AT commands Page 51 of 87 Jinan USR IOT Technology Limited tec usr cn 97 BARK A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual _hitp en usr cn When USR WIFI232
16. UART free frame trigger time between two bytes is i r i 20 T 22 za 24 25 26 c 28 m T T 3 5 T 35 x s 28 29 a T i2 Page 55 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS meng E Tm i o 18 io s s s s s s s s s s s T s T I n 7 72 7 1 AT E Function Open Close show back function Format AT E lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Note no show back CR 0x0D LF 0x0A Page 56 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS 2 3 4 5 When module firstly switch from throughput mode to command mode show back status is open input AT E to close show back function input AT E again to open show back function AT WMODE gt Function Set Query Wi Fi work mode AP STA Setting is valid after reset 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 CR LF gt lt CR gt lt LF gt gt Parameters Mode WI FI work mode e AP e STA AT ENTM gt Function Set module into throughput mode gt Format AT ENTM CR ok CR LF gt lt CR gt lt LF gt After operate this command module switch from command mode to throughput mode AT TMODE gt Function Set Query module data transfer mode Setting is valid after reset Format Query Operation AT TMODE lt CR gt ok lt
17. eR Re CF 23 2B 75 D3 CEN NENNEN http en usr cn When user select module works at AP mode then need setting this page and provide wireless and network parameters Most of the system support DHCP to achieve IP address so we suggest to Enable DHCP server in most applications STA Setting AP Setting Network UART Setting Account Upgrade SW Restart Restore Jinan USR IOT Technology Limited xz English Wireless AP Setting Mode Selecting COOLOOK Module MAC Address D8B04CF 35375 Select Channel 2412MHz channel 1 v Wireless AP Security Setting Encryption Mode 10 10 100 254 Network Mode Network Name SSID Network Parameters Setting IP Address DHCP Gateway Setting Subnet Mask DHCP Server Web Ver 1 0 11 Figure 37 AP Setting Page Page 48 of 87 tec usr cn OT BARE A un USRWIFI2S2SIT G2I Low Power WiFi Module UserManual h ipilen usrcn 5 1 7 Network Setting Page This page set socket A and socket B socket A can be set as TCP server TCP client UDP server and UDP client Socket B can be set as TCP client UDP server and UDP client or disable socket B FRE English SOCKET A Setting x Protocol b Fast Setting ee TCP Server System Pu 899 STA Setting Server Address 0 10 100 254 AP Setting TCP Time Out Setting Network SOCKET_B Setting Enable Disable UART Setting Protocol TCP Client Account Port ID Upgrade SW Server Address 0 10 100 150 Restart TCP Time Out Setting
18. feature and is enabled by default WE ES RE BFA WAH SoU Tala PRIM B LTE RR GR ER PRIS E LAA QD IP LINK 14D24E pum L e db 1 Rss amo all R TIFI232 T Bah die PEN Ps alil NERCURI 96AT772 Bah de E dh y BABAKAN WPA alil TP3 sh dh KAREM ATANG aui Tenda FC6T8 dh y BAHWA all FAST EE3840Test ngn ah de v Figure 2 WIFI Search Join the network choose to automatically obtain IP WIFI module supports DHCP ESER Sch Ecos c Sy 01s USR WIFI232 T 06 20 49 72 2 Mbps es E TET Ris SEARRE V FORA ER RS mm ERRE SI Me IB DHCP JS TT Tp mat 10 10 100 150 FHER 255 255 255 0 ERU PIX 10 10 100 254 Hindows ARENS dos See ea Ee 1 3 communication test Module s default setting gt SSID USR WIFI232 T Jinan USR IOT Technology Limited Figure 3 WIFI connection Now nlink led of USR WIFI232 T Evaluation Board is lighting Page 8 of 87 tec usr cn 97 5 A Usr cn VV Y Y USR WIFI232 S T G2 H Low Power WiFi Module User Manual Encryption mode open none UART 115200 8 1 None Network parameters TCP Server 8899 10 10 100 254 IP DHCP 0 0 0 0 0 0 0 0 0 0 0 0 http en usr cn 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 Se
19. 0 1 4 2 Remote connectivity APPLICATIONS eee eee eeeeecccccccccccccceceeeeeeseesssnccseeeeeeccecceeseseeeeeeettsssaseeeeeeeeeeeeees 10 1 4 3 Transparent Transmtsseion cccccccccececeeesseseeeeeeeeeseeeeeeeeeseeseeseeeeeeeeeseeseeseeeeeseeeeeeeeeeeeeeeeeeees 10 2s el eis TS e TE 12 PECIA Be Le asar is DA an ase A a ANG A MA AA t 12 R jis dai cdi E NER 12 2 3 Device PALEINIGSIENS RR eee 13 2 4 Modules feature GO0OMpariSONn asasaran aaa ANANA A NGANG NA n nn KNA A AB NA NA ag a Ng ag ag AAK aa ig a s sess sss assa 14 RE ele e NE aa aana Aik ban a pin anak at aab aaa NA tates a E aa T Aak T 14 20 lackage ONG NO aa aana anana aana nan a a aaa aa aa a an aa aa a aa a MP a a a aa a aa UN aa a a a aaa aa a a ag 15 2 6 1 Recommended Reflow Profile ccccccccccccccccccccceccecesesesssssccceeseeecccceceeeseeeesssssssceeeeeeeeeeeeeeeeeeeeeeeas 15 2 6 2 Device Handling Instruction Module IC SMT brepnarapnon 15 PASS SIMON aio FMA AL OM RN RUNE Em 16 3s AINN elei je pM Re 17 STPS DENN D 17 3 1 1 USR WIFI232 S Pins RE AITO EE 17 ovs USR WIFI252 T Pins Re ele sananing aana anana ag aaa gan aan a an a aba aa anaa aana anana DUO aan baan aa aa aaa 19 Se USR WIFI232 62 Pins RI aen D 21 3 2 mI ede Ra arzirz el Eer 24 3 9 Mechanical SIZ weist aaa inga pan pa bla aana pagi aii kenja aana panjing iar bad 24 S EaU e RE 24 ox VEN QE 4 EE 25 RCM E LQlguclcom 26 X A rn NNI ERR E m 27 SEL RE EA E
20. 1 of 87 tec usr cn 97 BARK A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual COMSettinas PortNum COM3 z Baud 115200 DPaity NONE DataB 8 bit M Open Recy Options Receive to file Iw 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 100 ms Load Clear Le PortNum gSR ICP232 Iest RS232 to Ethernet Convert tester COM port data receive Jinan USR Technology Co Ltd Send 0 Recv 0 http en usr cn ata receive LocalHost 192 168 10 101 Send Send Reset Le PortNum NetSettings 1 Protocol E 2 Server IP 2 Server Port Disconnect Recy Options Receive to file e Add line return Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 600 ms Load Clear Reset Recy 50 GPIO lt channel gt SET Function Save GPIO Channel setting channel GPIO Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 GPIO OK Command successful GPIO NOK Command failed PWM channel frequency duty Function Set PWM Channel value temporarily needs to be saved if want effective channel DWM Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 frequency PWM Chan
21. 2 23 1mm x 32 8mm x 2 7mm SMT Footprint 2 2 Device Features e Support IEEE802 11b g n Wireless Standards e Support WIFI 2 4 GHz support WEP WPA WPA2 security mode e Based on Self developed High Performance MCU e Ultra Low Power for Battery Applications with Excellent Power Save Scheme e Support UART PWM GPIO Data Communication Interface e Support Work As STA AP Mode e Support SmartLink Function APP program provide e Support usrlink Function Fast set SSID e Support Wireless Upgrade Function e Support WPS Function e Support Multi TCP Link 5 Channel Apllication e Support Internal External I PEX SMA Antenna Option e Single 3 3V Power Supply e Smallest Size e FCC CE Certificated Page 12 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS 2 3 Device Paremeters Table 1 USR WIFI232 S T G2 Module Technical Specifications Cass m Parameters Certification FCC CE Wireless 802 11 b g n standard Frequency range 2 412GHz 2 484GHz 802 11b 16 2dBm 11Mbps Transmit Power 802 11g 14 2dBm 54Mbps 802 11n 13 2dBm HT20 MCS7 802 11b 93 dBm 11Mbps CCK Receiver MM 802 119 85 dBm 54Mbps OFDM Sensitivity 802 11n 82 dBm HT20 MCS7 External I PEX connector WIFI232 T G2 SMA connector WIFI232 S On board PCB antenna CWIFI232 S G2 Wireless Parameters Antenna Option Internal UART Data Interface PWM GPIO SPI Reserved Operating 3 0 3
22. 6V Voltage Peak Continuous TX 200mA Average 12mA Peak 200mA Standby WiFi Shutdown 200uA Reserved Operating Temp 40 C 85 C Storage Temp 45 C 125 C 22mm x 13 5mm x 2 3mm WIFI232 S Hardware Parameters Operating Current Dimensions and 22mm x 13 5mm x 6mm CWIFI232 T Size 23 1mm x 32 8mm x 2 7mm WIFI232 G2 1x10 2mm connector WIFI232 T Footprint SMT CWIFI232 S G2 Network Type STA AP STA AP Security l WEP WPA PSK WPA2 PSK Mechanisms Software Encryption WEP64 WEP128 TKIP AES Parameters Update Firmware Web Page Upgrade Network Protocol IPv4 TCP UDP HTTP Local Wireless Page 13 of 87 Jinan USR IOT Technology Limited tec usr cn ax SAS Configuration Website except WIFI232 S Android IOS APP Smart Link APP tools 2 4 Modules feature comparison Listed below are the basic functions of USR WIFI232 low power series Table 2 USR WIFI232 S T G2Modules feature comparison Feature se a WIFI232 S USR USR WIFI232 G2 EXER Rh p E NAN E A Socket V VN Socket E E UART WIFI Transparent transmission TT N emeng i i Y N UART hardware N as mE Smartlink vo Audio Network No No Bs Milli P 6 Antenna Option On boar I PEX On boar I PEX d PCB connecto connect d PCB connecto antenna r Or antenna r Note WIFI232 T G2 s PWM GPIO pin is multiplexed pin 2 5 Key Application e Remote equipment monitoring e
23. DP CLIENT the data will always be sent to the IP address and port set by this command 19 AT MAXSK Function Set Query the maximum connection number of TCP Client when SOCKA work in TCP Server Format Query Operation AT MAXSK CR okz num CR LF CR LF Set Operation AT MAXSK lt num gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters num TCP Client connection number Range 1 5 5 is the default value it means when SOCKA work in TCP server it accepts max 5 TCP client connect to it 20 AT TCPLK gt Function Query SOCKA connection status gt Format AT TCPLK lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters sta SOCKA connection status 6 on TCP connected e off TCP disconnected Jinan USR IOT Technology Limited Page 61 of 87 tec usr cn 97 5 x5 A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 21 AT TCPTO gt gt gt Function Set Query SOCKA TCP timeout time Format Query Operation AT TCPTO CR 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 Parameters Time TCP timeout time e lt 600 600s gt 0 0 0 means no timeout e Default 300s SOCKA begin to count time when TCP channel don t receive any data clear time counter
24. Download 1595 html Jinan USR IOT Technology Limited Page 41 of 87 tec usr cn A SAS 4 8 HTTPD Function Description HTTP Internet HTTP data data BE Serial data server WIF Serial device H pn HERES Under this mode customer s serial device can request data from HTTP server via this module Module can also receive data from HTTP server analysis the data and transmit the data to customer s serial device Usage 1 Setting Enable HTTPD Client function AT HTPENZON Set request type as GET AT HTPTPZGET oet the address of HTTP server as www usr cn and set server port as 80 AT HTPSV www usr cn 80 Set the request URL as 1 php AT HTPURL 1 php 3F set request head string AT HTPHD Accept text html 0D 0A Accept Language zh CN 0D 0A U ser Agent Mozilla 5 0 0D OA Connection Keep Alive 0D 0A NOTE OD means carriage return it is OXOD in hex number OA means line feed it is OxOA in hex number Because this kind of data is not able to be put into AT commands string so it is tropical The rule is two bytes in means one byte in hex form for example Jinan USR IOT Technology Limited Page 42 of 87 tec usr cn A SAS TUDI means carriage return OxOD in hex number I20 means space 0x20 in hex number gt Bet Ine request timeout time AT HTPTO 30 gt Set filter the head of response AT HTPFT ON 2 Restart module then send data http www usr cn to HTTP s
25. EP A the password is the ASCII code must be 5 byte or 13 byte other ASCII code shall less than 64 byte and greater than 8 byte 31 AT WANN Function Set Query STA network setting Setting is valid after reset Format Query Operation AT WANN lt CR gt ok lt mode address mask gateway gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WANN lt mode address mask gateway gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Mode STAs IP network setting e Static Static IP e DHCP Dynamic IP Address STA IP address mask STA subnet mask gateway STA gateway address 32 AT WSMAC Function Set Query STA MAC address parameters Setting is valid after reset Format Query Operation AT WSMAC CR ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation Jinan USR IOT Technology Limited Page 65 of 87 tec usr cn A SAS AT WSMAC lt code mac_address gt lt CR gt ok CR LF CR LF Parameters Code security code e 8888 default value mac address STA MAC address such as DBBOCFFF1234 33 AT WSLK Function Query STA WiFi link status Format Query Operation AT WSLK CR ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters ret e Disconnected if no WiFi connection e AP SSID AP s MAC if WiFi connection available 34 AT WSLQ
26. F gt Parameters Time TCP timeout time e lt 600 600s gt 0 0 0 means no timeout 6 Default 300s SOCKB begin to count time when TCP channel don t receive any data clear time counter when TCP channel receive any data If the time counter reaches the TCPTO Jinan USR IOT Technology Limited Page 63 of 87 tec usr cn A SAS time the tcp channel will be break If SOCKB work in TCP Client it will connect the TCP server instantly 26 AT TCPLKB Function Query SOCKB connection status Format AT TCPLKB CR ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters sta SOCKB connection status 6 on TCP connected 6 off TCP disconnected 27 AT SNDB gt Function Send Data to SOCKB at Command Mode gt Format AT SNDB lt data_lenth gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters data lenth Lenth of send data Range 0 1000 Byte The UART port will feedback a gt and then wait 3 seconds for input after this command is sent OK The data received from UART port is sent to SOCKB If the interval of two bytes is more than 10ms the data will be sent instantly 28 AT RCVB Function Receive Data from SOCKA at Command Mode gt Format AT RCVB lt data_lenth gt lt CR gt ok lt data_lenth data_content gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters data lenth Lenth of receive data Range 0 1000 Byte data conten
27. HREAD 2 The module opens a UDP port 48899 to listen broadcast message password if it receive the correct password will answer the host who send the correct password The answer is IP MAC MID for example 10 10 100 254 D8BO4CFC0000 WIF1232 3 When host receive the IP and Address it will answer ok then the module will enter AT command mode you can send common AT commands via UDP to it port still is 48899 4 The AT command mode will keep without sending commands in 1 minute if you want to keep module in command mode can send AT W in 1minute Modules will not accept any other connection request within 1 minute 5 AT Q to quite AT command mode Note When module is in PA mode search tool maybe APP on PDA must connect to the module s Wi Fi network if multiple modules STA mode on one router search tool must be on the same router it can search all of the STA 4 6 Reporting MAC If reporting mac function is on AT WRRPTMAC ZON socket A or socket B is set as TCP client module will report its MAC when it link server first Socket A or B is set as UDP dent fe module will add MAC to the head of UDP package 4 7 D2D function Two devices can communicate with each other by D2D function They need to register on the D2D server with an ID usually the devices with two adjacent IDs will be matched together then they can communicate with each other About how to use this function please refer to http www usriot com
28. M 2 function to nReady PWM 23 function to WPS keys by AT command AT LPTIO on AT LPTIO off is the opposite Jinan USR IOT Technology Limited Page 20 of 87 tec usr cn QT BARK A f Usren USRWIFI2S2 SITIGZIH Low Power WiFi Module User Manual htipien usrcn 3 1 3 USR WIFI232 G2 Pins Definition Figure 14 USR WIFI232 G2 view GHU Hc DND ME Wc RC E s USR WIFI 232 042 Ld UARTOLATS gt UARTO RX MARTO CTS nLink nReady gt nBeload Hc EXT RESET CND RF Con nector Figure 15 USR WIFI232 G2 Pin map Table 6 USR WIFI232 G2 pin Definition Pim Deseribtion Net Name Signal Type Comments asas Ground GND Power L2 oss wan vm Jinan USR IOT Technology Limited Page 21 of 87 tec usr cn CH CH wey i Reserved 8 Sep steep on o o 3 3VPower DVD Power Co Nc been S E NC pNoconet 15 WPS GPIO GPIO15 Default WPS function Raa d RR 3D Nocomet connect H2 R ERE DEA Kakean Co ooo Nc Neemet o Lp f ne Ee LH homme GPIO 10 noo No connect if not use gt breet o o PWR SW I PU 0 Power Down Mode 1 Normal mode Function is reserved E jNocomet SPI_MISO SPI_CLK I O SPI Interface Reserved SPI_CS I O SPI_MOSI pi Nocmet DVD Power TI ER Noconnect eg eege pi Power soft switch No connect No conn
29. P UDP Client UDPS UDP Server Port Protocol Port in decimal less than 65535 IP Destination IP address domain name is support If set as UDP SERVER the module will save the IP address and port of the latest UDP packet received The data will be sent to the saved IP address and port If the module hasn t saved any IP address and port when power up The data will be sent to the IP address and port which is set by this command If set as UDP CLIENT the data will always be sent to the IP address and port set by this command Note socket B can be closed with command AT SOCKB NONE 24 AT TCPDISB gt gt gt Function Open Close SOCKB TCP link Format Query Operation AT TCPDISB CR ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDISB lt on off gt lt CR gt ok CR LF gt lt CR gt lt LF gt Parameters When query Operation sta Feedback if SOCKB TCP Client is link When Set Operation off means close TCP link After finish this command module disconnect TCP link and not connect again On means open TCP link After finish this command module re connect TCP server right away 25 AT TCPTOB gt gt Function Set Query Operation SOCKB timeout time Format Query Operation AT TCPTOB lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTOB lt time gt lt CR gt ok CR LF gt lt CR gt lt L
30. R gt lt LF gt gt Parameters mode Wi Fi Auto Switch Mode e Off Disable Wi Fi auto switch Page 73 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS e On Enable Wi Fi auto switch When the module STA mode fail to connect to router it will switch to AP mode itself in one minute Auto Enable Wi Fi auto detect function The module will reset itself when encounter any abnormal The default time interval is 10 minutes default mode e 3 120 unit minute Set the time interval to reset itself when abnormal 61 AT TXPWR Function Set Query Wi Fi Transmit Power Real Transmit Power Default Transmit Power 16dBm Setting Value 0 5dBm Format Query Operation AT TXPWR CR ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TXPWR lt num gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Num Setting Value The default is 0 it can be sent from 0 24 If set to 24 the moudule transmit power will be at a minium of 4dBm Reboot to make this setting change valid It will not restore to default if reload the module 62 AT WPS gt Function Start WPS function gt Format Query Operation AT WPS lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters status Start WPS Scan function The module will reboot and work in STA mode connecting to specific router when WPS communication is OK e WPS Scan Fail
31. S T G2 power up it will default works as throughput mode then user can switch to command mode by serial port command USR WIFI232 S T G2 UART default parameters setting as below figure Flow control DTR DSR Baud rate 115200 DR EE a RTS CTS Data bits e LE KONAKOFF Parity None hull Stop bits 1 we Serial break length milliseconds Figure 44 USR WIFI232 S T G2 H default parameters In command mode user can setting the module through AT command Note AT command debugging tools recommended SecureCRT App software tools or USR TCP232 test tool Users can be obtained the tool from USR s Web site The following demonstration uses SecureCRT tools 5 2 1 Switch to Command Mode Two steps to finish switching from throughput mode to command mode gt UARTinput after module receive and feedback a as confirmation gt ART input a after module receive a and feedback tok to go into AT instruction set configuration mode IS serial com3 SecureCRI File Edit View Options Transfer Script Tools Window Help d d Lal Sid ai Enter host uk d Lesch St e CG serial cos3 x a ok Figure 45 Switch to Command Mode Note 1 When user input No Enter key required the UART port will display feedback information a and not display input information tt as above UART display 2 Any other input or wrong step to UART po
32. Technology Co Jinan USR Technology Co Jinan USR Technology Co Jinan USR Technology Co LocalHost 10 10 100 150 http www usr cn Reset Le Par Hun Port Send Send 221 NetSettings 1 Protocol 2 Server IP 2 Server Port Disconnect Recy Options Receive to file Iw Add line return Receive As HEX Receive Pause Save Clear Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Iw Send Recycle Interval 600 ms Load Clear Reset Recv 330 Figure 4 serial network parameter settings and transmission test Jinan USR IOT Technology Limited Page 9 of 87 tec usr cn 97 BARK A 1 4 Application Examples 1 4 1 Wireless remote control applications USR WIFI232 Module USR WIFI232 S USR WIFI232 T USR WIF1232 G2 Figure 5 Wireless remote control applications In the wireless remote control applications USR WIFI232 module works in AP mode USR WIFI232 modules serial connect user s devices Control client such as smartphones can controll the user equipment via wireless network 1 4 2 Remote connectivity applications USR WIFI232 Module Y P E SS s lt j E a XS OA 2 USR WIF1232 S USR WIF x WIFI232 T USR WIF1232 G2 nternet H USR WIFI232 Module Lee ART Figure 6 Remote connectivity applications In remote connection applications USR WIFI232 module works in the STA mode co
33. WEE 27 34A USR WIFI232 E 28 34 9 Ee WE 29 Jo ee VAI OI NIN aaa aana ORT 30 3 6 Typical Application Hardware rees Duda tip baa Lap tin CE Papa apa Cuv dE Dro PA bu tacat a D GA EN RAGA pavo EEN ENG apa ba ga ake 31 36 1 VART Application HardWare sa TETTE 31 3 6 2 PWM GPIO Application Hardware 31 4 Modules function description 32 c a Res MOGO NR 32 Za Throughput iee s sess baan aaa aaa aaa pana he para aaa ise Cond Rete awa Da indoor Fal imi mi ope te fin nU Enn Paedah 32 1 Throughput mode brief IntFodUcllO L uo eo recede te tee Ebbene bI elio aeu ones o oar peace vede aes e escaso ses 32 2 PATS RW Ee Ree aana aga ap ia ga gaga Ega E MTM 33 7 MNA Ee anjang eo 34 Page 3 of 87 Jinan USR IOT Technology Limited tec usr cn H A BABE f Usren USRWIFSZSITIG2LowPowerWiFiModuleUserManual htipulenusren c NINE C a GAR es kas ajaga a EA a AAN Ra ENE GA ARA a II ana t 34 4 2 VV CIOS SING WOPN NG BE 35 A 21 STA WIFI MOOG EE 36 c SE AF NEF 0 6 EE 36 AZO ENCO aer ea akan T 36 4 3 Socket Communication 37 7 oM olere No aana a asia a ga an a aana aaa aaa Um 37 K Me DOCG Dra aa aaa aa eden GK aan KN GAN KA m EAA AA E GA BAN ah SDR ANA BAN TING BA KKB KAEN aa aaa curiae 37 4 4 Fast access Wrkuusrimk nennen nennen nenne nnne nana enen nane eee 38 4 5 Searching Wi Fi protocol amp Network AT Commande 41 AO eien ieh E 41 e
34. ara 2 para 3 para 4 lt CR gt AT Prefix of command message CMD Command string op Symbol of command operator The command requires parameters input NULL Query the current command parameters setting para n Parameters input for setting if required CR end mark it s OxOa or OxOd Notes http en usr cn When input AT Instruction AT lt CMD gt character will display capital letter automatic and other parts will not change as you input Response Message lt RSP gt op para 1 para 2 para 3 para 4 lt CR gt lt LF gt lt CR gt lt LF gt Prefix of response message RSP Response string ok Success ERR Failure op para n Parameters if query command or Error code when error happened CR ASCII 0xOd lt LF gt ASCII 0xOa Error Code Table 17 Error Code Describtion to Invalid Command Format 2 meld Command Invalid Operation Symbol Invalid Parameter Operation Not Permitted 5 2 3 AT command introduction Jinan USR IOT Technology Limited Table 18 AT command list NO Command Description O O Z O Z O O EE Manage Command 1 E Open Close show back function 3 WMODE Set Query Wi Fi work mode AP STA E ENTM oet module into transparent transition mode 4 TMODE SetQuery module data transfer mode 6 RELD T Restore to factory default seting Page 54 of 87 tec usr cn A SAS i H 2 n 14 UARTTE oet Query
35. arget Port IP Address Serial Port Parameters Baud Rate Page 32 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS Data Bit Parity Check Bit Stop Bit Hardware Flow Control 2 UART Frame Scheme 1 UART Free Frame 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 250ms default the module will think it as the end of one frame and transfer this free frame to WIFi port or else the module will receive UART data untill 1000 bytes then transfer 1000 bytes frame to WiFi port The module s default interval time is normal 250ms User can also set this interval time to fast 200ms through AT command AT UARTTE fast normal When the interval time is fast user have to consider if user MCU can send UART data with 10ms interval When the interval time is normal user have to consider if user MCU can send UART data with 50ms interval or else the UART data may be divide as fragment Through AT command user can set the interval time fast 200ms and normal 250ms 2 UART Auto Frame If the length of serial data is fixed user can select UART Auto Frame achieve the highest transmission efficiency If user select open this function and setting auto frame trigger length and auto frame trigger time parameters then module will auto frame the data which received from UART port and transmit to the network as pre defined d
36. ata structure gt Auto frame trigger length If The data length that module received from serial reach Auto frame trigger length the module will transmite the data 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 transmit available data to the network and bypass the auto frame trigger length condition Auto frame trigger time calculate from the first byte that the module receives from the serial port As shown below 99 Page 33 of 87 Jinan USR IOT Technology Limited tec usr cn amp H Qr BARE Achieve Auto frame Receive Ist byte trigger length Waiting after last transmit Begin to Send to Auto frame calculate network trigger time Receive Don t achieve auto frame Ist byte trigger length Waiting after last transmit Achieve Auto frame Begin to calculate trigger time Send to network Figure 27 UART Auto Frame Detailed UART auto frame function can refer to AT instruction set UARTF UARTFT UARTFL introduction 4 1 2 Command Mode In this mode the module no longer transparent transmit data Now the serial port is used to receive AT commands User can send AT commands to the module through the serial port to query and set the module s parameters about serial port network etc The method to enter Command Mode from throughput mode and the explanation of AT commands are in 5 Chapter 4 1 3 GPIO PWM Mode
37. csssecesssccsssesessuccsssecessuecsssscsssuesssssesssuessssssessucssssesessuesssiessssesssiessssecsssecen 68 A1 ATAWADHCR RM 68 T EE E 68 43 AT WALKIND ttt ttt ttt aee eee Na eaaa eea eee eee ana 68 AA AT PLANG ccccccscccssscccsssccsssecessuccsssecesssccsssssesssessssscsssucssssecessuesesssesssssssssscsssuesssiesssuesssssssssessasesssssee 69 ONES STURM 69 AG NES NRI CRM 69 AT NES iz MM 70 AS NES as RM 70 do AT TIDONG saanane aana kanin E a aaa a abaan ag ME 70 50 ATAD TDID eaaa Na aee eea ttt ttt ttt 70 AINESE EISIN 71 BQ NETS A cA 71 53 VES SRM 71 BA ATAHTRHD eaaa aaa eaaa aaa eaaa eaaa aaa eaaa eaaa ttt ttt ttt ttt ttt ttt eaaa 72 Page 5 of 87 Jinan USR IOT Technology Limited tec usr cn A BABE FN Us cn eweg ae Low Power WiFi Module User Meng htipulenusren IDAT ARP UR agan ana aan aa In aaa E Sees ces ora eave gaa cote a aga estore cosas cece eee ease ec eee 72 SPEI TO ee 72 Seed 73 OPATAN RNID AENG PEN E NR eer ne ne ENE A TE ner TENANE E A A EEN 73 SE IE Les D E 73 310 7 1 K NIK Ta asa aaa ana gan ana aana aan aa aa I a aaa aaa aa naa aa aaa aa aaa ah aaa aa aa aa aa a aaa an aapa anan 73 SBD AE T 74 STAT KAT aana aan baa hee Dana 74 SREK e e TIMEN ME 74 ET 74 SP IE TB CR EE 79 EE 79 STT Re H eg 79 Eelere tee 79 ST RAT Ch c NE AA 76 TO PVF
38. dRe aile e aa 41 ge BREEDE Te nectit Dnm Me UI MEINEM dM NUN MN MEAE MIENNE 42 SKS AG FON ND QN RR RUE IPRC 44 4 10 EE HEINEN 44 4 11 Firmware and web upgrade nana nenne menn nnn n nenne sene nennen nene eee nenen 44 5 Module Parameter configuration eee eee 45 COD WV E X 45 SMS zig iEBI et 45 5 1 2 Open Web Management Interface ina abu tana bae a a ANA a 45 5 1 9 ER e EU ln ME 46 s ME elici e anaa ak a naka a nak Pan a aa ana ga a ag a need ak KA Na KN ana aa a Bana aa T 47 e EE le e DE NER RM 47 KO AP SGING Le 48 9 1 Network Seting PAGS ngain paes Wek ena Aa aa BA ga ga A aa aga ang Kan aa NETET a Kapa KA e iga BI Aga RE aa 49 9 1 9 UART Seling Page ETE 49 5 1 9 Account Management Hage sss sese 49 5 1 10 Upgrade Software PAGS E 50 e EN ft Te TAN EE 50 IEPER O e E 5 sa N Eel Rio NR 5 5 2 1 Switch to Command Mode sss sss 52 5 2 2 AT command OVER IEW NR TTE 53 5 2 3 AT command 1IntroducioOn sse eee 54 TAE 56 AT Ae RTE 57 BP CR RE 57 2 PESRUes vv L e 2d DATENO e A SE EE D EE 58 un 58 GATER PER TU T 58 SN E E EH q 58 IOATUAR
39. dress mask gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LANN lt ipaddress mask gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Ipaddress AP s IP address Mask AP s net mask 38 AT WAP gt Function Set Query AP Wi Fi parameters Setting is valid after reset gt Format Query Operation AT WAP CR ok lt wifi mode ssid channel gt lt CR gt lt LF CR LF gt Set Operation AT WAP lt wifi_mode ssid channel gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters wifi mode Wi Fi mode include e 11B e 11BG e 11BGN Default Value Ssid SSID at AP mode channel Wi Fi channel selection AUTO or CH1 CH11 Default CH1 39 AT WAKEY Function Set Query AP Wi Fi secruity parameters Setting is valid after reset 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 Page 67 of 87 Jinan USR IOT Technology Limited tec usr cn 97 5 x5 A gt Parameters Auth include e OPEN e WPA2PSK Encry include NONE When auth OPEN available e AES When auth WPA2PSK available Key security code ASCII code smaller than 64bit and bigger than 8 bit 40 AT WAMAC gt Function Query AP MAC address parameters gt Forma
40. dule can transparent transmite data between the common serial device and network device e Command mode In this mode the user can query and set the serial port and network parameters on the module through the AT command e PWM GPIO mode In this mode the user can realize the control of the PWM GPIO through the network command 4 1 1 Throughput mode 1 Throughput mode brief introduction The benefit of this mode is achieves a plug and play serial data port and reduces user complexity furthest In this mode user only need 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 throughput 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 Throughput mode can fully compatible with user s original software platform and reduce the software development effort for integrate wireless data transmission The parameters which need to configure include gt Wireless Network Parameters Wireless Network Name SSID Security Mode Encryption Key gt TCP UDP Linking Parameters Protocol Type Link Type Server or Client Target Port ID Number T
41. ect No connect UARTO UARTOTX o UARTO UARTO_RTS UART Interface UARTO UARTORK 1 UARTO UARTOCTS VO Wi Fi Status nLink Page 22 of 87 O Wi Fi Link 1 No WIFI Link C zzz oz Z Z Z oOlolaolo O O O Jinan USR IOT Technology Limited tec usr cn amp e BARH E NANA ANANG ANG No connect if not use Module Boot nReady 0 Boot up OK Up Indicator 1 Boot up No OK No connect if not use 45 Module nReload Low effective reset input recovery Pull up if not use Can be set to Smart Link Pin Ca ne ooa 47 Module Reset nReset Low effective reset input Pull up if not use lt Explanation gt I IN O OUT PU PULL UP I O IN OUT GPIO lt The main pin function description nReset Module reset pin input GPIO low effective Module nReset need pull up when module works If MCU module needs to do a reset operation pull low for at least 10ms and then pull up nReload Module recovery factory settings pin input GPIO low effective 1 After module is powered up short press this button Low 3s to make the module go into Smart Link config mode waiting for APP to set password and other information 2 After module is powered up long press this button Low gt 3s to make the module recover to factory setting Note 1 When designing the circuit please use the stable connection such as light touch switches and increase the appropriate filter circuit or module can t res
42. ed WPS communication is failed Note The router WPS function must be open first then enable module WPS Scan function The module will quit WPS scan status if there is no WPS router in 5 seconds 63 AT WPSBTNEN gt Function Enable Disable WPS pin function gt Format Query Operation AT WPSBTNEN lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters status 6 on Enable WPS pin function 6 off DisableWPS pin function 64 AT SMTLK Function Start Smartlink function Page 74 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS Format Query Operation AT SMTLK CR omartlink function is used to quickly configure the router s SSID and password to module When start Smartlink function module s led lights flashing wait APP push configuration information 65 AT LPTIO gt Function Enable Disable module s nReady nLink function Format Query Operation AT LPTIO CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LPTIO lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LES gt Parameters staus Enable Disable nReady nLink function e Ipt200 nReady nLlink WPS function map to USR WIFI232 S Pin11 Pin13 Pin14 e on lpt100 nReady nLlink WPS function map to USR WIFI232 T Pin9 Pin10 Ping e off lpb100 nReady nLlink WPS function map to USR WIFI232 G2 Pind4 Pin43 Pin15 66 AT USERVER Func
43. ength b Setting command a a fixed value OxFF length oum of data bytes from length bytes to check byte not contain length bytes and check byte Jinan USR IOT Technology Limited Page 39 of 87 tec usr cn amp e SAS SSID SSID of router paran 2 fixed value 0x0D 0x0A Unsized Password of router check 1 Sum of bytes from head not contained byte to check byte not contained Response for setting Ke le value OxFF length oum of data bytes from length bytes to check byte not contain length bytes and check byte Check If the SSID set by PDA exist check value is for SSID 0x01 otherwise is 0x00 Sum of bytes from head not contained byte to check byte not contained 5 Check If the form of password set by PDA is correct for check value is 0x01 otherwise is 0x00 passwor d Example Data from phone PDA to module HEX FF 00 OF 02 00 54 45 53 54 31 OD 0A 31 32 33 34 35 36 CE Data from module to phone PDA HEX FF 00 03 82 01 01 87 Explanation Page 40 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS The phone PDA send setting command to module SSID is set to TEST1 password is set to 123456 The response from module is that the TEST1 Wi Fi network exist the form of password is correct 4 5 Searching Wi Fi protocol amp Network AT Command 1 A host can via UDP broadcast IP x x x 255 Port 48899 send a password and the default password is HF A11ASSIST
44. erver via serial port you will get http www usr cn from server NOTE the server www usr cn is USR s HTTP test server if you send data http www usr cn to it it will feed back the data after with T including In the step 1 serial device send data http www usr cn to module then module prepares HTTP package with head information set before so the package data is GET 1 php data http www usr cn HTTP 1 1 Host www usr cn Accept text html Accept Language zh CN User Agent Mozilla 5 0 Connection Keep Alive After sending data Module receives data HTTP 1 1 200 OK Date Wed 24 Jun 2015 04 08 35 GMT Server Apache 2 0 63 Win32 mod ssl 2 0 65 OpenSSL 0 9 80 PHP 5 2 14 X Powered By PHP 5 2 14 Cache Control max age 600 Expires Wed 24 Jun 2015 04 18 35 GMT Content Length 19 Keep Alive timeout 15 max 99 Connection Keep Alive Content Type text html http www usr cn After module receives the above data it will analysis the information and send Page 43 of 87 Jinan USR IOT Technology Limited tec usr cn i e S e SAS the result to serial device 4 9 RS485 Function Module supports RS485 function RS485 is half duplex the direction of transmitting data should be controlled manually If customer enables modules RS485 function the pin RTS of module is used to control the direction of communication Refer to command AT RSEN 4 10 Parameter configuration USR WIFI232 T G2 su
45. et automatically both sides of the UART can transparently transmit data USR WIFI232 Module USR WIFI232 Module Figure 7 Transparent serial Jinan USR IOT Technology Limited Page 1l of 87 tec usr cn A SAS 2 Product Overview 2 1 General Description USR WIFI232 S T G2 is a fully self contained small form factor single stream 802 11b g n Wi Fi module which provide a wireless interface to any equipment with a Serial interface for data transfer USR WIFI232 S T G2 integrate MAC baseband processor RF transceiver with power amplifier in hardware and all Wi Fi protocol and configuration functionality and networking stack in embedded firmware to make a fully self contained 802 11b g n Wi Fi solution for a variety of applications USR WIFI232 S T G2 adopts the world s lowest power consumption embedded architecture It has been optimized for all kinds of client applications in the home automation smart grid handheld device personal medical application and industrial control that have lower data rates and transmit or receive basis data at low rate USR WIFI232 S T G2 integrates all Wi Fi functionality into a low profile small module package that can be easily mounted on main PCB with application specific circuits Also module provides built in antenna external antenna option The following is the size of module USR WIFI232 S 22mm x 13 5mm x 2 3mm SMT Footprint USR WIFI232 T 22mm x 13 5mm x 6mm 1x10 2mm Connector USR WIFI232 G
46. gured as TCP Server it supports Multi TCP link connection and maximum 5 TCP clients permitted to connect to Socket A Multi T CP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence Downstream All data from serial port user will be duplicate and broadcast to every TCP connection or client Detailed multi TCP link data transmition structure as following figure WF de Device1 serial gl galee oe TO Neviratt EN E jBB WIFI1232 S T aG2 AA We Device2f device K Top Device3 Figure 30 Multi TCP Link Data Transmition Structure 4 3 2 Socket B socket B has three work mode TCP Client UDP Client UDP Server the setting method please refer to the AT SOCKB command instruction Page 37 of 87 Jinan USR IOT Technology Limited tec usr cn amp e SAS With variety work mode socket B can provide users with flexible data transfer methods For example Socket B can be set to UDP Server mode for LAN equipment to search modules Socket B also can be set to TCP Client connect to a remote server in order to achieve remote control 4 4 Fast access Wi Fi usrlink When one module works in AP mode it opens a UDP port used to receive fast access Wi Fi commands the port number is 1902 The phone PDA can directly connect to Wi Fi network of the module send commands to search router list and set SSID a
47. ime gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPTO lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 72 of 87 tec usr cn A SAS Parameters time HTTP request timeout Units are seconds range is 1 600 57 AT HTPFT Function Enable Disable HTTP head can be filtered Format Query Operation AT HTPFT lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPFT lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Status If HTTP head can be filtered 6 On Enable e Off Disable 58 AT WRMID gt Function Set module ID Format Set Operation AT WRMID lt wrmid gt lt CR gt lt LF CR LF gt gt Parameters wrmid set module s ID within 20 characters 59 ATtASWD Function Set Query WiFi Configuration Password Format Query Operation AT ASWD CR ok lt aswd gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT ASWD lt aswd gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters aswd WiFi Configuration Password within 20 characters 60 AT MDCH Function Set Wi Fi Auto Switch Function gt Format Query Operation AT MDCH CR ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MDCH lt mode gt lt CR gt lt LF gt lt C
48. ing bp LINKE USR TEST D8 15 D C6 3E 14 System SPINFIRE PRO3 AC CF 23 2B 76 33 LBQ TEST WP3 D8 B0 4C F4 46 8C STA Setting WP3 shaohui D8 B0 4C F2 0 0 AP Setting _ D LINK USR TEST C8 3A 35 37 C 60 Tenda zt C8 3A 35 4F FD E8 Network TP LINK 14D24E 20 DC E6 EE 38 9A e etcore 8 10 78 4A 7B A6 UART Settin ss g dlink 0 1C F0 AC 6E 9A Account 6 HF A11x AP AC CF 23 6 B7 38 Res MERCURY 5DC9CE 38 83 45 5D C9 CE Upgrade SW Nr D8 42 AC 2F D8 20 4 Restart 6 CHAPAI D8 B0 4C F4 46 48 8 Restore o G Web Ver 1 0 11 Page 46 of 87 Jinan USR IOT Technology Limited tec usr cn OT BARE A f V Usren USRWIFIS2SIT G2I Low Power WiFi Module User Manual__hitp en usr on 5 1 4 System Page At this page user can check current device s important information and status such as device ID MID software version wireless work mode and related Wi Fi parameters FAX English MID USR WIFI232 T Fast Setting Software Version V1 0 04a System Small Version V1 1 STA Setting WiFi Work Mode STA AP Setting AP mode Network IP Address UART Selling MAC Address Account STA Mode Upgrade SW Rane sap TRUNK 14246 Restart Signal Strength 64 Restore IP Address 192 168 0 121 MAC Address D8B04CF 35374 Web Ver 1 0 11 Figure 34 System Web Page 5 1 5 STA Setting Page User can push Scan button to auto search Wi Fi AP router nearby and can connect with associate AP through some settings Please note the encr
49. ize Unit mm as follows Page 24 of 87 Jinan USR IOT Technology Limited tec usr cn SZ 5s A f Usren USRWIFI232SITIG2H Low Power WiFi Module UserManual __ htip en usr cn el keepout area for antenna 5x5mm Figure 16 USR WIFI232 S Mechanical Size ccu 13 2 keepout area for antenna 5x5mm Figure 17 USR WIFI232 S PCB Symbol Size 3 3 2 USR WIFI232 T USR WIFI232 T modules physical size Unit mm as follows Page 25 of 87 Jinan USR IOT Technology Limited tec usr cn Usr cn BZ BARK A USR WIFI232 S T G2 H Low Power WiFi Module User Manual Figure 18 3 3 3 USR WIFI232 G2 NN Antenna PAD USR WIFI232 T Mechanical Size USR WIFI232 G2 modules physical size Unit mm as follows di RF CONNNECTOR Figure 19 Jinan USR IOT Technology Limited USR WIFI232 G2 H PCB Symbol Size USR WIFI232 G2 modules PCB footprint size CUnit mm as follows Page 26 of 87 http en usr cn tec usr cn BZ BARK A 3c 8 Keep cul area for PCB antenna LI HVH TE TE TETTE TL TLIL TE TD JU WH LILILILILILIJILILIJL Figure 20 USR WIFI232 G2 PCB Symbol Size 3 4 Antenna 3 4 1 USR WIFI232 S USR WIFI232 S has two versions respectively supports internal antenna and external SMA antenna 1 Internal antenna version USR WIFI232 Sa When customer select internal antenna you shall comply with following antenna design rules and module location suggestions gt For customer PCB gre
50. l 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 Support http h usriot com 1 1 Hardware connect In order to test WIFI module we need connect module RS232 to PC and also WIFI to PC In order to test the communication between serial and WIFI network we need to connect the serial port to PC and also connect WIFI networks to PC Due to the special need both WIFI and serial we use PC which add USB WIFI network Card such as the following picture RS232 WIFI 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 S T G2 evaluation board for users to choose Jinan USR IOT Technology Limited Page of 87 tec usr cn 97 AAH A f y Usren USRWIFI2S2 SITIGZIH Low Power WiFi Module User Manual tipien usrcn 1 2 Network connection The following is the USR WIFI232 T module example except SSID other modules are the same to USR WIFI232 T Open Wi Fi search network as shown in below USR WIFI232 T is the default network name SSID of the module KEMA EB Panz qy acu 2 Ra TAD T ER LE AE DE i TERMS de BS EMAAR dp ENENGE Server
51. l up if not use Can be set to Smart Link Pin 13 Wi Fi Status nLink 0 Wi Fi Link 1 No WIFI Link No connect if not use WPS Function Pin Power NT 2 4GHz antenna ANT 2 4G EM be 50ohm impedance lt EMEN gt I IN O OUT PU PULL UP I O IN OUT GPIO lt The main pin function description gt nReset Module reset pin input GPIO low effective Module nReset need pull up when module works If MCU module needs to do a reset operation pull low for at least 10ms and then pull up nReload Module recover factory settings pin input GPIO low effective 1 After module is powered up short press this button Low lt 3s to make the module go into Smart Link config mode waiting for APP to set password and other information 2 After module is powered up long press this button Low gt 3s to make the module recover to factory setting Note 1 When designing the circuit please use the stable connection such as light touch switches and increase the appropriate filter circuit or module can t restore factory settings stably 2 nReset and nReload need 5 kohm 10 kohm pull up resistor nLink Wi Fi link status indicator pin output GPIO low effective USR strongly suggest customer connect out this pin to LED 1 At Smart Link config mode this LED used to indicate APP to finish setting 2 Atnormal mode it s Wi Fi link status indicator nReady Module startup success indicator pin o
52. libration inverval range 0 720 default 20 minutes 10 minutes for each step set 0 means no time calibration automatically 47 AT NTPEN gt Function Enable Disable time calibration function Format Query Operation AT NTPEN CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NTPEN lt status gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Status status of time calibration 6 On Enable time calibration e Off Disable time calibration 48 AT NTPTM gt Function Query network time gt Format Query Operation AT NTPTM CR ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Time network time for example 2013 10 9 16 10 42 Wed if it shows Not Available means that the time calibration function is not enabled or the module doesn t connect to the internet 49 AT DTDDIS gt Function Enable Disable sending D2D register data gt Format Query Operation AT DTDDIS CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT DTDDIS lt status gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Status status of time calibration e On Enable e Off Disable 50 AT DTDID Function Set Query D2D ID gt Format Query Operation AT DTDID CR Jinan USR IOT Technology Limited Page 70 of 87 tec usr cn A SAS ok lt id gt lt CR gt lt LF gt l
53. n as below user can connect to module with the RS 232 UART and Wireless port to configure the parameters manage the module or do the some functional tests USR WIFI232 S EVK USR WIF1232 T EVK USR WIFI232 G2 EVK Figure 24 USR WIFI232 S T G2 H Evaluation Kit The external interface description for evaluation kit as follows Table 12 USR WIFI232 S T G2 Evaluation Kit Interface Description Function Name Description Smartlink or Restore factory default nReload configuration WiFi LINK Indicator Module Bootup Ready Indicator Page 30 of 87 Jinan USR IOT Technology Limited tec usr cn l S arem 3 6 Typical Application Hardware 3 6 1 UART Application Hardware HPE USR WIF1232 S T G2 H UARTO RXD UARTO TXD nReset nReload PWR SW nL i nk nReady WPS GND Figure 25 USR WIFI232 S T G2 H UART Application Hardware 3 6 2 PWM GPIO Application Hardware 2 4G Antenna l ANT USR WIFI1232 T G2 other device mm E mmm mm mmm mm e mm 7 i WM 1 zm mmm Kaa aa a a l d A LED i PM 2 2 L FM 3 driver Recovery key GND Figure 26 USR WIFI232 T G2PWM GPIO Application Hardware Page 31 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS 4 Modules function description 4 1 Work Mode USR WIFI232 S T G2 have three work modes throughput mode command mode PWM GPIO mode The swiching method of work mode is in 5th Chapter e Throughput mode In this mode the mo
54. nd password After the completion of set up module will automatically restart connected to the router work in the STA mode at this time Protocol format a Searching command 2 length 2 sum of data bytes from length bytes to check byte not contain length bytes and check byte 4 check 1 Sum of bytes from head not contained byte to check byte not contained Response for searching m WE o o fied value OxFF length oum of data bytes from length bytes to check byte not contain length bytes and check byte e aar Separator of SSID1 reien Page 38 of 87 Jinan USR IOT Technology Limited tec usr cn amp ax BARH Signal strength of router 1 0 100 0 100 separator 2 Separator of signal strength1 fixed value 0x0D 0x0A SSID n Unsized The SSID of router n Separator of SSID n fixed value 0x00 Signal strength of router n 0 100 0 100 fixed value 0xOD OxOA Sum of bytes from head not contained byte to check byte not contained Data from phone PDA to module HEX FF 00 01 01 02 separator Example Data from module to phone PDA HEX FF 00 14 81 00 54 45 53 54 31 00 40 OD OA 54 45 53 54 32 00 37 OD OA 1D Explanation The phone PDA send searching command to module the response from module is SSID of router1 is TEST1 signal strength of router1 is 64 SSID of router2 is TEST2 signal strength of router2 is 55 Note The information of routers is ordered by signal str
55. nel frequency it can be 500 60000 duty PWM Channel duty it can be 0 100 B 1 3 Parameters gt Return Data B 1 4 after reset Parameters gt Return Data Jinan USR IOT Technology Limited PWM OK Command successful PWM NOK Command failed Page 82 of 87 tec usr cn 0 gt A BARE Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual gSR ICP232 Iest RS232 to Ethernet Convert tester COMSettings PortNum COM3 z BaudR 115200 v DPaity NONE DataB 8 bit Z StopB 1 bit v Open Recy Options Receive to file Iw Add line return Receive As HEX Receive Pause Save Clear Send Options Data from file kuto Checksum Auto Clear Input Send As Hex Send Recycle Interval 100 ms Load Clear Le Dat ab Parameters COM port data receive LocalHost 192 168 10 101 Port Jinan USR Technology Co Ltd ewm 11 1000 50 Send Send Send 0 Recv 0 PWM lt channel gt GET Function Query PWM Channel output Reset L DataB Send 123 http en usr cn NetSettings 1 Protocol 2 Server IP 2 Server Port dese Disconneci Recv Options Receive to file v 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 600 ms Load Clear Reset Rec
56. nnect to internet through internet gateway Module is set to TCP Client connected to the internet TCP server User devices connected to USR WIFI232 module through the serial port This application can collect data from the user device and send it to the server for processing and storage the internet server can also send commands to control the user device for control Users can use smartphone or PC to control the user device via LAN and also can control the user device via WAN by communicate to internet Server 1 4 3 Transparent Transmission In this application two USR WIFI232 modules connecet by Wi Fi as shown below Jinan USR IOT Technology Limited Page 10 of 87 tec usr cn i e S A BAR this application is to build a transparent serial channel between two user devices The following figure is set as follows e Left of the USR WIFI232 module is set to AP mode SSID and IP address are default network protocol is set to TCP Server mode protocol port is 8899 by defaults e Right of the USR WIFI232 module is set to STA mode SSID is set to the AP s SSID which will be connected to eg USR WIFI232 T the IP address is DHCP by default network protocol is set to TCP Client mode protocol port 8899 Target IP address is set to the left of the module i e 10 10 100 254 When the right side module startup will find AP SSID USR WIFI232 T and then automatically connect to the left side TCP server as client All connections can compel
57. of two bytes is more than 10ms the data will be sent instantly 17 AT RECV gt Function Receive Data from SOCKA at Command Mode gt Format AT RECV2 data lenth timeout CR ok lt data lenth data content CR LF gt lt CR gt lt LF gt Parameters data lenth Lenth of receive data Range 0 1000 Bytes Timeout wait for timeout 1 10 seconds data content contents of receive data If not receive any data in 3 second then feedback ok 0 18 AT NETP Function Set Query SOCKA network protocol parameters Setting is valid after reset Jinan USR IOT Technology Limited Page 60 of 87 tec usr cn 97 5 x5 A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn gt Format Query Operation AT NETP CR ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NETPz protocol CS port IP CR ok CR LF gt lt CR gt lt LF gt gt Parameters Protocol e TCP e UDP 9 CS e SERVER e CLIENT Port protocol port ID Decimal digit and less than 65535 IP Servers IP address when module set as client If set as UDP SERVER the module will save the IP address and port of the latest UDP packet received The data will be sent to the saved IP address and port If the module hasn t saved any IP address and port when power up The data will be sent to the IP address and port which is set by this command If set as U
58. pports configurate parameter by Web and AT command USR WIFI232 S only supports configurate parameter by AT command e Web user can login modules built in web to configure the parameters e AT command user can send AT command to module through the serial port to configurate parameters Two methods of configuration parameters please refer to Chapter 5 explains 4 11 Firmware and web upgrade USR WIFI232 S T G2 supports upgrade firmware and web over wireless USR WIFI232 T G2 upgrade method can refer to Section 5 1 9 firmware upgrade page Besides you can login http 10 10 100 254 iweb html to update firmware and web Diagram is as follows Upgrade firmware AM KAEN Upload Upgrade customized webpage REM IRE Upload Figure 31 Upgrade page Note Before any firmware upgrade be sure to contact USR or else it may result in permanent damage to the module Jinan USR IOT Technology Limited Page 44 of 87 tec usr cn e S A BAR 5 Module Parameter configuration USR WIFI232 modules support two methods of Parameter configuration web and AT command the following will describe the detail of two methods 5 1 Web 5 1 1 Web Brief Description When first use USR WIFI232 modules user may need some configuration User can connect to USR WIFI232 module s wireless interface with following default setting information and configure the module through laptop Table 16 USR WIFI232 T G2 Web Access Default Setting Defa
59. ration AT UART CR ok lt baudrate data_bits stop_bit parity flowctri gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data_bits stop_bit parity flowctri gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Baudrate 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 380400 460800 data bits e 8 stop bits e 12 Parity Jinan USR IOT Technology Limited Page 58 of 87 tec usr cn A SAS e NONE e EVEN e ODD Flowctri CTS RTS NFC No hardware flow control e FC hardware flow control USR WIFI232 T don t have hardware flow control 11 AT UARTF Function Open Close UART auto frame function Format Query Operation AT UARTF CR ok lt para gt lt CR gt lt LF CR LF gt Set Operation AT UARTF lt para gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Para e disable Close auto frame function enable Open auto frame function 12 ATtUARTFT gt Function Set Query UART auto frame trigger time gt Format Query Operation AT UARTFT CR 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 CR LF gt lt CR gt lt LF gt gt Parameters Time Range 250 10000 Unit ms Auto frame trigger time 13 ATtHUARTFL gt Function Set Query UART auto frame trigger length Format
60. rt will cause the module still works as original mode throughput mode Jinan USR IOT Technology Limited Page 52 of 87 tec usr cn 97 BARK A 3 and a should be input in a certain period of time to make the module switch to configuration mode Like the following sequence input input input input a Mm lt 3D0ms lt Lid un feedback a Figure 46 a Time Requirements Switching command mode to throughput mode need to use AT ENTM command input AT ENTM in command mode ends with the enter key you can switch to passthrough mode Note Here work mode switch is temporary module still work in the default work mode after the restart if need to change the module efault work mode please refer to the AT TMODE command 5 2 2 AT command 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 AT H ok AT NONE command reply ok AT ASWD Set Query WiFi configuration code AT E Echo ON off to turn on off command line echo function AT ENTM Goto Through Mode AT NETP 5et Get the Net Protocol Parameters AT UART Set Get the UART Parameters AT UARTF Enable disable UART AutoFrame function AT UARTFT Set Get time of UART AutoFrame AT UARTFL Sert Get frame length of UART AutoFrame AT UARTTE Se
61. t Query Operation AT WAMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters mac address AP s MAC address Note Module AP mode s MAC address is related to STA mode s MAC address If user need changeto others please contact with USR technical people 41 AT WADHCP Function Set Query AP DHCP server status Format Query Operation AT WADHCP lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WADHCP lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters status AP s DHCP server function status 6 on DHCP Server Open e off DHCP Server Close 42 AT WALK gt Function Query MAC address of STA device connecting to module AP gt Format Query Operation AT WALK CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters status MAC address of STA device connecting to module AP 6 No Connection No STA device connecting to module AP 43 AT WALKIND Function Enable Disable indication of module AP connection status Format Query Operation AT WALKIND CR Jinan USR IOT Technology Limited Page 68 of 87 tec usr cn A ZS A HE Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WALKIND lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF g
62. t gt Parameters status indication of module AP connection status http en usr cn on Enable nLink indication function When STA device connecting to module AP nLink output Low otherwise output High 6 off Disable nLink indication function 44 AT PLANG Function Set Query webpage language option Format Query Operation AT PLANG CR ok lt language gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT PLANG lt language gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Language webpage s language e CN Chinese Version Default EN English Version 45 AT WEBU Function Set Query webpage user name and password Format Query Operation AT WEBU lt CR gt ok lt username password gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WEBU lt username password gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Username User Name within 15 characters not support empty Password password within 15 characters support empty 46 AT NTPRF Function Set Query time calibration interval Format Query Operation AT NTPRF CR ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NTPRF lt num gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Jinan USR IOT Technology Limited Page 69 of 87 tec usr cn A SAS Num time ca
63. t contents of receive data If not receive any data in 3 second then feedback ok 0 29 AT WSSSID Function Set Query Wi Fi associated AP SSID parameters Setting is valid after reset 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 CR LF gt lt CR gt lt LF gt gt Parameters ap sssid AP s SSID Within 32 character 30 AT WSKEY Function Set Query STA security parameters Setting is valid after reset Format Jinan USR IOT Technology Limited Page 64 of 87 tec usr cn 97 BARE A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 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 gt Parameters Auth Authentication mode e OPEN e SHARED e WPAPSK e WPA2PSK Encry Encryption algorithm NONE When auth OPEN effective e WEP H When auth OPEN or SHARED effective HEX format e WEP A When auth OPEN or SHARED effective ASCII format e TKIP When auth WPAPSK WPA2PSK effective e AES When auth WPAPSK WPA2PSK effective Key password when encry WEP H the password is the hexadecimal number must be 10 byte or 26 byte When encry W
64. t CR gt lt LF gt Set Operation AT DTDID lt id gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters id D2D ID value 1 65535 51 AT HTPEN Function Enable Disable HTTPD client function Format Query Operation AT HTPEN CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPEN lt status gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters Status status of time calibration 6 On Enable e Off Disable 52 AT HTPTP Function Set Query HTTP request type GET or POST gt Format Query Operation AT HTPTP CR ok lt type gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPTP lt type gt lt CR gt ok CR LF gt lt CR gt lt LF gt gt Parameters type HTTP request type GET or POST 53 AT HTPSV Function Set Query address and port of HTTP server gt Format Query Operation AT HTPSV CR ok lt address port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTPSV lt address port gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters address address of HTTP server IP or domain such as www usr cn port port of HTTP server such as 80 Jinan USR IOT Technology Limited Page 71 of 87 tec usr cn A SAS 54 AT HTPHD gt Function Set Query HTTP request head gt Format Query Operation AT HTPHD CR ok
65. t Query UART free frame triggerf time between two byte AT PING General PING Command AT WAP Set Get the AP parameters AT WAKEY 5ert Get the Security Parameters of WIFI AP Mode AT WMODE Set Get the WIFI Operation Mode AP or STA AT WSKEY Set Get the Security Parameters of WIFI STA Mode AT WS55ID Set Get the AP S SSID of WIFI STA Mode AT WSLK Get Link Status of the Module Only for STA Mode AT WSLQ Get Link Quality of the Module Only for STA Mode AT WSCAN Get The AP site Survey only for STA Mode AT WEBU Set Get the Login Parameters of WEB page AT TCPLE Get The state of TCP link AT TCPTO Set Get TCP time out AT TCPDIS Connect Dis connect the TCP Client link AT RECV Recv data from UART AT SEND Send data Co UART AT WANN Set Get The WAN setting if in STA mode AT LANN Set Get The LAN setting if in ADHOC mode AT RELD Reload the default setting and reboot AT RLDEN Put on off the GPIO12 AT Z Reset the Module AT MID Get The Module ID AT VER Get application version AT H Help Figure 47 ATH Command AT command is based on the instruction of ASCII command style the description of syntax format as follow Format Description Page 53 of 87 Jinan USR IOT Technology Limited tec usr cn e e amp A HE Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual lt gt Means the parts must be included Means the optional part Command Message AT lt CMD gt op para 1 p
66. t pin input GPIO low effective Module nReset need pull up when module works If MCU module needs to do a reset operation pull low for at least 10ms and then pull up nReload Module recovery factory settings pin input GPIO low effective 1 After module is powered up short press this button Low 3s to make the module go into Smart Link config mode waiting for APP to set password and other information 2 After module is powered up long press this button Low gt 3s to make the module recover to factory setting Note 1 When designing the circuit please use the stable connection such as light touch switches and increase the appropriate filter circuit or module can t restore factory settings stably 2 nReset and nReload need 5 kohm 10 kohm pull up resistor nLink Wi Fi link status indicator pin output GPIO low effective USR strongly suggest customer connect out this pin to LED 1 At Smart Link config mode this LED used to indicate APP to finish setting 2 Atnormal mode its Wi Fi link status indicator nReady Module startup success indicator pin output GPIO low effective Can be connected out to led WPS WPS function start pin input GPIO low effective Can be connected to key UARTO TX RX CTS RTS UART pin GPIO n GPIO which can be controlled by network commands n is control index number PWM N Module PWM signal output pin Can also be configured as GPIO pin Can switch PWM 1 function to nLink PW
67. the phone PAD computer can quickly connect to the serial device to transfer data or control the device without any configuration Also you can login module s built in web pages to set parameters AP USR WIFI232 Module Figure 29 USR WIFI232 S T G2 H AP WI FI Mode Note In AP WI FI mode can only support a maximum of two STA device access 4 2 3 Encryption Encryption is a method of scrambling a message that makes it unreadable to unwanted parties adding a degree of secure communications There are different protocols for providing encryption and the USR WIFI232 S T G2 module supports following WEP Page 36 of 87 Jinan USR IOT Technology Limited tec usr cn i e S A BAR WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES V NW NON 4 3 Socket Communication USR WIFI232 S T G2 module has two TCP UDP Socket Socket A and Socket B Serial data written to the module will be sent to the Socket A and B simultaneously TCP UDP data that module receives through either Socket A or B will be sent to the serial port Dual Socket through different settings you can achieve a variety of network interconnect When the module shipped only open Socket A Socket B default is not to connect if the user needs to use please set by AT commands 4 3 1 Socket A oocket A has four work mode TCP Server TCP Client UDP Client UDP server The setting method please refer to the AT NETP command instruction When Socket A confi
68. tion Query the user version and generated time Format AT USERVER CR ok user version generated time CR LF gt lt CR gt lt LF gt gt Parameters user version user version e V1 1 generated time generated time e 2014 08 15 10 15 67 AT xCUSTOMER Function Query customer name Format AT CUSTOMER lt CR gt ok lt customer_name gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters customer name customer name 6 USR General for standard firmware 68 AT RPTMAC Function Query the reporting MAC enable or disable Page 75 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS Format AT RPTMAC CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Status ON enable reporting MAC OFF disable reporting MAC 69 AT WRRPTMAC Function Set the reporting MAC enable or disable Format AT WRRPTMAC lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Status ON enable reporting MAC OFF disable reporting MAC 70 AT WIFI gt Function Enable Disable Wi Fi firmware V1 0 05 or more advanced version gt Format Query Operation AT WIFI lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WIFl lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters status Wi Fi status e DOWN Disable Wi Fi UP
69. 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 CR LF gt lt CR gt lt LF gt gt Parameters TMODE module work mode include e Throughput throughput mode Cmd command mode e Pwm PWM GPIO mode AT MID gt Function Query module ID information Format AT MID CR ok lt module_id gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters module id module ID information e USR WIFI232 S T G2 Jinan USR IOT Technology Limited Page 57 of 87 tec usr cn A SAS Notes User can set this parameter through AT WRMID 6 AT RELD Function module restore to factory default setting Format AT RELD CR ok rebooting lt CR gt lt LF gt lt CR gt lt LF gt When operate this command module will restore to factory default setting and reboot 7 AT Z gt Function Re start module gt Format AT Z CR 8 AT H gt Function Help gt Format AT H CR ok lt command help CR LF gt lt CR gt lt LF gt gt Parameters command help command introduction 9 AT CFGTF Function Copy User Parameters to Factory Default Parameters Format Query Operation AT CFGTF CR ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Status feedback operation status 10 ATtUART gt Function Set Query serial port parameters Setting is valid after reset gt Format Query Ope
70. tore factory settings stably 2 nReset and nReload need 5 kohm 10 kohm pull up resistor nLink Wi Fi link status indicator pin output GPIO low effective USR strongly suggest customer connect out this pin to LED 1 At Smart Link config mode this LED used to indicate APP to finish setting 2 Atnormal mode it s Wi Fi link status indicator nReady Module startup success indicator pin output GPIO low effective Can be connected out to led WPS WPS function start pin input GPIO low effective Can be connected to key UARTO TX RX CTS RTS UART pin GPIO n GPIO which can be controlled by network commands n is control index number PWM N Page 23 of 87 Jinan USR IOT Technology Limited tec usr cn A SAS un USRWIFISZSIT G2I Low Power WiFi Module User Manual__hitp en usr on Module PWM signal output pin Can also be configured as GPIO pin 3 2 Electrical Characteristics Table 7 Electrical Characteristics Typ Parameter Condition min Storage 45 jo NAH Maximum soldering IPC JEDEC EN Voltage on any UC pin ESD Human Body TAMB 25 C ESD Charged TAMB 25 C Device Model CDM UT Parameter Condition Operating Supply voltage Supply current Continuous Tx peak Supply current DTIM 100ms Output high Sourcing 6mA voltage Output low voltage Sinking 6mA Input high voltage Input low voltage BEDV 3 3 Mechanical Size 3 3 1 USR WIFI232 S USR WIFI232 S modules physical s
71. tput 1 Response GPIO OK or GPIO NOK GPIO n GET Read GPlOn pin status Response tok 1 or GPIO NOK GPIO n SET Save GPlOn set Response GPIO OK or GPIO NOK PWM n frequency duty Set PWMn Channel output Response GPIO OK or GPIO NOK PWM n GET Read PWMn Channel set Response ok frequency duty or PWM NOK PWM nSET Save PWMn Channel set Response PWM OK or PWM NOK Y Y NN Y Y 4 2 Wireless Networking USR WIFI232 S T G2 H module can be configured as both wireless STA and AP base on network type can provide a very flexible method for users and network topology Notes AP that is the wireless Access Point the founder of a wireless network and the centre 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 Page 35 of 87 Jinan USR IOT Technology Limited tec usr cn 97 BARK A 4 2 1 STA WI FI Mode Module as the STA is one of the most common networking method as shown below the network consists of a router AP and several STA nodes In this network AP is the center The communication between STA node is forwarded by AP Router AP USR WIFI232 Module Serial device P A TN 6 USR WIFI232 Module Serial device uber Nu IFI USR WIF1232 G2 Figure 28 USR WIFI232 S T G2 H STA WI FI Mode 4 2 2 AP WI FI Mode In AP WI FI Mode
72. ttings area left Choose COM port witch has connect the module there is COM3 choose band rate to 115200 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 PortNum COM3 M BaudR 115200 DPaity NONE v DataB 8 bit 1 bit e Close StopB Recy Options Receive to file Iw Add line return Receive As HEX Receive Pause Save Clear Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Iw Send Recycle Interval B500 ms Load Clear RS232 to Ethernet Convert tester COM port data receive 6686888888888 W WM d d d d da da d d d jo 25 16 09 TE IV ON EAR ANA o o oo oo oo oo o H H HD HH HHH 9 Jinan USR Technology Co Ltd Send Send 330 Recv 221 Network data receive Jinan USR Technology Co Jinan USR Technology Co Jinan USR Technology Co Jinan USR Technology Co Jinan USR Technology Co Jinan USR Technology Co Jinan USR Technology Co Jinan USR
73. two versions respectively supports Internal antenna and external I PEX antenna 1 Internal antenna version USR WIFI232 G2a When customer select internal antenna you shall comply with following antenna design rules and module location suggestions gt For customer PCB RED color region 8 3x18 4mm can t put componet or paste GND net gt Antenna must away from metal or high components at least 10mm gt Antenna can t be shieldedby any meal enclosure All cover include plastic shall away from antenna at least 10mm USR suggest USR WIFI232 G2a module better locate in following region at customer board which to reduce the effect to antenna and wireless signal and better consult USR technical people when you structure your module placement and PCB layout Figure 23 USR WIFI232 G2a Ha Suggested Module Placement Region 2 External antenna version USR WIFI232 G2b If user select external antenna USR WIFI232 G2b modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Table 11 USR WIFI232 G2b External Antenna Parameters tem Parameters Frequency range 2 4 2 5GHz VSWR 2 Max 10dB Max Connector Type I PEX connector Jinan USR IOT Technology Limited Page 29 of 87 tec usr cn 97 BARK A 3 5 Evaluation Kit USR provides USR WIFI232 S T G2 evaluation kit to promote user to comprehend the product and develop the detailed application The evaluation kit show
74. ult Setting SSID USR WIFI232 T G2 IP Address 10 10 100 254 Subnet Mask 255 255 255 0 5 1 2 Open Web Management Interface otep 1 Connect laptop to SSID USR WIFI232 T G2 of module via wireless LAN card otep 2 After wireless connection OK Open Wen browser and access http 10 10 100 254 otep 3 Then input user name and password in the page as following and click OK button Lannect ja 70 10 10 254 zx L dg Ste gata BD LO 10 204 at Gabel r a BrE ier Sei pacte d E E War TPG eee n requir tha jur LETTER aed i eer G be pe iran giecuns manne Dri authenbieaborn y n TIN siet a GBP connecdoon Le een Figure 32 Open Web Management page The USR WIFI232 T G2 web management page support English and Chinese language User can select language environment at the top right corner and click Apply button Jinan USR IOT Technology Limited Page 45 of 87 tec usr cn amp TT Qr HATH The main menu include nine pages System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore 5 1 3 Fast Set SSID Page usrlink At this page user can use usrlink to set SSID fast x English Fast Setting System STA Settin AP Setting Network UART Setting Account Upgrade SW Restart Restore Web Ver 1 0 11 Figure 33 System Web Page xz English Please select your current wireless network Site Survey SSID BSSID RSSI Fast Sett
75. utput GPIO low effective Can be connected out to led WPS WPS function start pin input GPIO low effective Can be connected to key UARTO TX RX CTS RTS Jinan USR IOT Technology Limited Page 18 of 87 tec usr cn i e S A BARBER UART pin GPIO n GPIO which can be controlled by network cammands n is control index number 3 1 2 USR WIFI232 T Pins Definition Figure 12 USR WIFI232 T view 1 2 3 4 5 6 7 8 9 10 LJ A 2 E NL A MIT BE ET d oS e a ecl 2 CG DO U S vum ug P i 1 Q G IA M M M MER K A Do ee wo x nasce Figure 13 USR WIFI232 T pin map Table 5 USR WIFI232 T Pins Definition 3 8V Power DVDD Power 3 3V250mA Module nReload Low effective reset input Recovery Pull up if not use Can be set to Smart Link Pin Low effective reset input Default WPS function Can be set to PWM GPIO18 No connect if not use Default nReady function Can be set to PWM GPIO12 tec usr cn PWM WPS PWM 3 PWM nReady PWM 2 Page 19 of 87 Power soft PWR SW I PU 0 Power Down Mode switch 1 Normal mode Function is reserved Jinan USR IOT Technology Limited amp e SAS EN MED EM No connect if not use PWMf nLink PWM 1 Default nLink function Can be set to PWM GPIO1 1 No connect if not use lt Explanation gt I IN O OUT PU PULL UP I O IN OUT GPIO lt The main pin function description nReset Module rese
76. v 63 channel PWM Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 Return Data ok lt frequency duty B Frequency PWM Channel frequency B Duty PWM Channel duty PWM NOK Command failed COMSettings PortNum coms E BaudR 115200 D DPaity NONE DataB 8 bit StopB 1 bit D Open Recy Options Receive to file jw 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 100 ms Load Clear Le PortNum Parameters gSR ICP232 Iest RS232 to Ethernet Convert tester COM port data receive USR Technology Co Ltd Send 0 Recv 0 PWM channel SET Function Save PWM Channel setting Network data receive LocalHost 192 168 10 101 PWM 11 GET Send Reset L PortHum Port Send Send 133 NetSettings 1 Protocol 2 Server IP 2 Server Port Disconnect Recy Options Receive to file Iw 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 600 ms Load Clear Reset Recv 70 channel PWM Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 Return Data PWM OK Command successful Jinan USR IOT Technology Limited
77. value1 gt Channel PWM Channel number value1 Duty of PWM Channel B 2 5 Save Present GPIO PWM Setting gt Send Data 7a gt Return Data fa B 2 6 Read Resources of Module Send Data 7e gt Return Data fe value1 value2 value3 Value Module s GPIO output pin number Page 84 of 87 Jinan USR IOT Technology Limited tec usr cn i e S A BABE value2 Module s GPIO input pin number value3 Module s PWM pin number Page 85 of 87 Jinan USR IOT Technology Limited tec usr cn A S ARHR Appendix C Contact Information Company Jinan USR IOT Technology Limited Address Floor 11 Building1 No 1166 Xinluo Street Gaoxin Distric Jinan Shandong 250101 China Tel 86 531 55507297 86 531 88826739 Web http en usr cn Support http h usriot com Email sales usr cn Appendix D Disclaimer This document provides information about USR WIFI232 S T G2 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 Appendix E Update History
78. visit USR website download or contact USR engineers Page 78 of 87 Jinan USR IOT Technology Limited tec usr cn 97 BARK A USR WIFI232 T Evaluation Kit Schematic VDD JW bd LL og s VDD FW LOK UI ANSEEI ANA T e The picture shows USR WIFI232 T evaluation kit schematic USR WIFI232 T evaluation board design files please visit USR website download or contact USR engineers Page 79 of 87 Jinan USR IOT Technology Limited tec usr cn BZ BARK A USR WIFI232 G2 Evaluation Kit Schematic i d AH dii wi A dak Hi 1 Y el dE E N 7 3 cr A TE CM UA oou viet EE _ EE ER EE EEE nanan c UREE Li 94 su The picture shows USR WIFI232 G2 evaluation kit schematic USR WIFI232 G2 evaluation board design files please visit USR website download or contact USR engineers Page 80 of 87 Jinan USR IOT Technology Limited tec usr cn 97 5 x5 A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn Appendix B GPIO PWM CONTROL WITH NETWORK COMMANDS User can control module s GPIO PWM port by Send network command after make network connection to module with TCP or UDP protocol If be saved the status of GPIO won t be changed after the module reset The following take USR WIFI232 T for example B 1 Network Command B 1 1 GPIO channel OUT value Function Set GPIO Channel value temporarily needs to be saved if want effective
79. when TCP channel receive any data If the time counter reaches the TCPTO time the tcp channel will be break If SOCKA work in TCP Client it will connect the TCP server instantly and when the module work in TCP Server the TCP client device should make the connection itself 22 AT TCPDIS Function Open Close SOCKA TCP link Format Query Operation AT TCPDIS CR 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 Parameters e On TCP link close e Off TCP link on When query Operation sta Feedback if SOCKA TCP Client is link When Set Operation oft means close TCP link After finish this command module disconnect TCP link and not connect again On means open TCP link After finish this command module re connect TCP server right away 23 AT SOCKB Function Set Query SOCKB network protocol parameters Setting is valid after reset Format Query Operation AT SOCKB lt CR gt ok lt protocol port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT SOCKB lt protocol port IP gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 62 of 87 tec usr cn 97 5 x5 A Usr cn gt USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn Parameters Protocol e TCP Only for TCP Client UD
80. y color region 5 5mm can t put componet or paste GND net Antenna must away from metal or high components at least 10mm gt Antenna can t be shieldedby any meal enclosure All cover include plastic shall away from antenna at least 10mm USR suggest USR WIFI232 G2 module better locate in following region at customer board which to reduce the effect to antenna and wireless signal and better consult USR technical people when you structure your module placement and PCB layout Jinan USR IOT Technology Limited Page 27 of 87 tec usr cn 97 BARK A Figure 21 USR WIFI232 Sa Suggested Module Placement Region 2 external antenna version USR WIFI232 Sb If user select external antenna USR WIFI232 Sb modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Table 9 USR WIFI232 Sb External Antenna Parameters item Paamees 2 Max 1008 Max 3 4 2 USR WIFI232 T USR WIFI232 T support I PEX connector external antenna modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Figure 22 USR WIFI232 T I PEX connector Table 10 USR WIFI232 T External Antenna Parameters Wem Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max Page 28 of 87 Jinan USR IOT Technology Limited tec usr cn i e S A SAS Return Loss 10dB Max 3 4 3 USR WIFI232 G2 USR WIFI232 G2 has
81. yption information input here must be fully same with Wi Fi AP router s configration and then it can link with AP correctly Fx English Mode Selecting TA v Fast Setting Network Name SSID P LINK 14D24E case sensitive System EE Encryption Method A2PSK Y STA Setting M s Encryption Algorithm AP Setting MC CARA IC EE Password Network i BB Show passwords UART Setting T Obtain an IP address automatically Account IP Address 192 168 0 121 Upgrade SW LLL OO Restart Subnet Mask 255 255 255 0 Restore Gateway Address 192 168 0 1 DNS Server Address 202 102 128 68 Web Ver 1 0 11 Jinan USR IOT Technology Limited Page 47 of 87 ainn Bea Uer cn STA Setting AP Setting Network UART Setting Account Upgrade SW Restart Restore 5 1 6 AP Setting Page USR WIFI232 S T G2 H Low Power WiFi Module User Manual Figure 35 STA Setting Page FRE English Please select your current wireless network Site Surve aO LINK USR TEST LINKE USR TEST YL WIFI232 BQ TEST WP3 PINFIRE PRO3 enda 4FFDES etcore olin 8 42 AC 2F D8 20 20 DC E6 EE 38 9A HAHA D8 B0 4C F4 46 48 5 psu 0 e dE AE AE He mE m E ps le AJ Ez 1519 AJ us Kal p C Ln Ka LC Hi Ce m E m m e LAG N006 AC CF 23 2 Web Ver 1 0 11 Figure 36 SSID scan page y SSID BSSID Pea Chame 38 83 45 5D C9 CE
Download Pdf Manuals
Related Search
Related Contents
K-NET01 Engine Sensors Medisana CardioDock civ-1985-1988-aes-m2_supplement_manuel_enqueteur Phonix IP6PBPY mobile phone case Manuel d`utilisation Nokia Drive 3.0 SERVICE MANUAL (SUPPLEMENT) râpe electrique modele: zhc28-zhc29 BENDIX SD-08-2415A User's Manual Copyright © All rights reserved.
Failed to retrieve file