Usr -WIFI232-S User Manual

Low power wifi module
Table of Contents

Advertisement

Quick Links

Low
Low
Power
Power
Low
Low Power
Power WiFi
Overview
Overview of of of of Characteristic
Overview
Overview
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
Support Work As STA/AP Mode
Support Smart Link Function (APP program provide)
Support Network Configuration by Audio.(USR-WIFI232-H)
Support USRLINK Function(Fast set SSID)
Support Wireless Upgrade Function
Support WPS Function
Support Multi-TCP Link (5 Channel) Application
Support Internal/External(I-PEX/SMA) Antenna Option
Single +3.3V Power Supply
Smallest Size:
USR-WIFI232-S
USR-WIFI232-T
USR-WIFI232-G2
USR-WIFI232-H
FCC/CE Certificated
Jinan USR IOT Technology Limited
USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual
USR-WIFI232-S/T/G2
USR-WIFI232-S/T/G2
USR-WIFI232-S/T/G2
USR-WIFI232-S/T/G2/H
WiFi
WiFi
Module
Module
WiFi Module
Module User
Characteristic
Characteristic
Characteristic
22mm x 13.5mm x 2.3mm,
22mm x 13.5mm x 6mm,
23.1mm x 32.8mm x 2.7mm,
23.1mm x 32.8mm x 2.7mm,
User
User
User Manual
Page 1 of 87
http://en.usr.cn
/H
/H
/H
Manual
Manual
V2.
V2.3 3 3 3
V2.
Manual V2.
SMT Footprint
1x10 2mm Connector
SMT Footprint
SMT Footprint
tec@usr.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USR-WIFI232-S and is the answer not in the manual?

Questions and answers

