background image

Low power WIFI module user manual

http://en.usr.cn

Jinan USR IOT Technology Limited

[email protected]

Page 1/72

Low Power WiFi Module User Manual

V 1.3

Overview of C

haracteristic

Support IEEE802.11b/g/n Wireless Standards

Based on Self-developed High Cost Effective MCU

Ultra-Low-Power for Battery Applications with Excellent Power Save
Scheme

Support UART/PWM/GPIO Data Communication Interface

Support Work As STA/AP/AP+STA Mode

Support Smart Link Function (APP program provide)

Support Wireless and Remote Firmware Upgrade Function

support WPS Function

Support Multi-TCP Link (5 Channel) Apllication

Support Dial Switch Power Control

Support External IPEX or Pad Interface Antenna Option

3.3V Power Supply

Smallest Size: 22mm x 13.5mm x 6mm, 1x10 2mm Connector

FCC/CE Certificated

Summary of Contents for USR-WIFI232-T

Page 1: ...ry Applications with Excellent Power Save Scheme Support UART PWM GPIO Data Communication Interface Support Work As STA AP AP STA Mode Support Smart Link Function APP program provide Support Wireless and Remote Firmware Upgrade Function support WPS Function Support Multi TCP Link 5 Channel Apllication Support Dial Switch Power Control Support External IPEX or Pad Interface Antenna Option Single 3 ...

Page 2: ...APPLICATION HARDWARE TYPICAL CONNECTION 17 2 FUNCTIONAL DESCRIPTION 19 2 1 WIRELESS NETWORKING 19 2 1 1 BASIC WIRELESS NETWORK BASED ON AP INFRASTRUCTURE 19 2 1 2 WIRELESS NETWORK BASED ON AP STA 19 2 2 WORK MODE TRANSPARENT TRANSMISSION MODE 20 2 3 UART FRAME SCHEME 21 2 3 1 UART FREE FRAME 21 2 3 2 UART AUTO FRAME 22 2 4 ENCRYPTION 22 2 5 PARAMETERS CONFIGURATION 22 2 6 FIRMWARE UPDATE 23 2 7 GP...

Page 3: ...TRUCTION INTRODUCTION 37 4 1 CONFIGURATION MODE 37 4 1 1 SWITCH TO CONFIGURATION MODE 37 4 2 AT INSTRUCTION SET OVERVIEW 38 4 2 1 INSTRUCTION SYNTAX FORMAT 38 4 2 2 AT INSTRUCTION SET 39 4 2 2 1 AT E 41 4 2 2 2 AT WMODE 41 4 2 2 3 AT ENTM 42 4 2 2 4 AT TMODE 42 4 2 2 5 AT MID 42 4 2 2 6 AT VER 42 4 2 2 7 AT RELD 43 4 2 2 8 AT FCLR 43 4 2 2 9 AT Z 43 4 2 2 10 AT H 43 4 2 2 11 AT CFGRD 43 4 2 2 12 A...

Page 4: ... 2 2 42 AT LANN 53 4 2 2 43 AT WAP 53 4 2 2 44 AT WAKEY 54 4 2 2 45 AT WAMAC 54 4 2 2 46 AT WADHCP 54 4 2 2 47 AT WADMN 55 4 2 2 48 AT PLANG 55 4 2 2 49 AT UPURL 55 4 2 2 50 AT UPFILE 56 4 2 2 51 AT UPWEB 56 4 2 2 52 AT UPCFG 56 4 2 2 53 AT UPNVR 56 4 2 2 54 AT UPAUTO 57 4 2 2 55 AT LOGSW 57 4 2 2 56 AT LOGPORT 57 4 2 2 57 AT UPST 58 4 2 2 58 AT WEBU 58 4 2 2 59 AT MSLP 58 4 2 2 60 AT NTPRF 58 4 2...

