USR IOT USR-DR502-E User manual

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
2
USR-DR502-E User Manual.....................................................................................................................................................1
1. Introduction..............................................................................................................................................................................3
1.1. Overview...................................................................................................................................................................... 3
1.2. Features....................................................................................................................................................................... 3
2. Get Started.............................................................................................................................................................................. 4
2.1. Specification................................................................................................................................................................ 4
2.2. Hardware..................................................................................................................................................................... 5
2.2.1. Dimensions...................................................................................................................................................... 5
2.2.2. Interface........................................................................................................................................................... 6
2.2.3. Indicators..........................................................................................................................................................6
2.3. Connecting Hardware................................................................................................................................................ 7
3. Utility Configuration................................................................................................................................................................8
3.1. Download the Utility................................................................................................................................................... 8
3.2. Starting the Configuration Utility.............................................................................................................................. 8
4. Serial Port..............................................................................................................................................................................10
4.1. Basic Parameters.....................................................................................................................................................10
4.2. Frame Forming Mechanism....................................................................................................................................11
4.2.1. Time Trigger.................................................................................................................................................. 11
4.2.2. Length trigger................................................................................................................................................ 11
5. Selecting an Operating Mode............................................................................................................................................ 12
5.1. Transparent Mode....................................................................................................................................................12
5.2. HTTPD Client Mode.................................................................................................................................................15
5.3. SMS Mode.................................................................................................................................................................17
6. General Function..................................................................................................................................................................20
6.1. Identity Package.......................................................................................................................................................20
6.2. Heartbeat Package.................................................................................................................................................. 22
6.3. Socket Distribution Protocol................................................................................................................................... 23
6.4. USR Cloud................................................................................................................................................................ 24
6.5. Backup Socket..........................................................................................................................................................24
6.6. Security...................................................................................................................................................................... 25
6.7. NTP............................................................................................................................................................................ 27
6.8. FTP Upgrade............................................................................................................................................................ 28
6.9. Base Station Geolocation....................................................................................................................................... 28
6.10. Firmware Upgrade................................................................................................................................................. 28
6.11. Restore to Factory Default Settings.................................................................................................................... 29
6.12. Timeout Restart......................................................................................................................................................30
7. AT Commands......................................................................................................................................................................30
7.1. AT Command Settings............................................................................................................................................ 30
7.2. Serial AT Commands.............................................................................................................................................. 31
7.3. Network AT Commands.......................................................................................................................................... 31
7.4. SMS AT Commands................................................................................................................................................ 32

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
3
1. Introduction
1.1. Overview
USR-DR502-E is a LTE CAT 1 communication modem, which supports LTE and GSM, covers the mainstream
frequency bands of European operators. It has perfect software function, supports TCP/UDP transparent
transmission, SMS transmission, HTTPD Client mode and AT command configuration. In addition, it is simple
to configure, has high reliability and built-in hardware watchdog, supports FOTA upgrading.
USR-DR502-E supplies a wide voltage range power through terminal interface, RS485 standard interface,
meets the needs of different application scenarios.
1.2. Features
Equipped with CAT-1 network, 10Mbps download rate, 5Mbps upload rate, meeting 80% of the data
transmission application scenarios
Low latency in milliseconds
Multiple modes, supports LTE CAT 1 and GPRS
Wide coverage, high stability based on existing 4G network
Supports TCP/UDP, HTTPD and SMS transparent transmission
Each socket supports buffering 20 packets of serial port data, each packet is up to 4K
Supports parameter configuration via network, serial and SMS AT command
Supports base station geolocation and NTP function
Support 9~36V wide voltage supply
Multiple indicator lights, convenient and accurate to check the device status
Industrial grade, hardware watchdog, high reliability

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
4
2. Get Started
2.1. Specification
Parameters
Description
Basic Parameters
USR-DR502-E
Supports B1/B3/B7/B8/B20
Power
DC 9V~36V
Operating current
Average: 21mA-50mA, maximum: 54mA (12V)
Indicators
POWER, WORK, NET, LINK, Signal strength, TX, RX
SIM/USIM
3V/1.8V SIM slot, Micro SIM
USB interface
Slave, MicroUSB, USB 2.0 High speed
UART interface
RS485, baud rate 1200~230400 bps.
Antenna interface
SMA female cellular antenna connector
Environmental
Dimensions(mm)
28 x 64.7 x 109.7(L*W*H)
Weight(g)
<110g
Temperature
Operating temperature
-30℃~ +75℃
Storage temperature
-40℃~ +90℃
Humidity
Operating humidity
5%~95% (non-condensing)
Transmission
speed
LTE FDD Rel.13
10MbpsDL/5Mbps UL
GPRS
85.6KbpsDL/85.6Kbps UL(multi-slot class 12)
Bands
LTE FDD
B1/B3/B7/B8/B20
GSM
900/1800MHz
TX Power
FDD:B1/3/7/8/20/28
23dBm±2dB
GSM:900MHz
33dBm±2dB
GSM:1800MHz
30dBm±2dB
Rx Sensitivity
GSM:900MHz
-109.5dBm
GSM:1800MHz
-108dBm
FDD:B1/3/20
-98dBm
FDD:B7
-97.5dBm
FDD:B8/B28
-98.5dBm
Software
Operating mode
TCP/UDP/HTTPD/SMS transparent transmission, CMD mode
Configuration command
AT+command
Network protocol
TCP/UDP/DNS/FTP/HTTP/IPV4/IPV6
Socket number
4
User configuration
Serial/Network/SMS AT command
Features
Socket distribution protocol
Support
Heartbeat package
Support ICCID/IMEI/SN/User-defined/LBS
Identity package
Support ICCID/IMEI/SN/User-defined/CLOUD

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
6
2.2.2.Interface
2.2.3.Indicators
There are ten indicators on USR-DR502-E.
Indicator
Function
Status
POWER
Power indicator
Always on after normal power
supply.
WORK
Working status indicator.
Flashes.
NET
Network status indicator
Flashed after connecting to network.
LINKA
Socket A connection status indicator
Always on after socket A is
connected
LINKB
Socket B connection status indicator
Always on after socket B is
connected
TX
Serial port data sending indicator
Will be on when sending serial data
RX
Serial port data receiving indicator
Will be on when receiving serial data
Level 1 signal
strength
Level 1 signal strength indicator
Always on when signal strength
between 4 ~15 (CSQ)
Level 2 signal
strength
Level 2 signal strength indicator
Always on when signal strength
between 16 ~ 21 (CSQ)
Level 3 signal
strength
Level 3 signal strength indicator
Always on when signal strength
greater than 21 (CSQ)

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
7
2.3. Connecting Hardware
If you have purchased, there will be the following accessories:
USR-DR502-E
Sucker antenna
Power adapter
Conversion cable
Required additional equipment:
RS485 serial to USB adaptor
PC
1. Installing SIM card and antenna:
Insert the SIM card according to the sign next to the slot. Then Install the antenna.
2. Serial Connecting:
Connect pin A of the RS485 interface of the DR502-E to pin A of the RS485 to USB adaptor, pin B of
DR502-E to pin B of the adaptor.
3. Power Supply:
Connect 9-36V DC power adapter via the conversion cable to power the DR502-E. Then “POWER”
indicator will always on and the “WORK” indicator will flash.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
8
3. Utility Configuration
3.1. Download the Utility
Please download the utility in this link:
https://www.pusr.com/products/4G-Cat-1-Modem.html
3.2. Starting the Configuration Utility
USR-DR502-E utility is shown as following:

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
9
Description:
1. In PC serial parameter setting area, it is necessary to set the serial parameters consistent with the serial
device, otherwise they cannot communicate with each other.
2. Working mode selection area, select the work mode of the modem.
3. In the parameter setting area of characteristic functions, set parameters related to modem's featured
functions.
4. Modem parameter area, setup some basic global parameters.
5. Common command button, click to send the self-input command.
6. Data receiving and display area, displaying the data sent and received.
7. Data sending area, input the data and click Send.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
10
4. Serial Port
4.1. Basic Parameters
Serial parameters of USR-DR502-E must be consistent with the parameters of the serial device. Serial port
parameters include basic parameters and framing parameters.
Item
Parameter
Baud rate
1200~230400bps
Data bit
8
Stop bit
1,2
Check bit
NONE
EVEN
ODD

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
11
4.2. Frame Forming Mechanism
4.2.1.Time Trigger
When DR502-E 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. This frame is sent to the network as a
TCP or UDP packet. The "time threshold" here is the time between packages. The range of settable is
10ms~500ms. Factory default: 50ms.
This parameter can be set by AT command, AT+UARTFT=<time>.
Note: T is the packing interval time.
4.2.2.Length trigger
When DR502-E receives data from the UART, it constantly checks the number of bytes received. If the number
of bytes received is equal to a certain "length threshold", a frame is considered to have ended, otherwise the
packaging time is waiting for the end. This frame is sent to the network as a TCP or UDP packet. The "length
threshold" here is the package length. The settable range is 5~4096. Factory defaults to 1024.
This parameter can be set by AT command, AT+UARTFL=<length>.
Note: L is the packaging length.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
12
5. Selecting an Operating Mode
USR-DR502-E has three operating modes: transparent mode, HTTPD Client mode and SMS mode.
5.1. Transparent Mode
In this mode, users do not need to pay attention to the data conversion process, can realize the bidirectional
data transparent transmission between serial devices and network servers.
DR502-E supports 4 socket connections, Socket A, Socket B, socket C and socket D, which are independent
with each other. Each socket supports TCP Client and UDP Client.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
13
Set parameters by the utility:
Set by AT command:
Command
Operation
1
+++a
Enter serial AT command mode
2
AT+WKMOD=NET
Set the work mode to Transparent mode
3
AT+SOCKAEN=ON
Enable Socket A
4
AT+SOCKASL=LONG
Set Socket A to persistent link
5
AT+SOCKA=TCP,test.usr.cn,2317
Set the remote IP and port of Socket A
6
AT+S
Save all parameters and restart
Test
Connect the serial port of USR-DR502-E to the computer via a RS485 serial to USB cable, send data from the
utility, the test server will return the same data to serial port.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
15
5.2. HTTPD Client Mode
In this mode, user’s terminal device can send request data to the specified HTTP server through this modem,
then the modem receives data from HTTP server, parses and sends data to the serial device.
User does not need to pay attention to the data conversion process between the serial data and the network
data packet, and can achieve the data request from the serial device to the HTTP server through simple
parameter settings.
The modem will filter out the received HTTP protocol header data by default, only output user data to the
serial port. Users can choose whether to filter by AT command.
Set parameters by the utility:

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
16
Set by AT command:
Command
Operation
1
+++a
Enter serial AT command mode
2
AT+WKMOD=HTTPD
Set the work mode to HTTPD Client
3
AT+HTPTP=GET
Set the HTTP request type to GET
4
AT+HTPURL=/1.php?
Set the HTTP URL
5
AT+HTPSV=test.usr.cn,80
Set the HTTP server address and port
6
AT+HTPHD=Accept:text/html[0D][0A]
Set the HTTP request header
7
AT+HTPTO=10
Set the time of transitory link
8
AT+HTPPK=ON
Set whether to filter HTTP header
9
AT+S
Save parameters and restart the modem
Test
After the NET light is on, send the data in the format of "data =". After the data is sent successfully, server will
return the data.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
17
5.3. SMS Mode
In this mode, user's serial device can send SMS to the specified mobile phone and receive SMS from any
mobile phone. User can decide whether to transmit the data of the specified mobile phone to the serial
device through settings.
Users can send and receive SMS to check the serial device status remotely via DR502-E.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
18
Set by the utility:
Set by AT command:
Command
Operation
1
+++a
Enter serial AT command mode
2
AT+WKMOD=SMS
Set the work mode to SMS
3
AT+DSTNUM=10086
Set the destination phone number
4
AT+SMSFLT=ON
Enable only receive SMS from source
number
5
AT+VOLTEEN=ON
Enable VOLTE function
6
AT+S
Save the parameters and restart
Note:
1. You need to add the international number before the destination phone number.
2. When only receive SMS from source number is enabled, other phone numbers can still query or set parameters.
Test
When the NET light is on, we can send and receive data in both directions via SMS with destination phone
number.