Summary of Contents for Usr USR-WIFI232-S

  • 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...
  • Page 2: Table Of Contents

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn C C C C atalogue atalogue atalogue atalogue 1、 Quick start................................. 6 1.1 Hardware connect............................6 1.2 Network connection........................... 6 1.3 communication test........................... 7 1.4 Application Examples..........................8 1.4.1 Wireless remote control applications....................8 1.4.2 Remote connectivity applications......................
  • Page 3 USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 4.1.2 Command Mode............................ 36 4.1.3 GPIO/PWM Mode..........................36 4.2 Wireless Networking..........................37 4.2.1 STA WI-FI Mode............................38 4.2.2 AP WI-FI Mode............................38 4.2.3 Encryption..............................38 4.3 Socket Communication..........................39 4.3.1 Socket A..............................39 4.3.2 Socket B..............................39 4.4 Network configuration by audio......................40...
  • Page 4 USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 10) AT+UART............................59 11) AT+UARTF............................59 12) AT+UARTFT............................60 13) AT+UARTFL............................60 14) AT+UARTTE............................60 15) AT+PING............................60 16) AT+SEND............................61 17) AT+RECV............................61 18) AT+NETP............................61 19) AT+MAXSK............................62 20) AT+TCPLK............................62 21) AT+TCPTO............................62 22) AT+TCPDIS............................63...
  • Page 5 USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 54) AT+WPSBTNEN..........................72 55) AT+SMTLK............................72 56) AT+LPTIO............................72 57) AT+USERVER........................... 73 58) AT+CUSTOMER..........................73 59) AT+RPTMAC............................. 73 60) AT+WRRPTMAC..........................73 61) AT+WIFI............................74 Appendix A: HW Reference Design........................75 USR-WIFI232-S Evaluation Kit Schematic....................75 USR-WIFI232-T Evaluation Kit Schematic....................
  • Page 6: 1、 Quick Start

    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.
  • Page 7: Communication Test

    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.
  • Page 8: Application Examples

    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...
  • Page 9: Remote Connectivity Applications

    � 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...
  • Page 11: 2、 Product Overview

    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...
  • Page 12: Device Paremeters

    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)
  • Page 13: Modules Feature Comparison

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 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 Feature USR-WIFI232-S USR- USR-WIFI232-G2 USR-WIFI232-H WIFI23 -G2a...
  • Page 14: Package Information

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 2.6 Package Information 2.6.1 2.6.1 2.6.1 2.6.1 Recommended Recommended Recommended Recommended Reflow Reflow Reflow Reflow Profile Profile Profile Profile Figure 8 Reflow Soldering Profile Table 3 Reflow Soldering Parameter Item Item Item...
  • Page 15: Shipping Information

    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 16: 3、 Hardware Introduction

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3 3 3 3 、 、 、 、 Hardware Hardware Introduction Hardware Hardware Introduction Introduction Introduction 3.1 Pins Definition 3.1.1. 3.1.1. USR-WIFI232-S USR-WIFI232-S Pins Pins Definition Definition 3.1.1. 3.1.1. USR-WIFI232-S USR-WIFI232-S Pins...
  • 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...
  • Page 18: Usr-Wifi232-T Pins Definition

    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 20: Usr-Wifi232-G2 Pins Definition

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3.1.3. 3.1.3. USR-WIFI232-G2 USR-WIFI232-G2 Pins Pins Definition Definition 3.1.3. 3.1.3. USR-WIFI232-G2 USR-WIFI232-G2 Pins Pins Definition Definition Figure 14 USR-WIFI232-G2 view Figure 15 USR-WIFI232-G2 Pin map Table 6 USR-WIFI232-G2 pin Definition Describtion Describtion...
  • 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.
  • Page 23: Usr-Wifi232-H Pins Definition

    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...
  • Page 26: Electrical Characteristics

    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...
  • Page 27: Mechanical Size

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3.3 Mechanical Size 3.3.1 3.3.1 3.3.1 3.3.1 USR-WIFI232-S USR-WIFI232-S USR-WIFI232-S USR-WIFI232-S USR-WIFI232-S modules physical size (Unit: mm) as follows: Figure 18 USR-WIFI232-S Mechanical Size Figure 19 USR-WIFI232-S PCB Symbol Size 3.3.2 3.3.2 3.3.2 3.3.2 USR-WIFI232-T USR-WIFI232-T...
  • Page 28: Usr-Wifi232-S

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Figure 20 USR-WIFI232-T Mechanical Size 3.3.3 3.3.3 3.3.3 3.3.3 USR-WIFI232-G2 USR-WIFI232-G2 USR-WIFI232-G2 USR-WIFI232-G2/H USR-WIFI232-G2/H modules physical size (Unit: mm) as follows: Figure 21 USR-WIFI232-G2/H PCB Symbol Size USR-WIFI232-G2/H modules PCB footprint size(Unit:mm)as follows:...
  • Page 29: Antenna

    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...
  • Page 30: Usr-Wifi232-T

    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...
  • Page 31: Usr-Wifi232-G2/H

    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...
  • Page 32: Evaluation Kit

    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.
  • Page 33: Typical Application Hardware

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 3.6 Typical Application Hardware 3.6.1 3.6.1 3.6.1 3.6.1 UART UART UART UART Application Application Application Application Hardware Hardware Hardware Hardware Figure 27 USR-WIFI232-S/T/G2/H UART Application Hardware 3.6.2 3.6.2 PWM/GPIO PWM/GPIO Application Application...
  • Page 34: 4、 Modules Function Description

    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.
  • Page 35: Uart Frame Scheme

    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.
  • Page 36: Command Mode

    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...
  • Page 37: Wireless Networking

    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.
  • Page 38: Sta Wi-Fi Mode

    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...
  • Page 39: Socket Communication

    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.
  • Page 40: Network Configuration By Audio

    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.
  • Page 41: Fast Access Wi-Fi(Usrlink)

    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...
  • Page 43: Searching Wi-Fi Protocol & Network At Command

    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).
  • Page 44: Reporting Mac

    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...
  • Page 46: 5、 Module Parameter Configuration

    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”...
  • Page 47: Fast Set Ssid Page(Usrlink)

    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...
  • Page 48: System Page

    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.
  • Page 49: Ap Setting Page

    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.
  • Page 50: Network Setting Page

    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.
  • Page 51: Upgrade Software Page

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn Figure 43 Account Page 5.1.10 5.1.10 Upgrade Upgrade Software Software Page Page 5.1.10 5.1.10 Upgrade Upgrade Software Software Page Page User can upgrade new software (firmware) version through Wi-Fi. Figure 44 Upgrade SW page 5.1.11...
  • Page 52: 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. Figure 46 Restore Page 5.2 AT command...
  • Page 53: Switch To Command Mode

    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...
  • Page 54: At Command Overview

    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’...
  • Page 55: At Command Introduction

    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...
  • Page 57: At+E

    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...
  • Page 58: At+Entm

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � 3) AT+ENTM � Function: Set module into throughput mode; � Format: AT+ENTM<CR> AT+ENTM<CR> AT+ENTM<CR> AT+ENTM<CR> +ok<CR>< +ok<CR>< +ok<CR>< +ok<CR>< LF LF ><CR>< ><CR>< ><CR>< ><CR>< LF LF > > > >...
  • Page 59: At+Cfgtf

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn AT+H<CR> AT+H<CR> AT+H<CR> AT+H<CR> +ok=<command +ok=<command help><CR>< help><CR>< ><CR>< ><CR>< LF > > > > +ok=<command +ok=<command help><CR>< help><CR>< LF LF ><CR>< ><CR>< LF � Parameters: � command help:command introduction; 9) AT+CFGTF �...
  • Page 60: At+Uartft

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn UARTF=<para UARTF=<para ><CR> ><CR> AT+ UARTF=<para UARTF=<para ><CR> ><CR> +ok<CR>< +ok<CR>< ><CR>< ><CR>< LF > > > > +ok<CR>< +ok<CR>< LF LF ><CR>< ><CR>< LF � Parameters: � Para: � disable - Close auto-frame function;...
  • Page 61: At+Send

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � Set Operation: AT+PING=<IP_address><CR> AT+PING=<IP_address><CR> AT+PING=<IP_address><CR> AT+PING=<IP_address><CR> +ok=<fb><CR>< +ok=<fb><CR>< ><CR>< ><CR>< LF > > > > +ok=<fb><CR>< +ok=<fb><CR>< LF LF ><CR>< ><CR>< LF � Parameters: � Fb: feedback result � Success �...
  • Page 62: At+Maxsk

    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.
  • Page 63: At+Tcpdis

    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.
  • Page 64: At+Tcptob

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � Format: � Query Operation: AT+TCPDISB<CR> AT+TCPDISB<CR> AT+TCPDISB<CR> AT+TCPDISB<CR> +ok=<sta><CR>< +ok=<sta><CR>< ><CR>< ><CR>< LF > > > > +ok=<sta><CR>< +ok=<sta><CR>< LF LF ><CR>< ><CR>< LF � Set Operation: AT+ TCPDISB TCPDISB TCPDISB TCPDISB =<on/off><CR>...
  • Page 65: At+Rcvb

    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.
  • Page 66: At+Wann

    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.
  • Page 67: At+Wscan

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � Format: � Query Operation: WSLQ<CR> WSLQ<CR> AT+ WSLQ<CR> WSLQ<CR> +ok=<ret><CR>< +ok=<ret><CR>< ><CR>< ><CR>< LF > > > > +ok=<ret><CR>< +ok=<ret><CR>< LF LF ><CR>< ><CR>< LF � Parameters: � ret � Disconnected, if no WiFi connection �...
  • Page 68: At+Wap

    � 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...
  • Page 69: At+Wadhcp

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn 41) AT+WADHCP � Function: Set/Query AP DHCP server status; � Format: � Query Operation: AT+WADHCP<CR> AT+WADHCP<CR> AT+WADHCP<CR> AT+WADHCP<CR> +ok=<status><CR>< +ok=<status><CR>< +ok=<status><CR>< +ok=<status><CR>< LF LF ><CR>< ><CR>< ><CR>< ><CR>< LF LF > > > >...
  • Page 70: At+Webu

    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>...
  • Page 71: At+Wrmid

    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.
  • Page 72: At+Wps

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn AT+TXPWR AT+TXPWR <CR> <CR> AT+TXPWR AT+TXPWR <CR> <CR> +ok=<num><CR>< +ok=<num><CR>< LF><CR>< LF><CR>< LF> LF> +ok=<num><CR>< +ok=<num><CR>< LF><CR>< LF><CR>< LF> LF> � Set Operation: AT+TXPWR=<num><CR> AT+TXPWR=<num><CR> AT+TXPWR=<num><CR> AT+TXPWR=<num><CR> +ok<CR>< +ok<CR>< +ok<CR>< +ok<CR>< LF><CR><...
  • Page 73: At+Userver

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn +ok=<status><CR>< +ok=<status><CR>< LF><CR>< LF><CR>< LF> LF> +ok=<status><CR>< +ok=<status><CR>< LF><CR>< LF><CR>< LF> LF> � Set Operation: AT+LPTIO=<status><CR> AT+LPTIO=<status><CR> AT+LPTIO=<status><CR> AT+LPTIO=<status><CR> +ok<CR>< +ok<CR>< LF><CR>< LF><CR>< LF> LF> +ok<CR>< +ok<CR>< LF><CR>< LF><CR>< LF> LF> �...
  • Page 74: At+Wifi

    USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn WRRPTMAC=<status> WRRPTMAC=<status> <CR> <CR> AT+WRRPTMAC=<status> WRRPTMAC=<status><CR> <CR> +ok<CR>< +ok<CR>< ><CR>< ><CR>< LF > > > > +ok<CR>< +ok<CR>< LF LF ><CR>< ><CR>< LF � Parameters: � Status; � ON, enable reporting MAC.
  • Page 75: Appendix A: Hw Reference Design

    Schematic USR-WIFI232-S USR-WIFI232-S Evaluation Evaluation Kit Kit Schematic 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@usr.cn...
  • Page 76: Usr-Wifi232-T Evaluation Kit Schematic

    Schematic USR-WIFI232-T USR-WIFI232-T Evaluation Evaluation Kit Kit Schematic Schematic 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@usr.cn...
  • Page 77: Usr-Wifi232-G2 Evaluation Kit Schematic

    Schematic USR-WIFI232-G2 USR-WIFI232-G2 Evaluation Evaluation Kit Kit Schematic Schematic 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. Page 77 of 87 Jinan USR IOT Technology Limited tec@usr.cn...
  • Page 78: Usr-Wifi232-H Evaluation Kit Schematic

    Evaluation Schematic Schematic USR-WIFI232- Evaluation Kit Kit Schematic Schematic 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@usr.cn...
  • Page 79: 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.
  • 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...
  • Page 84: Appendix C: Http Protocol Transfer

    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 85 USR-WIFI232-S/T/G2/H Low Power WiFi Module User Manual http://en.usr.cn � Query Operation: AT+HTTPCN<CR> AT+HTTPCN<CR> AT+HTTPCN<CR> AT+HTTPCN<CR> +ok=<Connection><CR>< +ok=<Connection><CR>< ><CR>< ><CR>< LF > > > > +ok=<Connection><CR>< +ok=<Connection><CR>< LF LF ><CR>< ><CR>< LF � Set Operation: AT+HTTPCN=<Connection><CR> AT+HTTPCN=<Connection><CR> AT+HTTPCN=<Connection><CR> AT+HTTPCN=<Connection><CR> +ok<CR>< +ok<CR><...
  • 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”.
  • Page 87: Appendix D: Contact Information

    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.

This manual is also suitable for:

Usr-wifi232-tUsr-wifi232-g2Usr-wifi232-h

Table of Contents