background image

USR-C321

Low Power

Minisize

WiFi Module User Manual

www.usr.so

1

1

1

1

/

41

41

41

41

USR-C32

USR-C32

USR-C32

USR-C321

1

1

1

----

Low

Low

Low

Low Power

Power

Power

Power Minisize

Minisize

Minisize

Minisize WiFi

WiFi

WiFi

WiFi Module

Module

Module

Module User

User

User

User Manual

Manual

Manual

Manual

V1.

V1.

V1.

V1.1

1

1

1

Support Wi-Fi@2.4 GHz 802.11 b/g/n wireless standards

Support WEP

WPA/WPA2 security mode

Support AP/STA working mode

Based on ARM Cortex-M4 kernel running frequency of 80 MHZ

Fully integrated serial port turn wireless TCP/UDP transmission function,the rate of serial
port up to 3M bps

Support 485 Control

Search in local area network (LAN) and wireless parameters setting function

Support TCP/UDP Client registered packet mechanism

Support Simplelink/usrlink Networking configuration

Support custom web function

Support similar RFC2217 automatic baud rate adaptation function

Support AT+ simple instruction set configuration

Single 3.3 V power supply

Ultra low power mode, support deep dormancy

Support Internal/External(I-PEX) Antenna Option

Minisize:18.22mm*26.65mm*2.8mm SMT

FCC/CE Certificated

Summary of Contents for USR-C321

Page 1: ...4 kernel running frequency of 80 MHZ Fully integrated serial port turn wireless TCP UDP transmission function the rate of serial port up to 3M bps Support 485 Control Search in local area network LAN and wireless parameters setting function Support TCP UDP Client registered packet mechanism Support Simplelink usrlink Networking configuration Support custom web function Support similar RFC2217 auto...

Page 2: ...tom Custom Custom Custom web web web web function function function function 14 14 14 14 3 5 3 5 3 5 3 5 Search Search Search Search in in in in local local local local area area area area network network network network 14 14 14 14 3 6 3 6 3 6 3 6 TCP UDP TCP UDP TCP UDP TCP UDP Client Client Client Client Registration Registration Registration Registration Packet Packet Packet Packet Mechanism M...

Page 3: ...le choices Module size 18 22 mm 26 65 mm 2 8 mm SMT assembly The basic function of the module is described below Can work in AP mode for other WIFI devices access communication can also work in the STA mode access to the wireless router to realize communication With a Socket communication links can be set to the TCP Server TCP Client and UDP Server UDP Client communication The Socket in the TCP Se...

Page 4: ...ansmit Power 17 0 dBm 1 DSSS 17 25 dBm 11 CCK 13 5 dBm 54 OFDM Receive Sensitivity 94 7 dBm 1 DSSS 87 0 dBm 11 DSSS 73 0 dBm 54 OFDM Antenna External I PEX Internal On board antenna Hardware Data Interface UART 300 3M bps Working Voltage 3 0V 3 6V Working Current voltage 3 3 V Continue to send 75mA normal mode average 18mA top 200mA In the web 3 5mA Standby lowest 25uA Working Temperature 40 85 St...

Page 5: ... 4 Application Application Application Application Area Area Area Area Cloud Connected Home Automation Household Appliances Access Control Security and Protection System Smart Energy Industrial Control Intelligent Electrical Outlet Box Instrument Measurement IPNetwork Sensor Nodes Wireless Printer ...

Page 6: ... Functional Description 1 GND GND 2 GPIO General GPIO 3 GPIO General GPIO 4 nReset Module reset pin low level effectively 5 SOP2 Start the choice see 2 4 2 4 2 4 2 4 The The The The Hardware Hardware Hardware Hardware Circuit Circuit Circuit Circuit Design Design Design Design Reference Reference Reference Reference 6 SOP1 default NC 7 SOP0 default NC 8 ANA DC DC The RF power output pin hung up 9 ...