Page 5: ...ON 63 APPENDIX A HW REFERENCE DESIGN 64 APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS 66 B 1 NETWORK COMMAND 66 B 2 HEXADECIMAL NETWORK COMMAND 69 APPENDIX C HTTP PROTOCOL TRANSFER 71 C 1 HTTP AT COMMAND 71 C 1 1 AT HTTPURL 71 C 1 2 AT HTTPTP 71 C 1 3 AT HTTPPH 71 C 1 4 AT HTTPCN 72 C 1 5 AT HTTPUA 72 C 1 6 AT HTTPDT 72 C 2 HTTP EXAMPLE 72 APPENDIX D CONTACT INFORMATION 74 ...

Page 6: ...ment page 28 Figure 12 System Web Page 29 Figure 13 Work Mode Page 30 Figure 14 STA Setting Page 30 Figure 15 AP Setting Page 31 Figure 16 Other Setting Page 31 Figure 17 Account Page 32 Figure 18 Upgrade SW page 32 Figure 19 Restart Page 33 Figure 20 Restore Page 33 Figure 21 STA Interface Debug Connection 34 Figure 22 AP Interface Debug Connection 34 Figure 23 CommTools Serial Debug Tools 35 Fig...

Page 7: ...on 12 Table 3 Absolute Maximum Ratings 13 Table 4 Power Supply Power Consumption 13 Table 5 USR WIFI232 T External Antenna Parameters 15 Table 6 USR WIFI232 T Evaluation Kit Interface Description 15 Table 7 USR WIFI232 T GPIO PWM Pin Mapping Table 23 Table 8 USR WIFI232 T Web Access Default Setting 25 Table 9 Error Code Describtion 37 Table 10 AT Instruction Set List 37 Table 11 Reflow Soldering P...

Page 8: ...RY Ed V1 0 08 01 2013 First Version Ed V1 1 09 11 2013 Update AT command Ed V1 2 10 12 2013 Update AT command Update PWM GPIO function Add HTTP protocol demo Add auto frame function Ed V1 3 10 18 2013 Add nReload Pin wireless upgrade and config description add nLink Pin wireless upgrade indication description ...

Page 9: ...on and industrial control that have lower data rates and transmit or receive data on an infrequent basis The USR WIFI232 T integrates all Wi Fi functionality into a low profile 23 1x32 8x 2 7mm SMT module package that can be easily mounted on main PCB with application specific circuits Also module provides built in antenna external antenna option 1 1 1 Device Features Single stream Wi Fi 2 4 GHz w...

Page 10: ...ernal Pad connector Hardware Parameter s Data Interface UART PWM GPIO Operating Voltage 2 8 3 6V Operating Current Peak Continuous TX 200mA Normal WiFi ON OFF DTIM 100ms Average 12mA Peak 200mA Standby WiFi Shutdown 200uA Power Down Switch 10uA Operating Temp 40 85 Storage Temp 45 125 Dimensions and Size 22mm x 13 5mm x 6mm External Interface 1x10 2mm DIP Software Parameter s Network Type STA AP S...

Page 11: ...Low power WIFI module user manual http en usr cn Jinan USR IOT Technology Limited tec usr cn Page 11 72 Security Industrial sensors and controls Home automation Medical devices ...

Page 12: ...T0 UART0_TX O GPIO6 No connect if not use 7 Power Control Switch PWR_SW I PU 0 Power Down Mode Lowest Power Consumption 1 Normal mode 8 PWM Channel 3 PWM_3 I O Can be configured as WPS GPIO18 No connect if not use 9 PWM Channel 2 PWM_2 I O Can be configured as nReady GPIO12 No connect if not use 10 PWM Channel 1 PWM_1 I O Can be configured as nLink GPIO11 Detailed functions see Notes Notes nReload...

Page 13: ... Link config mode this LED used to indicate APP to finish setting 3 At normal mode it s Wi Fi link status indicator USR Technology strongly suggest customer fan out this pin to LED 1 2 2 Electrical Characteristics Table 3 Absolute Maximum Ratings Parameter Condition Min Typ Max Unit Storage temperature range 45 125 C Maximum soldering temperature IPC JEDEC J STD 020 260 C Supply voltage 0 3 8 V Vo...

Page 14: ...cal Dimension 1 2 4 External Antenna USR WIFI232 T supports two way of external antenna as the following picture show The IPEX interface or the PAD interface The user may choose one of them If user select external antenna USR WIFI232 T modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Figure 3 USR WIFI232 T External Ant...

