Advertisement

Quick Links

USR-DR504-E User Manual
www.usriot.com

USR-DR504-E Software Manual

Version: V1.0.2
Jinan USR IOT Technology Limited 1 www. usriot. com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for USR IOT USR-DR504-E

  • Page 1: Usr-Dr504-E Software Manual

    USR-DR504-E User Manual www.usriot.com USR-DR504-E Software Manual Version: V1.0.2 Jinan USR IOT Technology Limited 1 www. usriot. com...
  • Page 2: Function

    Supports base station positioning.  Supports multiple work mode: transparent transmission mode and SMS mode.  Supports basic commands.  Supports remote upgrade, keep the firmware up to date.  Supports sending English SMS.  Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 3: Table Of Contents

    3. 1. 6. 3 The Answer Format in Command....................32 3. 1. 6. 4 Special symbols..........................33 3.1.7. AT commands..............................33 1. AT................................35 2. AT+H.................................35 3. AT+Z................................. 35 4. AT+E................................. 35 5. AT+ENTM..............................36 6. AT+WKMOD............................. 36 Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 4 38. AT+REGTP...............................47 39. AT+REGDT.............................. 48 40. AT+REGSND............................48 41. AT+CLOUD..............................48 42. AT+HEARTEN............................49 43. AT+HEARTDT............................49 44. AT+HEARTSND............................50 45. AT+HEARTTM............................50 46. AT+DSTNUM............................50 47. AT+SMSFLT.............................51 48. AT+CISMSSEND............................51 4. Contact Us..................................52 5. Disclaimer..................................52 Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 5 USR-DR504-E User Manual www.usriot.com 6. Update History................................. 52 Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 6: Product Overview

    1. Product overview 1.1. Product Overview USR-DR504-E is the M2M product launched in 2019 with the characteristics of high speed and low latency. European band. The software has perfect functions and covers most common application scenarios. It can realize two-way data transparent transmission from serial port to network by simple settings. And supports SMS mode, custom register packages, heartbeat packages , support 2 way socket connections, support TCP Server, support access USR cloud , support remote upgrade.
  • Page 7: Product Function

    This chapter introduces the functions of DR504-E, the following diagram is a block diagram the function of the module. It can help you to have a general understanding of the product. Diagram 2-1 Product Function Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 8: Work Mode

    2.1. Work mode USR-DR504-E module has three working modes: network transmission mode and SMS transmission mode. Network transmission mode: the data is sent to the network server directly through the serial port of the module without any processing or modification.
  • Page 9 3. Set socket A as TCP Server, local port 2317, IP has no reference meaning in Server: AT+SOCKA=TCPS,test. usr. cn,2317 4. Setup APN. E. g: APN:CMNET, username: empty, password: empty, authentication method: NONE: AT+APN=CMNET,,,0 5. Reboot: AT+Z Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 10 6. Check "More". 7. Set the APN parameter: CMNET,,,0. E. g: APN: CMNET, username: empty, password: empty, authentication method :NONE. 8. Click "Save current parameters". 9. Click the "Restart" button to restart the module. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 11: Sms Mode

    2. When non-target mobile phone number filtering is enabled, the non-target mobile phone number can still query or set parameters; 3. When a SMS longer than 140 bytes is sent to the device, the received SMS will be incomplete. Setting by the software: Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 12: Serial Port

    7. Click "Save current parameters" to set and save all parameters. 8. Click "Restart" to restart the module. 2.2. Serial port 2.2.1. Basic parameter Serial port basic parameter Figure 2 Project Parameter Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 13: Frame Forming Mechanism

    Note: when using “command password +AT command” function, the package length must be larger than the “command password +AT command”, otherwise AT command is invalid This parameter can be set by AT command, AT+UARTFL=<length>. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 14: Characteristic Function

    CLOUD: The identification code based on the USR-cloud, can easily use the USR-Cloud by setting the relevant parameters. USER: User-defined data. Figure 3 AT commands Command name Command function Default parameter AT+REGEN Query/setting enable registration package AT+REGTP Query/setting the type of registration package content USER Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 15 Enable register package function: AT+REGEN=ON Setup custom the register package: AT+REGTP=USER Setup the contents: AT+REGDT=7777772E7573722E636E Setup the type of register package: AT+REGSND=DATA Reboot: AT+Z Setting software schematic diagram: Diagram 2.3.1-2 Software Schematic Diagram Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 16: Heartbeat Packet

    Default parameter AT+HEARTEN Query/Setting enable heartbeat packet AT+HEARTDT Query/Setting heartbeat data 7777772E7573722E636E AT+HEARTSND Query/Setting heartbeat packet send type AT+HEARTTM Query/Setting heartbeat packet interval Form 2.3.2-1 Related AT Command AT commands setting : Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 17 1. Enable heartbeat function: AT+HEARTEN=ON 2. Setup the contents of heartbeat packet: AT+HEARTDT=7777772E7573722E636E 3. Setup the type of heartbeat packet: AT+HEARTTP=NET 4. Setup the sending time: AT+HEARTTM=30 4. Reboot: AT+Z Schematic diagram of setup software: Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 18 5. Set the parameters of SocketA. 6. Enable heartbeat package function and set various parameters. 7. Set APN parameters. 8. Click "Save current parameters" to set and save all parameters. 9. Restart the module. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 19: Usr Cloud

    . USR-Cloud is suitable for remote monitoring, Internet of things, Internet of vehicles, smart home and other fields, so our USR-DR504-E also supports access to USR-Cloud. For more information about USR-Cloud, please visit http://console.
  • Page 20 "Cloud (for USR Cloud)", open the function of Cloud, and set the parameters (device ID and the code need to log in to http://console. usriot. com/). 7. Set the parameters of APN. 8. Click "Save current parameters" to set and save all parameters. 9. Restart the module. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 21: Basic Station Position

    2.3.4. Basic Station Position USR-DR504-E supports LBS base station positioning function, and can obtain the general location of the equipment through the operator's network, with a positioning accuracy of about 100 meters. Base station positioning information is obtained through AT command, which can be used flexibly with serial AT and SMS AT command.
  • Page 22: Modbus Protocol Conversion

    1. Set work mode to Transparent mode. : AT+WKMOD=NET 2. Enable Socket A: AT+SOCKAEN=ON 3. Set socket A to TCP Client: AT+SOCKA=TCP,test. usr. cn,2317 4. Enable Modbus protocol conversion: AT+MODBUSEN=ON 5. Restart the machine: AT+Z Setting software diagram: Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 23 4. Set the parameters of SocketA 5. Check "MODBUS Change". 6. Set the APN parameters. 7. Click "Save current parameters" to set and save all parameters. 8. Click "Restart" to restart the module. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 24: Indicator Status

    Firmware Upgrade 2.3.8.1. Upgrade by serial port In order to reduce the complexity of firmware upgrade for users, USR-DR504-E has specially set up the firmware upgrade with 232 ports. The steps are as follows: (1) Set baud rate to 115200, no check bit, data bit 8, stop bit 1, open serial port, click firmware upgrade, and select the firmware to be upgraded.
  • Page 25 Diagram 2.3.8.1-1 Serial update Schematic Diagram (2) As indicated, hold down the Reload pin and power USR-DR504-E at the same time. Diagram 2.3.8.1-2 Serial Update Schematic Diagram (3) After that, you can see that the firmware is being downloaded, release the Reload pin and wait for the update.
  • Page 26: Remote Update

    If the upgrade is needed, the firmware data will be downloaded from the server for the upgrade; if not, the system will sleep and wait for the next round. The polling time of Fota upgrade can be set through AT+FOTATIME with a range of 10~65535s. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 27: Parameter Setting

    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. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 28: At Command Setting

    After receiving the command, the device sends "OK" to the serial device and returns to the previous working  mode. After the serial device receives "OK", it knows that the device has returned to its previous working mode.  Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 29: Serial At Command

    (note that there is an Enter at the end of the string) from the serial port to the module. After receiving the string, the module will return the response information. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 30: Network At Command

    Take the query of firmware version number as an example, send AT command. Send "www. usr. cn#AT+VER" from Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 31: Command Format

    Enter key in ASCII, 0X0D in hex Line break in ASCII,0X0A in hex Form3.1.6.1-1 Symbol Description 3. 1. 6. 2 The queation format in command Command string: <AT+>[CMD][OP][PARA]<CR> Figure 10 symbol description Command code Implication Necessary or not Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 32: The Answer Format In Command

    Enter key Line break Form3.1.6.3-1Symbol Response instruction type description: Figure 13 The description of string format Type String Format Description <CR><LF><OK><CR><LF> Means command send success <CR><LF><+CMD:><PARA><CR><LF><CR><LF><OK><CR><LF> Return current parameters Form3.1.6.3-2 String Format Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 33: Special Symbols

    Query/set module start information RSTIM Query/set the time of equipment automatically restart Query signal strength information of device currently SYSINFO Query network information of device UCPIN Query/set PIN code Query/set query instructions Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 34 Query/set heartbeat packets sending type HEARTTM Query/set heartbeat packet sending interval SMS commands DSTNUM Query/set the target mobile phone number of SMS mode SMSFLT Query/set whether to enable non-target mobile phone number filtering CISMSSEND Send SMS Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 35: At+H

    Function: Query/set the echo status of the device ’s AT commands. Format:  Query current parameter: AT+E{CR} or AT+E?{CR} {CR}{LF}+E:status{CR}{LF}{CR}{LF}  Setting: AT+E=status{CR} {CR}{LF}OK{CR}{LF} Parameter:   status: echo status , including: ON: open OFF: close Command echo default is on. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 36: At+Entm

     Query current Parameter: AT+CMDPW{CR} or AT+CMDPW?{CR} {CR}{LF}+CMDPW:password{CR}{LF}{CR}{LF}  Setting: AT+CMDPW=password{CR} {CR}{LF}OK{CR}{LF} Parameter:   password: Command password , 1~11 bytes ASCII code, the default is www. usr. cn#. E. g: AT+CMDPW=www. usr. cn#  Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 37: At+Stmsg

    10. AT+CSQ Function: Query module’s current signal strength.  Format:   Query current Parameter AT+CSQ{CR} or AT+CSQ?{CR} {CR}{LF}+CSQ: rssi {CR}{LF}{CR}{LF} Parameter:   rssi: Received signal strength information. Mapping relation Figure 3 Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 38: At+Sysinfo

     roam_status: Roaming state 0: Non-roaming state 1: Roaming state  sys_mode: System mode Figure 6 System mode list Number Implication No service AMPS mode CDMA mode GSM mode HDR mode WCDMA mode Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 39: At+Ucpin

     pin: PIN code ,Default is empty E. g: AT+PIN=1234  13. AT+RELD Function: Restore the default settings and the device will restart.  Format:   Execute the specified function AT+RELD{CR} {CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 40: At+Clear

    Format:   Query current Parameter: AT+SN{CR} or AT+SN?{CR} {CR}{LF}+SN:code{CR}{LF}{CR}{LF} Parameters:   code:SN code 18. AT+ICCID Function: Query module’s ICCID code.  Format:   Query current parameter: AT+ICCID{CR} or AT+ICCID?{CR} Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 41: At+Imei

     <lac>: LAC information , Range: 1~65535  <cid>: CID information , Range: 2G:(1-65535) 3G/4G (1~268435455) E. g: AT+LBS  22. AT+PING Function: Query network continuity.  Format:   Query: AT+PING=“ip_address”{CR} Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 42: At+Uart

    ODD: ODD check. EVEN: EVEN check. Default is NONE. E. g:: AT+UART=115200,8,1,NONE.  24. AT+UARTFT Function: Query/Setting interval packet time of serial port  Format:  AT+UARTFT{CR} or AT+UARTFT?{CR} {CR}{LF}+UARTFT:time{CR}{LF}{CR}{LF}  Setting: AT+UARTFT=time{CR} {CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 43: At+Uartfl

     auth: Authentication mode , 0: None , 1: PAP , 2: CHAP , 3: PAP+CHAP , default is 0. E. g: AT+APN=4gnet,admin,admin,1.  27. AT+SOCKA Function: Query/Setting the parameters of socket A.  Format:   Query current parameter: AT+SOCKA{CR} or AT+SOCKA?{CR} {CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}  Setting: Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 44: At+Sockb

     port: Server port, range 1~65535, default 2317 E. g: AT+SOCKB=TCPC,test. usr. cn,2317  29. AT+SOCKAEN Function: Query/Setting whether to enable socket A  Format:   Query current Parameter: AT+SOCKAEN{CR} or AT+SOCKAEN?{CR} {CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}  Setting: AT+SOCKAEN=status{CR} Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 45: At+Sockben

    32. AT+SOCKBLK Function: Query whether socket B is connected.  Format:   Query current parameter: AT+SOCKBLK{CR} or AT+SOCKBLK?{CR} {CR}{LF}+SOCKBLK:status{CR}{LF}{CR}{LF} Parameters:   status: socket B connection status , including: ON: connected. Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 46: At+Sockato

     num: Maximum re-connection times, Setting range is 10~600 times, the default is 60 times. 36. AT+MODBUSEN Function: Query/Setting Whether to enable Modbus protocol transformation Function.  Format:   Query current Parameter: AT+MODBUSEN{CR} or AT+MODBUSEN?{CR} {CR}{LF}+MODBUSEN:status{CR}{LF}{CR}{LF}  Setting: Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 47: At+Regen

    {CR}{LF}OK{CR}{LF} Parameter:   Type: The type of registration data , include: ICCID: ICCID code IMEI: IMEI code CLOUD: Transparent transmissions function USER: User default Default is USER。 For example: AT+REGTP =ICCID Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 48: At+Regdt

    DATA: Register package data as the beginning of each package of data  Default is DATA.  For example: AT+REGSND =DATA 41. AT+CLOUD Function: Query/Setting the registration parameter of USR-Cloud.  Format:   Query current Parameter: AT+CLOUD{CR} or AT+CLOUD?{CR} {CR}{LF}+CLOUD:id,password{CR}{LF}{CR}{LF}  Setting: Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 49: At+Hearten

    For example such as: Parameter 7777772E7573722E636E, if represented by ASCII code, www. usr. cn  Note:The maximum length of 160 bytes is the number of bytes after ASCII code is converted to a hexadecimal string.  For example: AT+HEARTDT =7777772E7573722E636E Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 50: At+Heartsnd

    Format:   Query: AT+DSTNUM{CR} or AT+DSTNUM?{CR} {CR}{LF}+DSTNUM: number{CR}{LF}  Setting: AT+DSTNUM=number{CR} {CR}{LF}OK{CR}{LF} Parameter:   number: SMS target phone number, note add international number, the default number is 4000255652, up to Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 51: At+Smsflt

    Number: The target cellphone number for short message need add international number. For example:8618888888888  data: Text messages can be sent up to 70 characters at a time。  For example: AT+CISMSSEND=8618888888888,Hello! Jinan USR IOT Technology Limited Tech Support: h.usriot.com...
  • Page 52: Contact Us

    Tel: 86-531-88826739 5. Disclaimer This document provides the information of USR-DR504-E products, it hasn’t been granted any intellectual property license by forbidding speak or other ways either explicitly or implicitly. Except the duty declared in sales terms and conditions, we don’t take any other responsibilities. We don’t warrant the products sales and use explicitly or implicitly, including particular purpose merchant ability and marketability, the tort liability of any other patent right, copyright, intellectual property right.

Table of Contents