USR-DR502-E User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
20
6. General Function
6.1. Identity Package
In transparent mode, user can set the device to send identity package to the server. Identity package is
intended to allow the server to identify the data from which device or to use it as a password to obtain
authorization for the server's functions.
Identity package can be sent when the modem establishes a connection with the server, or as the prefix of
each data packet or both.
Identity package data can be ICCID code, IMEI code, SN, CLOUD or User-defined data.
ICCID: Unique SIM identification code, for applications based on SIM card identification.
IMEI: Unique identification code of the Internet modem, which is mainly used in device identification, has
nothing to do with SIM card.
SN: Serial number.
USER: User-defined data.
CLOUD: Set the device ID and password when connecting to USR Cloud, sent when building connection.
Set by the utility:
Table of contents
Other USR IOT Modem manuals

USR IOT
USR IOT USR-G781 User manual

USR IOT
USR IOT USR-MB706 User manual

USR IOT
USR IOT USR-DR504-E Mounting instructions

USR IOT
USR IOT USR-G761w User manual

USR IOT
USR IOT USR-G771-E User manual

USR IOT
USR IOT USR-G760c User manual

USR IOT
USR IOT USR-G771-E User manual

USR IOT
USR IOT USR-GPRS232-730 User manual

USR IOT
USR IOT USR-G786-G User manual

USR IOT
USR IOT USR-G806 Installation and operation manual