Page 15: ...or do the some functional tests The EVK support 5V DC power supply Figure 4 USR WIFI232 T Evaluation Kit The external interface description for evaluation kit as follows Table 6 USR WIFI232 T Evaluation Kit Interface Description Item Parameters Frequency range 2 4 2 5GHz Impedance 50 Ohm VSWR 2 Max Return Loss 10dB Max Connector Type I PEX or populate directly Function Name Description External In...

Page 16: ...ogy Limited tec usr cn Page 16 72 1 3 Typical Application 1 3 1 Hardware Typical Application Figure 5 USR WIFI232 T Hardware Typical Application 1 3 2 Smart LED Application Hardware Typical Connection Figure 6 USR WIFI232 T Smart LED Application Hardware Connection Notes ...

Page 17: ... required can leave this pin open UART0_TXD RXD UART port data transmit and receive signal PWM n PWM control signal output It can also be configured as GPIO output AT LPTIO on command configure PWM_1 pin as nLink PWM_2 pin as nReady PWM_3 as WPS function nReset Module hardware reset signal Input Logics 0 effective There is pull up resister internal and no external pull up required When module powe...

Page 18: ... the network nodes The wireless router we use at home or in office may be an AP STA short for Station each terminal connects to a wireless network such as laptops PDA and other networking devices can be called with a STA device 2 1 1 Basic Wireless Network Based On AP Infrastructure Infrastructure it s also called basic network It built by AP and many STAs which join in The characters of network o...

Page 19: ...ion Mode USR WIFI232 T module support serial interface transparent transmission mode The benefit of this mode is achieves a plug and play serial data port and reduces user complexity furthest In this mode user should only configure the necessary parameters After power on module can automatically connect to the default wireless network and server As in this mode the module s serial port always work...

Page 20: ...will think it as the end of one frame and transfer this free frame to WiFi port or USR WIFI232 T will receive UART data until 1000 bytes then transfer 1000 bytes frame to WiFi port USR WIFI232 T s default interval time is 50ms User can also set this interval to fast 10ms through AT command But user have to consider if user MCU can send UART data with 10ms interval or the UART data may be divide as...

Page 21: ...n USR WIFI232 T module supports two methods to configuration parameters Web Accessing and AT instruction set Web accessing means users can configure parameters through Web browser When USR WIFI232 T module connected to wireless network parameters configuration is done on a PC connected to the same wireless network AT instruction set configuration means user configure parameters through serial inte...

Page 22: ... start remote NVRAM Data upgrade After excuate this command the module will firstly download configuration file config txt then download the upgrade file base on the NVR address listed in the configure file AT UPAUTO command to start remote upgrade After excuate this command the module will firstly download configuration file config txt then download the upgrade file base on the URL WEB CFG addres...

Page 23: ...quency duty Set PWMn Channel output Response GPIO OK or GPIO NOK PWM n GET Read PWMn Channel set Response ok frequency duty or PWM NOK PWM n SET Save PWMn Channel set Response PWM OK or PWM NOK Notes Please refer to Appendix B for details to use GPIO PWM 2 8 SOCKET B Function USR WIFI232 T support double socket communication the socket B function is disabled by default After the module is started ...

Page 24: ...onnect to USR WIFI232 T module User can realize multi TCP link connection at each work mode Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence Downstream All data from serial port user will be duplicate and broadcast to every TCP connection or client Detailed multi TCP link data ...

Page 25: ...Setting Parameters Default Setting SSID HF LPB100 IP Address 10 10 100 254 Subnet Mask 255 255 255 0 User Name Admin Password Admin 3 1 1 Open Web Management Interface Step 1 Connect laptop to SSID USR WIFI232 T of USR WIFI232 T module via wireless LAN card Step 2 After wireless connection OK Open Wen browser and access http 10 10 100 254 Step 3 Then input user name and password in the page as fol...

Page 26: ...e 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 Figure 12 System Web Page 3 1 3 Work Mode Page USR WIFI232 T module can works at AP mode to simplify user s configuration can also works at STA to connect remote server through AP router Also it can configure at AP STA mode which pro...

