Home
Low Power WiFi Module User Manual
Contents
1. 57 EE Ti gag Ee EE 57 A A FE REEL ER EIEI EC FEENIE T E R A E A 58 AT WEBU 58 5 PACKAGE INFORMATION Jinan USR IOT Technology Limited Page 4 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn 5 2 DEVICE HANDLING INSTRUCTION MODULE IC SMT PREPARATION 0000000000000000 62 5 3 SHIPPING INFORMATION APPENDIX A HW REFERENCE DESIGN scsscsssscssssssssssscssessssssssssesssscessesssssessscesssessssesssscecesesssssseves 64 APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS 66 B 1 NETWORK COMMAND REM 66 B 2 HEXADECIMAL NETWORK COMMAND unesssnesesnesesnensenennenennenennenennenennenssnenssnsnssnenssnenssnennsnennsnennnsennn 69 APPENDIX C HTTP PROTOCOL TRANSFER cccsccssssssssssssssssscsssssssssssssssssssessssssscssssssssessssesssseesseesees 71 C 1 HTTP AT COMMAND E 71 Cid al ATE HDEBURE c agan ag daa tea nene mune dun 71 Gd zu VE TA EE LEBE ee ee E E 71 Cod ge EE 72 Cela O tee 72 irum Alt ER E 72 jon AAA rA 72 APPENDIK D CONTACT INFORMATION 74 Jinan USR IOT Technology Limited Page 5 72 tec usr cn e B A BARR Usr cn Low power WIFI module user manual http en usr cn LIST OF FIGURES Figure 1 USR WIFI232 T Pins Man 13 Figure 2 USR WIEI232 T Mechanical Dimension reete Gagang wang Tenanan 15 Figure 3 USR WIFI232 T External Antenna Gioeture ener 16 bigur
2. USR WIFI232 T module also support upgrade from remote HTTP server keep module connects to AP router befor xcuate remote HTTP upgrade Remote upgrade have two methods Direct Download and Upgrade Configure File Based Upgrade Configure File Based Upgrade Jinan USR IOT Technology Limited Page 21 72 tec usr cn Sein A Usr cn Low power WIFI module user manual http en usr cn AT UPURL command to set the remote directory which the configuration file located AT UPFILE command to set the configuration file name such as AT UPFILE config txt AT UPST command to start remote Application upgrade After excuate this command the module will firstly download configuration file config txt then download the upgrade file base on the URL address listed in the configure file AT UPWEB command to start remote Webpage upgrade After excuate this command the module will firstly download configuration file config txt then download the upgrade file base on the WEB address listed in the configure file AT UPCFG command to start remote Factory Config upgrade After excuate this command the module will firstly download configuration file config txt then download the upgrade file base on the CFG address listed in the configure file AT UPNVR command to start remote NVRAM Data upgrade After excuate this command the module will firstly dow
3. 3 1 Configuration via Web Accessing When first use USR WIFI232 T modules user may need some configuration User can connect to USR WIFI232 T module s wireless interface with following default setting information and configure the module through laptop Table 8 USR WIFI232 T Web Access Default Setting Parameters Default Setting SSID HF LPB100 IP Address 10 10 100 254 Subnet Mask 255 255 255 0 User Name Admin Password Admin Zadel Open Web Management Interface Step 1 Connect laptop to SSID USR WIFI232 T of USR WIFI232 T module via wireless LAN card Step 2 After wireless connection OK Open Wen browser and access http 10 10 100 254 Step 3 Then input user name and password in the page as following and click OK button Connect to 10 10 10 254 The server 10 10 10 254 at GoAhead requires a username and password p without a secure cophection User name amp admin Password Figure 11 Open Web Management page The USR WIFI232 T 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 25 72 tec usr cn S Sing Us cn Low power WIFI module user manual http en usr cn The main menu include nine pages System Work Mode STA Setting AP Setting Other Setting Account Upgrad
4. E para n Parameters if query command or Error code when error happened D CR ASCII 0x0d WB lt LF gt ASCIII 0x0a Error Code Table 9 Error Code Describtion Error Code Description 1 Invalid Command Format 2 Invalid Command 3 Invalid Operation Symbol 4 Invalid Parameter 5 Operation Not Permitted 4 2 2 AT Instruction Set Table 10 AT Instruction Set List Instructio Description n null NULL Managment Instruction Set E Open Close show back function WMODE Set Query Wi Fi work mode AP STA APSTA ENTM Set module into transparent transition mode TMODE Set Query module data transfer mode MID Query module ID information VER Query module software version information RELD Restore to factory default setting FCLR Erase factory setting Z Re start module H Help Configure Parameters Instruction Set CFGRD Batch Read User Configure Parameters CFGWR Batch Write Configure Parameters Jinan USR IOT Technology Limited Page 37 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn CFGFR Batch Read Factory Default Configure Parameters CFGTF Copy User Parameters to Fact
5. 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 0k 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 Set 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 Set Get frame length of UART AutoFrame AT UARTTE Set Query UART free frame triggerf time between two byte AT PING General PING command AT WAP Set Get the AP parameters AT WAKEY Set 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 WSSSID 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 TCPLK 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 to UART AT WANN Set Get The WAN setting if in STA mode A
6. 1000 Unit Byte Auto frame trigger length Jinan USR IOT Technology Limited Page 43 72 tec usr cn sis A U sr cn Low power WIFI module user manual htto en usr cn 4 2 2 19 AT UARTTI El E Function Set Query UART free frame trigger time betw bytes n two E Format Query Operation AT UARTTE lt CR gt 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 lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mode fast free frame trigger time between two bytes is 10ms normal free frame trigger time between two bytes is 50ms 4 2 2 20 AT SEND E Function Send Data at Command Mode E Format AT SEND lt data_lenth gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters data lenth Lenth of send data Range 0 1000 Byte The UART port will wait 3 seconds for input after this command is sent OK The data received from UART port is sent to socket If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 21 AT RECV E Function Receive Data at Command Mode L Format AT RECV lt data_lenth gt lt CR gt tok lt data lenth data_content gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters data lenth Lenth of receive data Range 0 1000 Byte data content contents of receive data If not receive any data in 3 second then feedback ok 0
7. 4800 9600 19200 38400 57600 115200 230400 380400 460800 data bits gt 8 stop bits 1 2 9 parity Jinan USR IOT Technology Limited Page 42 72 tec usr cn sis A http en usr cn Usr cn Low power WIFI module user manual NONE EVEN ODD Flowctrl CTSRTS lt gt NEC No hardware flow control FC hardware flow control 4 2 2 16 AT UARTF W Function Open Close UART auto frame function E Format Query Operation AT UARTF lt CR gt ok lt para gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTF lt para gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters para disable Close auto frame function enable Open auto frame function 4 2 2 17 AT UARTFT E Function Set Query UART auto frame trigger time W Format Query Operation AT UARTFT lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFT lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt M Parameters time Range 100 10000 Unit ms Auto frame trigger time 4 2 2 18 AT UARTFL B Function Set Query UART auto frame trigger length E Format Query Operation AT UARTFL lt CR gt ok lt len gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFL lt len gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt WB Parameters len Range 8
8. AT MID lt CR gt ok module id gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters module id Module ID information USR WIFI232 T Notes User can set this parameter through AT WRMID 4 2 2 6 AT VER E Function Query module software version information E Format Query Operation AT VER lt CR gt ok lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters ver Module software version information Jinan USR IOT Technology Limited Page 40 72 tec usr cn f 5 A BAR Usr cn Low power WIFI module user manual http en usr cn 4 2 2 7 AT RELD B Function module restore to factory default setting E Format Set Operation AT RELD lt CR gt 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 4 2 2 8 AT FCLR E Function Erase factory setting E Format Query Operation AT FCLR lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt 4 2 2 9 AT Z E Function Re start module Format AT Z lt CR gt 4 2 2 10 AT H E Function Help E Format Query Operation AT H lt CR gt ok lt command help gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters command help command introduction 4 2 2 11 AT CFGRD M Function Batch Read User Configure Parameters E Format Query Operation AT CFGRD lt CR gt ok lt config gt lt CR gt lt LF
9. Figure 25 TCPUDPDbg Tools Setting Then click Create button to create a connection Jinan USR IOT Technology Limited Page 32 72 tec usr cn 97 BARK A Usr cn Low power WIFI module user manual http en usr cn Operate Q wei Windows W Help H Language x LN ereateConnn Ri createserver X startserver 29 E Z Connect Sie Disconnall 2 DeleteConn Se 2 B LS J 10 10 100 254 8899 4px S Client Mode F 10 10 100 254 8899 DestIP Sed P AtuoSend Bve iO we Send stop P Server Mode 10 10 100 254 TT Send Hex Send File Send Received Crear Optien Brondhptien Destrort FS jai eed Passa T LocalPort Ke Count Rec StopShow Clear Save Option ShowMex Seb EK Save Un Tine pum mr E Rev 0 Clear Figure 26 TCPUDPDbg Tools Connection Now in transparent transmission mode data can be transferred from CommTools program to TCPUDPDbg program or in reverse You can see data in receiver side will keep same as in sender side 3 3 Typical Application Examples Wireless Control Application User Device USR WIFI232 T Y m gt EZ Bik 35 Figure 27 Wireless Control Application For this wireless control application USR WIFI232 T works as Ad Hoc mode Modul le s serial port connects to user device So control agent Smart phone for this example can manage and control the user device
10. den a alaba kaa ni Bde e US 10 Tela EE E ON 10 1 2 HARDWARE INTRODUCTION sssnesssessonensnensnnenenenensonenenenennensnenennensnensnennenenensnnensnenennensnenenennsnenenenn 12 1 2 1 PINS DEFINITION ereere paren s nnne ENE TEIA EEA EN A EE KET DR GARANE EEE EER EREE araa 12 l 242 ELECTRICAL CHARACTERISTICS dissection rn E HERE EG Ere tutes 13 1225435 MEN S TAE nee HER RH Ea ERI EID E 14 1 224 EXTERNAE ANTENNA 2 ent TR e RE ERE RR REED 15 Latas BEVABUATION KIT 26e BAG saa a a na aaa KE na eee tee eben ed IE apan 15 1 3 TYPICAL APPLICATION escissesesset sseton sete eet ene seen ose eR YUNG END KEN secon SANGA esee DAGANE NENENG EEE ANTENGE 16 1 32 Le HARDWARE TYPICAL APPETCATION iaa did aid dais 16 1 3 2 SMART LED APPLICATION HARDWARE TYPICAL CONNECTION 17 2 FUNCTIONAL eh e rb de 19 2 1 WIRELESS NETWORKING ccscssssssssssssssssssssscscsssessssssessseesssssesesssacscsesesssseassessesesesesssseacaesesesseaees 19 2 1 1 BASIC WIRELESS NETWORK BASED ON AP INFRASTRUCTURE 19 2 1 2 WIRELESS NETWORK BASED ON AP STA sssssssseeeeneee enne nennen nre entren 19 2 WORK MODE TRANSPARENT TRANSMISSION MODERNER 20 3 UART FRAME SCHEME deesset irse irse sis eet sepa sequ sepe ee Ee EE Rn soda ones sevecisesesbsesaades esed eee epe reed Ei OS 21 23 4 UART E EE 21 2 32 EEN e 22 DA ENCRYPTION coc E OTAN 22 2 5 PARAMETERS CONFIGURATION 00000000000000000 nenen ena anane wanen anon anan sns nana KENE rr nr KEE
11. effective reset input UARTO UARTO RX GPIO5 No connect if not use UARTO UARTO TX o GPIO6 No connect if not use Power Control PWR SW I PU 0 Power Down Mode Lowest Switch Power Consumption 1 Normal mode PWM Channel 3 PWM 3 I O Can be configured as WPS GPIO18 No connect if not use PWM Channel 2 PWM 2 I O Can be configured as nReady GPIO12 No connect if not use 10 PWM Channel 1 PWM 1 I O Can be configured as nLink GPIOll Detailed functions see Notes Notes 6 nReload Pin Button function 1 When this pin is set to low during module boot up the module will enter wireless firmware and config upgrade mode This mode is used for customer manufacture USR Technology will provide software tools for customer batch configuration and upgrade firmware during mass production Jinan USR IOT Technology Limited Page 12 72 tec usr cn A BAR Us r cn Low power WIFI module user manual htto en usr cn 2 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 3 After module is powered up long press this button Low gt 3s to make the module recover to factory setting USR Technology strongly suggest customer fan out this pin to connector or button for Manufacture and Smart Link application nLink Pin LED function 1 At wire
12. gt Auto frame trigger time After the trigger time if UART port received data can t reach auto frame trigger length then module will transmitting available data to the network and bypass the auto frame trigger length condition Detailed UART auto frame function can refer to AT instruction set UARTF UARTFT UARTFL introduction 2 4 Encryption Encryption is a method of scrambling a message that makes it unreadable to unwanted parties adding a degr of secure communications There are different protocols for providing encryption and the USR WIFI232 T module supports following WEP PA PSK TKIP PA PSK AES PA2 PSK TKIP PA2 PSK AES KA KA E 2 5 Parameters Configuration USR WIFI232 T module supports two methods to configuration parameters Web Accessing and AT instruction set Web accessing means users can configure parameters through Web browser When USR WIFI232 T module connected to wireless network parameters configuration is done on a PC connected to the same wireless network AT instruction set configuration means user configure parameters through serial interface command Refer to AT instruction set chapter for more detail 2 6 Firmware Update USR WIFI232 T module supports two on line upgrade methods E Webpage Wi Fi Upgrade M Remote Upgrade Webpaged based Wi Fi upgrade please refer to 3 1 8 firmware upgrade page user can upload firmware file from PC to USR WIFI232 T
13. module works as STA mode 2 2 Work Mode Transparent Transmission Mode USR WIFI232 T module support serial interface transparent transmission mode The benefit of this mode is achieves a plug and play serial data port and reduces user complexity furthest In this mode user should only configure the necessary parameters After power on module can automatically connect to the default wireless network and server As in this mode the module s serial port always work in the transparent transmission mode so users only need to think of it as a virtual serial cable and send and receive data as using a simple serial In other words the serial cable of users original serial devices is directly replaced with the module user devices can be easy for wireless data transmission without any changes The transparent transmission mode can fully compatible with user s original software platform and reduce the software development effort for integrate wireless data transmission Jinan USR IOT Technology Limited Page 19 72 tec usr cn Sein A Usr cn Low power WIFI module user manual http en usr cn The parameters which need to configure include gt Wireless Network Parameters E Wireless Network Name SSID M Security Mode E Encryption Key gt TCP UDP Linking Parameters a Protocol Type E Link Type Server or Client E Target Port ID Number E Target Port IP Address gt Serial Port Parameters E Baud Rat
14. 4 2 2 22 AT PING W Function Network PING Instruction E Format Set Operation AT PING lt IP_ address gt lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt NW Parameters sta feedback result Jinan USR IOT Technology Limited Page 44 72 tec usr cn Sein A Usr cn Low power WIFI module user manual http en usr cn Success Timeout Unknown host 4 2 2 23 AT NETP WB Function Set Query network protocol parameters E Format Query Operation AT NETP lt CR gt ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NETP lt protocol CS port IP gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters protocol TCP UDP CS Network mode SERVER CLIENT Port protocol port ID Decimal digit and less than 65535 IP Server s 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 UDP CLIENT the data will always be sent to the IP address and port set by this command 4 2 2 24 AT MAXSK WB Function Set Query TCP Client connection number E Format Query Operation
15. Infrastructure Infrastructure it s also called basic network It built by AP and many STAs which join in The characters of network of this type are that AP is the center and all communication between STAs is transmitted through the AP The figure following shows such type of networking USR WIFI232 T User Device WiFi AP d lb y e ef User Device USR WIFI232 T D e a E a Figure 7 USR WIFI232 T Basic Wireless Network Structure 2 1 2 Wireless Network Based On AP STA USR WIFI232 T module support AP STA network mode means module support one AP interface and one STA interface at the same time as following figure Jinan USR IOT Technology Limited Page 18 72 tec usr cn 5A RE A Usr cn Low power WIFI module user manual http en usr cn router serial device USR WIFI232 T _ a D SCH Server Ter Server TCP gt Clem cell phone PAD D Figure 8 AP STA Network Structure When modul nables AP STA function Module s STA interface can connect with router and connect to TCP server in the network At the same time module s AP interface is also active and permit phone PAD to connect through TCPB then phone PAD can control user device and and setting the module parameters The advantage of AP STA mode is Users can easily setting and track user device through Phone PAD and not change the original network setting Users can easily setting module s parameters through WiFi when
16. LF gt lt CR gt lt LF gt When USR WIFI232 T module firstly switch from transparen configuration mode t transmission to show back status is open input AT E to close show back function input AT E again to open show back function 4 2 2 2 AT WMODE E Function L Format Set Query WIFI work mode Query Operation AT WMODE lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WMODE lt mode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt M Parameters mode Wi Fi work mode AP STA APSTA Jinan USR IOT Technology Limited Page 39 72 tec usr cn f 5 A BARE Usr cn Low power WIFI module user manual http en usr cn 4 2 2 3 AT ENTM M Function Set module into transparent transmition mode E Format AT ENTM lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt When operate this command module switch from configuration mode to transparent transmission mode 4 2 2 4 AT TMODE E Function Set Query module data transfer mode E Format Query Operation AT TMODE lt CR gt ok lt tmode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TMODE lt tmode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters tmode data transfer mode include throughput cmd pwm 4 2 2 5 AT MID NW Function Query module ID information E Format Query Operation
17. MCU need assert nRST signal 0 at least 10ms then set 1 to keep module fully reset nLink Module WIFI connection status indication Output This pin is recommend to connect to LED indicate status when the module in wireless upgrade mode When module connects to AP AP associated this pin will output 0 This signal used to judge if module already at WiFi connection status Thers is pull up resister internal and no external pull up required If nLink function not required can leave this pin open Jinan USR IOT Technology Limited Page 17 72 tec usr cn d Vi A E U Sr CH Low power WIFI module user manual htto en usr cn 2 FUNCTIONAL DESCRIPTION 2 1 Wireless Networking USR WIFI232 T module can be configured as both wireless STA and AP base on network type Logically there are two interfaces in USR WIFI232 T One is for STA and another is for AP When USR WIFI232 T works as AP other STA equipments are able to connect to wireless LAN via USR WIFI232 T module Wireless Networking with USR WIFI232 T is very flexible Notes AP that is the wireless Access Point the founder of a wireless network and the center of the network nodes The wireless router we use at home or in office may be an AP STA short for Station each terminal connects to a wireless network such as laptops PDA and other networking devices can be called with a STA device 2 121 Basic Wireless Network Based On AP
18. Ore AIT RE EE Eer 45 E E NEE 45 KEE EE 45 4222 a LT AB NEE 46 Ee Eeer 46 E E 46 4424 22222 EE 46 422929 TENGE Licet nme reeche 47 M EE 47 da Basa a Aare AIT E E A o ue O 48 4 2 2 26 AT TCPTO 48 Jinan USR IOT Technology Limited Page 3 72 tec usr cn SA A Usr cn Low power WIFI module user manual http en usr cn N SI BP vs BP P ga a BP BP BP BP BP a a4 BP BP BP P a BP BP FP HB BP a BP BP BP BP BP SP BP BP HBP HBP HBP P a BP BP BP AB N NN NB KI BI NY DD N N NY M NY NH PF N NY NY PS NY DD KI BI PS NY BI PC NY NY PN PS PS Ba NY NY PN PN PS PN U NN NB DND M M NYO NY N DD NY NY P NB N NY BI NY PS P DD DD PS P PS PC NY NY PN PS PS NYP b M PN PN PS NH 28 229 30 Sl 32 335 34 Nm 36 edd s 38 AE 40 41 AA 43 44 45 46 47 48 49 00 DL 2923 mE 454 O 56 sola 28 9e 60 Ol 62 63 64 65 66 67 68 AT TCPDIS AT SOCKB AT TCPDISB AT TCPTOB AT TCPLKB AT SNDB AT RCVB AT WSKEY AT WANN AT WSMAC AT WSL AT WSLO AT WSCAN AT WSD AT LANN eg 53 EE 54 EE 54 ATIWADHC P M M 54 EEN DMN ae Anaa E EEE E EE GUE NAYA ES EE E ES 55 RER Ee 55 eege hei osten RO rat viec Gor tere be ert NE 55 NN 56 E O AA eegene tress dee ENEE ege Geen 56 AKI BOPO scritte rp ege REIR TE E OHIO Edge PE RT 56 ud E 56 ALFUPAUTD ER 57 ATFLOGOW m
19. Page 23 72 tec usr cn AE PEE A Usr cn Low power WIFI module user manual http en usr cn Te Serial COM4 SecureCRT ct File Edit View Options Transfer Script Tools Help i SJ 3 53 29 BQ 6S4 eFRI a Seri al Coma BTESOCKB ECD 8899 192 168 10 100 0 AT TCPDISB on AT RCVB 100 0k 0 AT RCVB 10 0k 10 ddddddssdd AT SNDB 10 gt 0k 1 AT TCPLKB ok on AT TCPTOB 0k 0 AT TCPDISB off ok m Ready Serial COM4 26 1 26Rows 72 Cols VT100 Figure 9 Socket B function demo 2 9 Multi TCP Link Connection When USR WIFI232 T module configured as TCP Server it supports Multi TCP link connection and maximum 5 TCP clients permit to connect to USR WIFI232 T module User can realize multi TCP link connection at each work mode Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence Downstream All data from serial port user will be duplicate and broadcast to every TCP connection or client Detailed multi TCP link data transmition structure as following figure WIFI ep ge User Device 1 PAS lt cc User Device 2 E User Device 3 Figure 10 Multi TCP Link Data Transmition Structure Jinan USR IOT Technology Limited Page 24 72 tec usr cn A A BAR Usr cn Low power WIFI module user manual http en usr cn 3 OPERATION GUIDELINE
20. WiFi ON OFF ti C E DTIM 100ms Hardware Dese SUTTON Average 12mA Peak 200mA Parameter Standby WiFi Shutdown 200uA S Power Down Switch 10uA Operating Temp 40 C 85 C Storage Temp 45 C 125 C Di j d EE E ud 22mm x 13 5mm x 6mm Size External Interface 1x10 2mm DIP Network Type STA AP STA AP Securit a WEP WPA PSK WPA2 PSK Mechanisms Encryption WEP64 WEP128 TKIP AES Software l Update Firmware Local Wireless Remot Parameter l Customization Web Page Upgrade Network Protocol IPv4 IPv6 TCP UDP FTP HTTP AT instruction set Android User Configuration iOS Smart Link APP tools 1 1 3 Key Application Remot quipment monitoring O Asset tracking and telemetry Jinan USR IOT Technology Limited Page 10 72 tec usr cn A BARE Usr cn Low power WIFI module user manual http en usr cn Security Industrial sensors and controls Home automation Medical devices Jinan USR IOT Technology Limited Page 11 72 tec usr cn A BAR Us r cn Low power WIFI module user manual htto en usr cn 1 2 Hardware Introduction 1 2 1 Pins Definition STINE of Figure 1 USR WIFI232 T Pins Map Table 2 USR WIFI232 T Pins Definition Pin Description Net Name Signal Comments End SIE 3 3V8250mA Restore nReload I PU Detailed functions see Notes Configuration E Module Reset EXT RESETn I PU Low
21. can access http 10 10 100 254 to set again and user name and password is admin USR WIFI232 T will restore to AP mode for factory default setting Restore Factory Setting System Work Mode STA Setting Important notice j After restoring fac ngs al onfiguration will be AP Setting deleted You can reconfigure it on http 10 10 100 254 Account Other Setting and are both admin Account Upgrade SW Restart Restore Figure 20 Restore Page Jinan USR IOT Technology Limited Page 30 72 tec usr cn 95 BARK A Usr cn Low power WIFI module user manual http en usr cn 3 2 USR WIFI232 T Usage Introduction 3 2 1 Software Debug Tools USR Technology use two common software tools debugging and applying USR WIFI232 T module User can also select other tools used to debug serial port M Serial Debugging Software ComTools amp ComT ools exe E Ethernet Debugging Software TCPUDPDbg PS TCPUDPDbg exe 3 2 2 Network Connection User can select two methods to connect USR WIFI232 T module base on dedicated application Use USR WIFI232 T STA interface USR WIFI232 T and debug PC2 connect to a wireless AP another PC1 or user device connect to USR WIFI232 T module with serial port PC1 USR WIFI232 T WiFi AP Figure 21 STA Interface Debug Connection gt Use USR WIFI232 T AP interface Debug PC2 connect to USR WIFI232 T through wireless connection another PCl or user device connect to U
22. can be 0 100 tec usr cn 0 5 14133 A Usr cn Low power WIFI module user manual http en usr cn r A TCPRUDPRSCT R 192 168 1 141 8899 a a Save In Time PHM OK Operate O View V Windows W Help H Language CreateConnn WS CreateServer I Startserver Y Q SB Connect Sg DisconnAll 3 DeleteConn BW E E Properties AX 75 192 168 1 141 8899 4 gt x B M Client Mode T DestIP SUE p 192 168 1 141 8899 beer Sed F AtusSend Eve OO e sena su EI Server Mode Send Hex Send File Send Received 2 DestPort bes Clear Option BroadOption E et PW 11 500 100 oma Type rcr z AtusConn Eve s AutoSend Eve o ms Disconnect Rec StepShew Clear Save Option I Seven Count El Send Speed B S 0 Receive Speed B S 0 B 1 5 PWM lt channel gt GET Function Query PWM Channel output Parameters channel Number Return Data tok frequency duty frequency PWM Channel frequency duty PWM Channel duty PWM NOK Command failed Operate O View V Windows W Help H Language Pr roperties E M Client Mode gt 192 168 1 141 8899 M Server Mode ax DestIP Ferm DestPort 898 LocalPort Type fier a Eve P s Autosend Eve 0 ms Disconnect Ej CreateConnn WB CreateServer 28 Statserver Y Q 2 Connect SH S
23. data transfer in command mode If any detailed HTTP protocol contact us and we may support customization C 1 HTTP AT command C 1 1 AT HTTPURL E Function Set Query HTTP server IP address and Port Number E Format Query Operation AT HTTPURL lt CR gt ok lt IP Port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPURL lt IP Port gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters IP IP address Port Port number C 1 2 AT HTTPTP E Function Set Query HTTP request type W Format Query Operation AT HTTPTP lt CR gt ok lt Type gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPTP lt Type gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters Type GET default or POST C 1 3 AT HTTPPH E Function Set Query HTTP protocol header path E Format Query Operation AT HTTPPH lt CR gt ok lt Path gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPPH lt Path gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 69 72 tec usr cn A BAR U sr cn Low power WIFI module user manual htto en usr cn E Parameters Path Max length is 50 bytes C 1 4 AT HTTPCN E Function Set Query Connection of HTTP protocol header E Format Query Operation AT HTTPCN lt CR gt ok lt Connection gt lt CR gt lt LF gt lt CR gt lt LF
24. en usr cn 0k lt value gt 6 value GPIO Channel value GPIO NOK Command failed e 34 TCPBUDPANKATE 192 168 1 141 8899 ea Operate O View V Windows W Help H Language Bo CreateConnn e CreateServer J5 FE 192 168 1 141 8899 Properties 2x E SDisconnAll DeleteConn He SE x dbx Ef Client Mode gt 192 168 1 141 8899 M Server Mode IT AtuoSend Eve 100 ns Send Hex Send File Send Received DestIP Send 188 1 141 192 DestPort Less sin Eler Option Broad ption IGPIO 11 GET r 4001 Type rcr M r e Eve 0 s E Eve o ms Disconnect m StopShow Clear Save Option ShowHex Count Send fa oo Save In Time El 1 Rev 8 Clear Send Speed B S 0 Receive Speed B S 0 B 1 3 GPIO channel SET Function Save GPIO Channel setting Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number Return Data GPIO OK Command successful GPIO NOK Command failed B 1 4 PWM channel frequency duty Jinan USR IOT Technology Limited Function Parameters 9 channel PWM Channel number Number it can be 11 Set PWM Channel output temporarily 12 18 GPIO Pin frequency PWM Channel frequency it can be 500 60000 9 duty PWM Channel duty Return Data PWM OK Command successful PWM NOK Command failed Page 65 72 it
25. link On TCP link close off TCP link on when setting 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 Jinan USR IOT Technology Limited Page 46 72 tec usr cn sis A Usr cn Low power WIFI module user manual http en usr cn 4 2 2 28 AT SOCKB WB Function Set Query SOCKB parameters W Format Query Operation AT SOCKB lt CR gt ok lt protocol port I P 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 E Parameters Protocol Protocol type TCP Only for TCP Client UDP Port Protocol Port in decimal less than 65535 IP Destination IP address domain name is support 4 2 2 29 AT TCPDISB E Function Open Close TCP B connection E Format Query Operation AT TCPDISB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation Amt TCPDISB lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters When setting module disconnect TCP link and not connect again link away 4 2 2 30 AT TCPTOB E Function Set Query OperationTCP B timeout E Format Query Operation AT TCPTOB lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Opera
26. log Some status print log from remote upgrade Note After execute this command the USR WIFI232 T will automatic start upgrade base on the setting of UPURL UPFILE command contents 4 2 2 53 AT UPNVR E Function Remote NVRAM data upgrade E Format Query Operation AT UPNVR lt CR gt ok lt log gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters log Some status print log from remote upgrade Note After execute this command the USR WIFI232 T will automatic start upgrade base on the setting of UPURL UPFILE command contents Jinan USR IOT Technology Limited Page 54 72 tec usr cn A BAR U sr cn Low power WIFI module user manual htto en usr cn 4 2 2 54 AT UPAUTO E Function Remote Application Webpage factory setting upgrade E Format Query Operation AT UPAUTO lt CR gt ok lt log gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters log Some status print log from remote upgrade Note After execute this command the USR WIFI232 T will automatic start upgrade Application Webpage factory setting base on the setting of UPURL UPFILE command contents 4 2 2 55 AT LOGSW E Function Open Close remote upgrade logfile E Format Query Operation AT LOGSW lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LOGSW lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters status on Open The UART Port will print
27. wanan rr anon nanananane 22 2 6 FIRMWARE UPDATE ries adana ea anan an aga cete leves en eene nandana reas oce Se sek esee adang pana to lebe suede un 23 2 75 GPTO PWM FUNCTION Rt 24 2 8 SOCKET B FUNCTION c ssesssssccenssssnssosavesanasvsscoasansesvevacsenachevecnsncenevevssnsacasessenscvassinnsvcoaccosnsbevesessosbes 25 2 9 MULTI TCP LINK CONNECTION cccccccssssssssscssssssssssesssssssssssscssssssssssessssssesssseessessesesseesesseesssesees 25 3 OPERATION GUIDELINE enden Sa de coevecossceusectanccceecvavensetavses en sn CUR UO Gee RENE Eo Uses egen pase 27 3 1 CONFIGURATION VIA WEB ACCESSING cccssssssscossssssscsessssssssesesosssssssscesosssssacececorssarseeees 27 3 1 1 OPEN WEB MANAGEMENT INTERFACE eee tenet t tentent 27 E ENEE Eech 28 3 1 43 WORK MODE PAGE iaa 28 3 le STA SETTING PAGE eege tee ag ete amete ien hte rete reete Se 29 14 94 AP SETTING E 29 3 1 6 OTHER SETTING 3 1 7 ACCOUNT MANAGE Jinan USR IOT Technology Limited Page 2 72 tec usr cn 95 BAR A Us r cn Low power WIFI module user manual htto en usr cn 341 9 UPGRADE SOFTWARE PAGE id iii 31 SE ER A A ENER EA S a AEEA AEE RA EA S EEES EEEE Edaria t ipe 32 3 2 USR WIFI232 T USAGE INTRODUCTION uesssssssnsssssssnensssnssnensnsnssnsnsnsnssnsnsnsssnssnensnsn
28. AT MAXSK lt CR gt ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MAXSK lt num gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt NW Parameters num TCP Client connection number Range 1 5 5 is the default value it means when the module work in TCP server it accepts max 5 TCP client connect to it Jinan USR IOT Technology Limited Page 45 72 tec usr cn 95 BAR A Usr cn Low power WIFI module user manual http en usr cn 4 2 2 25 AT TCPLK M Function Query if TCP link already build up E Format AT TCPLK lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters sta if module already setup TCP link on TCP link setup off TCP link not setup 4 2 2 26 AT TCPTO E Function Set Query TCP timeout E Format Query Operation AT TCPTO lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTO lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters time TCP timeout time gt lt 600 600s gt gt 0 0 means no timeout lt Default 300s 4 2 2 27 AT TCPDIS E Function Open Close TCP link E Format Query Opera AT TCPDIS lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDIS on off CR ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters When query sta Feedback if TCP Client can be
29. AT MSLP Function Set Query deep sleep standby mode parameters Format Query Operation AT MSLP lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MSLP lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters ret normal normal mode 100ms interval mode normal normal mode 100ms interval standby WiFi shut down mode AT NTPRE Function Set Query time calibration interval Format Query Operation AT NTPRF lt CR gt 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 lt CR gt lt LF gt lt CR gt lt LF gt Parameters Jinan USR IOT Technology Limited Page 56 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn 4 2 2 61 4 2 2 62 4 2 2 63 4 2 2 64 Jinan USR num time calibration inverval range 0 720 default 30 minutes 10 minutes for each step set 0 means no time calibration automatically AT NTPEN Function Enable Disable time calibration function Format Query Operation AT NTPEN lt CR gt 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 lt CR gt lt LF gt lt CR gt lt LF gt Parameters status status of time calibration 6 on Enable time calibration 6 off Disable time calibration AT NTPTM Function
30. CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters 9 ret Disconnected lt gt if no WiFi connection AP s WiFi signal strength if WiFi connection available 4 2 2 40 AT WSCAN M Function Scan AP E Format AT WSCAN lt CR gt ok lt ap_site gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters Jinan USR IOT Technology Limited Page 50 72 tec usr cn A BAR U sr cn Low power WIFI module user manual htto en usr cn ap site AP searched 4 2 2 41 AT WSDNS E Function Set Query STA static DNS server address E Format Query Operation AT WSDNS lt CR gt 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 lt CR gt lt LF gt lt CR gt lt LF gt B Parameters address STA s DNS server address Effective right away 4 2 2 42 AT LANN E Function Set Query AP s network parameters E Format Query Operation AT LANN lt CR gt ok lt ipaddress 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 lt CR gt lt LF gt lt CR gt lt LF gt E Parameters ipaddress AP s IP address mask AP s net mask 4 2 2 43 AT WAP E Function Set Query AP Wi Fi parameters E Format Query Operation AT WAP lt CR gt ok lt wifi_mode ssid channel gt lt CR gt lt LF gt lt CR gt lt LF g
31. Hardware Typical Connection Other Control Function PWM Control LED Driver Selectable Control Function GND Figure 6 USR WIFI232 T Smart LED Application Hardware Connection Notes Jinan USR IOT Technology Limited Page 16 72 tec usr cn Vi A BAR Usr cn Low power WIFI module user manual http en usr cn nReset Module hardware reset signal Input Logics 0 effective There is pull up resister internal and no external pull up required When module power up or some issue happened MCU need assert nRST signal 0 at least 10ms then set 1 to keep module fully reset nReload Module restore to factory default configuration Input Logics 0 effective This pin is recommend to connect to button is used to enter wireless upgrade mode User can de assert nReload signal 0 more than 3s through button or MCU pin then release module will restore to factory default configuration and re start boot up process If nReload function not required can leave this pin open UARTO TXD RXD UART port data transmit and receive signal PWM n PWM control signal output It can also be configured as GPIO output AT LPTIO on command configure PWM 1 pin as nLink PWM 2 pin as nReady PWM 3 as WPS function nReset Module hardware reset signal Input Logics 0 effective There is pull up resister internal and no external pull up required When module power up or some issue happened
32. Query network time Format Query Operation AT NTPTM lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters time networ 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 AT WRMID Function Set module ID Format Set Operation AT WRMID lt wrmid gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters wrmid set module s ID within 20 characters AT RLDEN Function Set Query GPIO45 function status Format Query Operation AT RLDEN lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT RLDEN lt status gt lt CR gt IOT Technology Limited Page 57 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters status The status of modules GPIO45 nReload function on GPIO45 function nReload is enabled lt gt off GPIO45 function is disabled 4 2 2 65 AT ASWD E Function Set Query WiFi Configuration Password E Format Query Operation AT ASWD lt CR gt tok aswd 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 E Parameters aswd WiFi Configuration Password within 20 characters 4 2 2 66 AT MDCH M Funct
33. SR WIFI232 T Default VART Port Parameters 38 Figure 31 Switch to Configuration MOdS edente niece dais 38 Figure 32 ATH Instruction for HS scole ena eee bens 39 Figure 33 Reflow Soldering Profile sss nennen entente erret tree rennes 63 Jinan USR IOT Technology Limited Page 6 72 tec usr cn 95 BAR A Usr cn Low power WIFI module user manual http en usr cn LIST OF TABLES Table 1 USR WIFI232 T Module Technical Specifications 10 Table 2 USR WIEI232 T uns DEE UMA LO egens ns ipic eii EL tete AN AGENG SEN 12 Table 3 Absolute Maximum RATA As 13 Table 4 Power SUBDIT amp Power Consimpe Ton ee 13 Table 5 USR WIFI232 T External Antenna Parameter 15 Table 6 USR WIFI232 T Evaluation Kit Interface Description 15 Table 7 USR WIFI232 T GPIO PWM Pin Mapping Table Table 8 USR WIFI232 T Web Access Default Setting Table 9 Error Code DescribtlOTn 5 estet teiieeeetere tite rerit Table 10 AT Instruction Set List Table 11 Reflow Soldering Parameter Jinan USR IOT Technology Limited Page 7 72 tec usr cn f r A BARE Usr cn Low power WIFI module user manual http en usr cn HISTORY Ed v1 0 08 01 2013 First Version Ed v1 1 09 11 2013 Update AT command Ed V1 2 10 12 2013 Update AT command Update PWM GPIO function Add HTTP protocol demo Add auto frame function Ed V1 3 10 18 2013 Add nReload Pin wireless upgrade and config description add nLink Pin wire
34. SR WIFI232 T module with serial port PC1 PC2 USR WIFI232 T UART 5 egen Qu qu ege t lt gt Figure 22 AP Interface Debug Connection 32 3 Default Parameter Setting Default SSID HF LPB100 Deault security mode open none User UART parameter setting 115200 8 1 None Default network parameter setting TCP Server 8899 10 10 100 254 Module IP address dhcp 0 0 0 0 0 0 0 0 0 0 0 0 Jinan USR IOT Technology Limited Page 31 72 tec usr cn A BARE U sr cn Low power WIFI module user manual htto en usr cn 3 2 4 Module Debug PC1 open CommTools program setting the same serial port parameters with USR WIFI232 T module and open serial port connection Figure 23 CommTools Serial Debug Tools PC2 open TCPUDPDbg program and create a new connection If USR WIFI232 T configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mode connection 52 TTA E TCP amp UDP Debug Operate O View V Windows W Help H Language D Createconnn Ri CreateServer 28 startServer 4 O 2 Connect Sie Disconnal NE Disc X DisconnectAll A XX DeleteConnection E SE DeleteallConn L exito Figure 24 TCPUDPDbg Tools Create Connection Then setting the TCP UDP connection parameters Default as following Create Connection x LocalPort Auto AutoConn Eve F s Send When Conn Eve ae e
35. T 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 32 AT H Instruction for Help 4 2 1 Instruction Syntax Format AT Instruction protocol is based on the instruction of ASCII command style the description of syntax format as follow Format Description E lt gt Means the parts must be included a II Means the optional Gart Command Message AT lt CMD gt op para 1 para 2 para 3 para 4 CR E AT Prefix of command message E CMD Command string a op Symbol of command operator 9 The command requires parameters input NULL Query the current command parameters setting a para n Parameters input for setting if required B lt CR gt Enter Key it s 0x0a or Ox0d in ASCII Jinan USR IOT Technology Limited Page 36 72 tec usr cn A BARE Usr cn Low power WIFI module user manual http en usr cn Notes When input AT Instruction AT lt CMD gt character will display capital letter automatic and other_parts will not change as you input gt Response Message lt RSP gt op para 1 para 2 para 3 para 4 lt CR gt lt LF gt lt CR gt lt LF gt W Prefix of response message E RSP Response string ok Success 9 ERR Failure a op
36. 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 Jinan USR IOT Technology Limited Page 60 72 tec usr cn S BARK U Sr CH Low power WIFI module user manual htto en usr cn Note Window time means from last bake end to next reflow start that has 168 hours space 5 3 Shipping Information TRAY BOX Size 420 245 34 mm Size 422 247 72 mm inside Note 1 tray 5 20pcs 100 pcs 1 box 2 trays 2 100 pcs 200pcs Jinan USR IOT Technology Limited Page 61 72 tec usr cn 95 TEE A U Sr CH Low power WIFI module user manual htto en usr cn APPENDIX A HW REFERENCE DESIGN UART RX UART TX e 21d Jinan USR IOT Technology Limited Page 62 72 tec usr cn SA A Usr cn Low power WIFI module user manual http en usr cn Detailed USR WIFI232 T Evaluation Board design source files pls access USR Technology web download page or contact with USR Technology technical support people to acquire Jinan USR IOT Technology Limited Page 63 72 tec usr cn AE PEE A Usr cn Low power WIFI module user manual http en usr cn APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS Send command data to control module s GPIO PWM port aft
37. acket will be sent as the following instance POST abcd HTTP 1 1 Connection keep alive User Agent lwipl 3 2 Content Length 4 Host 192 168 0 127 8999 abcd The data received from HTTP server will be output to serial port and end with tok If the module hasn t received data from HTTP server for 5 second it will cut the TCP link with HTTP server Jinan USR IOT Technology Limited Page 71 72 tec usr cn A E Usr cn Low power WIFI module user manual http en usr cn APPENDIX D CONTACT INFORMATION Jinan USR IOT Technology Limited Address 1 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 803 Web http en usr cn Skype lisausr Email sales usr cn tec usr cn END OF DOCUMENT Jinan USR IOT Technology Limited Page 72 72 tec usr cn
38. age tec usr cn 4 BARR Us cn Low power WIFI module user manual http en usr cn S l 74 Account Management Page This page set web server s user name and password Set a New Account and Password System Work Mode STA Setting AP Setting Current P rd admin Other Setting New User Name Current User Name admin Account Upgrade SW Restart Restore New Password Figure 17 Account Page 3 1 9 Upgrade Software Page User can upgrade new software firmware version through Wi Fi x English Upgrade Software System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore Current version V1 1 6 RN E Figure 18 Upgrade SW page sl 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 29 72 tec usr cn 4 BARR Us cn Low power WIFI module user manual http en usr cn Restart Device System Work Mode STA Setting Important notice i After restart you will need to re login the configuration interface It AP Setting mmended to restart after completing all configurations Other Setting start will interrupt the network for a very short period are you o restart now Account Upgrade SW Restore Figure 19 Restart Page 3 1 10 Restore Page After module restore factory default setting all user configuration profile will lose User
39. ction E Format Query Operation AT LPTIO lt CR gt 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 LF gt B Parameters staus Enable Disable nReady nLink function PWM 1 pin is for nLink function PWM 2 pin is for nReady function on Enable nReady nLink function lt gt off Disable nReady nLink function Jinan USR IOT Technology Limited Page 59 72 tec usr cn f 5 A BARE Usr cn Low power WIFI module user manual http en usr cn 5 PACKAGE INFORMATION 5 1 Recommended Reflow Profile SET Figure 33 Reflow Soldering Profile Table 11 Reflow Soldering Parameter 1 Reflow Time Time of above 35 55 sec 220 Note 1 Recommend to supply N2 for reflow oven 2 N2 atmosphere during reflow 02 lt 300ppm 5 2 Device Handling Instruction Module IC SMT Preparation 1 Shelf life in sealed bag 12 months at 30 C and 60 relative humidity RH 2 After bag is opened devices that will be re baked required after last baked with window time 168 hours 3 Recommend to oven bake with N2 supplied 4 Recommend end to reflow oven with N2 supplied 5 Baked required with 24 hours at 125 5C before rework process for two modules one is new module and two is board with module 6 Recommend to store at 10 RH with vacuum packing 7 If SMT process needs twice reflow 1
40. e W Data Bit M Parity Check Bit W Stop Bit E Hardware Flow Control 2 3 UART Frame Scheme 2 3 4 UART Free Frame USR WIFI232 T support UART free frame function If user select open this function module will check the intervals between any two bytes when receiving UART data If this interval tim xceeds defined value 50ms default USR WIFI232 T will think it as the end of one frame and transfer this free frame to WiFi port or USR WIFI232 T will receive UART data until 1000 bytes then transfer 1000 bytes frame to WiFi port USR WIFI232 T s default interval time is 50ms User can also set this interval to fast 10ms through AT command But user have to consider if user MCU can send UART data with 10ms interval or the UART data may be divide as fragment Through AT command AT UARTTE fash normal user can set the interval time fast 10ms and normal 50ms PRESAS UART Auto Frame USR WIFI232 T support UART auto frame function If user select open this function and setting auto frame trigger length and auto frame trigger time parameters then module will auto framing the data which received from UART port and transmitting to the network as pre defined data structure gt Auto frame trigger length The fixed data length that module used to transmitting to the network Jinan USR IOT Technology Limited Page 20 72 tec usr cn SA A Usr cn Low power WIFI module user manual http en usr cn
41. e 3 1454 AP Setting Page When user select module works at AP and AP STA mode then need setting this page and provide wireless and network parameters Most of the system M support DHCP to achieve IP address so we suggest to Enable DHCP server in most applications Jinan USR IOT Technology Limited Page 27 72 tec usr cn 2 BAR Usr cn Low power WIFI module user manual http en usr cn Wireless AP Setting System Network Mode Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore Network Name SSID Wireless AP Security Setting Encryption Mode Network Parameters Setting AECF23FF0020 ctC e 2412MHz channel 1 ES IP Address DHCP Gateway Setting 10 Y Subnet Mask DHCP Server Figure 15 3 1 6 Other Setting Page AP Setting Page USR WIFI232 T usually works at data transparent transmission mode At this mode communicate with remote PC or server At this page the user device which connected with USR WIFI232 T will connect and user need setting serial port communication parameters and defines TCP related protocal parameters Wireless AP Setting System peta Work Mode Ges STA Setting AP Setting Other Setting Account Wireless AP Security Setting Upgrade SW ETHER MOM Restart Restore Network Parameters Setting P Address DHCP Gateway Setting Figure 16 Jinan USR IOT Technology Limited Page 28 72 Other Setting P
42. e 4 USR WIEI292 T Evaluation Kita RIGHE a EN aaa AG BE GAE GG WE sana 16 Figure 5 USR WIFI232 T Hardware Typical Applioeation senene 17 Figure 6 USR WIFI232 T Smart LED Application Hardware Connection 18 Figure 7 USR WIFI232 T Basic Wireless Network Structure 20 Figure EE 21 Figure 9 Socket B function demo 26 Figure 10 Multi TCP Link Data Transmition Structure 26 Figure ll Open Web Management page a eee E ep be ve ea ree Pe TENANAN 28 Elg re 12 SY stem Web P398 dien ER REDE ERR ERO Re EE ERE CHEER E 29 Figure 13 Work Mode Page aaa aan aaa da Gen NEK tra re at e ec eere ren e ree I Een 30 Figure 14 STA E 30 PAGE er Lo AP Setting EE 31 Figure l6 Other Setting Page E 31 Figure 17 Account Page 32 kxgur Tg Upgrade SW gage sette ee b RR RE EA DENE EE NIN GAN NE NENG ie deer EIER 32 PAGUE RS Badger cn nD DID LL UL MID 33 Eig re 20 Restore Page cos a dele ers NE NA Spare E ERR GR ERR EE HIS 33 Figure 21 STA Interface Debug Connection esaet ie teri erri eps 34 Figure 22 AP Interface D bug GConnectlOn eee neve iiie rae Nee eter eed 34 Figure 23 Commlools Serial Debug TOOlS z dede tiara 35 Figure 24 TCRUDPDbg Tools Create Connection 35 Figure 25 TCPUDPDbg Tools Setting Figure 26 TCPUDPDbg Tools Connection Figure 27 Wireless Control Application Figure 28 Remote Management Application Figure 29 Transparent Serial Port Application trente rine rrr es S Figure 30 U
43. e SW Restart Restore Suede Zs 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 WR Engish Figure 12 System Web Page 3 1 3 Work Mode Page USR WIFI232 T module can works at AP mode to simplify user s configuration can also works at STA to connect remote server through AP router Also it can configure at AP STA mode which provide very flexible application for customers Select Mode System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore Jinan USR IOT Technology Limited Page 26 72 tec usr cn 0 5 14133 A Us cn Low power WIFI module user manual http en usr cn Figure 13 Work Mode Page 3 1 4 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 encryption information input here must be fully same with Wi Fi AP router s configration and then it can link with AP correctly FX English Network Name SSID cH seen Note case sensitive Encryption Method Disable r Obtain an IP address automatically System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore IP Address Subnet Mask Gateway Address DNS Server Address Figure 14 STA Setting Pag
44. er make network connection with TCP or UDP protocol The status of GPIO won t be changed if the module is reset B 1 Network Command B 1 1 GPIO lt channel gt OUT lt value gt E Function Set GPIO Channel value temporarily o E Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number value GPIO Channel value 1 high voltage O low voltage E Return Data GPIO OK Command successful GPIO NOK Command failed e 3 TCPRUDPRIRLB 192 168 1 141 8899 loa Operate O View V Windows W Help H Language x CreateConnn WS CreateServer 38 B Q S Connect g DisconnAIl DeleteConn 3 amp 2 Properties ax 192 168 1 141 8899 KE E M Client Mode DestIP Fe 6 192 168 1 141 8899 era MUT Wel p e 53 EL Server Mode Send Mex Send File Send Received Clear Option Brosdption DestPort 8899 7 LocalPort ZER P 4001 Type rcr AtuoConn Eve D s E Eve 0 ms Commect_ Rec StopShow Clear Save Option I ShowHex E 7 Save In Tine ei e E ave In Time eem OK Rev f Clear Send Speed B S 0 Receive Speed B S 0 B 1 2 GPIO lt channel gt GET B Function Query GPIO Channel value W Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number M Return Data Jinan USR IOT Technology Limited Page 64 72 tec usr cn e A BARK Us cn Low power WIFI module user manual http
45. g Disconndll 3 DeleteConn Y k Prope 9E 192 168 1 141 8899 Send IT AtuoSend Eve roo ns Send Hex Send File Send Received Clear Option Broad ption PWM 11 GET Rec StopShor Clear Save Option ShowHex Save In Time 500 100 Send Speed B S 0 Receive Speed B S 3 Jinan USR IOT Technology Limited Page 66 72 PWM Channel number it can be 11 12 18 GPIO Pin tec usr cn 92 PEE A Usr cn Low power WIFI module user manual http en usr cn B 1 6 PWM channel SET Function Save PWM Channel setting Parame Lers channel PwM Channel number it can be 11 12 18 20 GPIO Pin num Return ber Data PWM OK Command successful PWM NOK Command failed B 2 Hexadecimal Network Command Send hexadecimal data to fastly read module s port status B 2 1 Read All PWM Channel Frequency Send Data 30 Return Data b0 lt valuel value2 value3 value4 value5 value6 value7 value8 valuel High byte of PWM Channel O GPIO11 frequency value2 Low byte of PWM Channel O GPIO11 frequency value3 High byte of PWM Channel 1 GPIO12 frequency value4 Low byte of PWM Channel 1 GPIO12 frequency value5 High byte of PWM Channel 2 GPIO18 frequency value6 Low byte of PWM Channel 2 GPIO18 frequency value7 Not used value8 Not used B 2 2 Write PWM Channel Frequency Send Data 32 cha
46. gt Set Operation AT HTTPCN lt Connection gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters Connection Max length is 20 bytes C 1 5 AT HTTPUA E Function Set Query User Agent of HTTP protocol header E Format Query Operation AT HTTPUA lt CR gt ok lt Parameter gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPUA lt Parameter gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters Parameter Max length is 20 bytes C 1 6 AT HTTPDT B Function Send HTTP request or data E Format Set Operation AT HTTPDT lt Data gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt W Parameters Data HTTP request data send AT HTTPDT directly if no data to be sent C 2 HTTP Example HTTP parameter settings are as follows AT HTTPURL 192 168 1 1 80 Set HTTP server address and port AT HTTPTP POST Set HTTP request type AT HTTPPH abcd Set HTTP protocol header path AT HTTPCN keep alive Set HTTP Connection area Jinan USR IOT Technology Limited Page 70 72 tec usr cn AE PEE A Usr cn Low power WIFI module user manual http en usr cn AT HTTPUA lwipl 3 2 Set HTTP User Agent area If send AT HTTPDT the data packet will be sent as the following instance including the two new line POST abcd HTTP 1 1 Connection keep alive User Agent lwip1 3 2 Content Length 0 Host 192 168 0 127 8999 If send AT HTTPDT abcd the data p
47. gt lt CR gt lt LF gt E Parameters config the first two bytes means the length of configuration parameters 4 2 2 12 AT CFGWR NW Function Batch Write User Configure Parameters E Format Set Operation Jinan USR IOT Technology Limited Page 41 72 tec usr cn A BAR U sr cn Low power WIFI module user manual htto en usr cn AT CFGWR lt config gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters config the first two bytes means the length of configuration parameters 4 2 2 13 AT CFGFR E Function Batch Read Factory Default Configure Parameters E Format Query Operation AT CFGFR lt CR gt ok lt config gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters config the first two bytes means the length of configuration parameters 4 2 2 14 AT CFGTF E Function Copy User Parameters to Factory Default Parameters E Format Query Operation AT CFGTF lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters status feedback operation status 4 2 2 15 AT UART E Function Set Query serial port parameters E Format Query Operation AT UART lt CR gt tok lt baudrate data bits stop bit parity gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data bits stop_bit parity gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters baudrate 300 600 1200 1800 2400
48. ion Set Query STA network setting E 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 W Parameters mode STA s IP network setting static Static IP DHCP Dynamic IP address STA IP address mask STA subnet mask gateway STA gateway address Jinan USR IOT Technology Limited Page 49 72 tec usr cn sis A Usr cn Low power WIFI module user manual http en usr cn 4 2 2 37 AT WSMAC E Function Set Query STA MAC address parameters E Format Query Operation AT WSMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSMAC lt code mac _address gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters code security code 8888 default value Mac address STA MAC address such as ACCF23FF1234 4 2 2 38 AT WSLK E Function Query STA WiFi link status E Format Query Operation AT WSLK lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters 9 ret Disconnected if no WiFi connection Apr SSID AP s MAC if WiFi connection available gt RF Off if WiFi OFF 4 2 2 39 AT WSLO B Function Query STA WiFi signal strength E Format Query Operation AT WSLO lt
49. ion Set Wi Fi Auto Switch Function E Format Query Operation AT MDCH lt CR gt 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 LE gt lt CR gt lt LF gt E Parameters mode wi Fi Auto Switch Mode offDisable Wi Fi auto switch 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 3 120 unit minute Set the time interval to reset itself when abnormal 4 2 2 67 AT TXPWR E Function Set Query Wi Fi Transmit Power Real Transmit Power Default Transmit Power 16dBm Setting Value 0 5dBm E Format Query Operation AT TXPWR lt CR gt 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 lt CR gt lt LF gt lt CR gt lt LF gt Jinan USR IOT Technology Limited Page 58 72 tec usr cn Sein A Usr cn Low power WIFI module user manual http en usr cn E 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 ata minium of 4dBm Reboot to make this setting change valid It will not restore to default if reload the module 4 2 2 68 AT LPTIO E Function Enable Disable module s nReady nLink fun
50. less firmware and config upgrade mode this LED used to indicate configure and upgrade status 2 At Smart Link config mode this LED used to indicate APP to finish setting 3 At normal mode it s Wi Fi link status indicator USR Technology strongly suggest customer fan out this pin to LED 1 2 2 Electrical Characteristics Table 3 Absolute Maximum Ratings Maximum soldering IPC JEDEC J STD 020 temperature sy vereage RR ER p ed EN Voltage on any I O pin ESD Human Body Model HBM TAMB 25 C ESD Charged Device Model TAMB 25 C 1 KV CDM Table 4 Power Supply amp Power Consumption Output low voltage Sinking 6mA Input low voltage 0 8 V ES ER E EE f ES ES EX Jinan USR IOT Technology Limited Page 13 72 tec usr cn 95 BARK A U sr cn Low power WIFI module user manual htto en usr cn 1 2 3 Mechanical Size USR WIFI232 T modules physical size Unit mm as follows 0000000000 ba o coooo J Antenna PAD Unit mm P Pcs ES Chipset Connector Figure 2 USR WIFI232 T Mechanical Dimension 1 2 4 External Antenna USR WIFI232 T supports two way of external antenna as the following picture show The IPEX interface or the PAD interface The user may choose one of them If user select external antenna USR WIFI232 T modules must E 802 11b g n standards I be connected to the 2 4G antenna accordi
51. less upgrade indication description Jinan USR IOT Technology Limited Page 8 72 tec usr cn 95 BAR A Usr cn Low power WIFI module user manual http en usr cn 1 PRODUCT OVERVIEW 1 1 General Description The USR WIFI232 T 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 SPI USB interface for data transfer USR WIFI232 T 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 The USR WIFI232 T employs 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 data on an infrequent basis The USR WIFI232 T integrates all Wi Fi functionality into a low profile 23 1x32 8x 2 7mm SMT module package that can be easily mounted on main PCB with application specific circuits Also module provides built in antenna external antenna option 1 1 1 Device Features Single stream Wi Fi 2 4 GHz with support for WEP security mode as well as WPA WPA2 Based on Self developed High Cost Perfo
52. ng to IE The antenna parameters required as follows Figure 3 USR WIFI232 T External Antenna picture Jinan USR IOT Technology Limited Page 14 72 tec usr cn A BARE Usr cn Low power WIFI module user manual htto en usr cn Table 5 USR WIFI232 T External Antenna Parameters 1 42 54 Evaluation Kit USR Technology provides the evaluation kit to promote user to familiar the product and develop the detailed application The evaluation kit shown as below user can connect to USR WIFI232 T module with the RS 232 UART manage the module or do the some functional tests The EVK support 5V DC power supply Figure 4 USR WIFI232 T Evaluation Kit The external interface description for evaluation kit as follows Table 6 USR WIFI232 T Evaluation Kit Interface Description External RS232 Main data command RS 232 interface ID SINE DC5V DC jack for power in 5V input Used to reset the module Restore factory default configuration nReload after push this pin more than 3s See 1 2 1 Jinan USR IOT Technology Limited Page 15 72 tec usr cn Vi A BAR U Sr CH Low power WIFI module user manual htto en usr cn 1 3 Typical Application 13 1 Hardware Typical Application User Board USR WIFI232 T UARTO RXD UARTO TXD nReset nReload PWR SW GPIO8 GPIO9 GPIO10 GND Figure 5 USR WIFI232 T Hardware Typical Application 1 34 25 Smart LED Application
53. nload configuration file config txt then download the upgrade file base on the NVR address listed in the configure file AT UPAUTO command to start remote upgrade After excuate this command the module will firstly download configuration file config txt then download the upgrade file base on the URL WEB CFG address listed in the configure file It include the functions of AT UPST AT UPWEB AT UPCEG General config txt file format as following example URL http 10 10 100 100 80 1pb bin WEB http 10 10 100 100 80 web bin NVR http 10 10 100 100 80 nvram dat CFG http 10 10 100 100 80 cfg bin URL the URL address of Application WEB the URL address of Webpage NVR the URL address of NVRAM data CFG the URL address of Factory Parameter File Direct Download and Upgrade AT UPURL command to set the remote directory and file name After excuate this command the module will directly download the lpb bin file from remote directory and start upgrade Application Notes please contact with USR Technology technical people before upgrade firmware or maybe damage the module and can t work again Jinan USR IOT Technology Limited Page 22 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn 2 7 GPIO PWM Function USR WIFI232 T module can provide many GPIOs which include max 3 PWM control pins Use
54. nnel valuel value2 channel PWM Channel number valuel High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency Return Data b2 lt channel valuel value2 gt Channel PWM Channel number valuel High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency B 2 3 Read All PWM Channel Duty Send D Return o ata 20 Data a0 lt valuel value2 value3 value4 gt valuel Duty of PWM Channel O0 value2 Duty of PWM Channel 1 value3 Duty of PWM Channel 2 value4 Not used B 2 4 Write PWM Channel Duty Jinan USR IOT Technology Limited Page 67 72 tec usr cn 95 BAR A Usr cn Low power WIFI module user manual http en usr cn E Send Data 22 channel valuel gt channel PWM Channel number valuel Duty of PWM Channel M Return Data a2 lt channel valuel gt Channel PWM Channel number valuel Duty of PWM Channel B 2 5 Save Present GPIO PWM Setting WB Send Data 7a E Return Data fa B 2 6 Read Resources of module E Send Data 7e M Return Data fe lt valuel value2 value3 gt valuel Module s GPIO ouput pin number value2 Module s GPIO input pin number value3 Module s PWM pin number Jinan USR IOT Technology Limited Page 68 72 tec usr cn c HAR A Us cn Low power WIFI module user manual http en usr cn APPENDIX C HTTP PROTOCOL TRANSFER USR WIFI232 T module support http
55. ory Default Parameters UART Instruction Set UART Set Query serial port parameters UARTFT Open Close UART auto frame function UARTFT Set Query UART auto frame trigger time UARTFL Set Query UART auto frame trigger length UARTTE Set Query UART free frame triggerf time between two bytes Command Mode Set SEND Send Data at Command Mode RECV Receive Data at Command Mode Network Instruction Set PING Network Ping Instruction NETP Set Query network protocol parameters MAXSK Set Query TCP Client connection number TCPLK Query if TCP link already build up TCPTO Set Query TCP timeout TCPDIS Open Close TCP link SOCKB Set Query SOCKB parameters TCPDISB Open Close SOCKB TCP link TCPTOB Set Query SOCKB TCP timeout TCPLKB Query if SOCKB TCP link already build up SNDB Send data to SOCKB in Command Mode RCVB Receive data from SOCKB in Command Mode Wi Fi STA Instruction Set Effective when module works as STA WSKEY Set Query STA security parameters WSSSID Set Query associated AP SSID parameters WANN Set Query STA s network parameters WSMAC Set Query STA s MAC address WSLK Query STA Wi Fi link status WSLO Query STA Wi Fi signal strength WSCAN Scan AP WSDNS Set Query STA s Static DNS server address Wi Fi AP Instruction Set Effective when module works as AP LANN Set Query AP s network parameters WAP Set Query AP Wi Fi parameters WAKEY Set Query AP security parameters WAMAC Set Query AP MAC address WADHCP Set Quer
56. r devices can read write GPIO PWM pins status Table 7 USR WIFI232 T GPIO PWM Pin Mapping Table i um Configured Describtion Default Function Setting GE When module works at PWM mode PC and other equipts can setup connection TCP UDP through WiFi then read write GPIO PWM information through command gt GPIO n OUT 0 Set GPIOn as output and output 0 Response GPIO OK or GPIO NOK gt GPIO n OUT 1 Set GPIOn as output and output 1 Response GPIO OK or GPIO NOK GPIO n GET Read GPIOn pin status Response ok 1 or GPIO NOK GPIO n SET Save GPIOn set Response GPIO OK or GPIO NOK gt 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 n SET Save PWMn Channel set Response PWM OK or PWM NOK Notes Please refer to Appendix B for details to use GPIO PWM 2 8 SOCKET B Function USR WIFI232 T support double socket communication the socket B function is disabled by default After the module is started send command AT SOCKEP to set the connection parameter send command AT TCPDISB on to try to connect with TCP server the module will stop connecting after three failures Send command AT TCPDISB on to make connection Send command AT TCPDISB off to close connection Send command AT TCPLKP to inqure TCP connection Jinan USR IOT Technology Limited
57. rl filename CR ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters can t url the upgrade file url address the last charter shall be within 20 characters filename the upgrade file name it s optional and not saved parameter If provide this file name here the module will start upgrade right away Jinan USR IOT Technology Limited Page 53 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn 4 2 2 50 AT UPFIL I Gl WB Function Set Query remote upgrade configure file name E Format Query Operation AT UPFILE lt CR gt ok lt filename gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UPFILE lt filename gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters filename the upgrade configure file name within 20 characters 4 2 2 51 ATHUPWEB NW Function Remote webpage upgrade L Format Query Operation AT UPWEB lt CR gt ok lt log gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters log Some status print log from remote upgrade Note After execute this command the USR WIFI232 T will automatic start upgrade Webpage base on the setting of UPURL UPFILE command contents 4 2 2 52 AT UPCFG M Function Remote factory setting upgrade E Format Query Operation AT UPCFG lt CR gt ok lt log gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters
58. rmance MCU Ultra low power operation with all kinds of power save modes Includes all the protocol and configuration functions for Wi Fi connectivity upport STA AP AP STA Mode upport Smart Link Function upport Wireless and Remote Firmware Upgrade Function upport External IPEX or Pad Interface antenna connector options upport Dial Switch to Control Power upport Max 3 Channel PWM Output ompact surface mount module 22mm x 13 5mm x 6mm ull IPv4 and IPv6 stack Pra nn 0 Do m Co Low power RTOS and drivers FCC Certified RoHS and CE compliant Single supply 3 3V operation Jinan USR IOT Technology Limited Page 9 72 tec usr cn A BARK Usr cn Low power WIFI module user manual http en usr cn 1 1 2 Device Parameters Table 1 USR WIFI232 T Module Technical Specifications Class Item Parameters Certification FCC CE Wireless standard 802 11 b g n Frequency range 2 412GHz 2 484GHz 802 11b 16 2dBm 11Mbps 2 11g 14 2dB 4M Transmit Power a0 3 E Wireless 802 11n 13 2dBm HT20 Parameter MCS7 S 802 11b 93 dBm 11Mbps CCK Receiver 802 11g 85 dBm 854Mbps Sensitivity OFDM 802 11n 82 dBm HT20 MCS7 External I PEX Connector Antenna Option External Pad connector UART Data Interface PWM GPIO Operating Voltage 2 8 3 6V Peak Continuous TX 200mA Normal
59. s E 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 E Parameters status AP s DHCP server function status Jinan USR IOT Technology Limited Page 52 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn 4 2 2 41 on DHCP Server Open off DHCP Server Close AT WADMN Function Set Query AP webpage domain name Format Query Operation AT WADMN lt CR gt ok domain name gt lt CR gt lt LF gt lt CR gt lt LF gt 4 2 2448 4 2 2 49 Set Operation AT WADMN lt domain name gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Domain name Webpage domain name within 20 characters all numbers AT PLANG Function Set Query webpage language option Format Query Operation AT PLANG lt CR gt 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 lt CR gt lt LF gt lt CR gt lt LF gt Parameters language webpage s language CN Chinese Version Default EN English Version AT UPURL Function Set Query remote upgrade URL address Format Query Operation AT UPURL lt CR gt tok url lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UPURL u
60. some upgrade status when upgrading the log file will be sent to UDP Port after successfully off Close 4 2 2 56 AT LOGPORT E Function Set Query remote upgrade UDP port of log file E Format Query Operation AT LOGPORT lt CR gt ok lt port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operatioin AT LOGPORT lt port gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters port The remote upgrade UDP port of log file 4 2 2 57 AT UPST M Function Start remote upgrade E Format Query Operation AT UPST lt CR gt Jinan USR IOT Technology Limited Page 55 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn ok lt log gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters log feedback the status of remote upgrade Note After execute this command the USR WIFI232 T will automatic start upgrade base on the 4 2 2598 4 222 099 4 2 2 60 setting of UPURL UPFILE command contents AT WEBU Function Set Query webpage user name and password Format Query Operation AT WEBU lt CR gt tok username password lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WEBU lt username password gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters username User Name within 15 characters not support empty password password within 15 characters support empty
61. ssssnsnsanne 33 SE DEBUG TOOTO E 33 34 23 2 NETWORK CONNECTION nt a aga na eag ain ID RE E Ka DKE NEG DN BE D Oe A a 33 3 2 3 DEFAULT PARAMETER SETTING eren aa anang anna tenete nete 33 Se 2 E EE 34 3 3 TYPICAL APPLICATION EXAMPLEG cccccsscssssssssscssscsssssscsccessecssecsesssescesecsssecssessccescsesesseess 35 34321 WIRELESS CONTROL APPLICATION iiic tH Heres 35 3 3 2 REMOTE MANAGEMENT APPLICATION eher nre trn trn nennen tenent enne 36 3 3 3 TRANSPARENT SERIAL PORT APPLICATION ieeensneeseneiuse niens 36 4 AT INSTRUCTION INTRODUCTION reeeeeeee eese etn setas stu netta sese setas sa sn esos eaae sen ccoo e ense eene tasse tn S 37 4 1 CONFIGURATION MODE 02 ccssescseassssonssrsssssesessovaserssosessasnesesconcnsarssonsssoteonassonscens HEURE n eh Roe MEER eee a NEG 37 Telele SWITCH LO CONFIGURATION MODE sci 2 WEE mH ee 37 4 2 AT INSTRUCTION SET OVERVIEMW 00000000000000eenoneeneneenen een on een snnt none nen tatnen tetas estos tn enin ene 38 42 2 1 INSTRUCTION SYNTAX BORMANN ta EES Eer Eo Tra erbe 38 desc ala INSTRUCTION SET octets e a URBE age agi panan Ot DENEN 39 MMC E MEI 41 4 429232 E 41 Lo PITE ER GE 42 dad AE EMBEN caso A nein ee Raster 42 E EE 42 Seege AA VEU C nU RUR EE EE 42 Ms Ze EE 43 e DE 43 E LEE ME C 43 DA E 4 2 2 11 AT CFGRD 4 2 2 12 AT CFGWR 4 2 2 13 AT CFGFR deta EE 42 ooo a AL GE 44 AZ 2
62. t Set Operation AT WAP lt wifi_mode ssid channel gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters wifi mode Wi Fi mode include 11B 11BG 11BGN Default Value ssid SSID at AP mode channel Wi Fi channel selection AUTO Jinan USR IOT Technology Limited Page 51 72 tec usr cn A BAR U sr cn Low power WIFI module user manual htto en usr cn CH1 CH11 Default CH1 4 2 2 44 AT WAKEY B Function Set Query AP Wi Fi secruity parameters L Format Query Operation AT WAKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAKEY lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters auth include OPEN WPA2PSK Encry include lt gt NONE When auth OPEN available gt AES When auth WPA2PSK available key security code ASCII code smaller than 64bit and bigger than 8 bit 4 2 2 45 AT WAMAC M Function Query AP MAC address parameters E Format Query Operation AT WAMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt E 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 Technology technical people 4 2 2 46 AT WADHCP E Function Set Query AP DHCP server statu
63. t CR gt lt LF gt E Parameters data lenth Lenth of receive data Range 0 1000 Byte data content contents of receive data If not receive any data in 3 second then feedback ok 0 4 2 2 34 AT WSSSID B Function Set Query Wi Fi associated AP SSID parameters E Format Query Operation AT WSSSID lt CR gt tok 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 Jinan USR IOT Technology Limited Page 48 72 tec usr cn f 5 A BARE Usr cn Low power WIFI module user manual http en usr cn ok lt CR gt lt LF gt lt CR gt lt LF gt NW Parameters ap s ssid AP s SSID Within 32 character 4 2 2 35 AT WSKEY NW Function Set Query STA security parameters L Format Query Operation AT WSKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSKEY auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt W Parameters auth Authentication mode lt OPEN SHARED WPAPSK WPA2PSK encry Encryption algorithm NONE When auth OPEN effective lt gt WEP When auth OPEN or SHARED effective TKIP When auth WPAPSK or WPA2PSK effective AES When auth WPAPSK WPA2PSK effective key password ASCII code shall less than 64 bit and greater than 8bit 4 2 2 36 AT WANN E Funct
64. through the less connection with USR WIFI232 T module wirel Jinan USR IOT Technology Limited Page 33 72 tec usr cn 95 BARK A U Sr CH Low power WIFI module user manual http en usr cn Bu Gis Remote Management Application USR WIFI232 T a VART remet a User Device N awana AV 3 User Device Figure 28 Remote Management Application For this remote management application USR WIFI232 T works as STA mode and connects to Internet through wireless AP Module configured as TCP Client and communicates with remote TCP server at Internet Module s serial port connects to user device So user device s data or sampling information can send to remote TCP Server for storage or processing Also remote TCP server can send command to control and manage the user device through the wireless network 3 235435 Transparent Serial Port Application For this transparent serial port application two USR WIFI232 T modules connect as below figures to build up a transparent serial port connection USR WIFI232 T works as Ad Hoc mode to connect each other User Device USR WIFI232 T USR WIFI232 T User Device ap mu T Figure 29 Transparent Serial Port Application Jinan USR IOT Technology Limited Page 34 72 tec usr cn 95 BAH A Usr cn Low power WIFI module user manual http en usr cn 4 AT INSTRUCTION INTRODUCTION 4 1 Configuration Mode When USR WIFI232 T power up it will default works as
65. tion AT TCPTOB lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt E Parameters Time TCP timeout lt 600 600s gt 0 0 means no timeout Jinan USR IOT Technology Limited Page 47 72 off means close TCP link After finish this command On means open TCP After finish this command module re connect TCP server right tec usr cn A BAR U sr cn Low power WIFI module user manual htto en usr cn Default 300s The module will not connect TCP B after TCP timeout The module will make connection after another TCPDIS command 4 2 2 31 AT TCPLKB E Function Query TCP B connection status E Format AT TCPLKB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters sta TCP B connection status on TCP connected off TCP disconnected 4 2 2 32 AT SNDB E Function Send datas to SOCKB at Command Mode E Format AT SNDB lt data_lenth gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt NW Parameters data lenth Lenth of send data Range 0 1000 Byte The UART port will wait 3 seconds for input after this command is sent OK The data received from UART port is sent to socket If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 33 AT RCVB E Function Receive datas from SOCKB at Command Mode E Format AT RCVB lt data_lenth gt lt CR gt tok lt data_lenth data_content gt lt CR gt lt LF gt l
66. transparent transmission mode then user can switch to configuration mode by serial port command USR WIFI232 T UART default parameters setting as below figure Baudrate 115200 Data Bits Parity None e Stop CTSRTS Disable Figure 30 USR WIFI232 T Default UART Port Parameters In configuration mode user can setting the module through AT instruction set which cover all web page setting function 4 1 1 Switch to Configuration Mode Two steps to finish switching from transparent transmission mode to configuration mode gt UART input after module receive and feedback a as confirmation gt UART input a after module receive a and feedback tok to go into AT instruction set configuration mode a Serial CON3 SecureCRT HO wem EN emm AO HG CR pm EISE 3 SES 9 95 9 Serial CoM3 arok Serial COM3 3 1 2645 SOF von Figure 31 Switch to Configuration Mode Notes 1 When user input No Enter key required the UART port will display feedback information a and not display input information as above UART display 2 Any other input or wrong step to UART port will cause the module still works as original mode transparent transmission Jinan USR IOT Technology Limited Page 35 72 tec usr cn o E A BAR U sr cn Low power WIFI module user manual htto en usr cn 4 2 AT Instruction Set Overview
67. y A BARE Usr cn Low power WIFI module user manual http en usr cn Low Power WiFi Module User Manual 0000902000 HI P Overview of Characteristic Support IEEE802 11b g n Wireless Standards Based on Self developed High Cost Effective MCU Ultra Low Power for Battery Applications with Excellent Power Save Scheme Support UART PWM GPIO Data Communication Interface Support Work As STA AP AP STA Mode Support Smart Link Function APP program provide Support Wireless and Remote Firmware Upgrade Function support WPS Function Support Multi TCP Link 5 Channel Apllication Support Dial Switch Power Control Support External IPEX or Pad Interface Antenna Option Single 3 3V Power Supply Smallest Size 22mm x 13 5mm x 6mm 1x10 2mm Connector FCC CE Certificated Jinan USR IOT Technology Limited Page 1 72 tec usr cn A BAR Usr cn Low power WIFI module user manual http en usr cn TABLE OF CONTENTS LIST OF FIGURES krasse dann cab damen aecnsnbeasasesandssovassssaasSeeibaseinsih 6 LIST OF TABLES 7 HESTORN T A AAA AAA M 8 1 PRODUCT OVERVIEW 1 1 GENERAL DESCRIPTION bedst DEVICE BEEAPTUBES cedet eege ge 9 Laka DEVICE PARAMETERS
68. y AP DHCP Server status WADMN Set Query AP webpage domain name Webpage Management Instruction Set PLANG Set Query Webpage Language Option WEBU Set Query Webpage User name and Code Remote Upgrade Instruction Set UPURL Set Query remote upgrade URL address Jinan USR IOT Technology Limited Page 38 72 tec usr cn ein A Usr cn Low power WIFI module user manual http en usr cn UPFILE Set Query remote upgrade configure file name UPWEB Start remote web upgrade UPCFG Start remote config file upgrade UPNVR Start remote NVRAM data upgrade UPAUTO Start remote upgrade LOGSW Open Close remote upgrade log LOGPORT Set Query UDP port of remote upgrade log UPST Start remote Application upgrade Power Management Instruction Set MSLP Set Query deep sleep standby mode parameters Network Time Set NTPRF Set Query time calibration interval NTPEN Enable Disable time calibration function NTPTM Query time Others Instruction Set WRMID Set module ID RLDEN Set Query GPIO45 status ASWD Set Query WiFi configuration code MDCH Set Wi Fi Auto Switch Function TXPWR Set Query Wi Fi Transmit Power LPTIO Enable Disable nReady nLink function WIFI Config Tools don t support CFGRD command yet 4 2 2 1 AT E M Function L Format AT E lt CR gt Open Close show back function ok lt CR gt lt
Download Pdf Manuals
Related Search
Related Contents
5 - Southwest Horizon School Division Termômetro T102 MANUAL DE INSTRUCCIONES Copyright © All rights reserved.
Failed to retrieve file