background image

Low Power WiFi Module User Manual V1.3

http://www.tcp232.net

Jinan USR IOT Technology Limited.

Page 38 of 59

[email protected]

Query Operation

AT+MID<CR>
+ok=<module_id><CR>< LF ><CR>< LF >

Parameters:

module_id: Module ID information;

HF-LPB;

Notes: User can set this parameter through AT+WRMID.

4.2.2.6. AT+VER

Function: Query module software version information;

Format:

Query Operation

AT+VER<CR>
+ok=<ver><CR>< LF ><CR>< LF >

Parameters:

ver: Module software version information;

4.2.2.7. AT+RELD

Function: module restore to factory default setting;

Format:

Set Operation

AT+ RELD<CR>

+ok=rebooting…<CR>< LF ><CR>< LF >

When operate this command, module will restore to factory default setting and reboot.

4.2.2.8. AT+Z

Function: Re-start module;

Format:

AT+ Z<CR>

4.2.2.9. AT+H

Function: Help;

Format:

Query Operation

AT+H<CR>
+ok=<command help><CR>< LF ><CR>< LF >

Parameters:

command help: command introduction;

4.2.2.10. AT+CFGRD

Function: Batch Read User Configure Parameters;

Format:

Query Operation

AT+CFGRD<CR>

Summary of Contents for USR-WIFI232-G

Page 1: ...less Functionality Ultra Low Power for Battery Applications with Excellent Power Save Scheme Support UART SPI USB PWM GPIO Data Communication Interface Support Work As STA AP AP STA Mode Support Smart...

Page 2: ...ATION KIT 13 1 2 7 ORDER INFORMATION 14 1 3 TYPICAL APPLICATION 15 1 3 1 HARDWARE TYPICAL APPLICATION 15 2 FUNCTIONAL DESCRIPTION 16 2 1 WIRELESS NETWORKING 16 2 1 1 BASIC WIRELESS NETWORK BASED ON AP...

Page 3: ...1 WIRELESS CONTROL APPLICATION 32 3 3 2 REMOTE MANAGEMENT APPLICATION 32 3 3 3 TRANSPARENT SERIAL PORT APPLICATION 32 4 AT INSTRUCTION INTRODUCTION 33 4 1 CONFIGURATION MODE 33 4 1 1 SWITCH TO CONFIGU...

Page 4: ...2 2 35 AT WAP 46 4 2 2 36 AT WAKEY 47 4 2 2 37 AT WAMAC 47 4 2 2 38 AT WADHCP 47 4 2 2 39 AT WADMN 48 4 2 2 40 AT WEBSWITCH 48 4 2 2 41 AT PLANG 48 4 2 2 42 AT UPURL 49 4 2 2 43 AT UPFILE 49 4 2 2 44...

Page 5: ...etting Page 26 Figure 16 AP Setting Page 27 Figure 17 Other Setting Page 27 Figure 18 Account Page 28 Figure 19 Upgrade SW page 28 Figure 20 Restart Page 29 Figure 21 Restore Page 29 Figure 22 STA Int...

Page 6: ...able 6 Standby Mode Status and Wake Up 21 Table 7 USR WIFI232 G GPIO Pin Mapping Table 23 Table 8 USR WIFI232 G Web Access Default Setting 24 Table 9 Error Code Describtion 35 Table 10 AT Instruction...

Page 7: ...G employs the world s lowest power consumption embedded architecture It has been optimized for all kinds of client applications in the home automation smart grid handheld device personal medical appli...

Page 8: ...CB antenna Hardware Parameters Data Interface UART USB SPI PWM Others GPIO ADC DAC RTC Operating Voltage 3 1 3 6V Operating Current Peak Continuous TX 200mA Normal WiFi ON OFF DTIM 100ms Average 8mA P...

Page 9: ...I232 G Demo 1 2 1 Pins Definition Figure 2 USR WIFI232 G Pins Map Table 2 USR WIFI232 G Pins Definition Pin Describtion Net Name Signal Type Comments 1 17 32 48 Ground GND Power 2 JTAG Function JTAG_T...

Page 10: ...f not use 25 N C No connect 26 GPIO 0 Output GPIO26 I O GPIO26 No connect if not use 27 SPI Interface SPI_MISO I O PU No connect if not use 28 SPI Interface SPI_CLK I O PU No connect if not use 29 SPI...

Page 11: ...Model HBM TAMB 25 C 2 KV ESD Charged Device Model CDM TAMB 25 C 1 KV Power Supply Power Consumption Parameter Condition Min Typ Max Unit Operating Supply voltage 3 1 3 3 3 8 V Supply current peak Cont...

Page 12: ...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 Antenna can t be shielded by any meal enclosu...

Page 13: ...mpany provides the evaluation kit to promote user to familiar the product and develop the detailed application The evaluation kit shown as below user can connect to USR WIFI232 G module with the RS 23...

