Download Print this page

PUSR USR-DR164 User Manual

Serial to dual band wifi converter

Advertisement

Quick Links

USR-DR164/162 User Manual
Serial to Dual Band WiFi Converter
User Manual
USR-DR164, USR-DR162
V2.0
Be Honest & Do Best
Your Trustworthy Smart Industrial IoT Partner
.pusr.com
1
WWW

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for PUSR USR-DR164

  • Page 1 USR-DR164/162 User Manual  Serial to Dual Band WiFi Converter User Manual USR-DR164, USR-DR162 V2.0 Be Honest & Do Best Your Trustworthy Smart Industrial IoT Partner .pusr.com...
  • Page 2: Table Of Contents

    5.1.4. HTTP mode ..........................- 17 - 5.2. Modbus function ..........................- 19 - 5.3. WiFi band settings ..........................- 19 - 5.4. Heartbeat Packet ..........................- 20 - 5.5. Registration packet ..........................- 22 - 5.6. PUSR cloud ............................- 23 - .pusr.com - 2 -...
  • Page 3 USR-DR164/162 User Manual 5.7. SmartAPLink ............................- 25 - 5.8. Event ..............................- 25 - 5.9. Firmware upgrade ..........................- 26 - 5.10. System information ..........................- 27 - 5.11. Account .............................. - 27 - 6. AT Commands ............................... - 27 - 6.1.
  • Page 4: Introduction

    USR-DR164/162 User Manual 1. Introduction USR-DR164/162 is an ultra-small size dual band WiFi serial server device with one serial port. It can realize transparent transmission between RS485/RS232 and WiFi device. It supports 2.4G & 5.8G WiFi, compatible with IEEE 802.11 a/b/g/n standard. With 2.4 G WiFi, it has longer range signal while with 5.8G WiFi, it has fast speed and better resistance to signal interference.
  • Page 5 USR-DR164/162 User Manual Items Description Power Supply DC: 5-36V, 2-pin push-type connector 170-350mA@5V Working Current Serial port USR-DR164:1 x RS485, USR-DR162:1 x RS232, 3-pin push-type connector. Baud rates 1200-460800 bps Data bits 5, 6, 7, 8 Stop bits 1, 2...
  • Page 6: Indicator Status Description

    USR-DR164/162 User Manual Antenna SMA female connector Physical Property Casing material ABS, V0 rating Dimensions 92 * 24 *22mm(including terminal block connector) Installation DIN rail mounting Operating temperature -40℃~+85℃ Storage temperature -40℃~+125℃ Operating humidity 5% ~ 95% RH, non-condensing Storage humidity...
  • Page 7: Dimensions

    USR-DR164/162 User Manual System on: 2Hz flashing frequency after the system boot up; Firmware upgrading: fast flashing. Flashing when there is data sending or receiving on serial port. Blue: sending data from serial port to network; Off: receiving data from network to serial port.
  • Page 8: Wiring Connector

    Power Supply*1 2.1.2. Log in device Power on the USR-DR164 device,connect PC to USR-DR164 via Wi-Fi, users can login router via Chrome or the other browser. The default network parameters are shown in the following table: Table 3. Default network parameters...
  • Page 9: Serial Port

    After entering the login password, clicking login, the web page will show configuration page of USR- DR164. 3. Serial port 3.1. Basic Parameters Serial parameters of USR-DR164 must be consistent with the parameters of the serial device. Serial port parameters include basic parameters and framing parameters. Item Parameter...
  • Page 10: Frame Forming Mechanism

    USR-DR164/162 User Manual 3.2. Frame Forming Mechanism 3.2.1. Time Trigger When DR164 receives data from the UART, it continuously checks the interval of two adjacent bytes. If the interval time is greater or equal to a certain "time threshold", then a frame is considered finished, otherwise the data is received until greater or equal to the packet length byte set.
  • Page 11: Networking Application

    4.1. AP mode When USR-DR164/162 work as AP, other serial port device and PC can connect to it via WiFi as a STA, also it can connected to user device via RS485, as fellows: Users can set parameters using the following AT commands:...
  • Page 12: Sta Mode

    Settings on web page: 4.2. STA mode When USR-DR164/162 work as STA, it connect to other AP via WiFi, all STA take the AP as wireless networking centre, mutual communication between STAs is completed through AP forwarding, as below: WIFI serial server parameter settings are as follows:...
  • Page 13: Ap+Sta Mode

    USR-DR164/162 User Manual 4.3. AP+STA mode USR-DR164 can support AP+STA mode. Enable the AP+STA function, STA and AP interface can be used meanwhile, STA interface connected to the router, and then connected to the server in the internet via TCPB; AP interface can be connected by the phone/ pad (TCPA).
  • Page 14: Product Function

    STA devices connected to the AP cannot communicate with each other. 5. Product function 5.1. Work mode USR-DR164 has 5 communication protocol: TCP, UDP, MQTT, HTTP,IGMP. 5.1.1. SOCKET function When socket A in TCP server , at most supports 5 TCP client to connect. In multi-TCP link connection mode, data transmitted from TCP will be forwarded to the serial port one by one.
  • Page 15 USR-DR164/162 User Manual DR164/162 Serial device Socket A settings: Item Description AT+NETP Setting / Query TCPA's network protocol parameters AT+NETPIDEN Set/query whether to display which communication channel the data comes from AT+TCPLK Query whether the TCP link is established AT+TCPTO...
  • Page 16: Igmp

    USR-DR164/162 User Manual 5.1.2. IGMP IGMP is based on UDP. In IGMP mode, allows multicasting of data to groups of IP addresses. A multicast is a packet sent by one host to multiple hosts. In multicast mode, each host that belongs to a specific multicast group will receive multicast packets for that group.
  • Page 17: Http Mode

    USR-DR164/162 User Manual Item Description AT+NETP Setting / Query TCPA's network protocol parameters AT+MQLOGIN Set/query user name and password for MQTT. The setting takes effect after the reset AT+MQID Set/query MQTT Client ID. The setting takes effect after the reset AT+MQTOPIC Set/query MQTT topic.
  • Page 18 USR-DR164/162 User Manual Relevant AT command: Item Description AT+NETP Setting / Query TCPA's network protocol parameters AT+HTPTP Set/query the HTTP request methods. AT+HTPURL Set or query the HTTP header path and version. AT+HTPHEAD Set or query the contents of HTTP packets of the new version.
  • Page 19: Modbus Function

    5.3. WiFi band settings USR-DR164 supports 2.4G & 5.8G dual band WiFi, users can set it using AT+WFREQ command. In 2.4G & 5.8G dual-band, when connecting as a STA to a router with the same SSID, USR-DR164 connects to the router with better signal strength with priority.
  • Page 20: Heartbeat Packet

    USR-DR164/162 User Manual 5.4. Heartbeat Packet In the network transparent transmission mode, the user can choose to enable the custom heartbeat packet function. The heartbeat packet can be sent to the network or serial device: The main purpose of sending to the network is to maintain a connection with the server, and at the same time let the server that is idle for a long time (do not send data to the server for a long time) to detect whether the current connection status is valid.
  • Page 21 USR-DR164/162 User Manual be sent to the network. AT+HEARTTP=NET (3)Set the heartbeat packet data (maximum 40 bytes). For example, to set the data to the string www.usr.cn, you need to first convert the string to hex 7777772E7573722E636E. AT+HEARTDT=7777772E7573722E636E (4)Set the interval for sending heartbeat packets. The setting range is 1-65535s, and the default is 30s. For example, set the sending interval to 30 seconds.
  • Page 22: Registration Packet

    Item Description AT+REGEN Set the registration package type AT+REGSND Set the registration package mode AT+REGCLOUD Set/query PUSR cloud account and password AT+REGUSR Set or query the content of the user-defined registration package Settings on web page: .pusr.com - 22 -...
  • Page 23: Pusr Cloud

    USR-DR164/162 User Manual 5.6. PUSR cloud USR-DR164/162 supports sending data to PUSR cloud. It requires the device to connect to the WIFI network that can normally access the external network. Use the access address, port number,device SN and communication password generated by the manned cloud platform to fill in the device TCP Client and registration package content settings.
  • Page 24 USR-DR164/162 User Manual 3> DR164/162 parameters setting, the server address is tcp.mp.usriot.com, and the port is 15000. The device number and password is the ones on the last picture. 4> Save and restart the device, we can see the S100-WA12 is online status on the cloud.
  • Page 25: Smartaplink

    USR-DR164/162 User Manual 5.7. SmartAPLink USR-DR164 supports SmartAPLink to get quick internet access.Press the Reload button twice to access the SmartAPLink configuration mode. Users can also use AT+SMARTAPSTART command to enter SmartAPLink configuration mode. After entering SmartAPLink mode, the Work indicator of the DR164 blinks rapidly.
  • Page 26: Firmware Upgrade

    USR-DR164/162 User Manual 5.9. Firmware upgrade For DR164, the function firmware and the web firmware is separate. On the following page, user can upgrade function firmware. http://10.10.100.254/iweb.html Users can upgrade the web firmware in this URL: .pusr.com - 26 -...
  • Page 27: System Information

    USR-DR164/162 User Manual 5.10. System information On this page, users can check some system information like firmware version and others. 5.11. Account Users can modify the user name and password of the login page. 6. AT Commands AT command is used for controlling modem, for USR devices in transparent mode normally, you must enter AT command mode at first, then you can send AT commands to configure or query the parameter settings.
  • Page 28: At Command Settings

    USR-DR164/162 User Manual <LF> is 0x0A. For detailed AT commands, please check the AT commands set. 6.1. AT Command Settings Enter AT command mode: 1.Send “+++” from the serial port, it will be a “a” returned. 2.Do not send any data within a serial port packaging interval before sending "+++".
  • Page 29 USR-DR164/162 User Manual Users can using the network AT command on other software, the search protocol is based on UDP. Example: query parameters of UART or the LAN port, there is a carriage return and line feed after the AT command.
  • Page 30: Contact Us

    USR-DR164/162 User Manual 7. Contact Us Jinan USR IOT Technology Limited Address : Floor 12 and 13, CEIBS Alumni Industrial Building, No. 3 Road of Maolingshan, Lixia District, Jinan, Shandong, China Official website: https://www.pusr.com Official shop: https://shop.usriot.com Technical support: http://h.usriot.com/ Email : sales@usriot.com...
  • Page 31 USR-DR164/162 User Manual FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF USR IoT AND/OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  • Page 32 USR-DR164/162 User Manual Official Website: www.pusr.com shop.usriot.com Official Shop: Technical Support: h.usriot.com Inquiry Email: inquiry@usriot.com Skype & WhatsApp: +86 13405313834 关注有人微信公众号 登录商城 Product Catalog Facebook Youtube Click to view more: & & .pusr.com...

This manual is also suitable for:

Usr-dr162