video corpo

USR-DR302

USR-DR302
1 / 70 PagesView full catalog

USR-DR302

Product catalog summary
Quick Start
The USR-DR302 is a device designed for data transmission between Ethernet and RS485 serial ports. It can be configured via a webpage or setup software. The manual provides a quick introduction and recommends initial operations to understand the system.
Hardware Testing Environment
Essential components include a DC5V 1A power adapter, USB to 485 cable, network cable, USR-DR302, and a PC. This setup helps users familiarize themselves with the DR302 and identify any product issues.
Network Test Environment
Users should disable the PC firewall and antivirus software and configure the PC's IP to be in the same network segment as the USR-DR302 after hardware connection.
Default Parameters
Default settings include username 'admin', password 'admin', IP address '192.168.0.7', and baud rate '115200'.
Data Transmission Test
Using the default parameters, users can test data transmission between the COM and network using the USR-TCP232-Test software.
Overview
The USR-DR302 is a Modbus RS485 to Ethernet converter supporting bidirectional transparent transmission. It features an ARM processor, low power consumption, and high stability. It supports TCP server/client, UDP server/client, and HTTPD client modes.
Features
The device operates on an ARM Cortex-M0 kernel and supports a wide temperature range. It offers auto-MDI/MDIX, RJ45 port with 10/100Mbps, and various TCP/IP modes. Configuration is possible via webpage, AT command, serial protocol, and net protocol. It supports self-defined heartbeat and registration packages and can manage multiple client connections in TCP server mode.
Specifications
  • Hardware: Input Voltage: DC5-36V, Working Current: 130mA@5V, Net Interface: RH45, 10/1000Mbps, Serial Port: RS485*1.
  • Software: Supports IPV4, TCP/UDP, ARP, ICMP, with static IP and DHCP options. Configurable via software and webpage.
  • Performance: Net buffer: Send 16Kbyte, Receive 4Kbyte; Serial buffer: Receive 1Kbyte; Average delay: <10ms.
  • Environmental: Operating Temp: -40 to +85°C, Storage Temp: -40 to 105°C, Humidity: 5-95%RH.
Network Functions
  • IP Configuration: Supports static IP and DHCP for automatic IP acquisition. DNS server address can be set for domain name resolution.
  • Webserver: Built-in webserver for parameter settings and status checks, default port 80.
  • Factory Reset: Can be restored to factory settings via hardware button, software, or AT command.
  • Firmware Upgrade: Upgradable via network, ensuring access to the latest applications.
Socket Communication Modes
  • TCP Client: Provides reliable data transmission with keepalive packets for connection monitoring.
  • TCP Server: Supports up to 8 client connections, suitable for LAN communication without a central server.
  • UDP Client: Allows data transmission without connection, suitable for quick, small data packets.
  • UDP Server: Similar to UDP Client but does not verify source IP, allowing broader communication.