Page 14: ...DC jack for power in 5 18V input DC5 18V DC jack for power in 5 18V input BAT 2 Li Battery Power Supply EXT PORT USR WIFI232 G GPIO function extend interface connector JMP1 JMP2 Reserved No Jumper re...

Page 15: ...judge if module already at WiFi connection status Thers is pull up resister internal and no external pull up required If n Link function not required can leave this pin open nReady Module boot up rea...

Page 16: ...on not required We still suggest 50K 100K ohm pull up added outside the module Sleep ON Module Pin Sleep Indicator Output This pin is used to indicate that the module is asleep Module output 0 or awak...

Page 17: ...wireless network such as laptops PDA and other networking devices can be called with a STA device 2 1 1 Basic Wireless Network Based On AP Infrastructure Infrastructure it s also called basic network...

Page 18: ...xity furthest In this mode user should only configure the necessary parameters After power on module can automatically connect to the default wireless network and server As in this mode the module s s...

Page 19: ...l time fast 10ms and normal 50ms 2 3 2 UART Auto Frame USR WIFI232 G support UART auto frame function If user select open this function and setting auto frame trigger length and auto frame trigger tim...

Page 20: ...ts Multi TCP link connection and maximum eight TCP clients permit to connect to USR WIFI232 G module User can realize multi TCP link connection at each work mode Multi TCP link connection will work as...

Page 21: ...p The intent of this option is to allow for longer sleep times Standby mode can through AT MSLP command or trigger Sleep_RQ pin to go in The standby mode status and wakeup method as follows For standb...

Page 22: ...rade please refer to 3 1 8 firmware upgrade page user can upload firmware file from PC to USR WIFI232 G USR WIFI232 G module also support upgrade from remote HTTP server keep module connects to AP rou...

Page 23: ...onse GPIO OK or GPIO NOK GPIO n OUT 0 Set GPIOn as output and output 0 Response GPIO OK or GPIO NOK GPIO n OUT 1 Set GPIOn as output and output 1 Response GPIO OK or GPIO NOK GPIO n GET query GPIOn pi...

Page 24: ...eb Management Interface Step 1 Connect laptop to SSID HF LPB of USR WIFI232 G module via wireless Network Step 2 After wireless connection OK Open Wen browser and access http 10 10 100 254 Step 3 Then...

Page 25: ...s at STA to connect remote server through AP router Also it can configure at AP STA mode which provide very flexible application for customers Figure 14 Work Mode Page 3 1 4 STA Setting Page User can...

Page 26: ...n 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 Figure 16 AP Setting...

Page 27: ...e user need setting serial port communication parameters and defines TCP related protocol parameters Figure 17 Other Setting Page 3 1 7 Account Management Page This page set web server s user name and...

Page 28: ...g and configuration can only effective after system restart User shall restart after finish all setting Figure 20 Restart Page 3 1 10 Restore Page After module restore factory default setting all user...

Page 29: ...d Ethernet debugging tool 3 2 2 Network Connection User can select two methods to connect USR WIFI232 G module base on dedicated application Use USR WIFI232 G STA interface USR WIFI232 G and debug PC2...

Page 30: ...ress dhcp 0 0 0 0 0 0 0 0 0 0 0 0 3 2 4 Module Debug PC1 open CommTools program setting the same serial port parameters with USR WIFI232 G module and open serial port connection Figure 24 CommTools Se...

Page 31: ...ed from CommTools program to TCPUDPDbg program or in reverse You can see data in receiver side will keep same as in sender side 3 3 Typical Application Examples 3 3 1 Wireless Control Application Figu...

Page 32: ...te TCP server at Internet Module s serial port connects to user device So user device s data or sampling information can send to remote TCP server for storage or processing Also remote TCP server can...

Page 33: ...he module through AT instruction set which cover all web page setting function 4 1 1 Switch to Configuration Mode Two steps to finish switching from transparent transmission mode to configuration mode...

Page 34: ...33 AT H Instruction for Help 4 2 1 Instruction Syntax Format AT Instruction protocol is based on the instruction of ASCII command style the description of syntax format as follow Format Description Me...

Page 35: ...at 2 Invalid Command 3 Invalid Operation Symbol 4 Invalid Parameter 5 Operation Not Permitted 4 2 2 AT Instruction Set Table 10 AT Instruction Set List Instruction Description null NULL Managment Inst...

Page 36: ...ork parameters WSMAC Set Query STA s MAC address WSLK Query STA Wi Fi link status WSLQ Query STA Wi Fi signal strength WSCAN Scan AP WSDNS Set Query STA s Static DNS server address Wi Fi AP Instructio...

Page 37: ...DE CR ok mode CR LF CR LF Set Operation AT WMODE mode CR ok CR LF CR LF Parameters mode Wi Fi work mode AP STA APSTA 4 2 2 3 AT ENTM Function Set module into transparent transmition mode Format AT ENT...

Page 38: ...R CR ok ver CR LF CR LF Parameters ver Module software version information 4 2 2 7 AT RELD Function module restore to factory default setting Format Set Operation AT RELD CR ok rebooting CR LF CR LF W...

