USR IOT USR-C322 User Manual
USR IOT USR-C322 User Manual

USR IOT USR-C322 User Manual

Low power minisize minisize minisize minisize wifi module
Hide thumbs Also See for USR-C322:
Table of Contents

Advertisement

Quick Links

Low
Low
Power
Power
Low
Low Power
Power Minisize
- - - -
Support W i-Fi@2.4 GHz 802.11 b/g/n wireless standards
Based on ARM Cortex-M4 kernel r unning frequency of 8 0 MHZ
Support W EP 、WPA/WPA2 security mode
Support A P/STA working mode
Support S implelink/usrlink Networking configuration
Support c ustom web function
Fully integrated serial port turn wireless TCP/UDP transmission function,the rate of serial
port u p to 3M bps
Supports 485 trans control
Support t wo uart a nd three socket c ommunication
Support P C1 16 bytes encryption when work in trans mode
Support t he HTTPD Client f unction
Support w ebsocket f unction
Support S SL Client f unction
Search in local a rea network (LAN) a nd wireless parameters setting function
Support T CP/UDP Client r egistered packet m echanism
Support s imilar R FC2217 automatic baud rate adaptation function
Support A T+ simple instruction set c onfiguration
Single 3.3 V power s upply
Ultra low power m ode, s upport d eep dormancy
USR-C322 Low Power
Minisize
USR-C322
USR-C322
USR-C322
USR-C322
Minisize
Minisize
WiFi
WiFi
Minisize WiFi
WiFi M odule
V V V V 2. 2. 2. 2.1 1 1 1
1 1 1 1 / 62 62 62 62
WiFi M odule User M anual
Module
Module
User
User
Module User
User Manual
www.usr.so
Manual
Manual
Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for USR IOT USR-C322

  • Page 1 USR-C322 Low Power Minisize WiFi M odule User M anual www.usr.so USR-C322 USR-C322 USR-C322 USR-C322 Power Power Minisize Minisize WiFi WiFi Module Module User User Manual Manual Low Power Power Minisize Minisize WiFi WiFi M odule Module User User Manual...
  • Page 2 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Minisize:18.22mm*26.65mm*2.8mm SMT � FCC/CE Certificated � � � � 2 2 2 2 / 62 62 62 62...
  • Page 3: Table Of Contents

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Catalogue Catalogue Catalogue Catalogue 1 1 1 1 、 、 、 、 Module Module Module Module Overview Overview Overview Overview..............................4 1.1 Module Module Module Module Overview Overview Overview Overview..............................4 1.2 Characteristics...
  • Page 4: 1 1 1 、 、 、 、 Module

    USR-C322 Low Power Minisize WiFi M odule User M anual www.usr.so 1 1 1 1 、 、 、 、 Module Module Module Overview Overview Module Overview Overview 1.1 Module Module Module Module Overview Overview Overview Overview USR - C 322 is a high-performance module of t he series wifi module C32.The module is a low-power 802.11 b/g/n modules t hat design for achieving the application of the embedded...
  • Page 5 USR-C322 Low Power Minisize WiFi M odule User M anual www.usr.so Search in local a rea network (LAN) a nd wireless parameters setting function � Support T CP/UDP Client r egistered packet m echanism � Support s imilar R FC2217 automatic baud rate adaptation function �...
  • Page 6: Diagram

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 1.3 functional functional functional functional block block block block diagram diagram diagram diagram TCP Server P C1 S O C K A TCP Client Encrypt T C P/UDP UDP Server /decrypt...
  • Page 7: Product Product Product Feature Feature Feature

    USR-C322 Low Power Minisize WiFi M odule User M anual www.usr.so Certification FCC/CE Wlan Standard 802.11 b/g/n 17.0 dBm @ 1 DSSS Transmit P ower 17.25 dBm @ 11 CCK Wireless P ara 13.5 dBm @ 54 OFDM meter –94.7 dBm @ 1 DSSS Receive –87.0 dBm @ 11 DSSS...
  • Page 8 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Wireless Printer 8 8 8 8 / 62 62 62 62...
  • Page 9: 2 2 2 、 、 、 、 Hardware

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 2 2 2 2 、 、 、 、 Hardware Hardware Hardware Description Description Hardware Description Description 2.1 Pin Pin Definitions Definitions Definitions Definitions The module pin Net Name Functional Description GPIO...
  • Page 10: Antenna Antenna Antenna Shows Shows

    USR-C322 Low Power Minisize WiFi M odule User M anual www.usr.so General G PIO GPIO General G PIO GPIO UART TX UART TX for m odule UART RX UART RX for m odule ,simplelink Module factory default p in, l ow level e ffectively...
  • Page 11: Size Size Size And And And Layout Layout Layout Recommendations Recommendations Recommendations

    USR-C322 Low Power Minisize WiFi M odule User M anual www.usr.so Internal A ntenna Size Size Layout Layout Recommendations Recommendations 2.3 Size Size and and Layout Layout R ecommendations Recommendations Suggest P CB size: y ou can download the PCB footprint f rom our h omepage.
  • Page 12: The The The Hardware Hardware

    USR-C322 Low Power Minisize WiFi M odule User M anual www.usr.so On the user's PCB, a nd grey shaded area above the corresponding area cannot b e placed components and GND. � Antennas away from the metal, a t l east d istance with high components around more than 10 mm;...
  • Page 13 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 13 13 13 13 / 62 62 62 62...
  • Page 14: 3 3 3 、 、 、 、 Product

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 3 3 3 3 、 、 、 、 Product Product Product Function Function Product Function Function 3.1 Wireless Wireless Wireless Wireless Network Network Network Network Mode Mode Mode Mode There are two kinds of wireless module WIFI working mode: the STA and AP, can provide users with flexible network mode and the network topology method.
  • Page 15: Work Work Work Mode Mode Mode

    Mode Mode Socket Trans Trans Mode Mode D D D D escription escription escription escription USR-C322 can support serial modes,include:TCP/UDP Trans,Httpd Client,SSL Client,WEB Socket. 1.1 TCP/UDP TCP/UDP TCP/UDP TCP/UDP Trans Trans Trans Trans UART interface can transparent transmission mode has the advantage of UART interface and network communication of the plug and play, which reduce the complexity of the user to a great extent.
  • Page 16 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � secret key � TCP/UDP parameter � protel � connection type � destination port � destination address � UART parameter � Baud rate � data bits � stop bit � parity bit �...
  • Page 17: Socket Socket Socket Communication Communication Communication

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Support web page websocket passthrough module as the webserver, port 8000, maximum four client connection. Can login module built-in test page. Only UART0 support this pattern. Note: About Socket function function , , , , please...
  • Page 18 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so TCP Server P C1 S O C K A TCP Client Encrypt T C P/UDP UDP Server /Decrypt T ran s UDP Client Trans M ode S O C K B...
  • Page 19 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � UDP Server � UDP Client Sockb support: � TCP Client � UDP Server � UDP Client You can set the mode through AT command(AT+AOCKA,AT+SOCKB) or through a web set. When set TCP Server Socket,it can support up to three TCP Client connection.When the fourth client connected,the the earliest connection will be...
  • Page 20 Function WEBSocket Function Function USR-C322 supports websocket trans from webpage to uart.The module is as a webserver, port 8000. The module only support Websocket ASCII passthrough.The websocket server can support only four client to be connected. When a fifth client connect to the server , the first client will be shut down from the server.
  • Page 21 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so TCP Server P C1 S O C K A TCP Client Encrypt T C P/UDP UDP Server /Decrypt T ran s UDP Client Trans M ode TCP Client S O C K B...
  • Page 22: Custom Custom Custom Web Web

    Custom web web function function function function USR-C322 support Custom web function. User can modify the web page content or add your own web page. Please refer to the specific implementation method " USR-C322 reference : customed web function ".
  • Page 23: Tcp/Udp Tcp/Udp

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so and communications equipment. SEARCH the port and keyword can be set by the AT + SEARCH commands, default: 48899, www.usr.cn. Search tool operation process: 1. Through the UDP broadcast (broadcast address: xx. Xx. Xx. 255, port: 48899) to send a password, the default password is: "www.usr.cn", the longest can be set up 20 bytes.
  • Page 24: Fast Fast Fast Access Access Access Wi-Fi(Usrlink) Wi-Fi(Usrlink) Wi-Fi(Usrlink)

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 3. 3. 3. 3.7 7 7 7 Fast Fast Fast Fast Access Access Access Access Wi-Fi(usrlink) Wi-Fi(usrlink) Wi-Fi(usrlink) 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 48899(if the version is under 2.1.10 ,the port is...
  • Page 25 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so … … … ……… SSID n Unsized The SSID of router n separator Separator of SSID n, fixed value:0x00 Signal Signal strength of router n,0~100:0%~100% strength separator fixed value:0x0D,0x0A check Sum of bytes from head (not contained) byte to check byte (not contained).
  • Page 26: Simplelink Simplelink Simplelink Configuration Configuration Configuration

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 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 27: Rfc2217 Rfc2217

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Note Note Note Note: when using the AT + WSTA AP information query module is connected, password show SAFE, password is not visible. 3. 3. 3. 3.9 9 9 9 RFC2217...
  • Page 28: Sleep Sleep Sleep Mode Mode Mode Introduction Introduction

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Enabled check Disable check Enable check Check type EVEN Mark Clear Write 0 3. 3. 3. 3.10 Sleep Mode Introduction 10 Sleep Sleep Sleep Mode Mode Mode Introduction Introduction Introduction Modules can open low power mode. In module under normal condition, if the network and uart port for certain time 10-240 seconds (AT + SLPTYPE Settings) does not data communication module into low power mode.
  • Page 29 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 3. 3. 3. 3.10 10.2 .2 .2 .2 Power Power Reference Table Power Power Reference Reference Reference Table Table Table No data transmission module, the power consumption mode reference is as follows: Power UART、GPIO、network...
  • Page 30: 4 4 4 、 、 、 、 Parameter

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so translate. 4 4 4 4 、 、 、 、 Parameter Parameter Parameter Setting Setting Parameter Setting Setting The parameters of the module configuration page configuration, AT + command configuration in two ways, behind will detail the use of two ways.
  • Page 31 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 2) WiFi Parameter Setting: Wifi Mode Select: Wifi model can choose the model of the STA and AP, click save Settings, res tart to take effect. AP Parameter Setting: Setting module in AP mode SSID and password (AP mode password for 8-63), encryption mode is WPA2PSK by default mode, click save Settings, restart to take effect.
  • Page 32 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Note: Note: Note: Note: when the network name and password does not support the double quotes, comma, and, or, greater than, less than and other special characters. 3) UART0 Setting: UART parameters set...
  • Page 33 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Socket set with uart0 The socket set about uart0 includes :Socket Mode (Trans,Httpdclient,WEBSocket).In the different mode , there will be different set. 33 33 33 33 / 62 62 62 62...
  • Page 34 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 4) UART1 Setting: UART1 parameters set Peripherals parameters set mainly set serial port, serial port baud rate can be set to 300-3000000, data bits can set 5-8 bits, parity bit can be set to no check, odd parity, parity, stop bits can be set to 1 to 2.There is not flow control and 485 function.Effecting...
  • Page 35 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 5) Extra Function In extra function page,you can set search parameters in lann and module mid. 35 35 35 35 / 62 62 62 62...
  • Page 36 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 6) Account Set: Account management can set the user name and password login page, the length must be 5 bytes, click save Settings, restart to take effect. 36 36 36 36 / 62 62 62 62...
  • Page 37 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 7) Reload Restar: This page includes the module to the factory state and restart the module function. 37 37 37 37 / 62 62 62 62...
  • Page 38 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 8) About USR: This page is a simple introduction of Jinan USR IOT Technology Limited 38 38 38 38 / 62 62 62 62...
  • Page 39: At+ At

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 4.2 AT+ AT+ Commands Commands Commands Commands Configuration Configuration Configuration Configuration AT+ Instruction refers to,in command mode user by module with UART and SPI command set of instructions, behind will detail the use of AT + instruction format.
  • Page 40 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so explain explain < explain explain >In the input "+ + +" and "the code" a ", no echo, as shown in the above. Input "+ + +" and "a" needs to be done in a certain period of time, in order to reduce the probability of normal work, wrongly into command mode.
  • Page 41 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Error Code error code table Error Error Error Error Code Code Code Code Description Description Description Description Invalid Command Format Invalid Command Invalid Operation Symbol Invalid Parameter Operation Not Permitted 4.2.2...
  • Page 42 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so SOCKLKB Query whether the TCP link chain has been built SOCKDISB Set the tcp client reconnect mode RFCENA Can make/ban RFC2117 function REGENA Can make/registration packet mechanism is prohibited REGID Registration packet ID set...
  • Page 43 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so to translate mode. 2) AT+E � Function: Set/query module echo the at command set � Format: � Query AT+E AT+E AT+E AT+E <CR> <CR> <CR> <CR> <CR><LF>+OK=<on/off><CR><LF> <CR><LF>+OK=<on/off><CR><LF> <CR><LF>+OK=<on/off><CR><LF> <CR><LF>+OK=<on/off><CR><LF> � Set AT+E=<on/off><CR>...
  • Page 44 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so <CR><LF>+OK=<mac><CR><LF> <CR><LF>+OK=<mac><CR><LF> <CR><LF>+OK=<mac><CR><LF> <CR><LF>+OK=<mac><CR><LF> � Parameters: � mac:MAC of the modul(example 01020304050A); 7) AT+SEARCH � Function:Set/query in LAN port and search module search keywords � Format: � Query AT+SEARCH<CR> AT+SEARCH<CR> AT+SEARCH<CR>...
  • Page 45 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Set AT+WEBU<CR>=<username,password><CR> AT+WEBU<CR>=<username,password><CR> AT+WEBU<CR>=<username,password><CR> AT+WEBU<CR>=<username,password><CR> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> � Parameters: � username:The user name, the length must be 5 characters, does not support null; � password:Password, the length must be 5 characters;...
  • Page 46 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so Note: in the AP mode WSCAN command, response will be slightly slower, if has established a TCP connection, the connection will be disconnected, need to restart after the connection is established.
  • Page 47 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � AP's ssid:AP SSID (up support 32 bytes); � key: AP password, the default encryption for wpa2psk, no encryption is set to NONE. Note: the ssid and key does not support ", "special characters.
  • Page 48 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � key:Set the AP encryption password (the default wpa2psk encryption, password length greater than or equal to 8 bytes), set to None is without encryption Note: the ssid and key does not support ", "special characters.
  • Page 49 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Mask � Space � flowctrl:CTS RTS � NFC:Disable hardware flow control � FC:Enable hardware flow control � 485:485 communications, UART_RTS as 485 send control terminal Note: when the baud rate are subject to change, will automatically change the packaging interval, see 27) AT + UARTTE.
  • Page 50 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so AT+SOCKA=< AT+SOCKA=< AT+SOCKA=< AT+SOCKA=< protocol,IP,port protocol,IP,port protocol,IP,port protocol,IP,port ><CR> ><CR> ><CR> ><CR> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> � Parameters: � Protocol:Protocol type, including � TCPS TCP server � TCPC TCP client � UDPS UDP server �...
  • Page 51 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Function:Query the TCP link is established; � Format: AT+ SOCKLK SOCKLK SOCKLK SOCKLKB B B B <CR> <CR> <CR> <CR> <CR><LF>+OK=<STA><CR><LF> <CR><LF>+OK=<STA><CR><LF> <CR><LF>+OK=<STA><CR><LF> <CR><LF>+OK=<STA><CR><LF> � Parameters � STA: showing if the TCP link is established �...
  • Page 52 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � USR:customer defined packet � OFF:Ban can register packet mechanism � method � EVERY Increase registered before each packet of data packet � FIRST Only link to the server sends a registered packet for the first time Notice:if disable the register,just set AT+REGENA=OFF\r.
  • Page 53 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Format: � Query AT+HTPTP HTPTP HTPTP HTPTP<CR> <CR> <CR> <CR> <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< data data data data><CR><LF> ><CR><LF> ><CR><LF> ><CR><LF> � Set HTPTP HTPTP =< =< data data ><CR>...
  • Page 54 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so like:Accept: image/gif<<CRLF>>Content-Type: text/html<<CRLF>> 40) HTPCHD � Function:Set/Query the state of cutting head of return data. � Format: � Query AT+HTP AT+HTP AT+HTP AT+HTPCHD CHD<CR> <CR> <CR> <CR> <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< state...
  • Page 55 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Parameters: � num:5-250:Free framing mode the interval between two bytes ms. Note: this parameter will automatically change when set the baud rate, If you want to change the packaging interval, please first set the baud rate: bps <= 600,num=250ms;...
  • Page 56 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � CONNECT: TCP connected � DISCONNECTED: TCP Disconnected 46) AT+SOCKDISA1 � Function:Query is there a client have connected � Format: AT+ SOCKDISA SOCKDISA SOCKDISA SOCKDISA1 1 1 1 <CR> <CR> <CR>...
  • Page 57 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so 49) AT+REGID1 � Function:Set the query registration packet ID � Format: � Query AT+REGID AT+REGID AT+REGID AT+REGID1 1 1 1 <CR> <CR> <CR> <CR> <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< NUM><CR><LF> NUM><CR><LF> NUM><CR><LF>...
  • Page 58 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> <CR><LF>+OK<CR><LF> � Parameters: � data:GET/POST. 53) AT+HTPSV1 � Function:Set/Query the httpd client.server address and port � Format: � Query AT+HTPSV AT+HTPSV1 1 1 1 <CR> <CR> AT+HTPSV AT+HTPSV <CR>...
  • Page 59 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< state state state state><CR><LF> ><CR><LF> ><CR><LF> ><CR><LF> � Set AT+HTP AT+HTP AT+HTP AT+HTPCHD1 CHD1 CHD1 CHD1 =< =< =< =< state state state state ><CR> ><CR> ><CR>...
  • Page 60 USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so � Format: � Query AT+SSLCA SSLCA SSLCA SSLCA<CR> <CR> <CR> <CR> <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< <CR><LF>+OK=< data data data data><CR><LF> ><CR><LF> ><CR><LF> ><CR><LF> � Set SSLCA SSLCA =< =< data data ><CR>...
  • Page 61: Appendix Appendix A: A: A: Contact Contact Contact Information Information Information

    USR-C322 Low Power Minisize WiFi Module User Manual www.usr.so FCC STATEMENT STATEMENT STATEMENT STATEMENT : : : : This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation.
  • Page 62 ----------------------------------------------------------------------------------- Appendix B: Disclaimer This document provides information about USR-C322 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...
  • Page 63 This device must be kept away from all persons by 20cm or more and installations using less distance, or installations using antennas with gain greater than that with which this was Certified will require additional approvals. Antenna Specification: Type: PCB Antenna Model: USR-C322 Brand: USR IOT Gain: 0.5dBi...

Table of Contents