Summary of Contents for Jinan USR IOT Technology USR-WIFI232-S
Page 1
USR-WIFI232-S/T/G2 Low Power WiFi Module User Manual http://en.usr.cn USR-WIFI232-S/T/G2 Low Power WiFi Module User Manual V3.1 Overview of Characteristic Support IEEE802.11b/g/n Wireless Standards Based on Self-developed High Performance MCU Ultra-Low-Power Applications with Excellent Power Save Support UART/PWM/GPIO Data Communication Interface ...
Page 2
USR-WIFI232-S/T/G2 Low Power WiFi Module User Manual http://en.usr.cn FCC/CE Certificated Page 2 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
TTL to RS232 adapter cable and then connect to the computer. in order to facilitate the test, we provide USR-WIFI232-S/T/G2 evaluation board for users to choose. Page 7 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 1.2 Network connection The following is the USR-WIFI232-T module example, except SSID, other modules are the same to USR-WIFI232-T. Open Wi-Fi, search network, as shown in below, USR-WIFI232-T is the default network name (SSID) of the module.
Page 9
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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 We just need to follow the parameters of the corresponding set of network communication parameters, you can make serial <--> WIFI communication, the steps are as follows: 1.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 1.4 Application Examples 1.4.1 Wireless remote control applications Figure 5 Wireless remote control applications In the wireless remote control applications, USR-WIFI232 module works in AP mode. USR-WIFI232 module’s serial connect user’s devices. Control client (such as smartphones) can controll the user equipment via wireless network.
Page 11
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn this application is to build a transparent serial channel between two user devices. The following figure is set as follows: Left of the USR-WIFI232 module is set to AP mode, SSID and IP address are ...
2、Product Overview 2.1 General Description USR-WIFI232-S/T/G2 is a fully self-contained small form-factor, single stream, 802.11b/g/n Wi-Fi module, which provide a wireless interface to any equipment with a Serial interface for data transfer. USR-WIFI232-S/T/G2 integrate MAC, baseband processor, RF transceiver with power amplifier in hardware and all Wi-Fi protocol and configuration functionality and networking stack, in embedded firmware to make a fully self-contained 802.11b/g/n...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3、Hardware Introduction 3.1 Pins Definition 3.1.1. USR-WIFI232-S Pins Definition Figure 10 USR-WIFI232-S View Figure 11 USR-WIFI232-S Pins Map Table 4 USR-WIFI232-S Pins Definition Describtion Net Name Signal Comments Type SPI Data Out SPI_MOSI Interface(Reserved)
Page 18
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Indicator 1 – Boot-up No OK; No connect if not use. Module Recovery nReload Low effective reset input. Pull-up if not use. Can be set to Smart Link Pin Wi-Fi Status nLink 0- Wi-Fi Link.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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 Figure 13 USR-WIFI232-T pin map Table 5...
Page 20
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn No connect if not use. PWM/nLink PWM_1 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; < The main pin function description>...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3.1.3. USR-WIFI232-G2 Pins Definition Figure 14 USR-WIFI232-G2 view Figure 15 USR-WIFI232-G2 Pin map Table 6 USR-WIFI232-G2 pin Definition Describtion Net Name Signal Type Comments 1,17,32,48 Ground Power Debug SWCLK I, PD Debug functional pin, No connect if not use.
Page 22
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Sleep Sleep_RQ I,PU (Reserved) Sleep Sleep_ON +3.3V Power DVDD Power No connect PWM/GPIO PWM_1 GPIO11, No connect if not use PWM/GPIO PWM_2 GPIO12, No connect if not use No connect No connect...
Page 23
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn No connect if not use. Module Boot nReady 0 – Boot-up OK; Up Indicator 1 – Boot-up No OK; No connect if not use. Module nReload effective reset input. recovery Pull-up if not use.
Figure 20 USR-WIFI232-G2 PCB Symbol Size 3.4 Antenna 3.4.1 USR-WIFI232-S USR-WIFI232-S has two versions, respectively supports internal antenna and external SMA antenna. 1) Internal antenna version USR-WIFI232-Sa When customer select internal antenna, you shall comply with following antenna design rules and module location suggestions: ...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Figure 21 USR-WIFI232-Sa Suggested Module Placement Region 2) external antenna version USR-WIFI232-Sb If user select external antenna, USR-WIFI232- Sb modules must be connected to the 2.4G antenna according to IEEE 802.11b/g/n standards.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Return Loss -10dB (Max) Connector Type I-PEX connector 3.4.3 USR-WIFI232-G2 USR-WIFI232-G2 has two versions, respectively supports Internal antenna and external I-PEX antenna. 1) Internal antenna version USR-WIFI232-G2a When customer select internal antenna, you shall comply with following antenna design rules and module location suggestions: ...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3.5 Evaluation Kit USR provides USR-WIFI232-S/T/G2 evaluation kit to promote user to comprehend the product and develop the detailed application. The evaluation kit 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/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 have three work modes: throughput mode, command mode, PWM/GPIO mode.The swiching method of work mode is in 5th Chapter. Throughput mode In this mode, the module can transparent transmite data between the common serial device and network device.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Achieve Auto-frame Receive trigger length 1st byte ········ · Waiting after last transmit Send to Begin to Auto-frame network calculate trigger time Don’t achieve auto-frame Receive trigger length 1st byte ········ ·...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn PWM/GPIO GPIO PWM/GPIO PWM/GPIO GPIO GPIO PWM/GPIO function and nLink,nReady, WPS function can’t be transparent transmit, used simultaneously. User can select the function by AT command: AT + TMODE and AT + LPTIO. The setting parameters are as follows.
4.2.3 Encryption Encryption is a method of scrambling a message that makes it unreadable to unwanted parties, adding a degree of secure communications. There are different protocols for providing encryption, and the USR-WIFI232-S/T/G2 module supports following: WEP Page 36 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
WPA2-PSK/AES 4.3 Socket Communication USR-WIFI232-S/T/G2 module has two TCP/UDP Socket: Socket A and Socket B. Serial data written to the module, will be sent to the Socket A and B simultaneously; TCP/UDP data that module receives through either Socket A or B,will be sent to the serial port.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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.
Page 39
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Signal Signal strength of router 1,0~100:0%~100% strength1 separator 2 Separator of signal strength1, fixed value: 0x0D,0x0A … … … ……… SSID n Unsized The SSID of router n separator 1 Separator of SSID n, fixed value:0x00 Signal Signal strength of router n,0~100:0%~100%...
Page 40
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn reserve fixed value:0x00 SSID Unsized SSID of router separato fixed value:0x0D,0x0A passwor Unsized Password of router check Sum of bytes from head (not contained) byte to check byte (not contained). Response for setting...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 4.8 HTTPD Function Description Internet HTTP HTTP HTTP Serial data data data WIFI server Serial device Under this mode, customer’s serial device can request data from HTTP server via this module, Module can also receive data from HTTP server, analysis the data and transmit the data to customer’s serial device.
Page 43
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn “[0D]” means carriage return, 0x0D in hex number. “[20]” means space, 0x20 in hex number. Set the request timeout time. AT+HTPTO=30 Set filter the head of response. AT+HTPFT=ON 2、Restart module, then send “data=http://www.usr.cn” to HTTP server via serial port,you will get [http://www.usr.cn] from server.
Refer to command AT+RSEN 4.10 Parameter configuration USR-WIFI232-T/G2 supports configurate parameter by Web and AT command, USR-WIFI232-S only supports configurate parameter by AT command. Web: user can login module’s built-in web to configure the parameters. AT command: user can send AT command to module through the serial port to ...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn The main menu include nine pages: “System”, “Work Mode”, “STA Setting”, “AP Setting”, “Other Setting”, “Account”, “Upgrade SW”, “Restart”, “Restore” 5.1.3 Fast Set SSID Page(usrlink) At this page, user can use “usrlink” to set SSID fast.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 5.1.4 System Page At this page, user can check current device’s important information and status such as: device ID (MID), software version, wireless work mode and related Wi-Fi parameters. Figure 34 System Web Page 5.1.5 STA Setting Page...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Figure 35 STA Setting Page Figure 36 SSID scan page 5.1.6 AP Setting Page 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”...
USR-WIFI232-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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Figure 40 Account Page 5.1.10 Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. Figure 41 Upgrade SW page 5.1.11 Restart Page Most of the settting and configuration can only effective after system restart. User shall restart after finish all setting.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Figure 42 Restart Page 5.1.12 Restore Page After module restore factory default setting, all user configuration profile will lose. User can access http://10.10.100.254 to set again, and user name and password is “admin”. USR-WIFI232-G2/H will restore to AP mode for factory default setting.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn When USR-WIFI232-S/T/G2 power up, it will default works as throughput mode, then user can switch to command mode by serial port command. USR-WIFI232-S/T/G2 UART default parameters setting as below figure: Figure 44...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3. “+++” and “a” should be input in a certain period of time to make the module switch to configuration mode. Like the following sequence. Figure 46 ‘+++、‘a’ Time Requirements Switching command mode to throughput mode need to use AT+ENTM command, input ‘AT+ENTM’...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn < >: 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;...
Page 55
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Help Configure Parameters Command CFGTF Copy User Parameters to Factory Default Parameters UART Command UART Set/Query serial port parameters UARTF Open/Close UART auto-frame function UARTFT Set/Query UART auto-frame trigger time UARTFL Set/Query UART auto-frame trigger length...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn module AP WALKIND Enable/Disable indication of connection status. Web Command PLANG Set/Query Webpage Language Option WEBU Set/Query Webpage User name and Code Power Manage Command NTP Time Command NTPRF Set/Query time calibration interval...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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 Function: Set/Query Wi-Fi work mode (AP/STA). Setting is valid after reset;...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Notes: User can set this parameter through AT+WRMID. 6) AT+RELD Function: module restore to factory default setting. Format: AT+ RELD<CR> +ok=rebooting…<CR>< LF ><CR>< LF > When operate this command, module will restore to factory default setting and reboot.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Query Operation: AT+ UARTTE<CR> +ok=<mode><CR>< LF ><CR>< LF > Set Operation: AT+ UARTTE=<mode ><CR> +ok<CR>< LF ><CR>< LF > Parameters: Mode: fast: No free-frame trigger time, the uart data maybe be broken into to ...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Parameters: Protocol: TCP: Only for TCP Client; UDP: UDP Client UDPS: UDP Server Port: Protocol Port in decimal, less than 65535; IP: Destination IP address, domain name is support;...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn time, the tcp channel will be break. If SOCKB work in TCP Client, it will connect the TCP server instantly. 26) AT+TCPLKB Function: Query SOCKB connection status: Format: AT+ TCPLKB<CR>...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Parameters: Auth: include OPEN WPA2PSK Encry: include NONE: When “auth=OPEN” available; AES: When “auth=WPA2PSK” available; Key: security code, ASCII code, smaller than 64bit and bigger than 8 bit;...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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 Function: Enable/Disable time calibration function. Format: Query Operation: AT+ NTPEN<CR>...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Parameters: time: HTTP request timeout, Units are seconds, range is 1~600. 57) AT+HTPFT Function: Enable/Disable HTTP head can be filtered. Format: Query Operation: AT+HTPFT<CR> +ok=<status><CR>< LF ><CR>< LF >...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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 ...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Format: Query Operation: AT+SMTLK<CR> 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.
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.
Page 82
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn B.1.3 GPIO <channel> SET Function: Save GPIO Channel setting Parameters: channel:GPIO Channel number,such as 11/12/18 for WIFI232-T ( map to Pin10/Pin9/Pin8) Return Data: GPIO OK: Command successful ...
Page 83
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn B.1.5 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=<frequency duty> Frequency: PWM Channel frequency ...
Page 84
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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 Send Data:【30】 Return Data:【b0 <value1 value2 value3 value4 value5 value6 value7 value8>】...
Page 85
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn value2: Module’s GPIO input pin number value3: Module’s PWM pin number Page 85 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
----------------------------------------------------------------------------------- Appendix D: Disclaimer This document provides information about USR-WIFI232-S/T/G2 modules, this document does not grant any license to intellectual property rights. Except the responsibility declared in the product sale clause, USR does not assume any other responsibilities. In addition,...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn V 3.0 08-29-2015 add D2D function, HTTPD Client function, RS485 function. Delete information of V 3.1 05-25-2016 modify the port of usrlink <END> Page 87 of 87 Jinan USR IOT Technology Limited...
Need help?
Do you have a question about the USR-WIFI232-S and is the answer not in the manual?
Questions and answers