Page 1
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn USR-WIFI232-S/T/G2 USR-WIFI232-S/T/G2 USR-WIFI232-S/T/G2 USR-WIFI232-S/T/G2/H Power Power WiFi WiFi Module Module User User Manual Manual V2.3 3 3 3 Low Power Power WiFi WiFi Module Module User User Manual Manual V2. Overview Overview of of of of Characteristic...
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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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. Figure 2 WIFI Search Join the network, choose to automatically obtain IP, WIFI module supports DHCP Server feature and is enabled by default.
U S R-W I F I2 3 2 M o d u l e Figure 5 Wireless remote control applications In the wireless remote control applications, USR-WIFI232 module works in AP Page 8 of 87 Jinan USR IOT Technology Limited...
� 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.
Page 10
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn U S R-W I F I2 3 2 Module U S R-W I F I2 3 2 Module Figure 7 Transparent serial Page 10 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
Product Overview Overview 2.1 General Description USR-WIFI232-S/T/G2/H 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/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...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 2.3 Device Paremeters Table 1 USR-WIFI232-S/T/G2 Module Technical Specifications Class Class Item Item Parameters Parameters Class Class Item Item Parameters Parameters Certification FCC/CE Wireless 802.11 b/g/n standard Frequency range 2.412GHz-2.484GHz 802.11b: +16 +/-2dBm (@11Mbps) Transmit Power 802.11g: +14 +/-2dBm (@54Mbps)
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 2.6.3 2.6.3 Shipping Shipping Information Information 2.6.3 2.6.3 Shipping Shipping Information Information Figure 9 Shipping Information TRAY TRAY TRAY TRAY Size: 420*245*34 mm Note: Note: Note: Note: 1 tray = 5*20 pcs...
Page 17
: : : 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...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn UART pin GPIO GPIO GPIO n: n: n: n: GPIO GPIO which can be controlled by network cammands, n is control index number. 3.1.2. USR-WIFI232-T Pins Definition 3.1.2. 3.1.2. 3.1.2. USR-WIFI232-T USR-WIFI232-T...
Page 19
: : : 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.
Page 21
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Debug I/O,PU Sleep Sleep_RQ I,PU (R R R R eserved eserved eserved eserved) 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...
Page 22
: : : 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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn PWM_N PWM_N PWM_N: : : : PWM_N Module PWM signal output pin. Can also be configured as GPIO pin. 3.1.4. 3.1.4. 3.1.4. 3.1.4. USR-WIFI232- USR-WIFI232- USR-WIFI232- USR-WIFI232-H H H H Pins Pins...
Page 24
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 1,17,32,48 Ground Power Debug SWCLK I, PD Debug functional pin, No connect if not use. Debug I/O,PU GPIO Sleep_RQ I,PU GPIO7, No connect if not use GPIO Sleep_ON GPIO8, No connect if not use +3.3V Power...
Page 25
: : : nLink 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...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn PWM/ / / / GPIO GPIO GPIO GPIO: : : : GPIO/PWM which can be controlled by network commands, now this function is reserved. Speaker Speaker Out/MIC Out/MIC Input: Input: Speaker Speaker Out/MIC...
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@usr.cn...
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...
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-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/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.
Modules function function description 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. � � � � 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. 2. 2. 2. UART UART UART Frame Frame Scheme Scheme UART Frame Frame Scheme Scheme 1) UART Free-Frame If user select open this function, module will check the intervals between any two bytes when receiving UART data.
4.1.3 4.1.3 GPIO/PWM GPIO/PWM Mode 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...
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.
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 38 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
Communication 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.
4.4.1. 4.4.1. Introduction 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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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.
Page 42
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 0x0D,0x0A … … … ……… SSID n Unsized The SSID of router n separator 1 Separator of SSID n, fixed value:0x00 Signal strength of router n,0~100:0%~100% Signal strength separator 2 fixed value:0x0D,0x0A...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn password Unsized Password of router check Sum of bytes from head (not contained) byte to check byte (not contained). Response for setting Name Num of Bytes Description head fixed value:0xFF length Sum of data bytes from length bytes to check byte(not contain length bytes and check byte).
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 http://10.10.100.254/iweb.html to update firmware and http://10.10.100.254/iweb.html...
Page 45
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Note Note Note: : : : Note Before any firmware upgrade, be sure to contact USR, or else it may result in permanent damage to the module. Page 45 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
Management Interface Interface Interface 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”...
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 5.1.3 5.1.3 5.1.3 Fast Fast Fast Fast Set Set SSID SSID...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 5.1.4 5.1.4 System System Page Page 5.1.4 5.1.4 System System Page 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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Figure 38 STA Setting Page Figure 39 SSID scan page 5.1.6 5.1.6 Setting Setting Page Page 5.1.6 5.1.6 AP AP Setting Setting Page Page When user select module works at AP mode, then need setting this page and provide wireless and network parameters.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 5.1.7 5.1.7 Network Network Setting Setting Page Page 5.1.7 5.1.7 Network Network Setting Setting Page Page This page set socket A and socket B. socket A can be set as TCP server, TCP client,UDP server and UDP client.
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. Figure 46 Restore Page 5.2 AT command...
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: Figure 47...
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 49 ‘+++、‘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...
Page 56
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Help Configure Configure Configure Configure Parameters Parameters Parameters Parameters Command Command Command Command CFGTF Copy User Parameters to Factory Default Parameters UART UART Command Command UART UART Command Command UART Set/Query serial port parameters...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn WALKIND Enable/Disable indication of connection status. Command Web Command Command Command PLANG Set/Query Webpage Language Option WEBU Set/Query Webpage User name and Code Power Power Power Power Manage Manage Manage Manage Command...
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.
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.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � 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 SOCKB. If the interval of two bytes is more than 10ms, the data will be sent instantly.
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � 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.
� 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@usr.cn...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � Parameters: � Language: webpage’s language � CN:Chinese Version (Default); � EN: English Version; 45) AT+WEBU � Function: Set/ Query webpage user name and password; � Format: � Query Operation: AT+WEBU<CR> AT+WEBU<CR>...
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn NTPTM<CR> NTPTM<CR> AT+ NTPTM<CR> NTPTM<CR> +ok=<time><CR>< +ok=<time><CR>< ><CR>< ><CR>< LF > > > > +ok=<time><CR>< +ok=<time><CR>< LF LF ><CR>< ><CR>< LF � 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.
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.
Page 80
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 81
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 82
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � PWM OK: Command successful � PWM NOK: Command failed B.2 Hexadecimal Hexadecimal Hexadecimal Hexadecimal Network Network Network Network Command Command Command Command Send hexadecimal data to fastly read/write module’s port status.
Page 83
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � value1: 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@usr.cn...
TRANSFER TRANSFER Appendix HTTP PROTOCOL PROTOCOL TRANSFER 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 HTTP HTTP HTTP AT AT command command...
Page 86
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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”.
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.
Need help?
Do you have a question about the USR-WIFI232-S and is the answer not in the manual?
Questions and answers