Page 27: ... 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 Figure 14 STA Setting Page 3 1 5 AP Setting Page When user select module works at AP and AP STA mode then need setting this page and provide wireless and network parameters Most of the system support DHCP to achieve IP address so we ...

Page 28: ...er Setting Page USR WIFI232 T usually works at data transparent transmission mode At this mode the user device which connected with USR WIFI232 T will connect and communicate with remote PC or server At this page user need setting serial port communication parameters and defines TCP related protocal parameters Figure 16 Other Setting Page ...

Page 29: ...ge This page set web server s user name and password Figure 17 Account Page 3 1 8 Upgrade Software Page User can upgrade new software firmware version through Wi Fi Figure 18 Upgrade SW page 3 1 9 Restart Page Most of the settting and configuration can only effective after system restart User shall restart after finish all setting ...

Page 30: ...2 Figure 19 Restart Page 3 1 10 Restore Page After module restore factory default setting all user configuration profile will lose User can access http 10 10 100 254 to set again and user name and password is admin USR WIFI232 T will restore to AP mode for factory default setting Figure 20 Restore Page ...

Page 31: ...e on dedicated application Use USR WIFI232 T STA interface USR WIFI232 T and debug PC2 connect to a wireless AP another PC1 or user device connect to USR WIFI232 T module with serial port Figure 21 STA Interface Debug Connection Use USR WIFI232 T AP interface Debug PC2 connect to USR WIFI232 T through wireless connection another PC1 or user device connect to USR WIFI232 T module with serial port F...

Page 32: ...connection Figure 23 CommTools Serial Debug Tools PC2 open TCPUDPDbg program and create a new connection If USR WIFI232 T configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mode connection Figure 24 TCPUDPDbg Tools Create Connection Then setting the TCP UDP connection parameters Default as following Figure 25 TCPUDPDbg Tools Setting Then clic...

Page 33: ...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 Figure 27 Wireless Control Application For this wireless control application USR WIFI232 T works as Ad Hoc mode Module s serial port connects to user device So control agent Smart phone for this example can manage and control the user device through t...

Page 34: ...server at Internet Module s serial port connects to user device So user device s data or sampling information can send to remote TCP server for storage or processing Also remote TCP server can send command to control and manage the user device through the wireless network 3 3 3 Transparent Serial Port Application For this transparent serial port application two USR WIFI232 T modules connect as bel...

Page 35: ...le 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 UART input after module receive and feedback a as confirmation UART input a after module receive a and feedback ok to go into AT instruction set configuration mode Figure 31 Switch to Configuration Mode Not...

Page 36: ... 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 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 requi...

Page 37: ...Error Code Description 1 Invalid Command Format 2 Invalid Command 3 Invalid Operation Symbol 4 Invalid Parameter 5 Operation Not Permitted 4 2 2 AT Instruction Set Table 10 AT Instruction Set List Instructio n Description null NULL Managment Instruction Set E Open Close show back function WMODE Set Query Wi Fi work mode AP STA APSTA ENTM Set module into transparent transition mode TMODE Set Query ...

Page 38: ...s TCPDISB Open Close SOCKB TCP link TCPTOB Set Query SOCKB TCP timeout TCPLKB Query if SOCKB TCP link already build up SNDB Send data to SOCKB in Command Mode RCVB Receive data from SOCKB in Command Mode Wi Fi STA Instruction Set Effective when module works as STA WSKEY Set Query STA security parameters WSSSID Set Query associated AP SSID parameters WANN Set Query STA s network parameters WSMAC Se...

Page 39: ...ration function NTPTM Query time Others Instruction Set WRMID Set module ID RLDEN Set Query GPIO45 status ASWD Set Query WiFi configuration code MDCH Set Wi Fi Auto Switch Function TXPWR Set Query Wi Fi Transmit Power LPTIO Enable Disable nReady nLink function WIFI Config Tools don t support CFGRD command yet 4 2 2 1 AT E Function Open Close show back function Format AT E CR ok CR LF CR LF When US...