Testing and Configuration
The manual provides detailed instructions for setting up and testing each mode using USR-TCP232 software, ensuring proper configuration and data transmission.
UDP Server Configuration
The USR-DR302 can be set as a UDP server to facilitate high-speed communication without using TCP mode. The setup involves configuring the local port and using software to establish connections with different port numbers.
HTTPD Client Mode
The DR302 can send requests to an HTTP server and relay the response to a serial device. Users can configure the URL, headers, and other parameters via a web interface.
TCP Short Link
This feature helps save server resources by automatically disconnecting if no data is received within a set time (default 3 seconds, adjustable from 2 to 255 seconds).
Buffer Data Management
Data received before a TCP connection is established is cached. Users can choose to clear this cache once the connection is made.
USR-VCOM Application
The VCOM software allows data from a virtual serial port to be sent as network data, facilitating communication between PC software and networked devices.
Modbus Gateway
The DR302 supports Modbus RTU and Modbus TCP protocol conversion, enabling communication between serial and network protocols.
USR-Cloud Function
This feature allows remote data transmission and monitoring via the USR-Cloud platform, operating in TCP client mode.
Heartbeat Packet Function
Heartbeat packets maintain connections and can be sent to either the network or serial port, but not both simultaneously.
Registration Packet Function
The DR302 supports custom registration packets for identifying data sources or obtaining server authorization.
Customized Webpage
Users can upload custom webpage code to the DR302, allowing for personalized branding and interface.
Link Pin Function
The link pin indicates the TCP connection status, outputting low when connected and high when disconnected.
Index Function
In TCP server mode, the DR302 can manage up to 8 client connections, marking data sources for easier identification.
Client Connection Management
The maximum number of client connections is configurable, with a default of 4 and a maximum of 8.
Serial Port Packaging Mechanism
The DR302 can package serial port data based on configurable time and length parameters to optimize data transmission.
Flow Calculation
Users must manage data flow from the network to the serial port to prevent overflow, considering the serial port's speed limitations.
Specifications and Procedures
The document outlines the data transmission requirements for the USR-DR302 device, specifying that m bytes of data must be transmitted within n seconds without overflow. It mentions that if n is greater than 2T, data will not overflow, and the device can operate normally under a baud rate of 9600.
Synchronous Baud Rate (RFC2217)
The USR-DR302 supports synchronous baud rate adjustments based on the RFC2217 protocol, which allows for changes in data bytes, baud rate, and parity for encrypted data transmission. The protocol length is 8 bytes, and examples are provided in HEX format.
Network and Serial Port Setting Protocols
The document describes two main protocols: network setting protocol and serial port setting protocol. The network setting protocol uses UDP for configuration, with specific steps for setting parameters, including building a SOCKET, sending commands, and receiving confirmations. The serial port setting protocol involves sending RFC2217 packets to adjust serial parameters.
Command Examples and Annotations
Several command examples are provided, including search, reset, read settings, basic setting parameter, port settings parameter, restore to factory settings, cloud settings, and heartbeat and register package commands. Each command includes a detailed explanation of the bytes involved and the sum check process.
Return Content for Commands
The document details the expected return content for various commands, including search, reset, read, basic settings, and serial parameters settings commands. It specifies the format and content of the return data, including checksums and error codes for incorrect passwords.
USR-DR302 User Manual Summary
1. Command Execution and Error Handling
The document outlines the execution of USR-cloud commands and heartbeat package commands, highlighting the correct and incorrect password responses. Correct execution returns 'K', while user name/password faults return 'P', and other faults return 'E'.
2. Listening Report Method
The manual describes using setup software M0 to catch reports, with a diagram illustrating the process.
3. Serial Setting Protocol
3.1 AT Command Overview
The device operates in transparent mode by default. To configure or query settings, users must enter AT command mode. Commands require a carriage return (CR) and line feed (LF). The default UART port parameters are baud rate 1152000, no parity, data 8, and stop 1. SecureCRT software is recommended for operation.
3.2 Error Codes
Error codes range from -1 (Invalid command format) to -5 (Operation not allowed).
3.3 AT Command List
A comprehensive list of AT commands is provided, including functions like enabling/disabling echo, resetting the module, querying firmware version, and setting/querying various parameters such as MAC address, username/password, WAN port, DNS server, and more.
4. Parameter Configuration
Configuration can be done via setup software, webpage, or serial configuration. The document details steps for software configuration, including ensuring the device and PC are on the same LAN, disabling antivirus/firewall, and using the USR-M0 setup software.
5. Webpage Configuration
Users can configure the device via a web browser by entering the default IP address. The manual explains how to view current status, configure local IP, port parameters, and expand functions like USR-cloud ID, heartbeat package, and Modbus TCP.
6. AT Command Details
Detailed explanations of specific AT commands are provided, including their functions, formats, and parameters. Examples include AT+E for echo settings, AT+Z for restarting the module, AT+VER for querying firmware version, and AT+WEBU for setting/querying username and password.
Overview: This document is a technical manual for the USR-DR302 module by Jinan USR IOT Technology Limited. It provides detailed instructions on various AT commands used to configure and query the module's settings and functionalities.
Key Sections:
  • TCP/IP Configuration: Commands such as AT+SOCK, AT+TCPSE, and AT+SOCKLK are used to configure TCP client/server modes, manage connections, and query connection status.
  • Socket and Port Management: Commands like AT+SOCKPORT and AT+SOCKSL allow setting and querying local socket ports and short connection functions.
  • RFC2217 and Registration Packages: AT+RFCEN enables/disables RFC2217, while AT+REGEN and AT+REGTCP manage registration package mechanisms.
  • HTTP Client Configuration: Commands such as AT+HTPTP, AT+HTPURL, and AT+HTPHEAD configure HTTP request methods, URLs, and custom headers.
  • Heartbeat and Connection Management: Commands like AT+HEARTEN, AT+HEARTTP, and AT+HEARTTM manage heartbeat packages and connection status.
  • Miscellaneous Settings: Commands such as AT+UARTCLBUF, AT+RSTIM, and AT+MAXSK manage serial port cache, restart times, and maximum client connections.
  • Module Information: AT+MID and AT+MODTCP provide module name settings and Modbus TCP functionalities.