Page 7: ...LED 23 nLink WiFi link pin of module low effective connect an external LED 24 UART CTS A serial port flow control pin CTS 25 UART RTS A serial port flow control pin RTS 26 GPIO General GPIO 27 GPIO General GPIO 28 GND GND 29 GND GND 30 GPIO General GPIO 31 GPIO General GPIO 32 GPIO General GPIO 33 GPIO General GPIO 34 GPIO General GPIO 35 GPIO General GPIO 36 GPIO General GPIO 37 GPIO General GPIO...

Page 8: ...yout Layout Layout Layout Recommendations Recommendations Recommendations Recommendations Advise PCB Footprint Cloth plate specification 1 Internal Antenna Customers to use the internal antenna the need to abide by the following considerations and internal antenna module placed general rules On the user s PCB and grey shaded area above the corresponding area cannot be ...

Page 9: ...rding to the requirement of the IEEE802 11 b g n standard need to connect the 2 4 g external antenna External antenna using IPEX interface The parameters of the external antenna requirements in the table below details item paramter frequency range 2 4 2 5GHz impedance 50 Ohm VSWR 2 Max Return Loss 10dB Max Connection Type IPEX 2 4 2 4 2 4 2 4 The The The The Hardware Hardware Hardware Hardware Cir...

Page 10: ...USR C321 Low Power Minisize WiFi Module User Manual www usr so 10 10 10 10 41 41 41 41 ...

Page 11: ...ransparent 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 Modules to work in a transparent transmission mode the users only need to configure the necessary parameters UART interface and network communication can be realized After power on module automatically connected to the wireless ne...

Page 12: ...ireless module WIFI working mode the STA and AP can provide users with flexible network mode and the network topology method Nouns that AP The wireless access point is the center of a wireless network node Commonly used wireless router is an AP other wireless terminal can be interconnected by AP STA wireless site is a wireless network terminal Such as notebook computer PDA etc 3 2 1 3 2 1 3 2 1 3 ...

Page 13: ...nication Communication The module has a TCP Socket When the module in translate mode to write the data of the UART interface module module will automatically send a Socket Module through the Socket received data send out through the UART interface Socket works include the TCP Server the TCP Client UDP Client and UDP Server please refer to the AT command set method in the AT SOCKA instruction set o...

Page 14: ...h Search in in in in local local local local area area area area network network network network Module support within the local area network LAN search function that is when the module is connected to a wireless router the user can through to a fixed port sends UDP broadcast way to get the IP address of the module of the current in order to realize the search and communications equipment SEARCH t...

Page 15: ...ism is as follows TCP Client There are two kinds of TCP Client registration mechanism 1 Just send a registration packet when the module is connected to the TCP Server module will send TCP Server MAC 6 bytes or ID 4 bytes Server by MAC or ID to distinguish between different devices 2 Every packet of data has registration information TCP Client after the link to the server a serial port receives eac...

Page 16: ...5 SSID1 Unsized The SSID of router 1 6 separator 1 Separator of SSID1 fixed value 0x00 7 Signal strength1 1 Signal strength of router 1 0 100 0 100 8 separator 2 Separator of signal strength1 fixed value 0x0D 0x0A M SSID n Unsized The SSID of router n M 1 separator 1 Separator of SSID n fixed value 0x00 M 2 Signal strength 1 Signal strength of router n 0 100 0 100 M 3 separator 2 fixed value 0x0D ...

Page 17: ...tes and check byte 3 cmd 1 Command type 0x02 4 reserve 1 fixed value 0x00 5 SSID Unsized SSID of router 6 separator 2 fixed value 0x0D 0x0A 7 password Unsized Password of router 8 check 1 Sum of bytes from head not contained byte to check byte not contained Response for Setting No Name Num of Bytes Description 1 head 1 fixed value 0xFF 2 length 2 Sum of data bytes from length bytes to check byte n...

