Home

USR-WIFI232-S/T/G2 USR-WIFI232

image

Contents

1. Query Operation AT LPTIO lt CR gt Jinan USR IOT Technology Limited FIGUR tec usr cn A BAR ok lt status gt lt CR gt lt LF CR LF Set Operation AT LPTIO status CR ok lt CR gt lt LF CR LF gt Parameters staus Enable Disable nReady nLink function e pt200 nReady nLlink WPS function map to USR WIFI232 S Pini1 Pin13 Pin14 e on lpt100 nReady nLlink WPS function map to USR WIFI232 T Pino Pin10 Ping e off lpb100 nReady nLlink WPS function map to USR WIFI232 G2 Pin44 Pin43 Pin15 57 AT USERVER Function Query the user version and generated time Format AT USERVER lt CR gt ok lt user_version generated_time gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters user version user version e Vil generated time generated time e 2014 08 15 10 15 58 AT CUSTOMER 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 e USR General for standard firmware 59 AT RPTMAC Function Query the reporting MAC enable or disable Format AT RPTMAC lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Status ON enable reporting MAC e OFF disable reporting MAC 60 AT WRRPTMAC Function Set the reporting MAC enable or disable Format P f Jinan USR
2. BaudR 115200 DPaty NONE y DataB 8 bit StopB 1 bit Open Recy 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 100 ms COM port data receive Network data receive 1000 50 LocalHost 192 168 10 101 Port NetSettings 1 Protocol 2 Server IP 2 Server Port dee Disconnect Recv Options Receive to file W Add line return Receive s HEX Receive Pause Save Clear Send ptions Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 600 ms Load Load Clear Jinan USR Technology Co Ltd PWM 11 GET Send Send Clear Reset 87 PortNum Send 0 Recy 0 PWM channel SET Function Save PWM Channel setting Parameters channel PWM Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 Return Data Reset Le PortHum Send 133 Recv 70 Page 81 of 87 Edd tec usr cn 4 A BAR PWM OK Command successful 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 value1 value2 value3 value4 value5 value6 value value8 gt valuel High byte of PWM Chann
3. P f Jinan USR IOT Technology Limited ranil tec usr cn A BAR WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES V NW v Y 4 3 Socket Communication USR WIFI232 S T G2 H 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 Socket 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 configured as TCP Server it supports Multi TCP link connection and maximum 5 TCP clients permitted to connect to Socket A Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence Downstream All data from serial port user will be duplicate and broadcast to every TCP connection or client Detailed multi TCP link data transmition structure as following figure WIFI e Deviceld GP Serial Device24 device Device3 Figure 32 Multi TCP Link Data Transmition Structure 4 3 2 Socket B Socket B has t
4. amp A BARH USR WIFI232 S T G2 H Low Power WiFi Module User Manual V2 3 USR WIFI232 S USR WIFI232 T USR WIF1232 G2 USR WIF 1232 H Overview of Characteristic e Support IEFE802 11b g n Wireless Standards e Based on Self developed High Performance MCU e Ultra Low Power Applications with Excellent Power Save e Support UART PWM GPIO Data Communication Interface e Support Work As STA AP Mode e Support Smart Link Function APP program provide e Support Network Configuration by Audio USR WIFI232 H e Support USRLINK Function Fast set SSID e Support Wireless Upgrade Function e Support WPS Function e Support Multi TCP Link 5 Channel Application e Support Internal External I PEX SMA Antenna Option e Single 3 3V Power Supply e 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 7mm SMT Footprint USR WIFI232 H 23 1mm x 32 8mm x 2 7mm SMT Footprint e FCC CE Certificated Page 1 of 87 Jinan USR IOT Technology Limited tec usr cn A BAR Catalogue ts QUK S s lt T ER AE PEAN BEA SR DUC AUR anda OE 6 LX 00 E e eiin e o cete e MEER LAS DUE MIDI RR LLL DM dM EE 6 1 2 Network CONMOCE Of sees ei Es Ee ee GE GE ee EO Ge Ee ee N Ee Ge Gee GE ee EG Ee ee 6 oleo ue AA OE EO OE EO EE eN 7 1 4 Application el RN 8 1 4 1 Wireless remote control application ee ee ee ee ee ee ee nen 8 1 4 2 Remote co
5. 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 ay Upgrade SW Restart Restore Web Ver 1 0 11 Figure 46 Restore Page 5 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 Jinan USR IOT Technology Limited Page 52 of 87 kak tec usr cn OL BARK A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual _http en usr cn When USR WIFI232 S T G2 H 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 aaron a DTRJDSR Baud rate 115200 d Ik A RTS CTS Data bits D AZ A XOM XOFF Parity None w Stop bits 1 v Serial break length 100 milliseconds Figure 47 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
6. A BABE do Keep out area for PCB antenna Figure 22 USR WIFI232 G2 H 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 grey 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 cant 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 Page 29 of 87 Jinan USR IOT Technology Limited tec Qusr cn A RABE Figure 23 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 10 USR WIFI232 Sb External Antenna Parameters Item Parameters gt 3 4 2 USR WIFI232 T USR WIFI232 T support I PEX connector external antenna modules must be conn
7. Page 41 of Jinan USR IOT Technology Limited G tec usr cn e A BAR NIN M The SSID of router n mam 1 Separator of SSID n fixed value 0x00 1 Signal strength of router n 0 100 0 100 2 fixed value 0x0D 0x0A M 4 check 1 Sum of bytes from head not contained byte to check byte not contained Example M M M Data from phone PDA to module HEX FF 00 01 01 02 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 routeri is TEST1 signal strength of routeri is 64 SSID of router2 is TEST2 signal strength of router2 is 55 Note The information of routers is ordered by signal strength b Setting command i fixed value OxFF 2 length 2 Sum of data bytes from length bytes to check byte not contain length bytes and check byte 6 separator 2 fueg vave Page 42 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR 8 check 1 Sum of bytes from head not contained byte to check byte not contained Response for setting led 1 feed value OxFF length Sum of data bytes from length bytes to check byte not contain length bytes and check byte m Command type 082 Check for 1 If the SSID set by PDA exist check value is SSID 0x01 otherwise is 0x00 Check for 1 If the form of password set by P
8. Send As Hex Send As Hex v Send Recycle LocalHost 10 10 100 150 Port V Send Recycle Interval 600 ms Jinan USR Technology Co Ltd Sw usr c Interval 600 ms Send Send Load Clear Load Clear Send 330 Recv 221 Reset d PortNum Send 221 Recv 330 Reset Figure 4 serial network parameter settings and transmission test 1 4 Application Examples 1 4 1 Wireless remote control applications USR WIFI232 Module USR WIFI1232 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 P f Jinan USR IOT Technology Limited Boe qon tec usr cn A BAR mode USR WIFI232 module s serial connect user s devices Control client such as smartphones can controll the user equipment via wireless network 1 4 2 Remote connectivity applications internet Figure 6 Remote connectivity applications In remote connection applications USR WIFI232 module works in the STA mode connect 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
9. Set Operation AT WSDNS z address CR ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters address STA s DNS server address Effective right away Z Z Z 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 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 gt Parameters f Jinan USR IOT Technology Limited dd tec usr cn e A BAR Ipaddress AP s IP address Mask AP s net mask 38 AT WAP Function Set Query AP Wi Fi parameters Setting is valid after reset Format Query Operation AT WAP lt CR gt ok lt wifi_mode ssid channel gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAP lt wifi_mode ssid channel gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt 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 CR T okz auth encry key CR LF CR LF gt Set Operation AT WAKEY lt auth encry key CR ok
10. 43 AT WALKIND Function Enable Disable indication of module AP connection status Format Query Operation AT WALKIND lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WALKIND status CR T Ook CR LF CR LF Parameters status indication of module AP connection status on Enable nLink indication function When STA device connecting to module AP nLink output Low otherwise output High off Disable nLink indication function 44 AT PLANG gt Function Set Query webpage language option gt 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 language CR ok lt CR gt lt LF CR LF gt P f Jinan USR IOT Technology Limited pee oo tec usr cn e A BAR Parameters Language webpage s language e CN Chinese Version Default e 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 z username password CR ok lt CR gt lt LF CR LF gt gt Parameters Username User Name within 15 characters not support empty Password password within 15 characters support empty 46 AT NTPRF gt Function Set Qu
11. USR ICP232 Test RS232 to Ethernet Convert tester COMSettings COM port data receive Network data receive NetSettings PortNum COM3 v szoox 1 Protocol Baud 115200 y E 2 Server IP DPaity NONE y 8 bit v o 2 Server Port _ 0 Open Disconnect Recy Options Recy Options Receive to file Y Add line return Receive to file V Add line re Receive As HEX Receive Pause Save Clear Send Options Data from file Auto Checksum Auto Clear Input Data from file Auto Checksum Auto Clear Input Send As Hex LocalHost 192 1 68 10 101 Port Send Recycle Jinan USR Technology Co Ltd GPIO 11 OUT 1 Interval 600 ms Send Send Load Clear Send 0 Recv 0 Reset 8 PortHum Send 103 Recv 57 Reset 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 ok lt value gt B Value GPIO Channel value 1 high voltage O low voltage GPIO NOK Command failed P f Jinan USR IOT Technology Limited d tec usr cn Qe A SARH 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 B Baud 115200 DPaity NONE y DataB 8 bit Open Recy Options Receive to file W Add line return Receive
12. sta SOCKA connection status on TCP connected off TCP disconnected 21 AT TCPTO gt gt gt Function Set Query SOCKA TCP timeout time 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 TCPTOz time gt CR 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 Page 62 of 87 er tec usr cn 02 TESE A Usr cn Jinan USR IOT Technology Limited gt gt gt USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn SOCKA 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 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 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 CR 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 off means close TCP link After fi
13. 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 7 Reporting MAC If reporting mac function is on AT WRRPTMAC 0N 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 client the module will add MAC to the head of UDP package 4 8 Parameter configuration USR WIFI232 T G2 supports configurate parameter by Web and AT command USR WIFI232 S only supports configurate parameter by AT command e Web user can login module s built in web to configure the parameters s 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 9 Firmware and web upgrade USR WIFI232 S T G2 H supports upgrade firmware and web over wireless USR WIFI232 T G2 H 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 BERE AIRE HF Upload Upgrade customized webpage BR AIRE MF Upload Figure 34 Upgrade page Page 44 of Jinan USR IOT Technology Limited nci tec usr cn A BARAK Note Before any firmware upgrade be sure to conta
14. Asset tracking and telemetry e Home automation e Medical devices Page 13 of 87 Jinan USR IOT Technology Limited tec Qusr cn 4 A BAR 2 6 Package Information 2 6 1 Recommended Reflow Profile ps HIDE I Figure 8 Reflow Soldering Profile Table 3 Reflow Soldering Parameter NO Item Temperature Degree Time Se Reflow Time Time of above 220 C 35755 sec Peak Temp 260 C max Note 1 Recommend to supply N2 for reflow oven 2 N2 atmosphere during reflow 02 lt 300ppm 2 6 2 Device Handling Instruction Module IC SMT Preparation gt Shelf life in sealed bag 12 months at lt 30 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 gt Baked required with 24 hours at 125 5 C before rework process for two modules one is new module and two is board with module gt Recommend to store at 10 RH with vacuum packing gt If SMT process needs twice reflow 1 Top side SMT and reflow 2 Bottom side SMT and reflow Case 1 Wifi module mounted on top side Need to bake when bottom side process over 168 hours window time no need to bake within 168 hours Case 2 Wifi module mounted on bottom side follow normal bake rule before process Note Window time means from last bake end to next reflow start that has 168 hours space Page 14 of 87 Jinan USR IOT Technology L
15. EE EE EE EE OE EE N 55 VE RR nan fe a a OE RO OE 57 Neue E serra ees O O a Bee a ANE SR GE ANG Aa A AG Na AN Na aia a aaa aa ga a AN 57 Sub JA RE HE EE EO EE TE OR EE KAE 58 BAr e K php 58 EE IE NR P 58 FRED 58 PL 58 DATER EE EEE alan a aaa a EE ak aaa 58 DAIR oa TTT 59 Page 3 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BARE DEE O N a 59 DAL ILL 59 12 ATHUARTET SE 60 DOLE nu sr 60 PONEN AN 60 NA 60 DAI PH 61 17 ATERECV 61 18 ATENETP 61 19 ATEMAXSK EE 62 DEE LG 62 AD VE aie ie AA EE OO OO OR OR OE N 62 22 AT TCPDIS EE ttt ttt 63 EE ed AAN Oe EE N Ee N N 63 DEE Ge DE REE 63 NEO EE EE l 64 DEE E 64 VANNES D 64 DEE OG 65 INES D A 65 TINE E ttt IEEE IEEE ttt EEn 65 EE N 66 INS O 66 on SL 66 34 ATEWSLO EE 66 35 ATEWSCAN EE tette ttt eea ttt ttt 67 DANS 67 A cua 67 O 68 OE N N OE OO N 68 40 ATEWAMAC EE 68 41 ATOWADHCGB 69 42 AT WALK RM 69 AS TRU EE OE EE N OR OE EE EE ia 69 NN IN aa EEE IEEE EEE aa eaaa eaaa eee eee aee ea 69 45 AT WEBU eee tette ttt eaaa aee eee aee 70 YEN GE 70 DE REE 70 48 ATENTPTM EE 70 49 ATEWRMID tette ttt ttt ttt 71 SEE GE 71 LEG terret ttt ttt eee eea tte tell 71 DEE VT RM 71 EEE 72 Page 4 of 87 Jinan USR IOT Technology Li
16. IOT Technology Limited G OM tec usr cn 02 TESE A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn AT WRRPTMAC lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters Status ON enable reporting MAC e OFF disable reporting MAC 61 AT WIFI Function Enable Disable Wi Fi firmware V1 0 05 or more advanced version 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 WIFI z status CR LF CR LF gt Parameters status Wi Fi status e DOWN Disable Wi Fi e UP Enable Wi Fi Page 74 of Jinan USR IOT Technology Limited d 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 visit USR website download or contact USR engineers Page 75 of 87 Jinan USR IOT Technology Limited tec Qusr cn BZ BARK A USR WIFI232 T Evaluation Kit Schematic m x e E LOK LIT AMSILITIV1 gt 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 76 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BARS USR WIFI232 G2 Evaluation Kit Schematic La
17. IOT Technology Limited G tec usr cn A BAR 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 36 System Web Page x English Please select your current wireless network Site d Fast Setting E P LINKE USR TEST SEE System 2 SPNFREPROS _ ac cF 23 28 7633 fe O BQTEST WP3 D8 B0 4C F4 46 8C_ 49 J STA Setting e AP Setting O D LINK USR TEST C83A3537C60 4 Mo o 2 Tenda 4FFDEB C83A3S4FFDES lm 1 Network 38 TAM AS e Ne bemannes nm 6 UART Setting me ie 17 fe b Account O HF A11x_AP ar U de SW e MERCURY_5DC9CE Pur 2 ee Restart D ICHAPA 1D8B0 4CF4 4648 178 16 A Restore Web Ver 1 0 11 Page 47 of Jinan USR IOT Technology Limited ARAM tec usr cn 02 TEE A Usr cn 5 1 4 System Page USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 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 STA Setting AP Setting Network UART Setting Account Upgrade SW Restart Restore MID Software
18. T G2 H Low Power WiFi Module User Manual http en usr cn AT UARTF lt para gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Para e disable Close auto frame function e enable Open auto frame function 12 AT UARTFT gt Function Set Query UART auto frame trigger time gt Format Query Operation AT UARTFT CR Tokz time CR LF CR LF gt Set Operation AT UARTFTz time CR ok lt CR gt lt LF CR LF gt gt Parameters Time Range 250 10000 Unit ms Auto frame trigger time 13 AT UARTFL Function Set Query UART auto frame trigger length Format Query Operation AT UARTFL CR Tokz len CR LF gt lt CR gt lt LF gt Set Operation AT UARTFL len CR ok lt CR gt lt LF CR 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 Query Operation AT UARTTE CR T okz mode CR LF gt lt CR gt lt LF gt Set Operation AT UARTTEz mode gt CR ok lt CR gt lt LF CR LF gt gt Parameters Mode e fast No free frame trigger time the uart data maybe be broken into to fragment e normal free frame trigger time between two bytes is 50ms 15 AT PING Function Network Ping command Format P
19. Version Small Version WiFi Work Mode AP mode SSID IP Address MAC Address STA Mode Router SSID Signal Strength IP Address MAC Address Figure 37 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 encryption information input here must be fully same with Wi Fi AP router s configration and then it can link with AP correctly Fast Setting System STA Setting AP Setting Network UART Setting Account Upgrade SW Restart Restore Jinan USR IOT Technology Limited Mode Selecting Network Name SSID case sensitive Encryption Method Encryption Algorithm Password Obtain an IP address automatically IP Address Subnet Mask Gateway Address DNS Server Address Page 48 of 87 ExX English USR WIFI232 T V1 0 04a V1 1 STA TP LINK 14D24E 64 192 168 0 121 D8B04CF 35374 Web Ver 1 0 11 System Web Page EX English STA TP LINK_14D24E WPA2PSK v AES Y B Show passwords 192 168 0 121 255 255 255 0 192 168 0 1 202 102 128 68 Web Ver 1 0 11 tec usr cn Usr cn HJERNE A STA Setting AP Setting Network UART Setting Account Upgrade SW Restart Restore 5 1 6 AP Setting Page Figure 38 USR WIFI232 S T G2 H Low Power WiFi Module User Manual STA Setting Page EX English Please select your current wireless network Site Surve SID
20. WiFi Configuration Password Format Query Operation AT ASWD CR T okz aswd CR LF CR LF gt Set Operation AT ASWD z aswd CR LF gt lt CR gt lt LF gt gt Parameters aswd WiFi Configuration Password within 20 characters 51 AT MDCH gt Function Set Wi Fi Auto Switch Function Format Query Operation AT MDCH CR Tokz mode CR LF gt lt CR gt lt LF gt Set Operation ATTMDCH mode CR LF CR LF gt Parameters mode Wi Fi Auto Switch Mode e Off Disable Wi Fi auto switch 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 52 AT TXPWR Function Set Query Wi Fi Transmit Power Real Transmit Power Default Transmit Power 16dBm Setting Value 0 5dBm Format Query Operation Page 71 of Jinan USR IOT Technology Limited Me tec usr cn Usr cn 97 BARK A USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 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 g
21. 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 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 At normal 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 Module PWM signal output pin Can also be configured as GPIO pin Can switch PWM 1 function to nLink PWM 2 function to nReady PWM 3 function to WPS keys by AT command AT LPTIO on AT LPTIO off is the
22. 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 H 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 H 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 H 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 G2 23 1mm x 32 8mm x 2 7mm SMT Footprint USR WIFI232 H 23 1mm x 32 8mm x 2 7mm SMT Footprint 2 2 Device Features e Support IEFE802 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
23. gt lt LF gt Parameters Path Max length is 50 bytes AT HTTPCN Function Set Query Connection of HTTP protocol header Format Page 84 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR Query Operation AT HTTPCN CR okz Connection CR LF CR LF gt Set Operation AT HTTPCNz Connection CR ok lt CR gt lt LF CR LF gt gt Parameters Connection Max length is 20 bytes C 1 5 AT HTTPUA gt Function Set Query User Agent of HTTP protocol header gt 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 ATHTTPUA Parameter CR ok lt CR gt lt LF CR LF gt gt Parameters Parameter Max length is 20 bytes C 1 6 AT HTTPDT gt Function Send HTTP request or data Format Query Operation AT HTTPDT lt Data gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt gt 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 AT HTTPUA Iwip1 3 2 Set HTTP User Agent area If send AT HTTPDT the data packet will be sent as the following instance including the
24. lt CR gt lt LF gt lt CR gt lt LF gt 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 Function Query AP MAC address parameters 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 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 Page 68 of 87 Jinan USR IOT Technology Limited tec Qusr cn e A BAR 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 e on DHCP Server Open off DHCP Server Close 42 AT WALK Function Query MAC address of STA device connecting to module AP Format Query Operation AT WALK lt CR gt 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 e No Connection No STA device connecting to module AP
25. mode brief introduction eessssee nes 34 VARTE MENN 35 Page 2 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BARE ANE 6 sire ue Hee se soso bakdan ee IE 36 Met GPI PA les e OE RE TT 36 4 2 Wireless INCE VV OIC nd 37 TAS 38 TT AE od ee EE e EE OE EE ON 38 e WANG go ER RR 38 ee GA COMUNICACION se na ard nsi red aa ao aia dai o RE 39 d d OG T A Ka ia 39 TAP 39 4 4 Network configuration by audio sss 40 dd TENOGO mE m 40 za MM aae rc OPGEE a a agak ag T 40 4 5 Fast access WISIN Dicen 41 4 6 Searching Wi Fi protocol amp Network AT Command 43 TT regunt E 44 TO Peele Eh COMIC IMO EEE A AEAT EAE AAEE 44 4 9 Firmware and web Upgrade 44 5 Module Parameter Conrnguration e 46 AM 46 DeL Mel BOFO N O ee e E E A AE E TET OE EAA E AET AONE E 46 5 1 2 Open Web Management Interface 46 5 1 3 Fast Set SSID Pade USfINNK sese 47 La SIC Pad a aba 48 S Lo o IAS vlg ed PA otto aio 48 A AAA EE I II A 49 5 1 7 Network Setting PATO ici lit dst dva dps GEE as EP Tea dU al GEE Ao 50 SLT TE T T T 50 54 9 ACCOUNT Management Page ie Deseret ia vit 50 5 1 10 Upgrade Software Dade 51 ss Da Rs rc pa uie OE 5 S LIZ Restore Pad oci Pe MM MM MM LR EE 52 SAAT ONAN em 52 5 2 1 Switch to Command Mode ETT 53 STN 54 SVA AT COMM NN IA OUT OT
26. 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 f Jinan USR IOT Technology Limited od tec usr cn A BAR PA Usicn __USR WIFI282 S T G2 H Low Power WiFi Module User Manual http en usr cn 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 np AP ar dd 9 USR WIFI232 Module Serial device of yen t Figure 30 USR WIFI232 S T G2 H STA WI FI Mode 4 2 2 AP WI FI Mode In AP WI FI Mode 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 A P USR WIFI232 Module Figure 31 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 gt WEP
27. search network as shown in below USR WIFI232 T is the default network name SSID of the module DE e PIE ETE RIFTS Blah Meare SEU PARR PAY B ds 81 33 18 BEE CH E gy TRE 145515 DERE Z gt ENG i 7 ERESMA PAZ aii R TIFI232 T 13 e HAXER ed Y TEREP NAN tll WEBCURBI 96ATT2 Bah te BRL WPA aii Gp BABES TP3 sh E e ud he LESSONS alil Tenda OFC678 9 dy BAS MRO di BASSE PA aadi FAST EE3840Test Q Figure 2 WIFI Search Join the network choose to automatically obtain IP WIFI module supports DHCP Server feature and is enabled by default 0 KEEPER Mas 3 E Tki em 2E EIER Dee L HR tp jBxf DHCP 384 VSR WIFI232 T Y TP Hii 10 10 100 150 06 20 49 THER 255 255 255 0 72 2 Mbps Ek LA PE 10 10 100 254 aiii Windows IRA RNBHIEFER ER 10 SHEE eH VE Figure 3 WIFI connection Now nlink led of USR WIFI232 T Evaluation Board is lighting 1 3 communication test Module s default setting SSID USR WIFI232 T 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 Y Y NN Y Page 7 of 87 Jinan USR IOT Technology Limited tec Qusr cn O FEE A 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 tes
28. tec Qusr cn e A A BAR PWM GPIO PWM yo GPIO WPS UG PWM GPIO PWM 10 PWM yO 1 0 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 AT TMODE AT LPTIO S GPIO PWM off nLink nReady WPS off re m nLink nReady WPS G2 nLink nReady WPS 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 GPIOn output 0 Response GPIO OK or GPIO NOK GPIO n OUT 1 Set GPIOn 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 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 gt PWM n SET Save PWMn Channel set Response PWM OK or PWM NOK V Y v v 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
29. 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 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 AMODE 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 dara from UART AT SEND Send data TO UART AT WANN Set G
30. 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 Page 85 of 87 Jinan USR IOT Technology Limited tec Qusr cn amp A BARAK If send AT HTTPDT abcd the data packet will be sent as the following instance POST abcd HTTP 1 1 Connection keep alive User Agent lwip1 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 Lok If the module hasn t received data from HTTP server for 5 second it will cut the TCP link with HTTP server P f Jinan USR IOT Technology Limited d tec usr cn 4 A BAR Appendix D Contact Information Company Jinan USR IOT Technology Limited Address 1 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 803 Web http en usr cn Email Sales usr cn order usr cn Appendix E 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 m
31. 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 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 compelet automatically both sides of the UART can transparently transmit data Page 9 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BARBER USR WIFI232 Module USR WIFI232 Module O USR WIFI232 S USR WIFI232 T USR WIFI232 G2 USR WIFI232 S USR WIFI232 T USR WIFI232 G2 Figure 7 Transparent serial Page 10 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR 2 Product Overview 2 1 General Description USR WIFI232 S T G2 H is a fully self contained small form
32. 232 S T G2 H Low Power WiFi Module User Manual http en usr cn 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 FAX English SOCKET A Setting lt Protocol T Fast Setting ss TCP Server System m 899 STA Setting Server Address 0 10 100 254 AP Setting TCP Time Out Setting Network SOCKET_B Setting z Enable Disable Enable UART Setting dinas TCP Client Account Port ID Upgrade SW Restart Server Address 0 10 100 150 TCP Time Out Setting Restore Web Ver 1 0 11 Figure 41 Other Setting Page 5 1 8 UART Setting Page This page set UART parameters AX English UART Setting Fast Setting ai System Data Bit STA Setting E AP Setting Soo mt Network CTSRTS UART Setting Account Upgrade SW Restart Restore Web Ver 1 0 11 Figure 42 Other Setting Page 5 1 9 Account Management Page This page set web server s user name and password Page 50 of 87 Jinan USR IOT Technology Limited tec Qusr cn Qe A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual AX English Set a New Account and Password STA Setting EE karin AP Setting Current Password Network New User Name UART Setting Account Upgrade SW Restart Restore New Password Web Ver 1 0 11 Figure 43 Account Page 5 1 10 Upgrade Software Page User ca
33. 4 A Usr cn Jinan USR IOT Technology Limited USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn gt USR ICP232 Test RS232 to Ethernet Convert tester COMSettings PortNum coma E BaudR 115200 vi DPaity NONE DataB 8 bit StopB 1 bit vi Open Recv Options Receive to file W 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 COM part data receive LocalHost 192 168 10 101 Port NetSettings 1 Protocol 2 Server IP 2 Server Port de Disconnect 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 Load Clear Jinan USR Technology Co Ltd pim 11 1000 50 Send Send Send 0 Recv 0 Reset e DataB Send 123 Clear L R DateB Reset PWM channel GET Function Query PWM Channel output Parameters 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 gSR ICP232 Iest RS232 to Ethernet Convert tester Recv 63 COMSettings PortNum coma gt
34. As HEX Send Options Data from file Auto Checksum Auto Clear Input Send As Hex Send Recycle Interval 100 ms Load Clear LE FortNum COM port data receive Jinan USR Technology Co Ltd Send 0 Recv 0 ata receive LocalHost 192 168 10 101 Send Reset L PortNum Port Send Send 96 http en usr cn NetSettings 1 Protocol 2 Server IP 2 Server Port Disconnect Recy Options Receive to file W 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 Recy 50 Jinan USR IOT Technology Limited B 1 3 GPIO channel SET gt Function Save GPIO Channel setting gt Parameters channel GPIO Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 Return Data GPIO OK Command successful GPIO NOK Command failed B 1 4 PWM channel frequency duty Function Set PWM Channel value temporarily needs to be saved if want effective after reset Parameters channel PWM Channel number such as 11 12 18 for WIFI232 T map to Pin10 Pin9 Pin8 frequency PWM Channel frequency it can be 500 60000 duty PWM Channel duty it can be 0 100 Return Data PWM OK Command successful PWM NOK Command failed Page 80 of 87 anik tec usr cn 02
35. 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 Format AT RCVB z data lenth CR ok lt data lenth data content CR LF CR LF gt Parameters data lenth Lenth of receive data Range 01000 Byte data content contents of receive data If not receive any data in 3 second then feedback ok 0 29 AT WSSSID gt Function Set Query Wi Fi associated AP SSID parameters Setting is valid after reset gt 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 CR ok lt CR gt lt 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 Query Operation AT WSKEY CR T okz auth encry key CR LF CR LF gt Set Operation AT WSKEY lt auth encry key CR ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Auth Authentication mode e OPEN e SHARED WPAPSK WPA2PSK Encry Encryption algorithm e NONE When auth OPEN eff
36. Configuration by Audio UART1_TX RX UART1 is reserved now 3 2 Electrical Characteristics an 8 Electrical Characteristics Storage cm Maximum soldering IPC JEDEC Seer fr E ys Body TAMB 25 C Ed N ESD Charged TAMB 25 C Device Model CDM Parameter Operating Supply Supply current Continuous Tx Supply current DTIM 100ms Output high Sourcing 6mA Output low Sinking 6mA 0 2 V gt Input high voltage V input low voltage os V Page 26 of 87 Jinan USR IOT Technology Limited tec Qusr cn e A BABE Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 3 3 Mechanical Size 3 3 1 USR WIFI232 S USR WIFI232 S modules physical size Unit mm as follows al 1 keepout area for antenna 5x5mm USR WIFI232 S Mechanical Size Figure 18 geU keepout area for antenna 9X9mm USR WIFI232 S PCB Symbol Size Figure 19 3 3 2 USR WIFI232 T USR WIFI232 T modules physical size Unit mm as follows Page 27 of 87 Rais tec usr cn Jinan USR IOT Technology Limited OL AAHH A a Figure 20 USR WIFI232 T Mechanical Size 3 3 3 USR WIFI232 G2 H USR WIFI232 G2 H modules physical size Unit mm as follows FE T ln m J mq RF CONNNECTOR Wi Figure 21 USR WIFI232 G2 H PCB Symbol Size USR WIFI232 G2 H modules PCB footprint size Unit mm as follows Page 28 of Jinan USR IOT Technology Limited d tec usr cn
37. DA is correct password check value is 0x01 otherwise is 0x00 check 1 Sum of bytes from head not contained byte to check byte not contained Example Data from phone PDA to module HEX FF 00 OF 02 00 54 45 53 54 31 OD 0A 31 32 33 34 35 36 CE Data from module to phone PDA HEX FF 00 03 82 01 01 87 Explanation The phone PDA send setting command to module SSID is set to TEST1 password is set to 123456 The response from module is that the TEST1 Wi Fi network exist the form of password is correct 4 6 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 A11ASSISTHREAD 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 D8B04CFC0000 WIFI232 Page 43 of 87 Jinan USR IOT Technology Limited tec Qusr cn amp A BARAK 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
38. ED 1 At Smart Link config mode this LED used to indicate APP to finish setting 2 At normal 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 Module Boot Up nReady 0 Boot up OK Indicator 1 Boot up No OK No connect if not use 22 of Jinan USR IOT Technology Limited ae tec usr cn OL BARE fa Usr cn PWM N USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn Module PWM signal output pin Can also be configured as GPIO pin 3 1 4 USR WIFI232 H Pins Definition me ME VARTO TX UARTO RTS UARTO RX UARTO CTS nLink nReady nReload H C J EXT RESETn cup Figure 16 USR WIFI232 H view USR WIF1232 H Figure 17 USR WIFI232 H Pin map Table 7 USR WIFI232 H pin Definition ees kaa Type Jinan USR IOT Technology Limited Page 23 of 87 aad tec usr cn A BAR 1173248 Ground GND Power Debug functional pin 1 tt No connect if not use 1 0 PU 8 o Slem ON o GPIOB No connect if not use L9 s33VPowr DVDD Power S o fF me pNocomet 5 0 31 SpeakerouTR DACRO Analog 12 Speaker OUTL DACRL Ana
39. LINK USR TEST LINKE USR TEST YL WIFI232 BQ TEST WP3 PINFIRE PRO3 enda 4FFDES MERCURY 9AD4E0 etcore olin TP LINK 14D24E LJ EJ 2 a L 2 2 2 8 2 2 kJ Figure 39 aldie olz Io En Ulv ule s d 21 lt e a lt Um O eo Te O m 8 3A 35 37 C 60 C8 3A 35 4F FD E8 82 1 D8 15 D 9A D4 E0 8 D C D8 15 D C6 3E 14 D8 B0 4C E0 E 69 D8 B0 4C F4 46 8C AC CF 23 2B 76 33 10 78 4A 7B A6 8 42 AC 2F D8 20 20 DC E6 EE 38 9A D8 B0 4C F4 46 48 38 83 45 5D C9 CE C CF 23 2B 75 D3 1 1 L L 1 Web Ver 1 0 11 SSID scan page 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 Wireless AP Setting Mode Selecting Fx English Network Mode Network Name SSID OOLOOK Module MAC Address Select Channel D8B04CF35375 2412MHz channel 1 v Wireless AP Security Setting Encryption Mode Disable Network Parameters Setting IP Address DHCP Gateway Setting Subnet Mask 0 10 100 254 55 255 255 0 DHCP Server Figure 40 ro ab T 4 Web Ver 1 0 11 AP Setting Page Page 49 of 87 tec usr cn 02 AAF A Usr cn USR WIFI
40. 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 Function Set Query Operation SOCKB timeout time gt Format Query Operation AT TCPTOB CR Tokz time CR LF CR LF gt Set Operation AT TCPTOB time CR ok lt CR gt lt LF CR LF gt gt Parameters Time TCP timeout time e lt 600 600s gt 0 0 0 means no timeout e 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 time the tcp channel will be break If SOCKB work in TCP Client it will connect the TCP server instantly 26 AT TCPLKB gt Function Query SOCKB connection status gt Format AT TCPLKB CR ok lt sta gt lt CR gt lt LF CR LF gt gt Parameters sta SOCKB connection status on TCP connected e 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 lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Page 64 of Jinan USR IOT Technology Limited ADEM tec usr cn A BAR data lenth Lenth of send data Range 071000
41. Switch to Command Mode Two steps to finish switching from throughput mode to command mode gt UART input after module receive and feedback a as confirmation gt ART input a after module receive a and feedback ok to go into AT instruction set configuration mode File Edit View Options Transfer Script Tools Window Help 35 sS me i pd Enter host AME E A Ea S pm Sx al serial com3 x atok Figure 48 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 4 as above UART display 2 Any other input or wrong step to UART port will cause the module still works as original mode throughput mode P f Jinan USR IOT Technology Limited G tec usr cn BZ 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 300m5 400ms Ld ER feedback a Figure 49 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
42. ake changes to specifications and product descriptions without notice Appendix F Update History V0 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 V1 3 10 18 2013 Add nReload and nLink Pin description V2 0 03 20 2014 Update evaluation board circuit Update AT commands 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 2 09 24 2014 Delete AP STA mode lt END gt P f Jinan USR IOT Technology Limited A tec usr cn
43. ct USR or else it may result in permanent damage to the module Page 45 of 87 Jinan USR IOT Technology Limited tec Qusr cn amp 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 17 USR WIFI232 T G2 H Web Access Default Setting Default Setting SSID USR WIFI232 T G2 H IP Address 10 10 100 254 Subnet Mask 255 255 255 0 5 1 2 Open Web Management Interface Step 1 Connect laptop to SSID USR WIFI232 T G2 H of 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 lo 10 10 10 74 A Fa server 10 10 10 24 a Gabel resunes ue mad pae rng Tg rear n require Uh Sur iem and aro De pst iran ER LES manner coe eteren a uou GBP aran Figure 35 Open Web Management page The USR WIFI232 T G2 H web management page support English and Chinese language User can select language environment at the top right corner and click Apply button Page 46 of Jinan USR
44. d 39 VARTO UNTOTX O UART Interface 43 wi FiStatus nin O J Wrfilnk 25 switch Page 21 of 87 Jinan USR IOT Technology Limited tec Qusr cn 1 No WIFI Link No connect if not use Low effective reset input Pull up if not use Can be set to Smart Link Pin No connect Low effective reset input Pull up if not use Module nReload recovery Reset Explanation I IN O OUT PU PULL UP I O IN OUT GPIO 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 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 L
45. ds The antenna parameters required as follows Table 12 USR WIFI232 G2b Hb External Antenna Parameters item Parameters Frequency range 2 40 2 5GHz 50 Ohm VSWR 2 Max 10dB Max Connector Type I PEX connector Page 31 of Jinan USR IOT Technology Limited G op tec usr cn BZ BARK A 3 5 Evaluation Kit USR provides USR WIFI232 S T G2 H evaluation kit to promote user to comprehend the product and develop the detailed application The evaluation kit shown 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 WIF1232 G2 EVK USR WIFI232 H EVK Figure 26 USR WIFI232 S T G2 H Evaluation Kit The external interface description for evaluation kit as follows Table 13 USR WIFI232 S T G2 H Evaluation Kit Interface Description Function Name Description 1 Interface Button Smartlink or Restore factory default nReload l configuration WiFi LINK Indicator Module Bootup Ready Indicator Page 32 of 87 Jinan USR IOT Technology Limited tec Qusr cn 9 BARK A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 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 ink nReady gt WPS GND Figu
46. ected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Figure 24 USR WIFI232 T I PEX connector Table 11 USR WIFI232 T External Antenna Parameters Item Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max Page 30 of 87 Jinan USR IOT Technology Limited tec Qusr cn 4 A BAR Return Loss 10dB Max 3 4 3 USR WIFI232 G2 H USR WIFI232 G2 H has two versions respectively supports Internal antenna and external I PEX antenna 1 Internal antenna version USR WIFI232 G2a Ha When customer select internal antenna you shall comply with following antenna design rules and module location suggestions For customer PCB RED color region 8 3x18 4mm 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 G2a Ha 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 25 USR WIFI232 G2a Ha Suggested Module Placement Region 2 External antenna version USR WIFI232 G2b Hb If user select external antenna USR WIFI232 G2b Hb modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standar
47. ective WEP H When auth ZOPEN or SHARED effective HEX format WEP A When auth zOPEN or SHARED effective ASCII format TKIP When auth WPAPSK WPA2PSK effective AES When auth WPAPSK WPA2PSK effective Page 65 of 87 Jinan USR IOT Technology Limited tec Qusr cn e A BAR Key password when encry WEP H the password is the hexadecimal number must be 10 byte or 26 byte When encry WEP 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 CR ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Mode STA s 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 lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSMACz code mac address CR ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Code security code e 8888 defaul
48. el 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 no used value8 no used B 2 2 Write PWM Channel Frequency gt Send Data 32 channel valuei value2 channel PWM Channel number valuel High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency gt Return Data b2 channel valuel value2 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 Data 20 gt Return Data a0 value1 value2 value3 value4 gt valuel 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 channel PWM Channel number valuel Duty of PWM Channel gt Return Data a2 channel valuei Channel PWM Channel number valuei Duty of PWM Channel B 2 5 Save Present GPIO PWM Setting Send Data 7a Return Data fa B 2 6 Read Resources of Module gt Send Data 7e Return Data fe value1 value2 value3 9484900090900 Page 82 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BARAK value
49. ery time calibration interval gt Format Query Operation AT NTPRF CR ok lt num gt lt CR gt lt LF CR LF gt Set Operation AT NTPRFz num CR ok lt CR gt lt LF CR LF gt gt Parameters Num time calibration inverval range 0 720 default 30 minutes 10 minutes for each step set 0 means no time calibration automatically 47 AT NTPEN gt Function Enable Disable time calibration function gt Format Query Operation AT NTPEN CR Tokz status CR LF CR 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 gt Parameters Status status of time calibration e On Enable time calibration e Off Disable time calibration 48 AT NTPTM Function Query network time Format Query Operation Page 70 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR AT NTPTM CR Tokz time CR LF CR LF 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 WRMID Function Set module ID Format Set Operation AT WRMID lt wrmid CR LF gt lt CR gt lt LF gt Parameters wrmid set module s ID within 20 characters 50 AT ASWD Function Set Query
50. et The WAN setting if in STA mode AT LANN 5et 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 50 AT H command AT command is based on the instruction of ASCII command style the description of syntax format as follow Format Description Page 54 of 87 Jinan USR IOT Technology Limited tec Qusr cn e A BARE lt gt Means the parts must be included Means the optional part Command Message AT CMD op para 1 para 2 para 3 para 4 CR 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 its Ox0a or OxOd 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 T RSP op para 1 para 2 para 3 para 4 CR LF CR LF Prefix of response message RSP Response string ok Success ERR Failure op 7 para n Parameters if query command or Error code when error happened CR ASCII 0x0d LF ASCII 0x0a Error Code Table 18 Error Code Describtion I
51. f Jinan USR IOT Technology Limited APUD tec usr cn e A BAR Set Operation AT PING lt IP address CR ok lt fb gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Fb feedback result Success e Timeout Unknown host 16 AT SEND gt Function Send Data to SOCKA at Command Mode gt Format AT SEND data lenth CR ok lt CR gt lt 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 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 of two bytes is more than 10ms the data will be sent instantly 17 AT RECV Function Receive Data from SOCKA at Command Mode Format AT RECVz data lenth timeout CR ok lt data lenth data content CR LF CR LF gt Parameters data lenth Lenth of receive data Range 071000 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 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 NETPz protocol CS port IP CR ok lt CR gt lt LF gt lt CR gt
52. fective 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 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 At normal 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 UARTO pin Page 25 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR PWM GPIO GPIO PWM which can be controlled by network commands now this function is reserved Speaker Out MIC Input Be used to Network
53. hree work mode TCP Client UDP Client UDP Server the setting method please refer to the AT SOCKB command instruction Page 39 of 87 Jinan USR IOT Technology Limited tec Qusr cn 4 A BAR 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 Network configuration by audio 4 4 1 Introduction Network configuration by audio is USR patent technology By adding audio decoding unit on the WIFI module to receive audio information that the intelligent terminal sends User can configurate network parameters via intelligent terminal User input router password information into the intelligent terminal application then intelligent terminal application would encode the password to audio information and send The WIFI module with the audio decoding unit receive the audio information and decode it to the password and complete network configuration The whole network configuration don t required user have any wireless network technology background user can implement the WIFI module or products to STA model correctly connected to the WIFI router and realizing the networking success 100 4 4 2 Peripheral circuit User need to connect a MIC to Pin13 MIC IN as following the microphone can be the standard micro
54. imited tec usr cn e al ah A BABE Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 2 6 3 Shipping Information b PEZ URN OY Thule OE A HUNT PAA PD dr WIE EU HA NG LP 1 k 1 L 2 bd R Figure 9 Shipping Information TRAY Size 420 245 34 mm Note 1 tray 1 box 2 trays 1 carton 4 boxes 5 20 pcs 100 pcs 2 100 pcs 200pcs 4 200 pcs 800pcs tec usr cn Jinan USR IOT Technology Limited ae od BZ BARK A 3 Hardware Introduction 3 1 Pins Definition 3 1 1 USR WIFI232 S Pins Definition ETER IIIIITTITIITI Fr ga SS By dd uL Figure 10 USR WIFI232 S View Figure 11 USR WIFI232 S Pins Map Table 4 USR WIFI232 S Pins Definition e Type 1 SPIDataOut SPLMOSI o SPI Interface Reserved 3 SPIDstaOut SPLMISO I 5 VARTO UARTOTX O UART Interface 6 UATO UARTORX I 8 UARTO UARTO RTS IO 9 Gro GRO WO 6P1023 No connect if not use 10 Module Reset nReset Low effective reset input Pull up if not use Module Boot Up nReady_ O JO Boot up OK Page 16 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BARE Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual _http en usr cn No connect if not use Module Recovery nReload Low effective reset input Pull up if not use Can be set to Smart Link Pin 13 Wi Fi Status nLink 0 Wi Fi Li
55. ket 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 will have a good understanding of the modules Users can also choose the chapter which you are interested in to read For specific details and instructions please refer to the following chapters 1 1 Hardware connect In order to test WIFI module we need connect module RS232 to PC and also WIFI to PC In order to test the communication between serial and WIFI network we need to connect the serial port to PC and also connect WIFI networks to PC Due to the special need both WIFI and serial we use PC which add USB WIFI network Card such as the following picture 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 H evaluation board for users to choose 1 2 Network connection The following is the USR WIFI232 T module example except SSID other modules P f Jinan USR IOT Technology Limited poe aes tec usr cn 024 A are the same to USR WIFI232 T Open Wi Fi
56. l Module s GPIO output pin number value2 Module s GPIO input pin number value3 Module s PWM pin number Page 83 of 87 Jinan USR IOT Technology Limited tec Qusr cn 97 BARK A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn Appendix C HTTP PROTOCOL TRANSFER Module support simple http data transfer in command mode If user need to implement complex HTTP data transfer please confirm with USR engineer C 1 HTTP AT command C 1 1 C 1 2 C 1 3 C 1 4 AT HTTPURL Function Set Query HTTP server IP address and Port Number Format Query Operation AT HTTPURL lt CR gt ok lt IP Port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPURL lt IP Port gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters IP HTTP server IP address Port HTTP server Port number AT HTTPTP Function Set Query HTTP request type Format Query Operation AT HTTPTP lt CR gt 0k 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 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters Type GET default or POST AT HTTPPH Function Set Query HTTP protocol header path Format Query Operation AT HTTPPH lt CR gt ok lt Path gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPPH lt Path gt lt CR gt ok lt CR gt lt LF gt lt CR
57. log 3535353 13 mcmor mem Analog 0 a po NC Nocomer gt pote NG Nocomer gt va PJ NG oome gt Lon PP NG pfNoomet 0 0 2 NG oome gt apo once Noeomed gt am NO pooma gt GPIO26 No connect if not use GPIO GPIO27 I O GPIO27 No connect if not use UARTO UARTO RTS 1 0 UART Interface UARTO UARTO RX GPIO26 No connect if not use GPIO27 No connect if not use me pNocmet gt UARTI 30 UART UARTLTX O GPIO3O No connect if not use 31 33VPower DVDD Power ______ 33 NC pNoomet gt 34 33VPower DVDD Power _______ 35 WPS GPIO WPS I O Default WPS function OR dl Bah Can be set to GPIO35 36 PC Nocomer gt 3 PP NC pNoconmet 38 NC pNocmet 39 UARTO UARTOTX O 40 41 Page 24 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR UARTO UARTO CTS Wi Fi Status Module Boot Up nReady Indicator 0 Wi Fi Link 1 No WIFI Link No connect if not use 0 Boot up OK 1 Boot up No OK No connect if not use Pull up if not use EE be set to Smart Link Pin mm Reset nReset Noconet connect Low effective reset input Pull up if not use Module recovery nReload an effective reset input lt Explanation 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 ef
58. lp Format Page 58 of 87 Jinan USR IOT Technology Limited tec Qusr cn e A BAR AT H lt CR gt ok lt command help gt lt CR gt lt 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 lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Status feedback operation status 10 AT UART gt Function Set Query serial port parameters Setting is valid after reset Format Query Operation AT UART lt CR gt ok lt baudrate data_bits stop_bit parity flowctri gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data bits stop bit parity flowctrl CR ok lt CR gt lt LF gt lt CR gt lt LF gt gt Parameters Baudrate e 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 380400 460800 data bits e 8 stop bits e 1 2 Parity e NONE o EVEN e ODD Flowctrl CTS RTS e 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 okz para CR LF gt lt CR gt lt LF gt Set Operation P f Jinan USR IOT Technology Limited id tec usr cn 02 TESE A Usr cn USR WIFI232 S
59. lso 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 data 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 Page 35 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR Achieve Auto frame Receive Ist byte trigger length NN TEN TEE Wai
60. lt LF gt gt Parameters Protocol TCP UDP CS e SERVER e CLIENT Port protocol port ID Decimal digit and less than 65535 Page 61 of 87 Jinan USR IOT Technology Limited tec Qusr cn OL TESE A Usr cn Jinan USR IOT Technology Limited USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 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 19 AT MAXSK Function Set Query the maximum connection number of TCP Client when SOCKA work in TCP Server Format Query Operation AT MAXSK lt CR gt ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MAXSK num CR ok lt CR gt lt LF gt lt CR gt lt LF 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 Function Query SOCKA connection status Format AT TCPLK CR ok lt sta gt lt CR gt lt LF CR LF gt Parameters
61. mited tec Qusr cn OL s xis A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn SPESE ime BINEN NR T 72 A A O A E TE 12 13 72 SM a AT e E o PEO A 73 ATEOS Ee ae EE a E AE ee EG A NG NK SN AA NGA IA A LUE ee 73 Puig acces cscs NAN NAH OO EE A NA A NR 73 60 ATTVURRPTMACG ne dpud DEUM E EM odos 73 ob PvE 2 MA EE N EE ON EL 74 Appendix A HW Reference Design ese ese ee se ee ee ee ee ee ee nennen ee ee ee Re ee isse nsa sensa ee 75 USR WIFI232 S Evaluation Kit Schematic rrersrnrrnrsnvrnnssvrnnssvrenssvvnnssnvenssnvrnnssvrnnssvrnnssnvenssnvrnssnvrnssnvrnssnnre 75 USR WIFI232 T Evaluation Kit Schematic nennen 76 USR WIFI232 G2 Evaluation Kit Schematic sse 77 USR WIFI232 H Evaluation Kit Schematic 78 Appendix B GPIO PWM CONTROL WITH NETWORK COMMANDS ens 79 Appendix C HTTP PROTOCOL TRANSFER coseno 84 Appendix D Contact MTOM iue RR 87 AEE NN 87 PD DOGG F Update HON AA AR N AE iaai 87 Page 5 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR 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 Soc
62. n upgrade new software firmware version through Wi Fi Ex English Upgrade Software Fast Setting System STA Setting AP Setting REN A Network UART Setting Account Upgrade SW Restart Restore Current version V1 0 04a Web Ver 1 0 11 Figure 44 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 51 of 87 http en usr cn tec usr cn BARE Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual EX English http en usr cn Restart Device Fast Setting System i rtant notice STA Setting ol soap i After restart you will need to re login the configuration interface lt 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 5 1 12 Restore Page Web Ver 1 0 11 Figure 45 Restart 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 Fx English Restore Factory Setting Fast Setting System STA Setting Important notice After restoring factory settings all users
63. nish 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 gt gt gt 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 protocol port IP CR ok lt CR gt lt LF CR LF gt Parameters Protocol TCP Only for TCP Client UDP UDP Client e 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 24 AT TCPDISB Function Open Close SOCKB TCP link Page 63 of 87 rens tec usr cn k eiae 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 AT TCPDISB z on off CR ok lt CR gt lt LF CR LF gt gt Parameters When query
64. nk 1 No WIFI Link No connect if not use WPS dalie Pin dt AE SEO AIN DC E TT 2 4GHz antenna ANT_2 4G Elle be 50ohm impedance PAD Explanation I IN O OUT PU PULL UP I O IN OUT GPIO 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 recover 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 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 At normal 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 i
65. nnectivity applications ee ee ee ee ee ee ee ee ee ee nenen naa nane ee ee 9 1 4 5 Transparent NaNSMISSION sees EE EE ES AA KA Ge tata EE GE GE 9 PORN 11 AS Perge T TT 11 2 2 NENNE a 11 LAG Ples VER EA e o 555 RET 12 2 4 Modules feature comparison essen nnne ee ee ee ee ee ee seran sns 13 DD ANY AD DUN ele n AE o OE OE OR EE EE ON 13 2 6 Package INOrm atO essesi reisini roine oiiae iiir eaei iiai n 14 2 6 1 Recommended Reflow Profile ee ee ee ee nnne nnnm enne nnne nnns 14 2 6 2 Device Handling Instruction Module IC SMT Preparation see 14 E RE l gies MIESE seg a Na m 15 ds Nue Ce home Ts s ereis ei mmm 16 AP PN 16 3 1 1 USR WIFI232 S PINS Dellnit Ns 16 32 WIE TE R OR sr EE ELT 18 3 1 3 USR WIFI232 G2 Pins DefinitiOn ee ee ee ee ee ee Re nnne nawan nenne tenen 20 E USR WIFI232 H Pins R lse 23 3 2 Electrical Kg aio anon ee ne EE GE ee 26 SA Segi naa fe pa SAN EE RE RR UTE 26 SIR RT AR RE AE EE 26 SNG USR WIE RE N N e EE EE AE TE KAE 27 JURE nr 28 SE nn e Pr CO E E A 29 cs ME I QUUM 29 CI AD lia WIFI e 30 ELL ou c dcc E 31 3 5 veh KIE sie ee Ba a ag aaa a Meis D DP LE NE 31 3 6 Typical Application Hardware 33 3 6 1 UART Application Hardware 33 3 6 2 PWM GPIO Application Hardware 33 4 Modules function COSC TOU mtem 34 TAM 34 Tal MONO ee 34 1 Throughput
66. nput GPIO low effective Can be connected to key UARTO_TX RX CTS RTS 17 of Jinan USR IOT Technology Limited Ld tec usr cn 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 m ues sm D ios TOO Eee ira xx Dd Figure 13 USR WIFI232 T pin map Table 5 USR WIFI232 T Pins Definition Pin Describtion Net Name Signal Type Comments 2 3 3V Power DVDD Power 3 3VQ250mA 3 Module Recovery nReload I Low effective reset input Pull up if not use Can be set to Smart Link Pin 4 RE Low effective reset input Pull up if not use 5 I Mo connect if not use 6 re CN No connect if not use 7 Power soft PWR SW I PU U Power Down Mode switch m 1 Normal mode Function is reserved 8 Default WPS function Can be set to PWM GPIO18 No connect if not use 9 PWM nReady PWM 2 I O Default nReady function Can be set to PWM GPIO12 Page 18 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR No connect if not use 10 PWM nLink PWM 1 I O Default nLink function Can be set to PWM GPIO11 No connect if not use Explanation 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
67. nvalid Command Format Invalid Command Invalid Operation Symbol Invalid Parameter Operation Not Permitted 5 2 3 AT command introduction Table 19 AT command list NO Command Description O Z o MangeCommand O 1 JE JOpendosshowbakfuntin 6 RELD Restore to factory default setting Page 55 of 87 Jinan USR IOT Technology Limited tec Qusr cn e A BAR 10 11 12 13 14 UARTTE Set Query UART free frame trigger time between two bytes 15 16 17 18 19 20 21 22 23 24 25 26 27 WiFISTACommand O Z WSCAN WiFiAPCommand Page 56 of 87 Jinan USR IOT Technology Limited tec Qusr cn e A BAR RA 43 44 45 46 47 48 4 WRRPTMAC Set the reporting MAC enable or disable Enalbe Disable WIFI 1 AT E Function Open Close show back function Format AT E lt CR gt ok lt CR gt lt LF CR LF gt Note no show back CR 0x0D LF 0x0A 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 2 AT WMODE gt Function Set Query Wi Fi work mode AP STA Setting is valid after reset gt 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 mode CR ok lt CR gt lt LF gt lt CR gt l
68. opposite Page 19 of 87 ene tec usr cn Jinan USR IOT Technology Limited k eiae 3 1 3 USR WIFI232 G2 Pins Definition Figure 14 USR WIFI232 G2 view GNU ME OWDD MC uc DE MC T 3 umen r5 USR WIFI232 G2 uARTO RTS P a uARTO Rx 5 UARTO CTS nLink nReady gt nReload RC EXT RESETA GND RF Connector Figure 15 USR WIFI232 G2 Pin map Table 6 USR WIFI232 G2 pin Definition Bengal IER Type 1 17 32 1 17 32 48 Ground Power az x mum Debug Debug functional pin EE No connect if not use Page 20 of 87 oe tec usr cn Jinan USR IOT Technology Limited e A BAR EA 7 Sep seep Rg LU Reserved 8 See Sepon o gt 9 33VPwe DVD Power 10 NC pNcmet O O A E NC Noconnect 8 WPS GPIO GPIO15 Default WPS function ETE Nc Noc0nneat E IET NOI ON EE o PKT TS MEEN fm fe connect o NEE TI E E GPIO 10 GPIO23 No connect if not use Feed fNocommet gt Power soft PWR SW I PU 0 Power Down Mode 1 Normal mode Function is reserved E JNocnet ENE ORE N a sea mac vo SPI Interface Reserved 30 SPIDaaOut sp mosi O 31 33vPower DVDD Power 3 NC Na anned gt 34 33vPower DVDD Power 35 NC Na anned 36 NC Na anned 3 NC Na anned gt 38 NC Na anne
69. phone 0 1RMB such as the reference design on EM 6050P or F6050AP STN Audio configuration requires the intelligent terminal as close as possible to the microphone in order to ensure the success rate of 100 distance cannot be more than 30cm and the intermediate should have no obstacle soundproof VDD 3V3 e C4 AGND Figure 33 Peripheral circuit Page 40 of Jinan USR IOT Technology Limited A tec usr cn A BAR 4 5 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 and password After the completion of set up module will automatically restart connected to the router work in the STA mode at this time Protocol format a Searching command No Name Num of Bytes fred ve DEE 2 length 2 Sum of data bytes from length bytes to Check byte not contain length bytes and Check byte Sum of bytes from head not contained byte to check byte not contained Response for searching No Name Num of Bytes Description Oooo Sum of data bytes from length bytes to check byte not contain length bytes and check byte 5 sani The SSID of router 1 seme Separator of SSID1 fixed value 0x00 Signal Signal strength of router 1 07 100 0 100 strength1 e wis Separator of signal strengthi fixed value
70. 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 Target Port IP Address Serial Port Parameters Baud Rate Page 34 of Jinan USR IOT Technology Limited Ed tec usr cn 4 A BAR 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 a
71. rameters Antenna Option Hardware Parameters Operating Current Dimensions and Size 22mm x 13 5mm x 6mm WIFI232 T gt 23 1mm x 32 8mm x 2 7mm CWIFI232 G2 H Footprint 1x10 2mm connector WIFI232 T ootprin i SMT WIFI232 S G2 H Network Type STA AP STA AP Securit b WEP WPA PSK WPA2 PSK Mechanisms Software Parameters User AT command Configuration Website except WIFI232 S Page 12 of 87 Jinan USR IOT Technology Limited tec Qusr cn A BAR 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 USR WIFI232 S USR USR WIFI232 G2 USR WIFI232 H E bk bod NES 2 T m COT I M N m Yo v v ly Y y JV Socket SocketA V v v v Wv Wv WV mee N o a Transparent transmission Embedded Web No No v Y Iv Ww W AT command V v v Y wv Y vw gt ELE e v v KA M flow control Smartlink v iv Y v v No no mmu 5 m e e e v om Configuration we J Jv v Y Y v No No PWM No o 13 4 14 12 No EE SE Antenna Option On boar SMA I PEX On boar I PEX On board d PCB connecto connect d PCB connector PCB antenna r or antenna antenna Note WIFI232 T G2 s PWM GPIO pin is multiplexed pin 2 5 Key Application e Remote equipment monitoring e Industrial sensors and controls e
72. re 27 USR WIFI232 S T G2 H UART Application Hardware 3 6 2 PWM GPIO Application Hardware 2 4G BIRDS ANT USR WIF 1242 T G2 UART i b i EN GPIO ER device k GPIO mm ONE OE ONU EE WE GS GERD HE ME HE WEE m CR LED EE driver rl Bi s mmmmmmmmummmm GND Figure 28 USR WIFI232 T G2PWM GPIO Application Hardware P f Jinan USR IOT Technology Limited G on tec usr cn OL TESE A Usr cn USR WIFI232 S T G2 H Low Power WiFi Module User Manual http en usr cn 4 Modules function description 4 1 Work Mode USR WIFI232 S T G2 H 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 module 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
73. rrea DARI TELO Ie LAKI Crsp 13 j JG i RS232 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 P f Jinan USR IOT Technology Limited d tec usr cn A BABE USR WIFI232 H Evaluation Kit Schematic o GE y E lt ci A Un C H av og p m Y 5 ls The picture shows USR WIFI232 H evaluation kit schematic USR WIFI232 H evaluation board design files please visit USR website download or contact USR engineers Page 78 of 87 Jinan USR IOT Technology Limited tec Qusr cn O FEE 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 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 2
74. t LF gt gt Parameters Mode WI FI work mode e AP 9 50 51 52 53 54 55 56 57 58 59 61 Page 57 of 87 Jinan USR IOT Technology Limited tec Qusr cn 4 A BAR e STA 3 AT ENTM gt Function Set module into throughput mode gt Format AT ENTM lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt After operate this command module switch from command mode to throughput mode 4 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 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 gt Parameters TMODE module work mode include e Throughput throughput mode e Cmd command mode e Pwm PWM GPIO mode 5 AT MID Function Query module ID information Format AT MID lt CR gt 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 Notes User can set this parameter through AT WRMID 6 AT RELD Function module restore to factory default setting Format AT RELD CR T okzrebooting CR 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 Format AT Z CR 8 AT H Function He
75. t lt LF gt gt Parameters Num Setting Value The default is O 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 53 AT WPS Function Start WPS function 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 WPS Scan Failed 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 54 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 on Enable WPS pin function off DisableWPS pin function 55 AT SMTLK gt Function Start Smartlink function gt Format Query Operation AT SMTLK lt CR gt Smartlink 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 56 AT LPTIO gt Function Enable Disable module s nReady nLink function Format
76. t software USR TCP232 Test 2 COM Settings 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 RS232 to Ethernet Convert tester COM port data receive Network data receive NetSettings PortNum http www usr c echnology Co 1 Protocol http www usr echnology Co BaudA http www usr echnology Co DPaity http www echnology Co http www usr echnology Co DataB http www usr c echnology Co StopB http www usr c echnology Co http www usr c echnology Co http www usr c echnology Co http www usr c echnology Co http www usr c http www usr c e http www usr c G Wu B 2 Server IP 2 Server Port echnology Co g 6996666660 E an 9 9 9989989 8 9 E a ea 8 9229922922 2 Data from file Data from file Auto Checksum Auto Checksum Auto Clear Input Auto Clear Input
77. t value mac address STA MAC address such as D8BOCFFF1234 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 APS MAC gt if WiFi connection available 34 AT WSLQ gt Function Query STA WiFi signal strength P f Jinan USR IOT Technology Limited od tec usr cn e A BAR Format Query Operation AT WSLQ CR Tokz ret CR LF CR LF gt Parameters ret e Disconnected if no WiFi connection e AP s WiFi signal strength if WiFi connection available 35 AT WSCAN Function Scan AP Format Query Operation AT WSCAN CR T okz LF CR Ch SSID BSSID Security Indicator LF CR ap si te 1 gt lt LF gt lt CR gt lt ap site 2 LF CR ap site 3 LF CR ap site N LF CR CR LF 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 Function Set Query STA static DNS server address Format Query Operation AT WSDNS lt CR gt ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt
78. ting 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 l Achieve Auto frame Begin to calculate trigger time Send to network Figure 29 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 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 USR WIFI232 H don t have this function Table 14 USR WIFI232 S GPIO PWM pin map Configure PWM GPIO Default Ty d Function Index number Setting pe 9 Jero 123 ero 14 Table 15 USR WIFI232 T GPIO PWM pin map Configured PWM GPIO Default Type Function Index number Seting P 8 PWMGPO 118 ws gt Pama IO ER LR Table 16 USR WIFI232 G2 GPIO PWM pin map Configured PWM GPIO Default Type Function Index number Setting P PWM GPIO Page 36 of 87 Jinan USR IOT Technology Limited
79. 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 Network Configuration by Audio USR WIFI232 H 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 11 of Jinan USR IOT Technology Limited AB MOD tec usr cn e A BAR 2 3 Device Paremeters Table 1 USR WIFI232 S T G2 Module Technical Specifications Cas nem Parameters Certification FCC CE Wireless Frequency range 2 412GHz 2 484GHz 802 11b 16 2dBm 11Mbps Transmit Power 802 11g 14 2dBm 54Mbps 802 11n 13 2dBm HT20 MCS7 l 802 11b 93 dBm 11Mbps CCK Receiver gt 802 119 85 dBm 54Mbps OFDM Sensitivity 802 11n 82 dBm HT20 MCS7 External I PEX connector WIFI232 T G2 H SMA connector WIFI232 S Internal On board PCB antenna WIFI232 S G2 H UART Data Interface PWM GPIO Except WIFI232 H SPI Reserved Operating 3 0n3 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 CWIFI232 S Wireless Pa

Download Pdf Manuals

image

Related Search

Related Contents

Builders Edge 120042127001 Installation Guide  Samsung Omnia I900 Omnia Black  LCM-SERIE - Celestron  Customized Net Conference Powered by Cisco WebEx Technology    Consulter le programme  LGW10A1-D50VDP 製品技術仕様書  Bond A1 User Manual LAVA  MCB MOBILE TERMS & CONDITIONS  présentation du service  

Copyright © All rights reserved.
Failed to retrieve file