Page 39: ...ory Default Configure Parameters Format Query Operation AT CFGFR CR ok config CR LF CR LF Parameters config the first two bytes means the length of configuration parameters 4 2 2 13 AT CFGTF Function...

Page 40: ...n AT UARTF CR ok para CR LF CR LF Set Operation AT UARTF para CR ok CR LF CR LF Parameters para disable Close auto frame function enable Open auto frame function 4 2 2 16 AT UARTFT Function Set Query...

Page 41: ...is 10ms normal free frame trigger time between two bytes is 50ms 4 2 2 19 AT SEND Function Send Data at Command Mode Format AT SEND data_lenth data_content CR ok CR LF CR LF Parameters data_lenth Lent...

Page 42: ...CR LF CR LF Set Operation AT NETP protocol CS port IP CR ok CR LF CR LF Parameters protocol TCP UDP CS Network mode SERVER CLIENT Port protocol port ID Decimal digit and less than 65535 IP Server s IP...

Page 43: ...an be link On TCP link close off TCP link on When setting off means close TCP link After finish this command module disconnect TCP link and not connect again On means open TCP link After finish this c...

Page 44: ...de shall less than 64 bit and greater than 8bit 4 2 2 28 AT WANN Function Set Query STA network setting Format Query Operation AT WANN CR ok mode address mask gateway CR LF CR LF Set Operation AT WANN...

Page 45: ...f if WiFi OFF 4 2 2 31 AT WSLQ Function Query STA WiFi signal strength Format Query Operation AT WSLQ CR ok ret CR LF CR LF Parameters ret Disconnected if no WiFi connection AP s WiFi signal strength...

Page 46: ...4 2 2 35 AT WAP Function Set Query AP Wi Fi parameters Format Query Operation AT WAP CR ok wifi_mode ssid channel CR LF CR LF Set Operation AT WAP wifi_mode ssid channel CR ok CR LF CR LF Parameters...

Page 47: ...ode s MAC address is related to STA mode s MAC address If user need changeto others please contact with USR company technical people 4 2 2 38 AT WADHCP Function Set Query AP DHCP server status Format...

Page 48: ...Function Set Query webpage language option Format Query Operation AT PLANG CR ok language CR LF CR LF Set Operation AT PLANG language CR ok CR LF CR LF Parameters language webpage s language CN Chine...

Page 49: ...mote upgrade Note After execute this command the USR WIFI232 G will automatic start upgrade base on the setting of UPURL UPFILE command contents 4 2 2 45 AT WEBU Function Set Query webpage user name a...

Page 50: ...standby WiFi shut down mode 4 2 2 47 AT WRMID Function Set module ID Format Set Operation AT WRMID wrmid CR LF CR LF Parameters wrmid set module s ID within 20 characters 4 2 2 48 AT ASWD Function Set...

Page 51: ...s 3 Recommend to oven bake with N2 supplied 4 Recommend end to reflow oven with N2 supplied 5 Baked required with 24 hours at 125 5 before rework process for two modules one is new module and two is b...

Page 52: ...w tcp232 net Jinan USR IOT Technology Limited Page 52 of 59 freda usr so 5 3 Shipping Information TRAY Size 420 245 34 mm Figure 35 Shipping Information Note 1 tray 5 20pcs 100 pcs 1 box 2 trays 2 100...

Page 53: ...t Jinan USR IOT Technology Limited Page 53 of 59 freda usr so APPENDIX A HW REFERENCE DESIGN Detailed USR WIFI232 G Evluation Board design source files pls access USR company web download page or cont...

Page 54: ...in pwm mode B 1 Network command B 1 1 GPIO channel OUT value Function set module GPIO channel output temporarily set the output value take effect after reset Parameter channel GPIO channel number can...

Page 55: ...esponded data GPIO OK GPIO NOK B 1 4 PWM channel frequency duty Function set module PWM channel output temporarily set output value take affect after reset Parameters Channel PWM channel number can be...

Page 56: ...lue Parameters Channel PWM channel number can be 0 1 2 Responded data PWM OK PWM NOK B 2 Hex network command Send hex data can get module IO information send side need to send in hexadecimal receive s...

Page 57: ...frequency high value Value2 PWM channel 0 frequency low value Value3 PWM channel 1 frequency high value Value4 PWM channel 1 frequency low value Value5 PWM channel 2 frequency high value Value6 PWM c...

Page 58: ...annel1 duty Value3 PWM channel2 duty B 2 6 PWM channel duty write command Send 22 channel value1 Channel PWM channel Value1 PWM duty Responded data a2 channel value1 Channel PWM channel Value1 PWM dut...

Page 59: ...d data fe value1 value2 value3 Value1 module GPIO output channel Value2 module GPIO input channel Value3 module PWM channel APPENDIX C CONTACT INFORMATION Contact us Company Jinan USR IOT Technology L...

Reviews: