Usr -WIFI232-G User Manual

Low power wifi module
Table of Contents

Advertisement

Quick Links

Low Power WiFi Module User Manual
Overview of Characteristic
Support IEEE802.11b/g/n Wireless Standards
Fully Self-Contained Serial-to-Wireless Functionality
Ultra-Low-Power for Battery Applications with Excellent Power Save Scheme
Support UART/SPI/USB/PWM/GPIO Data Communication Interface
Support Work As STA/AP/AP+STA Mode
Support Smart Link Function (APP program provide)
Support Wireless and Remote Firmware Upgrade Function
Support User-Defined Web Page Upload
Support DNS to Open Webpage
Support Internal/External Antenna Option
Single +3.3V Power Supply
Smallest Size: 23.1mm x 32.8mm x2.7mm
FCC/CE Certificated
Jinan USR IOT Technology Limited.
Low Power WiFi Module User Manual V1.3
Page 1 of 59
http://www.tcp232.net
(USR-WIFI232-G)
freda@usr.so
V 1.3

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Usr USR-WIFI232-G

  • Page 1 Support User-Defined Web Page Upload Support DNS to Open Webpage  Support Internal/External Antenna Option  Single +3.3V Power Supply  Smallest Size: 23.1mm x 32.8mm x2.7mm   FCC/CE Certificated Jinan USR IOT Technology Limited. Page 1 of 59 freda@usr.so...
  • Page 2: Table Of Contents

    2.8. PARAMETERS CONFIGURATION......................22 2.9. FIRMWARE UPDATE..........................22 2.10. GPIO FUNCTION..........................23 3. OPERATION GUIDELINE......................... 24 3.1. CONFIGURATION VIA WEB ACCESSING..................24 3.1.1. OPEN WEB MANAGEMENT INTERFACE................. 24 3.1.2. SYSTEM PAGE..........................25 Jinan USR IOT Technology Limited. Page 2 of 59 freda@usr.so...
  • Page 3 3.1.6. OTHER SETTING PAGE........................27 3.1.7. ACCOUNT MANAGEMENT PAGE....................27 3.1.8. UPGRADE SOFTWARE PAGE.....................28 3.1.9. RESTART PAGE..........................28 3.1.10. RESTORE PAGE...........................29 3.2. USR-WIFI232-G USAGE INTRODUCTION..................29 3.2.1. SOFTWARE DEBUG TOOLS......................29 3.2.2. NETWORK CONNECTION......................30 3.2.3. DEFAULT PARAMETER SETTING....................30 3.2.4. MODULE DEBUG..........................30 3.3. TYPICAL APPLICATION EXAMPLES....................32 3.3.1.
  • Page 4 5.2. DEVICE HANDLING INSTRUCTION (MODULE IC SMT PREPARATION)........51 5.3. SHIPPING INFORMATION........................52 APPENDIX A: HW REFERENCE DESIGN....................53 APPENDIX B: GPIO/PWM FUNCTION......................54 B.1 NETWORK COMMAND.......................... 54 B.2 HEX NETWORK COMMAND.........................56 APPENDIX C: CONTACT INFORMATION....................59 Jinan USR IOT Technology Limited. Page 4 of 59 freda@usr.so...
  • Page 5 Wireless Control Application...................... 32 Figure 29. Remote Management Application..................... 32 Figure 30. Transparent Serial Port Application...................33 Figure 31. USR-WIFI232-G Default UART Port Parameters..............33 Figure 32. Switch to Configuration Mode....................34 Figure 33. ”AT+H” Instruction for Help......................34 Figure 34.
  • Page 6 Low Power WiFi Module User Manual V1.3 http://www.tcp232.net Table 4 USR-WIFI232-G Evaluation Kit Interface Description..............14 Table 5 USR-WIFI232-G IP Stack Features....................20 Table 6 Standby Mode Status and Wake Up....................21 Table 7 USR-WIFI232-G GPIO Pin Mapping Table................... 23 Table 8 USR-WIFI232-G Web Access Default Setting................
  • Page 7: Product Overview

    USR-WIFI232-G support AP+STA wireless networking and support Wi-Fi Direct. USR-WIFI232-G also provides wireless and remote firmware upgrade, which satisfied all kinds of application requirement. USR-WIFI232-G support user defined Web page and can revise the data communication protocol, which reduce much customer’s software development and customization work.
  • Page 8: Device Paremeters

    Low Power WiFi Module User Manual V1.3 http://www.tcp232.net 1.1.2 Device Paremeters Table 1 USR-WIFI232-G Module Technical Specifications Class Item Parameters Certification FCC/CE Wireless standard 802.11 b/g/n Frequency range 2.412GHz-2.484GHz 802.11b: +17.5 dBm (@11Mbps) 802.11g: +16 dBm (@54Mbps) for CE Transmit Power 802.11g: +13 dBm (@54Mbps) for FCC...
  • Page 9: Hardware Introduction

    Low Power WiFi Module User Manual V1.3 http://www.tcp232.net 1.2. Hardware Introduction Figure 1. USR-WIFI232-G Demo 1.2.1. Pins Definition Figure 2. USR-WIFI232-G Pins Map Table 2 USR-WIFI232-G Pins Definition Describtion Net Name Signal Type Comments 1,17,32,48 Ground Power JTAG Function JTAG_TCK...
  • Page 10 “0” more than 1s, then set “1”. (Suggest 50K ohm Pull up even not use this function.) GPIO 2 Output PWMFI0 GPIO46, No connect if not use. Jinan USR IOT Technology Limited. Page 10 of 59 freda@usr.so...
  • Page 11: Electrical Characteristics

    +/-25 Analog input range Analog output range 1.2.3. Mechanical Size USR-WIFI232-G modules physical size (Unit: mm) as follows: Figure 3. USR-WIFI232-G Mechanical Dimension USR-WIFI232-G Module PCB symbol size (mm) as follows: Jinan USR IOT Technology Limited. Page 11 of 59...
  • Page 12: On-Board Chip Antenna

    Figure 5. Suggested Module Placement Region USR company suggest USR-WIFI232-G module better locate in following region at customer board, which to reduce the effect to antenna and wireless signal, and better consult USR company technical people when you structure your module placement and PCB layout.
  • Page 13: External Antenna

    Figure 6. USR-WIFI232-G Evaluation Kit Notes: User need download USB - UART port driver from USR company web or contact with technical support people for more detail. The external interface description for evaluation kit as follows: Jinan USR IOT Technology Limited.
  • Page 14: Order Information

    Pin Sleep Control button, more than 1s to put Sleep_RQ module in standby mode. 1.2.7. Order Information Base on customer detailed requirement, USR-WIFI232-G series modules provide different variants and physical type for detailed application. Figure 7. USR-WIFI232-G Order Information Jinan USR IOT Technology Limited.
  • Page 15: Typical Application

    1.3. Typical Application 1.3.1. Hardware Typical Application Figure 8. USR-WIFI232-G Hardware Typical Application Notes: nReset- Module hardware reset signal. Input. Logics “0” effective. There is pull-up resister internal and no external pull-up required. When module power up or some issue happened, MCU need assert nRST signal “0”...
  • Page 16: Functional Description

    2.1. Wireless Networking USR-WIFI232-G module can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in USR-WIFI232-G. One is for STA, and another is for AP. When Jinan USR IOT Technology Limited.
  • Page 17: Basic Wireless Network Based On Ap (Infrastructure)

    Low Power WiFi Module User Manual V1.3 http://www.tcp232.net USR-WIFI232-G works as AP, other STA equipments are able to connect to wireless LAN via USR- WIFI232-G module. Wireless Networking with USR-WIFI232-G is very flexible. Notes: AP: that is the wireless Access Point, the founder of a wireless network and the centre of the network nodes.
  • Page 18: Work Mode : Transparent Transmission Mode

    2.2. Work Mode : Transparent Transmission Mode USR-WIFI232-G 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.
  • Page 19: Uart Frame Scheme

    UART data. If this interval time exceeds defined value (50ms default), USR-WIFI232-G will think it as the end of one frame and transfer this free-frame to WiFi port, or USR-WIFI232-G will receive UART data untill 1400 bytes, then transfer 1400 bytes frame to WiFi port.
  • Page 20: Network Protocol

    Connection When USR-WIFI232-G module configured as TCP Server, it supports Multi-TCP link connection, and maximum eight TCP clients permit to connect to USR-WIFI232-G module. User can realize multi-TCP link connection at each work mode. Multi-TCP link connection will work as following structure: Upstream: All dates from different TCP connection or client will be transmitted to the serial port as a sequence.
  • Page 21: Power Save Scheme

    Figure 11. Multi-TCP Link Data Transmition Structure 2.7. Power Save Scheme USR-WIFI232-G module can work at two modes based on different power save scheme:  Normal (Active/Sleep) Mode - AP Associated, WiFi ON/OFF based on internal control Standby Mode - Non AP Associated, WiFi Shut dwon ...
  • Page 22: Parameters Configuration

    Webpaged based Wi-Fi upgrade,please refer to 3.1.8 firmware upgrade page , user can upload firmware file from PC to USR-WIFI232-G. USR-WIFI232-G module also support upgrade from remote HTTP server, keep module connects to AP router before excuate remote HTTP upgrade. Remote upgrade have two methods: Direct Download and Upgrade, Configure File Based Upgrade.
  • Page 23: Gpio Function

    Low Power WiFi Module User Manual V1.3 http://www.tcp232.net 2.10. GPIO Function USR-WIFI232-G module can provide maximum 6 GPIO pins, which include 3 PWM control pins, and 3 general GPIO pin. As GPIO functional pin, user devices can read/write GPIO/PWM pins status through AT+instruction set.
  • Page 24: Operation Guideline

    3. OPERATION GUIDELINE 3.1. Configuration via Web Accessing When first use USR-WIFI232-G modules, user may need some configuration. User can connect to USR-WIFI232-G module’s wireless interface with following default setting information and configure the module through laptop. Table 8...
  • Page 25: Work Mode Page

    Figure 13.System Web Page 3.1.3. Work Mode Page USR-WIFI232-G 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 provide very flexible application for customers.
  • Page 26: Ap Setting Page

    3.1.6. Other Setting Page USR-WIFI232-G usually works at data transparent transmission mode. At this mode, the user device which connected with USR-WIFI232-G will connect and communicate with remote PC or server. At this Jinan USR IOT Technology Limited. Page 26 of 59...
  • Page 27: Account Management Page

    Figure 17.Other Setting Page 3.1.7. Account Management Page This page set web server’s user name and password. Figure 18.Account Page 3.1.8. Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. Jinan USR IOT Technology Limited. Page 27 of 59 freda@usr.so...
  • Page 28: Restart 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-G will restore to AP mode for factory default setting. Jinan USR IOT Technology Limited.
  • Page 29: Usr-Wifi232-G Usage Introduction

    Serial and Ethernet debugging tool  3.2.2. Network Connection User can select two methods to connect USR-WIFI232-G module base on dedicated application.  Use USR-WIFI232-G STA interface. USR-WIFI232-G and debug PC2 connect to a wireless AP, another PC1 (or user device) connect to USR-WIFI232-G module with serial port: Figure 22.STA Interface Debug Connection...
  • Page 30: Default Parameter Setting

    Figure 24.“CommTools” Serial Debug Tools PC2 open “TCPUDPDbg” program, and create a new connection. If USR-WIFI232-G configured as Server mode, “TCPUDPDbg” Tools shall create “Client “mode connection. Or otherwise, create a “Server” mode connection.
  • Page 31: Typical Application Examples

    3.3.1. Wireless Control Application Figure 28.Wireless Control Application For this wireless control application, USR-WIFI232-G 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 the wireless connection with USR-WIFI232-G module.
  • Page 32: Remote Management Application

    3.3.3. Transparent Serial Port Application For this transparent serial port application, two USR-WIFI232-G modules connect as below figures to build up a transparent serial port connection. USR-WIFI232-G works as Ad-Hoc mode to connect each other. Figure 30.Transparent Serial Port Application Jinan USR IOT Technology Limited.
  • Page 33: At+Instruction Introduction

    4. AT+INSTRUCTION INTRODUCTION 4.1. Configuration Mode When USR-WIFI232-G power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. USR-WIFI232-G UART default parameters setting as below figure, Figure 31.USR-WIFI232-G Default UART Port Parameters In configuration mode, user can setting the module through AT+ instruction set, which cover all web page setting function.
  • Page 34: At+ Instruction Set Overview

    “=” : The command requires parameters input;   “NULL”: Query the current command parameters setting; [para-n]: Parameters input for setting if required;   <CR>:”Enter” Key, it’s 0x0a or 0x0d in ASCII; Jinan USR IOT Technology Limited. Page 34 of 59 freda@usr.so...
  • Page 35: At+ Instruction Set

    Configure Parameters Instruction Set CFGRD Batch Read User Configure Parameters CFGWR Batch Write Configure Parameters CFGFR Batch Read Factory Default Configure Parameters CFGTF Copy User Parameters to Factory Default Parameters UART Instruction Set Jinan USR IOT Technology Limited. Page 35 of 59 freda@usr.so...
  • Page 36: At+E

    Set/Query deep sleep/standby mode parameters Others Instruction Set WRMID Set module ID ASWD Set/Query WiFi configuration code 4.2.2.1. AT+E Function: Open/Close show back function;   Format: AT+E<CR> +ok<CR>< LF ><CR>< LF > Jinan USR IOT Technology Limited. Page 36 of 59 freda@usr.so...
  • Page 37: At+Wmode

    Low Power WiFi Module User Manual V1.3 http://www.tcp232.net When USR-WIFI232-G module firstly switch from transparent transmission to configuration mode, show back status is open, input “AT+E” to close show back function, input“AT+E” again to open show back function. 4.2.2.2. AT+WMODE ...
  • Page 38: At+Ver

     AT+H<CR> +ok=<command help><CR>< LF ><CR>< LF >  Parameters: command help: command introduction;  4.2.2.10. AT+CFGRD  Function: Batch Read User Configure Parameters; Format:   Query Operation AT+CFGRD<CR> Jinan USR IOT Technology Limited. Page 38 of 59 freda@usr.so...
  • Page 39: At+Cfgwr

    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=<baudrate,data_bits,stop_bit,parity><CR> +ok<CR>< LF ><CR>< LF >  Parameters: baudrate:   300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400, 380400,460800. Jinan USR IOT Technology Limited. Page 39 of 59 freda@usr.so...
  • Page 40: At+ Uartf

    Range 100 ~10000; Unit: ms. Auto-frame trigger time 4.2.2.17. AT+ UARTFL Function: Set/Query UART auto-frame trigger length;   Format: Query Operation  AT+ UARTFL<CR> +ok=<len><CR>< LF ><CR>< LF > Jinan USR IOT Technology Limited. Page 40 of 59 freda@usr.so...
  • Page 41: At+ Uartte

     If not receive any data in 3 second, then feedback +ok=0. 4.2.2.21. AT+ PING Function: Network “PING” Instruction.   Format: Set Operation  Jinan USR IOT Technology Limited. Page 41 of 59 freda@usr.so...
  • Page 42: At+Netp

    TCP link setup; off: TCP link not setup;  4.2.2.24. AT+ TCPTO  Function: Set/Query TCP timeout; Format:   Query Operation AT+ TCPTO<CR> +ok=<time><CR>< LF ><CR>< LF > Set Operation  Jinan USR IOT Technology Limited. Page 42 of 59 freda@usr.so...
  • Page 43: At+Tcpdis

    AP’s SSID (Within 32 character);  4.2.2.27. AT+WSKEY  Function: Set/Query STA security parameters; Format:   Query Operation AT+WSKEY<CR> +ok=<auth,encry,key><CR>< LF ><CR>< LF > Set Operation  Jinan USR IOT Technology Limited. Page 43 of 59 freda@usr.so...
  • Page 44: At+ Wann

    Format: Query Operation  AT+WSMAC<CR> +ok=<mac_address><CR>< LF ><CR>< LF >  Set Operation AT+ WSMAC=<code,mac_address><CR> +ok<CR>< LF ><CR>< LF > Parameters:   code: security code 8888 (default value)  Jinan USR IOT Technology Limited. Page 44 of 59 freda@usr.so...
  • Page 45: At+ Wslk

    Query Operation AT+WSDNS<CR> +ok=<address><CR>< LF ><CR>< LF > Set Operation  AT+ WSDNS =<address><CR> +ok<CR>< LF ><CR>< LF >  Parameters: address: STA’s DNS server address; Effective right away.  Jinan USR IOT Technology Limited. Page 45 of 59 freda@usr.so...
  • Page 46: At+ Lann

     Format:  Query Operation  AT+WAKEY<CR> +ok=<auth,encry,key><CR>< LF ><CR>< LF >  Set Operation AT+ WAKEY=< auth,encry,key><CR> +ok<CR>< LF ><CR>< LF > Parameters:   auth: include OPEN  Jinan USR IOT Technology Limited. Page 46 of 59 freda@usr.so...
  • Page 47: At+Wamac

      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 company technical people. 4.2.2.38. AT+WADHCP Function: Set/Query AP DHCP server status;  ...
  • Page 48: At+Webswitch

    If provide this file name here, the module will start upgrade right away; 4.2.2.43. AT+UPFILE  Function: Set/ Query remote upgrade configure file name; Format:  Jinan USR IOT Technology Limited. Page 48 of 59 freda@usr.so...
  • Page 49: At+Upst

     Parameters:  log: feedback the status of remote upgrade; Note: After execute this command, the USR-WIFI232-G will automatic start upgrade base on setting of UPURL, UPFILE command contents; 4.2.2.45. AT+WEBU Function: Set/ Query webpage user name and password; ...
  • Page 50: At+Wrmid

    Query Operation  AT+ ASWD<CR> +ok=<aswd> <CR>< LF ><CR>< LF >  Set Operation AT+ ASWD=<aswd> <CR>< LF ><CR>< LF >  Parameters: aswd: WiFi Configuration Password (within 20 characters).  Jinan USR IOT Technology Limited. Page 50 of 59 freda@usr.so...
  • Page 51: Package Information

    Case 2: Wifi module mounted on bottom side, follow normal bake rule before process Note: Window time means from last bake end to next reflow start that has 168 hours space. Jinan USR IOT Technology Limited. Page 51 of 59...
  • Page 52: Shipping Information

    1 tray = 5*20pcs = 100 pcs 1 box = 2 trays = 2 * 100 pcs = 200pcs 1 carton = 4 boxes = 4 * 200 pcs = 800pcs Jinan USR IOT Technology Limited. Page 52 of 59 freda@usr.so...
  • Page 53: Appendix A: Hw Reference Design

    Low Power WiFi Module User Manual V1.3 http://www.tcp232.net APPENDIX A: HW REFERENCE DESIGN Detailed USR-WIFI232-G Evluation Board design source files, pls access USR company web download page or contact with USR company technical support people to acquire. Jinan USR IOT Technology Limited.
  • Page 54: Appendix B: Gpio/Pwm Function

    Function: query module GPIO channel output value   Parameters: ◆ channel: GPIO channel number, can be 0,1,2  Responded data: ◆ +ok=<value> value: GPIO channel level ● ◆ GPIO NOK Jinan USR IOT Technology Limited. Page 54 of 59 freda@usr.so...
  • Page 55: Jinan Usr Iot Technology Limited

    Responded data ◆PWM OK ◆PWM NOK B.1.5 PWM<channel>GET  Function: query module PWM channel output value  Parameters ◆Channel: PWM channel number, can be 0,1,2  Responded data: ◆+ok=<frequency duty> Jinan USR IOT Technology Limited. Page 55 of 59 freda@usr.so...
  • Page 56: Hex Network Command

    B.2.1 Get all GPIO channel value command  Send【0a】  Responded data【8a<value>】 ◆Value: bit0~bitn means GPIO0~GPIOn B.2.2 GPIO channel value invert command  Send【03<channel>】 ◆Channel: GPIO channel, can be 1,2,3 (GPIO0, GPIO1, GPIO2) Jinan USR IOT Technology Limited. Page 56 of 59 freda@usr.so...
  • Page 57: Jinan Usr Iot Technology Limited

    ◆Value2: PWM frequency low value  Responded data 【b2<channel value1 value2>】 ◆Channel: PWM channel number ◆Value1: PWM frequency high value ◆Value2: PWM frequency low value B.2.5 PWM channel duty all get command Jinan USR IOT Technology Limited. Page 57 of 59 freda@usr.so...
  • Page 58: Jinan Usr Iot Technology Limited

    B.2.8 Set all GPIO channel output low  Send 【04】  Responded data: 【84 00】 B.2.9 Set all GPIO channel output high  Send 【05】 Responded data: 【85 01】  Jinan USR IOT Technology Limited. Page 58 of 59 freda@usr.so...
  • Page 59: Appendix C: Contact Information

    ◆Value1: module GPIO output channel ◆Value2: module GPIO input channel ◆Value3: module PWM channel APPENDIX C: CONTACT INFORMATION Contact us: Company: Jinan USR IOT Technology Limited Address: 1-523, Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China Tel: 86-531-55507297 86-531-88826739-803 Web: http://www.tcp232.net Email: freda@usr.so END OF DOCUMENT Jinan USR IOT Technology Limited.

Table of Contents