Page 40: ...er mode Format Query Operation AT TMODE CR ok tmode CR LF CR LF Set Operation AT TMODE tmode CR ok CR LF CR LF Parameters tmode data transfer mode include throughput cmd pwm 4 2 2 5 AT MID Function Query module ID information Format Query Operation AT MID CR ok module_id CR LF CR LF Parameters module_id Module ID information USR WIFI232 T Notes User can set this parameter through AT WRMID 4 2 2 6 ...

Page 41: ...actory setting Format Query Operation AT FCLR CR ok status CR LF CR LF 4 2 2 9 AT Z Function Re start module Format AT Z CR 4 2 2 10 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 11 AT CFGRD Function Batch Read User Configure Parameters Format Query Operation AT CFGRD CR ok config CR LF CR LF Parameters config the f...

Page 42: ...two bytes means the length of configuration parameters 4 2 2 14 AT CFGTF Function Copy User Parameters to Factory Default Parameters Format Query Operation AT CFGTF CR ok status CR LF CR LF Parameters status feedback operation status 4 2 2 15 AT UART Function Set Query serial port parameters Format Query Operation AT UART CR ok baudrate data_bits stop_bit parity CR LF CR LF Set Operation AT UART b...

Page 43: ...F Parameters para disable Close auto frame function enable Open auto frame function 4 2 2 17 AT UARTFT Function Set Query UART auto frame trigger time Format Query Operation AT UARTFT CR ok time CR LF CR LF Set Operation AT UARTFT time CR ok CR LF CR LF Parameters time Range 100 10000 Unit ms Auto frame trigger time 4 2 2 18 AT UARTFL Function Set Query UART auto frame trigger length Format Query ...

Page 44: ...R ok CR LF CR LF Parameters data_lenth Lenth of send data Range 0 1000 Byte The UART port will wait 3 seconds for input after this command is sent OK The data received from UART port is sent to socket If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 21 AT RECV Function Receive Data at Command Mode Format AT RECV data_lenth CR ok data_lenth data_content CR LF CR ...

Page 45: ...RVER the module will save the IP address and port of the latest UDP packet received The data will be sent to the saved IP address and port If the module hasn t saved any IP address and port when power up The data will be sent to the IP address and port which is set by this command If set as UDP CLIENT the data will always be sent to the IP address and port set by this command 4 2 2 24 AT MAXSK Fun...

Page 46: ...ime CR LF CR LF Set Operation AT TCPTO time CR ok CR LF CR LF Parameters time TCP timeout time 600 600s 0 0 means no timeout Default 300s 4 2 2 27 AT TCPDIS Function Open Close TCP link Format Query Opera AT TCPDIS CR ok sta CR LF CR LF Set Operation AT TCPDIS on off CR ok CR LF CR LF Parameters When query sta Feedback if TCP Client can be link On TCP link close off TCP link on When setting off me...

Page 47: ...omain name is support 4 2 2 29 AT TCPDISB Function Open Close TCP_B connection Format Query Operation AT TCPDISB CR ok sta CR LF CR LF Set Operation AT TCPDISB on off CR ok CR LF CR LF Parameters When setting off means close TCP link After finish this command module disconnect TCP link and not connect again On means open TCP link After finish this command module re connect TCP server right away 4 ...

Page 48: ...ters data_lenth Lenth of send data Range 0 1000 Byte The UART port will wait 3 seconds for input after this command is sent OK The data received from UART port is sent to socket If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 33 AT RCVB Function Receive datas from SOCKB at Command Mode Format AT RCVB data_lenth CR ok data_lenth data_content CR LF CR LF Paramete...

Page 49: ...PAPSK WPA2PSK encry Encryption algorithm NONE When auth OPEN effective WEP When auth OPEN or SHARED effective TKIP When auth WPAPSK or WPA2PSK effective AES When auth WPAPSK WPA2PSK effective key password ASCII code shall less than 64 bit and greater than 8bit 4 2 2 36 AT WANN Function Set Query STA network setting Format Query Operation AT WANN CR ok mode address mask gateway CR LF CR LF Set Oper...

Page 50: ...AC address such as ACCF23FF1234 4 2 2 38 AT WSLK Function Query STA WiFi link status Format Query Operation AT WSLK CR ok ret CR LF CR LF Parameters ret Disconnected if no WiFi connection AP SSID AP s MAC if WiFi connection available RF Off if WiFi OFF 4 2 2 39 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 WiF...