Important Parameters:
  • Port: Must be a decimal number less than 65535.
  • Status: Various commands use status parameters like 'keep', 'kick', 'ON', 'OFF' to manage functionalities.
  • Time: Heartbeat and connection times are configurable within specified ranges.
  • Data: Custom data for registration and heartbeat packages are limited by byte size.
Company Information: Jinan USR IOT Technology Limited is based in Jinan, Shandong, China. Contact details and support information are provided.
Disclaimer: The document includes a disclaimer about intellectual property rights and the possibility of specification changes without notice.
Update History: The document was created on 2019-08-22, version 1.0.0.
See more

Catalog excerpts

USR-DR302-1

User Manual USR-DR302 User Manual File Version: V1.0.0 Jinan USR IOT Technology Limited

 Open the catalog to page 1
USR-DR302-2

User Manual Jinan USR IOT Technology Limited

 Open the catalog to page 2
USR-DR302-3

User Manual Jinan USR IOT Technology Limited

 Open the catalog to page 3
USR-DR302-4

User Manual 1. Quick Start Module USR-DR302 is used to realize data transparent transmission between Ethernet interface and the serial port and the protocol converter. The serial port is the RS485 data and in the Ethernet interface, it is the net data package. Users can configure the parameters via the webpage or set-up software, set one time and save forever The character is aimed at USR-DR302 quick introduce. The users are recommend to operating one time according to this character, and will have a system realize to the N520. Also you can choose the character which you are interested in. As...

 Open the catalog to page 4
USR-DR302-5

User Manual 1.1. Hardware Testing Environment 1.1.1. Hardware Prepare      Diagram 1.1.1-1 Hardware Prepare 1. Testing Aim  Have a quick recognize to the DR302 and have a basic recognition  Testing is there is any issue in the product. 2. Data Direction Diagram 1.1.1-2 Data Direction Jinan USR IOT Technology Limited

 Open the catalog to page 5
USR-DR302-6

User Manual Diagram 1.1.2-1Hardware Connection USR-DR302 connects to PC by serial port and RJ45 Port. Then power on USR-DR302 with our AC adapter.The above picture will show you the connection. Notes:  Power adapter (5V) and connection cable are provided by USR IOT.  RS485 is involved.  PCs in above picture is the same one. 1.2. Network Test Environment Please check PC setting after hardware connection. 1) Disable PC Firewall and anti-virus software. 2) Disable the network card nothing to do with testing and just leave one local connection. 3) As for USR-DR302 connect with PC directly, should...

 Open the catalog to page 6
USR-DR302-7

User Manual 1.3. Default Parameter Default parameter is as below: Item User name Subnet mask Default gateway Default work mode of port Default remote port Default local port of port Baud Rate Parity bit/Data bit/Stop bit Form 1.3-1 Default Parameters 1.4. Data Transmission Test Data transmission test is based on the default parameters, please refer to the following steps: 1) Open test software “USR-TCP232-Test.exe”, and do hardware connection according to Chapter 1.1 Hardware Testing Environment. 2) The right side is Network Settings: TCP Server, IP address: 192.168.0.201, port number: 8324,...

 Open the catalog to page 7