Page 18: ...ery module is connected password show SAFE password is not visible 3 3 3 3 9 9 9 9 RFC2217 RFC2217 RFC2217 RFC2217 Automatic Automatic Automatic Automatic Baud Baud Baud Baud Rate Rate Rate Rate Function Function Function Function 3 3 3 3 9 9 9 9 1 1 1 1 RFC2217 RFC2217 RFC2217 RFC2217 Functional Functional Functional Functional Description Description Description Description 1 RFC2217 is an insta...

Page 19: ...tings does not data communication module into low power mode The user can choose different sleep mode 0 to 4 Ways there are to awaken the network side and serial port network side refers to establish the wifi connection to establish a socket connection with module and send data to the socket a serial port end points to a serial port to send data For example set up AT SLPTYPE 2 200 When the module ...

Page 20: ...ower power consumption about 5 ma The corresponding mode 2 Mode Mode Mode Mode 3 3 3 3 LPDS LPDS LPDS LPDS Mode Mode Mode Mode Module into LPDS mode network part keep running module gpio port output is high impedance state Via a serial port or network packets wake up wake up after the restart operation module Corresponding mode 3 Mode Mode Mode Mode 4 4 4 4 Hibernate Hibernate Hibernate Hibernate ...

Page 21: ...rial port to send data wake up module the module will be according to set the wifi TCP socket parameters the active link to the server translate data translate is completed according to set the time to sleep note note note note serial awakens the module in Lpds mode Hibernate mode practical for the RXD pin So must contain 0 8 bits of data namely the need to guarantee the RXD pin has a low level th...

Page 22: ...b support switch in both Chinese and English can through the web page top right corner Chinese English switch also can through the at command set Then the web management page will appear Management page including system state and WiFi parameters translate parameters additional features account management return to restart Settings about someone 1 The System Status Page Mainly for the module operat...

Page 23: ...et the IP DHCP can ban through input the IP subnet mask gateway and obtain a static IP restart to take effect 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 Trans Setting Peripherals parameters set mainly set serial port serial port baud rate can be set to 300 3000000 data bits can set 5 8...

Page 24: ...iFi Module User Manual www usr so 24 24 24 24 41 41 41 41 Transparent transmission mode the socket protocol the server address and port 4 Extra Function Transparent transmission mode the socket protocol the server address and port ...

Page 25: ...r Minisize WiFi Module User Manual www usr so 25 25 25 25 41 41 41 41 5 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 ...

Page 26: ...USR C321 Low Power Minisize WiFi Module User Manual www usr so 26 26 26 26 41 41 41 41 6 Reload Restar This page includes the module to the factory state and restart the module function ...

Page 27: ...USR C321 Low Power Minisize WiFi Module User Manual www usr so 27 27 27 27 41 41 41 41 7 About USR This page is a simple introduction of Jinan USR IOT Technology Limited ...

Page 28: ...r setting module Module of the default UART port parameters for 115200 baud rate no check 8 data bits one stop bit explain explain explain explain The AT command debugging tools UART interface is recommended to use SecureCRT software tools or some professional applications The following is introduced using UART communication and SecureCRT tool demo From translate mode switch to the command mode to...

Page 29: ... CMD op para 1 para 2 para 3 para 4 AT CMD op para 1 para 2 para 3 para 4 AT CMD op para 1 para 2 para 3 para 4 CR CR CR CR AT Command messages prefix CMD Command string op Instruction operator is specified parameters to set or query parameter Settings NULL query para n Input parameter Settings such as query is not required CR end mark ENTER ASCII 0x0a or 0x0d NOTICE NOTICE NOTICE NOTICE If If If ...

Page 30: ...ters 5 RELD Restore to factory default setting 6 MAC Read the MAC of module 7 SEARCH Set query LAN port and keyword search 8 MID Query module ID information 9 PLANG Web log in languages 10 WEBU Set query website login user name and password 11 VER Query The module firmware version 12 PING Network Ping command 13 WSCAN Scan AP Wifi Set 14 WMODE Set Query Wi Fi work mode AP STA 15 WSTA Set query ass...