Page 51: ...ht away 4 2 2 42 AT LANN Function Set Query AP s network parameters Format Query Operation AT LANN CR ok ipaddress mask CR LF CR LF Set Operation AT LANN ipaddress mask CR ok CR LF CR LF Parameters ipaddress AP s IP address mask AP s net mask 4 2 2 43 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 ...

Page 52: ...SK available key security code ASCII code smaller than 64bit and bigger than 8 bit 4 2 2 45 AT WAMAC Function Query AP MAC address parameters Format Query Operation AT WAMAC CR ok mac_address CR LF CR LF Parameters mac_address AP s MAC address Note Module AP mode s MAC address is related to STA mode s MAC address If user need changeto others please contact with USR Technology technical people 4 2 ...

Page 53: ...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 Chinese Version Default EN English Version 4 2 2 49 AT UPURL Function Set Query remote upgrade URL address Format Query Operation AT UPURL CR ok url CR LF CR LF Set Operation AT UPURL url filename CR ok CR LF CR LF ...

Page 54: ...fter execute this command the USR WIFI232 T will automatic start upgrade Webpage base on the setting of UPURL UPFILE command contents 4 2 2 52 AT UPCFG Function Remote factory setting upgrade Format Query Operation AT UPCFG CR ok log CR LF CR LF Parameters log Some status print log from remote upgrade Note After execute this command the USR WIFI232 T will automatic start upgrade base on the settin...

Page 55: ...mand contents 4 2 2 55 AT LOGSW Function Open Close remote upgrade logfile Format Query Operation AT LOGSW CR ok status CR LF CR LF Set Operation AT LOGSW status CR ok CR LF CR LF Parameters status on Open The UART Port will print some upgrade status when upgrading the log file will be sent to UDP Port after successfully off Close 4 2 2 56 AT LOGPORT Function Set Query remote upgrade UDP port of l...

Page 56: ...CR LF Set Operation AT WEBU username password CR ok CR LF CR LF Parameters username User Name within 15 characters not support empty password password within 15 characters support empty 4 2 2 59 AT MSLP Function Set Query deep sleep standby mode parameters Format Query Operation AT MSLP CR ok ret CR LF CR LF Set Operation AT MSLP mode CR LF CR LF Parameters ret normal normal mode 100ms interval mo...

Page 57: ...bration on Enable time calibration off Disable time calibration 4 2 2 62 AT NTPTM Function Query network time Format Query Operation AT NTPTM CR ok time CR LF CR LF Parameters time networ time for example 2013 10 9 16 10 42 Wed if it shows Not Available means that the time calibration function is not enabled or the module doesn t connect to the internet 4 2 2 63 AT WRMID Function Set module ID For...

Page 58: ...nction Format Query Operation AT MDCH CR ok mode CR LF CR LF Set Operation AT MDCH mode CR LF CR LF Parameters mode Wi Fi Auto Switch Mode off Disable Wi Fi auto switch on Enable Wi Fi auto switch When the module STA mode fail to connect to router it will switch to AP mode itself in one minute auto Enable Wi Fi auto detect function The module will reset itself when encounter any abnormal The defau...

Page 59: ...t to make this setting change valid It will not restore to default if reload the module 4 2 2 68 AT LPTIO Function Enable Disable module s nReady nLink function Format Query Operation AT LPTIO CR ok status CR LF CR LF Set Operation AT LPTIO status CR ok CR LF CR LF Parameters staus Enable Disable nReady nLink function PWM_1 pin is for nLink function PWM_2 pin is for nReady function on Enable nRead...

Page 60: ... last baked with window time 168 hours 3 Recommend to oven bake with N2 supplied 4 Recommend end to reflow oven with N2 supplied 5 Baked required with 24 hours at 125 5 before rework process for two modules one is new module and two is board with module 6 Recommend to store at 10 RH with vacuum packing 7 If SMT process needs twice reflow 1 Top side SMT and reflow 2 Bottom side SMT and reflow Case ...