USR-DR302-8

User Manual Diagram 1.4-1 Default Parameter Test Jinan USR IOT Technology Limited

 Open the catalog to page 8
USR-DR302-9

User Manual 2. Overview 2.1. Brief Introduction USR-DR302 Modbus RS485 to Ethernet converter can realize bidirectional transparent transmission between RS485 and Ethernet. It carries ARM processor, low power, fast speed, high stability. Via web-page or software, rs485 to Ethernet Converter can realize serial data and TCP/IP data package transparent transmission. ARM base on Cortex-M0 kernel, and reliable TCP/IP protocol stack Industrial working temperature range from -40C ~85C Auto-MDI/MDIX, RJ45 port with 10/100Mbps Support TCP server, TCP client, UDP server, UDP client, HTTPD client and modbus...

 Open the catalog to page 9
USR-DR302-10

User Manual 2.3. Basic Parameter Classify Hardware Parameters Input Voltage Working Current Serial baud rate Serial port User Configuring Software configuring and webpage configuring AT command TCP server, TCP client, UDP server, UDP client HTTPD client At most support 8 TCP client to connection Serial buffer Average delay Related software USR-VCOM, USR-cloud, set-up software Packaging mechanism 4 bytes packaging time, 1024 bytes packaging length. Operating Temp. Storage Temp Operating Humidity Storage Humidity Electrostatic bubble Software parameters Diagram 2.3-1 Basic Parameters Jinan USR...

 Open the catalog to page 10
USR-DR302-11

User Manual Jinan USR IOT Technology Limited

 Open the catalog to page 11
USR-DR302-12

User Manual Diagram 4-1 USR-DR302 Function Diagram 4.1. Network Basic Function 4.1.1. Static IP/DHCP/Subnet Masks/Gateway 1. The IP of the module is the symbol in the LAN, which can be distinguish from the other device.  Static IP Manual setting the static IP, meanwhile please writing the IP, subnet and gateway. Static IP adjust to the scenario that IP and the device correspond. Advantage: the device access to the IP that can not distribute can searched by the broadcast Disadvantage:different segment of the different LAN need to configuring.  DHCP The DHCP is to obtain the IP, gateway and DNS...

 Open the catalog to page 12
USR-DR302-13

User Manual Related AT command: Command name Setting and query the IP access way, subnet and the gateway parameters of the DR302 Form 4.1.1-1 Related AT Command 2. Subnet masks: to mark which subnet is the host in from the IP address bites and which bites mark the host masks. 3. Gateway: IP address of the router in the LAN, if there is something wrong with the setting, user will can not access the external net. If user do not use the router and so on device, keep default and do not set. 4. Setting software. Diagram 4.1.1-1 Setting Software 4.1.2. DNS Server Address DNS server is used to converter...

 Open the catalog to page 13
USR-DR302-14

User Manual Diagram 4.1.2-1 Local IP Config Related AT command: Command name Setting and query the DNS server address of the DR302 Form 4.1.2-1 Related AT Command 4.1.3. Webserver DR302 supports build-in webserver, same as the normal webserver. User can setting the parameters via the webpage also can check the related status. Default port of the webserver is 80, and this port can be modified/ after modify, user also can access the build-in webpage to access via the other port. The default home page is the current state interface, refreshed every 10s, showing DR302 working status: Total number...

 Open the catalog to page 14
USR-DR302-15

User Manual 4.1.4. Restore to Factory Set 1) Hardware restore: Press the Reload button for 5s to 15s to restore the factory settings. If it is less than 5s or exceeds 15s, the factory reset will not be performed. When the module is configured with incorrect parameters, or if you have forgotten the previously set password, you can restore the factory settings. 2) Software restore: Restore the factory settings by setup software setting function or send the factory reset command via the network protocol. 3) AT command restore: Enter the AT command mode, restore via the command. Related AT command:...

 Open the catalog to page 15
*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.