Page 31: ...AT E on off CR AT E on off CR AT E on off CR CR LF OK CR LF CR LF OK CR LF CR LF OK CR LF CR LF OK CR LF Parameters on Open the echo echo the AT command input command off the AT command mode type the command does not echo 3 AT Z Function Restart the module Format Set AT Z CR AT Z CR AT Z CR AT Z CR CR LF OK CR LF CR LF OK CR LF CR LF OK CR LF CR LF OK CR LF Parameters none After the command is exe...

Page 32: ... port keywords CR LF CR LF OK port keywords CR LF Set AT AT AT AT SEARCH SEARCH SEARCH SEARCH CR CR CR CR CR LF OK CR LF OK CR LF OK CR LF OK port keywords CR LF port keywords CR LF port keywords CR LF port keywords CR LF Parameters port Search module port default 48899 keywords Module search keywords default www usr cn Up to 20 bytes 8 AT MID Function Set the MID query module Format Query AT MID ...

Page 33: ... 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 11 AT VER Function Set query module firmware version Format Query AT VER CR AT VER CR AT VER CR AT VER CR CR LF OK ver CR LF CR LF OK ver CR LF CR LF OK ver CR LF CR LF OK ver CR LF Set AT VER ver CR AT VER ver CR AT VER ver CR AT VER ver CR CR LF OK CR L...

Page 34: ...the query wifi working mode Format Query AT WMODE CR AT WMODE CR AT WMODE CR AT WMODE CR CR LF OK CR LF OK CR LF OK CR LF OK status status status status CR LF CR LF CR LF CR LF Set AT WMODE AT WMODE AT WMODE AT WMODE status status status status 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 status AP The module in the AP mode STA The module in the STA model 15 A...

Page 35: ... status rssi CR LF CR LF OK status rssi CR LF CR LF OK status rssi CR LF CR LF OK status rssi CR LF Parameters status If there is no connection return Disconnected If there is a connection return AP SSID AP MAC rssi 0 100 When signal strength is required less than 10 weak signal when the data transmission may lose data 18 AT WAP Function Set query AP wi fi configuration parameters Format Query AT ...

Page 36: ...R LF OK CR LF CR LF OK CR LF Parameters Protocol Protocol type including TCPS TCP server TCPC TCP client UDPS UDP server UDPC UDP client IP When the module is set to CLIENT the IP address of the server Port Protocol port decimal number less than 65535 21 AT LANN Function Set the IP query AP mode Format Query AT LANN CR AT LANN CR AT LANN CR AT LANN CR CR LF OK IP MASK CR LF CR LF OK IP MASK CR LF ...

Page 37: ... Only link to the server sends a registered packet for the first time 24 AT REGID Function Set the query registration packet ID Format Query AT REGID CR AT REGID CR AT REGID CR AT REGID CR CR LF OK CR LF OK CR LF OK CR LF OK NUM CR LF NUM CR LF NUM CR LF NUM CR LF Set AT REGID AT REGID AT REGID AT REGID NUM NUM NUM NUM CR CR CR CR CR LF OK CR LF CR LF OK CR LF CR LF OK CR LF CR LF OK CR LF Paramet...

Page 38: ...rl 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 27 AT UARTTE Function Set query free framing intervals Format Query AT AT AT AT UARTTE CR UARTTE CR UARTTE CR UARTTE CR CR LF OK num CR LF CR LF OK nu...

Page 39: ...R LF CR LF OK CR LF CR LF OK CR LF Parameters MODE 0 4 0 no sleep mode for setting module default 1 set the module to sleep mode 2 set the module to deepsleep mode 3 set the module to LPDS mode 4 set the module to deep sleep mode TIME 10 240 seconds Set the module without communication last time When last time no data transmission module enter the sleep mode according to the mode patterns into dif...

Page 40: ...41 41 5 5 5 5 service service service service and and and and support support support support If you have problems when use the module you can submit the question to http h usriot com http h usriot com http h usriot com http h usriot com We will solve your question at the first time ...

Page 41: ...r This document provides information about USR C321 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 does not make any warranties for the sale and use of this product including the suitability of the product for a particular purpose merchantab...

Reviews: