Home

USR-C322 User Manual

image

Contents

1. 3 9 2 Power Reference Table No data transmission module the power consumption mode reference is as follows Power UART GPIO network Wake up mode peke UART GPIO network none 18 mA 74 mA re Ha Hs 1 UART GPIO network Uart network 13 mA 71 mA working UART network working Uart network UART network working Uart network GPIO RXD working Uart RXD The mode to distinguish the table Powe Still aa r CR MCU WIFI UART GPIO network UART GPIO network aen EA EAR v So tg v RXD ES c Er Freeke r ep 3 sereskhe v fr fr o ro fy ro Reo fy gt 20 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual The difference between all modules low power consumption mode is as follows 4 Wake up the response time from mode O to 4 wake up the response time increases gradually 4 Power consumption from mode O to 4 gradually reduce the power consu mption Example low power consumption 1 Wifi module online various peripherals work is normal the data transmission between the interval of a few seconds use pattern 1 2 Wifi module online various peripherals working frequency decline or does not work you can use mode 2 Deepsleep model 3 Module to keep online can through the remote wireless equipment occasionally translate data suit to use mode 3 Lpds mode remote equipment after wake up the module the module to establish the connection
2. 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 PEX Antenna Option Minisize 18 22mm 26 65mm 2 8mm SMT 3 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual e FCC CE Certificated 1 3 Product Feature Module parameters Certification FCC CE Wlan Standard 802 11 b g n 17 0 dBm 1 DSSS Transmit Power 17 25 dBm Q 11 CCK Wireless Para 13 5 dBm Q 54 OFDM meter 94 7 dBm 1 DSSS Receive 87 0 dBm 11 DSSS 73 0 dBm 54 OFDM External PEX Internal On board antenna Data Interface UART 300 3M bps Working Voltage 3 0V 3 6V voltage 3 3 V Continue to send 75mA Sensitivity Antenna Working Current normal mode average 18mA top 200mA In the web 3 5mA Hardware Standby lowest 25uA Working 40 C 85C Temperature Storage 45 C 125 C Temperature 18 22mm 26 65mm 2 8mm SMT Wirel har APISTA Network Type Security Regime WEP A WPA PSK WPA2 PSK Encryption Type TKIP AES TKIP AES Software Networking IPv4 TCP UDP Protocol User AT instruction set Configuration Web 1 4 Application Area e Cloud Connected o Home Automation e Household Appliances 4 40 A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual e Access Control e Security
3. gt Function Set the query sleep mode gt Format 4 Query AT SLPTYPE lt CR gt lt CR gt lt LF gt OK lt MODE TIME gt lt CR gt lt LF gt 4 Set 499 38 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual AT SLPTYPE lt MODE TIME gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt 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 4 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 different dormancy Note when set to no sleep only set AT SLPTYPE 0 lt CR gt 39 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual Appendix A Contact Information 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 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 et
4. FF 00 01 01 02 Example Data from module to phone PDA HEX FF 00 14 81 02 54 45 53 54 31 00 40 OD OA 54 45 53 54 32 00 37 OD OA 1F Explanation The phone PDA send searching command to module the response from module is SSID of router1 is TEST1 signal strength of router1 is 64 SSID of router2 is TEST2 signal strength of router2 is 55 16 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual Note The information of routers is ordered by signal strength a Setting Command Sum of data bytes from length bytes to check byte not contain length bytes and check byte check 1 Sum of bytes from head not contained byte to check byte not contained Response for Setting length Sum of data bytes from length bytes to check byte not contain length bytes and check byte Check for If the SSID set by PDA exist check value is 0x01 SSID otherwise is 0x00 Check for If the form of password set by PDA is correct check password value is 0x01 otherwise is 0x00 Sum of bytes from head not contained byte to check byte not contained Example Data from phone PDA to module HEX FF 00 OF 02 00 54 45 53 54 31 OD OA 31 32 33 34 35 36 CE 17 40 A USR IOT Be Honest Do Best I USR C322 Low Power Minisize WiFi Module User Manual Data from module to phone PDA HEX FF 00 03 82 01 01 87 Explanation The phone PDA send setting command to module SSID is
5. Jinan USR IOT Technology Limited hip Www Uusr so Web Ver 1 0 0 6 Reload Restar This page includes the module to the factory state and restart the module function 26 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual Ep English IMPORTANT NOTICE Sys status After reload factory Settings all user s configuration will become the WiFi Set default arguments when leaving the factory you can change the HFT DE configuration by the AT command serial port or log on to http 192 168 1 1 to reconfigure Trans Set Extra function Account Set Reboot to restart equipment if there is a new parameter Settings restart Settings will take effect Reload Restar About USR Jinan USR IOT Technology Limited hitp www ust web Ver 1 0 0 7 About USR This page is a simple introduction of Jinan USR IOT Technology Limited 27 40 A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual About USR Jinan USR IOT Technology Limited has been focusing on IOT and MM field for more than 6 years We offer networking products such as serial device server Ethernet to serial GPRS DTU and embedded WIFI module We have professional R amp D teams for hardware and software phone APP and server nd we can provide OEM amp ODM service for clients Email salesibusr cn tecfbusr cn Address 1 728 Huizhan Guojl Cheng Gaoxin Qu Ji
6. and Protection System s Smart Energy e Industrial Control e intelligent Electrical Outlet Box Instrument Measurement e PNetwork Sensor Nodes e Wireless Printer 5 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 2 Hardware Description 2 1 Pin Definitions _ 18 22mm The module pin Pin Functional Description GND GPIO 26 General GPIO General GPIO Module reset pin low level effectively Start the choice default NC Start the choice default NC 7 SOPO Start the choice default NC ANA DC DC The RF power output pin hung up NC NC Z Z O G G Z amp U Power input pin please connect 3 3 V 14 VDD ANA2 RF Power input pin please connect 3 3 V 6 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 15 GPIO 30 General GPIO 17 GND GND Module factory default pin low level effectively simplelink 1 nReload start Work instructions pin of module low effective connect an nReady external LED WiFi link pin of module low effective connect an external LED GND GN GND GN GND GND O U gU AHI QYQIQIQ IOQIQGIOQIQIQIQ O NIDRININDINRIN N N N IN OIOI NIO OIAIAIOINI gt I OIOI INIO A RAR O N O A 1 el lG 2 2 Antenna Shows Module has two antenna version internal antenna and external IPEX interface respectively 7 40 A USR IOT Be Honest Do Best
7. command mode Specific requirements are as follows cy a EL input input input input a lt 300 ms lt 300 ns 3 5 return a From the command mode to switch to translate mode need to adopt the AT ENTM command the command AT ENTM mode input end with a carriage return you can switch to translate mode 4 2 1 AT Summary of Instruction Set AT Instructions can be directly through the super terminal serial debugger such as input can also be programmed to input AT Instructions the command line based on ASCII format is as follows gt Format Specification lt gt A part of must contain the optional parts gt Command AT lt CMD gt op para 1 para 2 para 3 para 4 lt CR gt 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 lt CR gt end mark ENTER ASCII 0x0a or 0x0d gt Response Message lt CR gt lt LF gt lt RSP gt op para 1 para 2 para 3 para 4 J lt CR gt lt LF gt The response message prefix RSP Response to a string including 4 OK success 0 ERR fail para n The query return parameter error code or error lt CR gt ASCII 0x0d lt LF gt ASCII Ox0a 29 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual gt Error Cod
8. gt Function Channel Settings query module AP mode gt Formal 4 Query AT CHANNEL lt CR gt lt CR gt lt LF gt OK lt NUM gt lt CR gt lt LF gt 4 Set 0999 35 40 USR IOT A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual AT CHANNEL lt NUM gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters NUM channel 1 11 20 AT SOCKA gt Function Set query network protocol parameters gt Format 4 Query AT SOCKA lt CR gt lt CR gt lt LF gt 0K lt protocol IP port gt lt CR gt lt LF gt 4 Set AT SOCKA lt protocol IP port gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 4 Protocol Protocol type including e TCPS TCP server e ICPC TCP client e UDPS UDP server e UDPC UDP client 4 IP When the module is set to CLIENT the IP address of the server 4 Port Protocol port decimal number less than 65535 21 AT LANN gt Function Set the IP query AP mode gt Format 4 Query AT LANN lt CR gt lt CR gt lt LF gt OK lt IP MASK gt lt CR gt lt LF gt 4 Set AT LANN lt P MASK gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters IP ip MASK mask 22 AT SOCKLKA gt Function Query the TCP link is established gt Format AT SOCKLKA lt CR gt lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters 4 STA showing if the TCP link is established e CONNECT TCP connected e DISCONNECTED TCP D
9. immediately do not need to restart when effective not save power Is lost 3 8 2 RFC2217 Protocol Specification Protocol length is 8 bytes specific agreement content as follows for example the value for the HEX format 18 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual vape Different bits to reduce baud rate value represent different Sum of the explain misjudg high in the former meanings see front four ment table Example 115200 N 8 01 C2 00 55 1 Example 55 AA55 00 25 80 83 28 9600 N 8 1 Attachment a serial port parameters meaning a bit Do Dams 00 sus pf wu em pf w mis pf a em 2 sem 0 dm Enabled check Disable check NJ Pte Check type 3 9 Sleep Mode 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 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 network end refer to the socket end and a serial port for 200 seconds didn t receive the data the module
10. into Deepsleep mode mode 2 19 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 3 9 1 Mode Introduction Mode 0 Active Mode The Active mode the system clock is 80 MHZ Module running various peripherals Corresponding mode 0 that is normal work mode the module optimal performance Mode 1 Sleep Mode Sleep mode the system clock to 80 MHZ Through a serial port or network packets gpio port output module after awakening from entering hibernation continues to run wake up the response time shorter than deepsleep mode Corresponding mode 1 Mode 2 Deepsleep Mode Module into deepsleep dormancy reduced to 40 MHZ system clock Might wake up via a serial port or network packets gpio port output module after awakening from entering hibernation continues to run wake up the response time a bit longer than the sleep mode Than the normal operation of the lower power consumption about 5 ma The corresponding mode 2 Mode 3 LPDS 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 4 Hibernate Mode Module into the hibernate mode network and MCU are entering sleep mode gpio port output high impedance state only through a serial port data Module after the restart Power consumption can be achieved the uA level Corresponding mode 4
11. of the AP is no encryption set the password to none DHCP automatically obtain IP enabled the module will automatically get the IP DHCP can ban through input the IP subnet mask gateway and obtain a static IP restart to take effect Note when the network name and password does not support the double quotes comma and or greater than less than and other special characters Fax English WiFi Mode Select WiFi Work Mode s E Sys status WiFi Set AP mode Network Name SSID 1 32 bytes USR C322 Trans Set Extra function Password 8 63 bytes NONE is Open TONE Account Set IP address 192 168 1 1 Reload Restar Mask About USR STA mode Router SSID Note case sensitive USR C322 STA Password Set NONE is Open DHCP auto get IP Jinan USR IOT Technology Limited http www Uusr 50 Web Ver 1 0 0 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 bits parity bit can be set to no check odd parity parity stop bits can be set to 1 to 2 a serial port flow control can be set to enabled Serial port can open 485 features pin 25 serial flow control RTS pin is the control pin of 485 up the pin to send data low the pin to receive data Effecting after restart 1 Socket set 23 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual Transparent transmission mode the socket protocol the se
12. A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual USR C322 Low Power Minisize WiFi Module User Manual V1 5 Support Wi Fi 2 4 GHz 802 11 b g n wireless standards Support WEP A 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 Search in local area network LAN and wireless parameters setting function Support TCP UDP Client registered packet mechanism Support Simplelink usrlink Networking configuration 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 PEX Antenna Option Minisize 18 22mm 26 65mm 2 8mm SMT FCC CE Certificated 1 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual Catalogue 1 Module OVNEN LJ l 1 1 Mo le Ga GO ERE ee l 1 2 Characteristics of Module l Poe OSASCO en ee eee 3 EP EEE EEE EE ee ee ee ee 3 2 Hardware Description 5 2 1 vE T T T 5 2 2 Antenna Shows sse 6 2 3 Size and Layout Recommendations sss sese 7 2 4 The Hardware Circuit Design Reference 8 3 Product FURCHON ee 10 MV ENE ARA RD RA O RR RD RB RR eee ee ere een 10 3 2 Wireless Network Mode 11 3 3 ET RTT Ta nT o aeee EE
13. EN E E ENER TEREE enone TE OEE estes eee 12 TNA hj 13 3 5 TCP UDP Client Registration Packet Mechanism 14 3 6 Fast Access Wi Fi usrlink orrroooonnnnnnnnnnrrnnnnnnnnnnrrrrnnnnnnnnnnnnnrnnnnnnnnnnnensnsnnnnnnnnnnnnrnnnnnnnnnnnsevsssnnnnnnnensvsnnnnnn 14 3 7 Simplelink Comfiguration 0 0 0 0 eee IT 3 8 RFC2217 Automatic Baud Rate Function sese 17 3 9 Sleep Mode Introduction sss sss 18 7 Patamot r on ene en nO no nev ee eee ee ere 20 4 1 Web Page Configuration eee 20 4 2 AT Commands Conh eunration ss sss sese 271 Appendix A Contact Information eee eee eee eee 39 Appendix B Disclaimer eee 39 Appendix C Update HIStgrW sss eee eee 39 2 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 1 Module Overview 1 1 Module Overview USR C322 is a low cost module of the series wifi module C32x The module is a low power 802 11 b g n modules that design for achieving the application of the embedded system wireless network communication Through the module the customer can set a physical device connected to a wifi network so as to realize the control and management of the Internet of iot The hardware of module integrate MAG baseband chip rf transceiver unit as well as the power amplifier Adopting CC3200 chip of TI company the kernel of industrial grade ARM architecture M4 kernel running frequency of 80 MHZ The internal ultra low po
14. F gt OK lt CR gt lt LF gt gt Parameters 7 After the command is executed correctly module from the command mode switch to translate mode AT E gt Function Set query module echo the at command set gt Format 4 Query AT E lt CR gt lt CR gt lt LF gt OK lt onl off gt lt CR gt lt LF gt 4 Set AT E lt on off gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 4 on Open the echo echo the AT command input command off the AT command mode type the command does not echo AT Z gt Function Restart the module Format 4 Set AT Z lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters none After the command is executed correctly restart the module AT CFGTF gt Function After the command is executed correctly restart the module gt Format 4 Set AT CFGTF lt CR gt lt CR gt lt LF gt OK lt status gt lt CR gt lt LF gt gt Parameters 4 status Returns the operating status e SAVED Set up the success e NON SAVED Setup failed AT RELD gt Function Recovery module configuration parameters for the user the factory configuration parameters gt Format 4 Set AT RELD lt CR gt 31 40 L A 7 8 9 USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual lt CR gt lt LF gt OK REBOOTING lt CR gt lt LF gt gt Parameters none The command module configuration parameters restore to the user factory Settings and then restart aut
15. F gt lt CR gt lt ap s ite 1 gt lt LF gt lt CR gt lt ap site 2 gt lt LF gt lt CR gt lt ap site 3 gt lt LF gt lt CR gt lt ap site N gt lt CR gt lt LF gt gt Parameters o SSID SSID e BSSID MAC 11 22 33 44 AA BB O Security amp Indicator RSSI 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 14 AT WMODE gt Function Set the query wifi working mode gt Format 4 Query AT WMODE lt CR gt lt CR gt lt LF gt OK lt status gt lt CR gt lt LF gt 4 Set AT WMODE lt status gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e AP The module in the AP mode e STA The module in the STA model 15 AT WSTA gt Function Set query associated AP SSID and password gt Format 4 Query AT WSTA lt CR gt lt CR gt lt LF gt OK lt AP s ssid gt lt key gt lt CR gt lt LF gt 4 Set AT WSTA lt AP s ssid gt lt key gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 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 16 AT WANN gt Function Set query module access to IP DHCP STATIC gt Format 4 Query AT WANN lt CR gt lt CR gt lt LF gt OK lt mode address mask gatew
16. RFC2217 Function e OFF Disable RFC2217 Function 26 AT UART gt Function Set query UART interface parameters gt Format 4 Query 37 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual AT UART lt CR gt lt CR gt lt LF gt OK lt baudrate data bits stop bit parity flowctrl gt lt CR gt lt LF gt 4 Set AT UART lt baudrate data bits stop bit parity flowctrl gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 4 baudrate e 300 3000000 bit s data_bits 5 8 bits stop bits 1 2 parity check e NONE EVEN ODD Mask Space 4 flowctrl CTS RTS e NFC Disable hardware flow control e FC Enable hardware flow control e 485 485 communications UART RIS 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 gt Function Set query free framing intervals gt Format 4 Query AT UARTTE lt CR gt lt CR gt lt LF gt OK lt num gt lt CR gt lt LF gt 4 Set AT UARTTE lt num gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt 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 lt 600 num 250ms bps gt 20000 num 5ms 500 lt bps lt 20000 num 1000 bps 10 10 28 AT SLPTYPE
17. 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 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 network and server configured Transparent transmission mode is fully compatible with your own software platform reducing the workload of integration of wireless data transmission software development Users need to preset parameters usually include gt Wireless network parameters SSID security mode 4 secret key gt TCP UDP parameter 4 protel 4 connection type destination port destination address gt UART parameter Baud rate data bits stop bit parity bit 09999 Hardware flow control 2 UART Frame Scheme Module in the receiving UART data will continue to check the time interval of two adjacent bytes If the time interval is greater than the set packing time default 10 ms can 11 40 Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual A USR IOT be set up by the AT UARTTE argues that the end of a frame or has been receiving data in command mode is greater than 1 k bytes are discarded the received data in translate mode is greater than 1 k bytes are sent packing 3 1 2 Co
18. USR C322 Low Power Minisize WiFi Module User Manual Internal Antenna External I PEX 2 3 Size and Layout Recommendations Module size as shown d 862mm Z 45 PE EE ol EE EE EG EE Hee EE E HE EE 6 EG EE E SR L S RE EEE HE HE r 1 4mm EE EE EG EE He E HE E m Es CC yl d7mm 4 sl 3 nann Z 127mm 2 3mm 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 8 40 A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual placed components and GND gt Antennas away from the metal at least distance with high components around more than 10 mm gt Antenna part cannot be metal shell plastic shell need at least more than 10 mm away from the antenna It is suggested that module is placed in the following areas of the user s board as far as possible to reduce the influence of the antenna and wireless signal and at the same time please consult someone technical support staff to assist the placement of modules and related areas of the Layout design 2 external antenna Customers to use external antenna lead according to the requirement of the IEEE802 11 b g n standard need to connect the 2 4 g external antenna External antenna using IPEX int
19. ay dns gt lt CR gt lt LF gt 4 Set 34 40 USR IOT A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual AT WANN lt mode address mask gateway dns gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters mode Network IP mode O static static IP e DHCP dynamic IP address mask gateway DNS are omitted address IP mask mask gateway gateway dns DNS Note set the module to get the dynamic IP just set up AT WANN DHCP lt CR gt 17 AT WSLK gt Function Query the STA wireless link state gt Formal 4 Query AT WSLK lt CR gt lt CR gt lt LF gt OK lt status rssi gt lt CR gt lt LF gt gt Parameters status amp lf there is no connection return Disconnected e 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 gt Function Set query AP wi fi configuration parameters gt Format 4 Query AT WAP lt CR gt lt CR gt lt LF gt OK lt ssid key gt lt CR gt lt LF gt 4 Set AT WAP lt ssid key gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters ssid AP SSID 4 key Set the AP encryption password the default woa2psk 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 19 AT CHANNEL
20. c USR may make changes to specifications and product descriptions without notice Appendix C Update History V1 0 09 15 2014 First Version V1 1 10 13 2014 Add webpage setting parameter V1 2 02 09 2015 Add low power mode add domain name resolution DNS V 1 3 03 05 2015 Add simplelink fast setting V1 4 03 23 2015 Add limitation of some AT command parameter Add 485 function Add RXD TXD pull up in schematic diagram V1 5 03 31 2015 Add UDP broadcast Add the limit of length when enter web authentication Improve the losing data problem when transmissing data lt END gt 40 40
21. e error code table Invalid Command Format Invalid Command Invalid Operation Symbol Invalid Parameter Operation Not Permitted 4 2 2 AT Command Introduction AT command NO Command Description 6 mac Readthe MAC ofmodule 5 mD Query module 1D informaton 9 PLANG Webloginlanguages 1 Query The module firmware version 2 PING Network Ping command 3 WSCAN scan AP WMODE Set Query Wi Fi work mode AP STA 1 WSTA Set query associated AP SSID and password 6 WANN Set query STA network parameters WSLK Query STA Wi Fi link status Set query AP wi fi configuration parameters CHANNEL Channel module AP mode SOCKA Set query network protocol parameters LANN Set the IP query module AP mode SOCKLKA Query whether the TCP link chain has been built REGENA Can make registration packet mechanism is prohibited REGID Registration packet ID set RFCENA Can make ban RFC2117 function Peripheral Parameter Settings 26 UART Set query UART interface parameters 21 UARTTE Set query a serial port free framing intervals 28 SLPTYPE Set the sleep mode 1 1 1 h 0 E or amp Nw 1 1 1 1 U 2 F 2 3 4 8 9 1 5 2 2 30 40 L A 1 2 3 4 5 USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual AT ENTM gt Function Exit the command mode enter the translate mode gt Format 4 Set AT ENTM lt CR gt lt CR gt lt L
22. eceipt of the data module will be transmitted to the address data gt When the module is set to the UDP Client module only to have set the IP and port to send data and receive only has set the IP and port address data AT SOCKA Settings other address to send more data is not forwarded to the UART 3 4 Search in local area 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 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 2 Module after receiving the password if the password is correct the module to enter configuration mode to the address unicast source port send the local IP address MAC address the module name version number IP MAG MID ver 10 10 100 254 D8BO4CFC0000 USR C322 01 01 10 Module to enter configuration mode set if not received within 30 seconds after the command the module will exit the configuration mode the user needs to send search command word enter configuration mode 3 Users can through the n
23. en the default display in English 10 AT WEBU gt Function Set query website login user name and password gt Formal 4 Query AT WEBU lt CR gt lt CR gt lt LF gt OK lt username password gt lt CR gt lt LF gt 4 Set AT WEBU lt CR gt lt username password gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 4 username The user name the length must be 5 characters does not support null 4 password Password the length must be 5 characters 11 AT VER gt Function Set query module firmware version gt Format 4 Query AT VER lt GR gt lt CR gt lt LF gt OK lt ver gt lt CR gt lt LF gt 4 Set AT VER lt ver gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 4 ver Set query module firmware version e AA BB CC AA on behalf of the big version BB on behalf of the minor version number Arthur c CC represents the hardware version 12 AT PING gt Function Network Ping command gt Format 4 Set AT PING lt IP address gt lt CR gt lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters 4 IP address For IP address 192 168 1 1 or domain name www usr so domain name up to 64 bytes STA returned value e SUCCESS e TIMEOUT 13 AT WSCAN gt Function Search AP 4 Query AT WSCAN lt CR gt 33 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual lt CR gt lt LF gt 0K lt LF gt lt CR gt SSID BSSID Security Indicator lt L
24. erface The parameters of the external antenna requirements in the table below details VSWR 10dB Max Connection Type IPEX 2 4 The Hardware Circuit Design Reference The hardware design considerations gt Need to add more than 200uf capacitance module power supply pin gt SOPO SOP1 SOP2 no connect gt Reset Reload need to pick up on the 4 7 K resistor gt nLink nReady Effective for low level output gt Serial port RXD TXD need to pick up on the 10K resistor 9 40 x USR IOT Public Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual GND i GND 3 nReset 4 30P2 5 30P1 NC SOPO 7 8 9 10 GND a GND i VDD 3V3 3 i 3v3 14 07 GPIO30 15 UARTI TX 220uF NC_C 16 29 100nF Es 45 ES GND GND VDD 3V3 VDD 3V3 3v3 VDD 3v3 E ki 10 40 Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual A USR IOT 3 Product Function 3 1 Work Mode Module consists of two work modes translate mode and command mode e Translate Mode In this mode the module realizes the UART and transparent transmission between network realize common serial data transfer between devices and network equipment e Command Mode In this mode the user can through the AT command to UART module and query and network parameters Settings When using the AT ENTM exit command mode the default back to translate mode 3 1 1 Translate Mode 1 Translate Mode
25. etwork to the port to send AT commands to set up and read the module working state the AT command format with a serial port the AT command Note search tools and modules must be within the same LAN if multiple STA even on a router run the search tools of the computer and even on the router This search tool to search all of the STA 14 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 3 5 TCP UDP Client Registration Packet Mechanism When the module working in TCP or UDP Client Client mode the user can open registration packet mechanism in order to realize the server to the distinction between the data source data of different equipment monitoring MAG and ID registration packet is divided into two kinds MAC is 6 bytes ID 0 65535 ID value can be set Registration packet ID is mainly used for the D2D software of the company Registered packet opened and closed by AT REGENA Registered packet implementation mechanism is as follows gt 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 each packet of data to increase MAC or ID to distinguish between equi
26. isconnected 23 AT REGENA gt Function Set the query registration packet mechanism gt Format 36 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 4 Query AT REGENA lt CR gt lt CR gt lt LF gt OK lt status method gt lt CR gt lt LF gt 4 Set AT REGENA lt status method gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e ID packet mechanism can make can make the registration the registry packet ID is 2 bytes e MAC packet mechanism can make can make the registration the registry packet is 6 bytes MAC e OFF Ban can register packet mechanism 4 method EVERY Increase registered before each packet of data packet e FIRST Only link to the server sends a registered packet for the first time 24 AT REGID gt Function Set the query registration packet ID gt Format 4 Query AT REGID lt CR gt lt CR gt lt LF gt OK lt NUM gt lt CR gt lt LF gt 4 Set AT REGID lt NUM gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 4 NUM 0 65535 Decimal Format when selecting registration packet ID it is mainly used for the D2D software of our company 25 AT RFCENA gt Function Enable Disable RFC2217 Function gt Format 4 Query AT RFCENA lt CR gt lt CR gt lt LF gt OK lt status lt CR gt lt LF gt 4 Set AT RFCENA lt status gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e ON Enable
27. mmand Mode In command mode the module will no longer work to translate UART port AT this time for receiving the AT command the user can through UART port to send AT commands to module UART for querying and setting module network and other related parameters 3 2 Wireless Network 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 lt Nouns that gt 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 Module As a STA Module as the STA is one of the most commonly used network mode and is composed of a router AP and many STA the following figure Its characteristic is AP in a central position communication between the STA forward by AP 3 2 2 Module As a AP Modules as AP mode can achieve phone PAD computer without any configuration fast access module for data transmission In addition you can login module internal web page to set parameters 12 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual USR C32 lt note gt module in AP mode can support only 1 STA access devices 3 2 3 Encryption Type Encryption is scrambling to message data ensure the security of da
28. nan Shandong 250101 China Jinan USR IOT Technology Limited 4 2 AT Commands 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 After the success of the electric start can through the UART for setting module Module of the default UART port parameters for 115200 baud rate no check 8 data bits one stop bit lt explain gt 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 the following two steps gt On the UART input module after receiving will return a verification code ar gt Input validation code a on the UART module after receiving the confirmation return to the OK to confirm enter the command mode 28 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual File Edit View Options Transfer Script Tools Window Help EE 1 bog E D Enter host lt Alt R gt A 3 es EET SE iO CA serial coed a ok lt explain gt 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
29. omatically AT MAC gt Function Query MAC gt Format 4 Query AT MAC lt CR gt lt CR gt lt LF gt OK lt mac gt lt CR gt lt LF gt gt Parameters 4 mac MAC of the modul example 01020304050A AT SEARCH gt Function Set query in LAN port and search module search keywords gt Formal 4 Query AT SEARCH lt CR gt lt CR gt lt LF gt OK lt port keywords gt lt CR gt lt LF gt 4 Set AT SEARCH lt CR gt lt CR gt lt LF gt OK lt port keywords gt lt CR gt lt LF gt gt Parameters 4 port Search module port default 48899 4 keywords Module search keywords default www usr cn Up to 20 bytes AT MID gt Function Set the MID query module gt Format 4 Query AT MID lt CR gt lt CR gt lt LF gt OK lt mid gt lt CR gt lt LF gt 4 Set AT MID lt mid gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 4 mid Set query module mids 20 characters MID the main models of module Note this setting mid cannot contain a comma AT PLANG gt Function Set query module landing page language version gt Format 4 Query AT PLANG lt CR gt lt CR gt lt LF gt OK lt language gt lt CR gt lt LF gt 4 Set AT PLANG lt language gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt 32 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual gt Parameters 4 language CN EN CN said landing page default display in Chinese EN said landing page wh
30. pen the IE browser in the address bar enter 192 168 1 1 carriage return the login page the default login as admin the password for the admin Web 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 operation parameters including MAC address MID number version and WiFi link state Sys Statue sys run time module MAC module MID module ver wifi Statue wifi mode AP IP AF channel AP ssid AP secure USR C322 01 03 10 Access Point 192 168 1 1 6 WSR C322 Open 2 WiFi Parameter Setting 1 Wifi Mode Select Wifi model can choose the model of the STA and AP click save Settings res tart to take effect 2 AP Parameter Setting 22 40 O A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 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 3 STA Parameter Setting Setting module in the STA mode needs to connect AP SSID and password adaptive encryption module DHCP is enabled When the connection
31. pment ID or MAC choice can be set by the AT REGENA gt UDP Client each module on the sending UDP packets MAC or ID will increase in each packet header information and then send 3 6 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 49000 The phone PDA can directly connect to Wi Fi network of the module send commands to search router list and set SSID and password After the completion of set up module will automatically restart connected to the router work in the STA mode at this time Protocol format Searching command length Sum of data bytes from length bytes to check byte not contain length bytes and check byte check Sum of bytes from head not contained byte to check byte not contained Response for searching 15 40 G USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual fixed value 0xFF Sum of data bytes from length bytes to check byte not contain length bytes and check byte to eman a LRR aoar Signal strength of router 1 0 100 0 100 separator Separator of signal strength1 fixed value separator Ox0D 0x0A SSID n The SSID of router n Separator of SSID n fixed value 0x00 Signal strength of router n O 100 0 100 E fixed value 0x0D 0x0A Sum of bytes from head not contained byte to check byte not contained Data from phone PDA to module HEX
32. rver address and port Fax English Socket Connect Set Extra function Serial Port Set Baud rate 300 3000000 bps protoco Sys status port WiFi Set Server IP Address Trans Set DES 115200 O Account Set Reload Restar Data Num About USR Check bit Stop bit lt S z lt CTSRTS 485 S C gi Jinan USR IOT Technology Limited http www UST 50 Web Ver1 0 0 4 Extra Function Transparent transmission mode the socket protocol the server address and port 24 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual Faxz English RFC2117 function RFCZ2117 Disable A Sys status Save WiFi Set search in network Trans Set Extra function sen none Account Set Regist mechanism Lae RA EA regist content About USR Fen as regist frequency just for TCPC FIRST regist ID 0 65535 OD MID USR C322 module MID Jinan USR IOT Technology Limited http www usr 50 Web Ver 1 0 0 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 25 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual fax English Set a New Account and Password Sys status Current User Name admin WIF Set Current Password admin Trans Set Extra function New User Name 5 bytes Account Set Reload Restar NT About USR
33. set to TEST1 password is set to 123456 The response from module is that the TEST1 Wi Fi network exist the form of password IS correct 3 7 Simplelink Configuration Simplelink function main realization module of intelligent network namely the quick connect to the AP Modules work in STA and AP mode lower Reload pin 0 to 3 seconds the module get into the Smartconfig configuration at this time Ready pin output high and low level of 0 5 Hz The handheld device connected to the module to connect to the AP open the APP enter the password click on start Module will automatically restart after successfully connect to the AP Note when using the AT WSTA AP information query module is connected password show SAFE password is not visible 3 8 RFC2217 Automatic Baud Rate Function 3 8 1 RFC2217 Functional Description 1 RFC2217 is an instant change via Ethernet equipment serial port parameters of a standard protocol this device supports a similar RFC2217 agreement not a standard RFC2217 realize the same function but the deal easier 2 Sends a command to the device after this agreement if do set serial port parameters meet the requirements not return anything if the calibration error or agreement is wrong will be as a common packet via a serial port forwarding 3 TCP Client TCP Server UDP Client and UDP Server and broadcast the several patterns are support this function 4 This command changes take effect
34. ta transmission increase the security of communication Support multiple wireless network encryption methods including WEP A WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES VV VV Y 3 3 Socket Communication gt 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 gt 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 or through a web page Settings gt Whena TCP Server Socket set can support up to four TCP Client TCP link connection In a multiple TCP link connection mode from the TCP transport data will be forwarded to them one by one on the UART interface Come from the UART interface data will be copied into a more in every TCP forwarding a link Specific data flow diagram shown below 13 40 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WIFI l are hj E Te L gt Top re HA BA eslcc Do E m es module SE gt When the Socket set to UDP Server if a serial port receives data first module sends the data to the already set IP port AT SOCKA set if the UDP Server receives data data source address the module will remember after a serial port after r
35. wer operation mechanism can run effectively low power module Support WiFi protocol and TCP IP protocol the user only needs simple configuration can achieve the function of UART devices connected to the Internet Small size easy to welding in the customer product veneer of hardware circuit And the module can choose the application of the internal or external antenna supplying customers multiple choices Module size 18 22 mm 26 65 mm 2 8 mm SMT assembly The basic function of the module is described below gt 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 gt 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 Server mode can support up to four TCP Client connection gt Module supports UART translate can use AT commands to arbitrary switching 1 2 Characteristics of Module Support Wi Fi 2 4 GHz 802 11 b g n wireless standards Support WEP A 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 Search in local area network LAN and wireless parameters setting function Support TCP UDP Client registered packet mechanism Support Simplelink usrlink Networking configuration
36. with the remote device sending and receiving data 4 When the user equipment does not need to be online for a long time only occasionally arouse initiative to send data to the server you can use mode 4 Hibernate mode A frame to a serial 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 lt note gt serial awakens the module in Lods 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 this packetjust wake up module data packet loss not translate 4 Parameter Setting The parameters of the module configuration page configuration AT command configuration in two ways behind will detail the use of two ways 4 1 Web Page Configuration 4 1 1 The Web Management Page When using the module for the first time need some configuration on the module By PC connection module AP interface the user can use the web management page configuration By default the module of AP interface SSID IP address user name and password are as follows default setting SSID USR C322 IP address 192 168 1 1 21 40 A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 4 12 Open Management Web Page Link with PC wireless card first after waiting for connection is good o

Download Pdf Manuals

image

Related Search

Related Contents

Gear Head FS3100BLU  User Manual  CSHP902 User manual  User Manual & Spare parts catalogue for the TP 100  CCD-TR555E - Sony Europe  01-03-6013  Software User Manual easyRAID S8A2 PCIe  Directive « Jouets - CCI International  Casio 3172 Watch User Manual  Samsung SGH-D900I User Manual  

Copyright © All rights reserved.
Failed to retrieve file