Page 61: ...echnology Limited tec usr cn Page 61 72 Note Window time means from last bake end to next reflow start that has 168 hours space 5 3 Shipping Information TRAY BOX Size 420 245 34 mm Size 422 247 72 mm inside Note 1 tray 5 20pcs 100 pcs 1 box 2 trays 2 100 pcs 200pcs ...

Page 62: ...Low power WIFI module user manual http en usr cn Jinan USR IOT Technology Limited tec usr cn Page 62 72 APPENDIX A HW REFERENCE DESIGN ...

Page 63: ...tp en usr cn Jinan USR IOT Technology Limited tec usr cn Page 63 72 Detailed USR WIFI232 T Evaluation Board design source files pls access USR Technology web download page or contact with USR Technology technical support people to acquire ...

Page 64: ...tus of GPIO won t be changed if the module is reset B 1 Network Command B 1 1 GPIO channel OUT value Function Set GPIO Channel value temporarily Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number value GPIO Channel value 1 high voltage 0 low voltage Return Data GPIO OK Command successful GPIO NOK Command failed B 1 2 GPIO channel GET Function Query GPIO Channel value Paramet...

Page 65: ...rs channel GPIO Channel number it can be 11 12 18 GPIO Pin Number Return Data GPIO OK Command successful GPIO NOK Command failed B 1 4 PWM channel frequency duty Function Set PWM Channel output temporarily Parameters channel PWM Channel number it can be 11 12 18 GPIO Pin Number frequency PWM Channel frequency it can be 500 60000 duty PWM Channel duty it can be 0 100 Return Data PWM OK Command succ...

Page 66: ...logy Limited tec usr cn Page 66 72 B 1 5 PWM channel GET Function Query PWM Channel output Parameters channel PWM Channel number it can be 11 12 18 GPIO Pin Number Return Data ok frequency duty frequency PWM Channel frequency duty PWM Channel duty PWM NOK Command failed ...

Page 67: ...PIO11 frequency value3 High byte of PWM Channel 1 GPIO12 frequency value4 Low byte of PWM Channel 1 GPIO12 frequency value5 High byte of PWM Channel 2 GPIO18 frequency value6 Low byte of PWM Channel 2 GPIO18 frequency value7 Not used value8 Not used B 2 2 Write PWM Channel Frequency Send Data 32 channel value1 value2 channel PWM Channel number value1 High byte of PWM Channel frequency value2 Low b...

Page 68: ...value1 Duty of PWM Channel Return Data a2 channel value1 Channel PWM Channel number value1 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 Send Data 7e Return Data fe value1 value2 value3 value1 Module s GPIO ouput pin number value2 Module s GPIO input pin number value3 Module s PWM pin number ...

Page 69: ...rver IP address and Port Number Format Query Operation AT HTTPURL CR ok IP Port CR LF CR LF Set Operation AT HTTPURL IP Port CR ok CR LF CR LF Parameters IP IP address Port Port number C 1 2 AT HTTPTP Function Set Query HTTP request type Format Query Operation AT HTTPTP CR ok Type CR LF CR LF Set Operation AT HTTPTP Type CR ok CR LF CR LF Parameters Type GET default or POST C 1 3 AT HTTPPH Functio...

Page 70: ...Agent of HTTP protocol header Format Query Operation AT HTTPUA CR ok Parameter CR LF CR LF Set Operation AT HTTPUA Parameter CR ok CR LF CR LF Parameters Parameter Max length is 20 bytes C 1 6 AT HTTPDT Function Send HTTP request or data Format Set Operation AT HTTPDT Data CR ok CR LF CR LF Parameters Data HTTP request data send AT HTTPDT directly if no data to be sent C 2 HTTP Example HTTP parame...

Page 71: ...P 1 1 Connection keep alive User Agent lwip1 3 2 Content Length 0 Host 192 168 0 127 8999 If send AT HTTPDT abcd the data 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 ok If the module hasn t received data from HTT...

Page 72: ...imited tec usr cn Page 72 72 APPENDIX D CONTACT INFORMATION Jinan USR IOT Technology Limited Address 1 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 803 Web http en usr cn Skype lisausr Email sales usr cn tec usr cn END OF DOCUMENT ...

Reviews: