USR IOT USR-GM3 User Manual
Hide thumbs Also See for USR-GM3:

Advertisement

Quick Links

USR-GM3 User Manual
www.usriot.com

USR-GM3 User Guide

(USR-GM3 )
File version: Ver1.0
USR-GM3 is highly-integrated UART to GSM/GPRS module, Users can easily make
communication between serial device and cellphone and network device with it.
This module is different from the common modules on the market, it is the smallest GPRS DTU,
plug-and-play device. Later version USR-GM3S will be with SIM card inside, more easier to use,
it just need power supply.
Jinan USR IOT Technology Limited
1 / 54
tec@usr.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for USR IOT USR-GM3

  • Page 1: Usr-Gm3 User Guide

    (USR-GM3 ) File version: Ver1.0 USR-GM3 is highly-integrated UART to GSM/GPRS module, Users can easily make communication between serial device and cellphone and network device with it. This module is different from the common modules on the market, it is the smallest GPRS DTU, plug-and-play device.
  • Page 2: Table Of Contents

    USR-GM3 User Manual www.usriot.com Content USR-GM3 User Guide............................... 1 Quick Start................................... 3 1.1. Testing environment............................3 1.2. Transmission............................... 4 2. Introduction..................................5 2.1. Short Description..............................5 2.2. Characteristic...............................6 2.3. Features................................6 2.4. Application Field..............................6 3. Hardware..................................8 3.1. Pin Description..............................8 3.1.1.
  • Page 3: Quick Start

    Quick Start This chapter is a quick start guide for using USR-GM3 module. If it is the first time to use USR-GM3 for you, you should read this chapter carefully, and then follow the tips, try to do some tests by yourself. It will help you to know about USR-GM3 generally. If you have experience of using USR-GM3, please escape this chapter.
  • Page 4: Transmission

    “on” means attached, “off” means attach failure. GPRS “on” means socket A has connected to server, “off” means not connect. LINKA “on” means socket B has connected to server, “off” means not connect. LINKB Jinan USR IOT Technology Limited 4 / 54 tec@usr.cn...
  • Page 5: Introduction

    “www.usr.cn” in the receiving window from our test server. 2. Introduction 2.1. Short Description USR-GM3 is new listing at 2015, it is one embedded GSM module. USR-GM3 is designed for embedded system, it is so small and convenient that you can integrate it to your system easily.
  • Page 6: Characteristic

     In Heating field, USR-GM3 can be embedded in m-BUS concentrator to achieve the integration of the concentrator and wireless communication. Jinan USR IOT Technology Limited 6 / 54...
  • Page 7 USR-GM3 User Manual www.usriot.com  In water industry, USR-GM3 is also plays a significant role in system of water set copy, wa ter resource management and remote monitoring, wireless communication of water pipe n etwork monitoring.  In Environmental protection , USR-GM3 module can be integrated into the on-line monitori ng system of flue gas on-line monitoring (CEMS), water quality online monitoring.
  • Page 8: Hardware

    USR-GM3 User Manual www.usriot.com 3. Hardware 3.1. Pin Description 3.1.1.Outside View 3.1.2.Pin Assignment(Top) Jinan USR IOT Technology Limited 8 / 54 tec@usr.cn...
  • Page 9: Pcb Layout

    USR-GM3 User Manual www.usriot.com 3.1.3.PCB Layout Jinan USR IOT Technology Limited 9 / 54 tec@usr.cn...
  • Page 10: Pin Description

    Data line for SIM SIM_RST Reset line for SIM Keep no connecting Keep no connecting Keep no connecting V_PAD 2.8V output Keep no connecting Keep no connecting Keep no connecting Keep no connecting Jinan USR IOT Technology Limited 10 / 54 tec@usr.cn...
  • Page 11: Outside Antenna

    1. The line of Antenna should be short to make the insert loss lower and routed as RF line strictly to keep 50ohm matching. 2. It’s better to put the antenna pad on the edge of the PCB. Jinan USR IOT Technology Limited 11 / 54 tec@usr.cn...
  • Page 12: Module Functions

    USR-GM3 User Manual www.usriot.com 4. Module Functions 4.1. Work Mode USR-GM3 module can work in 3 modes  SMS message transmission mode  network transmission mode HTTPD mode  4.1.1.Switching Work Mode Choose by button you want to work mode...
  • Page 13: Network Transmission

    We have one software for customers to use, customers can get it from our website:http://www.usriot.com/Download/248.html. And we have one software for customers to do serial and network tests, customers can get it from our website:http://www.usriot.com/Product/78.html. Jinan USR IOT Technology Limited 13 / 54 tec@usr.cn...
  • Page 14 USR-GM3 User Manual www.usriot.com 1. Set TCP server software, log in remote server via remote desktop connection. Then open network test software, set the parameters as the bellowing. Jinan USR IOT Technology Limited 14 / 54 tec@usr.cn...
  • Page 15 USR-GM3 User Manual www.usriot.com 2. Set Module Parameters 1) Set work mode as network transmission 2) Enable socket A Jinan USR IOT Technology Limited 15 / 54 tec@usr.cn...
  • Page 16 3. Restart GM3, wait the connection of socket A has been established, send data to module via serial port, then you will get data at network server software. And send data to module via network, then the data will be got at module serial port. Jinan USR IOT Technology Limited 16 / 54 tec@usr.cn...
  • Page 17 # at the front of common command string,. Note: every command string should terminate with carriage return. Here we use [0D]. 4.1.2.4.1. Serial AT Command 1. Set work mode as network transmission. Jinan USR IOT Technology Limited 17 / 54 tec@usr.cn...
  • Page 18 USR-GM3 User Manual www.usriot.com 2. Enable serial command function. 3. Query command password. After setting successful, restart GM3, then send “usr.cn#AT+VER” via serial. Then GM3 will respond the firmware version. Jinan USR IOT Technology Limited 18 / 54 tec@usr.cn...
  • Page 19 USR-GM3 User Manual www.usriot.com 4.1.2.4.2. Network AT command 1. Enable network command function. 2. Query command password. Besides, customers need to configure socket A or socket B for network connection, refer to Jinan USR IOT Technology Limited 19 / 54 tec@usr.cn...
  • Page 20: Httpd Function

    Serial device Under this mode, customer’s serial device can request data from HTTP server via this module, Module can also receive data from HTTP server, analysis the data and transmit the Jinan USR IOT Technology Limited 20 / 54 tec@usr.cn...
  • Page 21 And we have one software for customers to do serial and network tests, customers can get it from our website:http://www.usriot.com/Product/78.html. 1. Setting 1) Set work mode as HTTPD. 2) Set request type as GET. Jinan USR IOT Technology Limited 21 / 54 tec@usr.cn...
  • Page 22 2. Restart module, then send “data=www.usr.cn” to HTTP server via serial port,you will get [www.usr.cn] from server. NOTE: the server “www.usr.cn” is USR’s HTTP test server, if you send “data=www.usr.cn” to it, it will feed back the data after “=” with “[]” including. Jinan USR IOT Technology Limited 22 / 54 tec@usr.cn...
  • Page 23 Expires: Wed, 24 Jun 2015 04:18:35 GMT Content-Length: 19 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: text/html [www.usr.cn] After GM3 receives the above data, it will analysis the information, and send the result to serial device. Jinan USR IOT Technology Limited 23 / 54 tec@usr.cn...
  • Page 24: Sms Message Transmission

    We have one software for customers to use, customers can get it from our website:http://www.usriot.com/Download/248.html. And we have one software for customers to do serial and network tests, customers can get it from our website:http://www.usriot.com/Product/78.html. Jinan USR IOT Technology Limited 24 / 54 tec@usr.cn...
  • Page 25 2. Reset module, and send message to module via serial port, then you will get the message on your cellphone. Then send a message back to module, then you will get the message from module’s serial port. Jinan USR IOT Technology Limited 25 / 54 tec@usr.cn...
  • Page 26 USR-GM3 User Manual www.usriot.com Jinan USR IOT Technology Limited 26 / 54 tec@usr.cn...
  • Page 27 Besides, customers need to configure SMS message transmission, refer to chapter 4.1.4.3. After setting successful, restart GM3. send “usr.cn#AT+VER” to GM3 from cellphone, then then you will get response from GM3. Jinan USR IOT Technology Limited 27 / 54 tec@usr.cn...
  • Page 28: Register Package

    TCP/UDP package. The type of register package could be ICCID ,IMEI, or user-defined data. 4.2.2.Usage 1. Enable sending register package. Jinan USR IOT Technology Limited 28 / 54 tec@usr.cn...
  • Page 29: Heart Beat Package

    Sending heart beat data to network server, is used to check if connection is alive. If GM3 sends data unsuccessful for 3 times, it will try to reconnect to server. Jinan USR IOT Technology Limited 29 / 54 tec@usr.cn...
  • Page 30: Usage

    4.1.2.3. After setting successful, restart GM3. When connection is establishing, If device is idle for 30 seconds, GM3 will send string “www.usr.cn” to server via socket A and socket B. Jinan USR IOT Technology Limited 30 / 54 tec@usr.cn...
  • Page 31: Uart

    This function is similar to RFC2217. Customer can change the parameters of serial port dynamically via network. This modification is temporary, when module restarts, the parameters changed will return back to previous values. Jinan USR IOT Technology Limited 31 / 54 tec@usr.cn...
  • Page 32 Interpretation of bits parameters Bits Interpretation Value Description Not Used Not Used Data bits Stop bits disable Enable/disable parity enable EVEN Parity type Not Used Not Used No defined Not Used Jinan USR IOT Technology Limited 32 / 54 tec@usr.cn...
  • Page 33: Parameters Setting

    T1 > 200ms T2 < 50ms T3 < 50ms T5 < 3s Go into command mode: Jinan USR IOT Technology Limited 33 / 54 tec@usr.cn...
  • Page 34: At Command Format

    A~B means the range is from A to B. carriage return, hex number is 0D. command code operator PARA parameter carriage return line feed Jinan USR IOT Technology Limited 34 / 54 tec@usr.cn...
  • Page 35 Command string: [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> Code meaning necessary carriage return line feed Type of command +CMD response head operator PARA parameter carriage return line feed carriage return line feed operating successful carriage return line feed Jinan USR IOT Technology Limited 35 / 54 tec@usr.cn...
  • Page 36: At Command Set

    SOCKB query or set socket B parameters SOCKAEN query or set enable/disable socket A SOCKBEN query or set enable/disable socket B SOCKASL query or set socket A long or short connection Jinan USR IOT Technology Limited 36 / 54 tec@usr.cn...
  • Page 37  function : help message.  format :  query : AT+H{CR} {CR}{LF}help message{CR}{LF}{CR}{LF}OK{CR}{LF}  parameter :  help message : commands introduction。 AT+Z  function : restart。  format : AT+Z{CR} {CR}{LF}OK{CR}{LF} AT+E Jinan USR IOT Technology Limited 37 / 54 tec@usr.cn...
  • Page 38  parameter :  mode : work mode  “CMD” : AT command mode  “SMS” : SMS message transmission mode  “NET” : network transmission mode  “HTTPD” : HTTPD mode Jinan USR IOT Technology Limited 38 / 54 tec@usr.cn...
  • Page 39  status : enable or disable network command  “on” : enable  “off” : disable AT+UATEN  function : query or set enable/disable serial port command  format :  query parameter introductions: AT+UATEN=?{CR} {CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited 39 / 54 tec@usr.cn...
  • Page 40  query current value of parameter: AT+CACHEN{CR} or AT+CACHEN?{CR} {CR}{LF}+CACHEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}  set parameter: AT+CACHEN=status{CR} {CR}{LF}OK{CR}{LF}  parameter :  status : enable/disable data cache.  “on” : enable  “off” : disable Jinan USR IOT Technology Limited 40 / 54 tec@usr.cn...
  • Page 41 13) AT+RELD  function : restore default settings.  format :  setting: AT+RELD{CR} {CR}{LF}OK{CR}{LF} 14) AT+CLEAR  function : restore factory settings.  format :  setting: AT+CLEAR{CR} {CR}{LF}OK{CR}{LF} 15) AT+CFGTF Jinan USR IOT Technology Limited 41 / 54 tec@usr.cn...
  • Page 42  code : ICCID code 19) AT+IMEI  function : query IMEI code.  format :  query current value of parameter: AT+IMEI{CR} or AT+IMEI?{CR} {CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF}  parameter :  code : IMEI code Jinan USR IOT Technology Limited 42 / 54 tec@usr.cn...
  • Page 43  7 : 7 data bits  8 : 8 data bits  flow control :  “NONE” : no flow control  “CRTS” : use RTS/CTS for flow control  “RS485” : use RS485 function Jinan USR IOT Technology Limited 43 / 54 tec@usr.cn...
  • Page 44  code : APN code 24) AT+SOCKA  function : query or set socket A parameters.  format :  query parameter introductions: AT+SOCKA=?{CR} {CR}{LF}+SOCKA:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{  query current value of parameter: AT+SOCKA{CR} or AT+SOCKA?{CR} Jinan USR IOT Technology Limited 44 / 54 tec@usr.cn...
  • Page 45  function : query or set enable/disable socket A.  format :  query parameter introductions: AT+SOCKAEN=?{CR} {CR}{LF}+SOCKAEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}  query current value of parameter: AT+SOCKAEN{CR} or AT+SOCKAEN?{CR} {CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}  set parameter: Jinan USR IOT Technology Limited 45 / 54 tec@usr.cn...
  • Page 46  query current value of parameter: AT+SOCKASL{CR} or AT+SOCKASL?{CR} {CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}  set parameter: AT+SOCKASL=type{CR} {CR}{LF}OK{CR}{LF}  parameter :  type : connection style  “short” : short connection  “long” : long connection Jinan USR IOT Technology Limited 46 / 54 tec@usr.cn...
  • Page 47 AT+SOCKBLK{CR} or AT+SOCKBLK?{CR} {CR}{LF}+SOCKBLK:status{CR}{LF}{CR}{LF}OK{CR}{LF}  parameter :  status : socket B connection status.  “connected” : connected  “disconnected” : disconnected 32) AT+REGEN  function : query or set enable/disable register package. Jinan USR IOT Technology Limited 47 / 54 tec@usr.cn...
  • Page 48  “REGDT” : user-defined data 34) AT+REGID  function : query or set register ID(used for D2D).  format :  query parameter introductions: AT+REGID=?{CR} {CR}{LF}+REGID:<id>{CR}{LF}{CR}{LF}OK{CR}{LF}  query current value of parameter: Jinan USR IOT Technology Limited 48 / 54 tec@usr.cn...
  • Page 49  “link” : send register data when socket connects  “data” : send register data as the head of every TCP/UDP package  “link&data” : support both of above two ways Jinan USR IOT Technology Limited 49 / 54 tec@usr.cn...
  • Page 50 “7777772E7573722E636E” means “www.usr.cn” in ASCII. 39) AT+HEARTTP  function : query or set heartbeat package sending type.  format :  query parameter introductions: AT+HEARTTP=?{CR} {CR}{LF}+HEARTTP:<"COM","NET">{CR}{LF}{CR}{LF}OK{CR}{LF}  query current value of parameter: AT+HEARTTP{CR} or AT+HEARTTP?{CR} Jinan USR IOT Technology Limited 50 / 54 tec@usr.cn...
  • Page 51  query current value of parameter: AT+HTPTP{CR} or AT+HTPTP?{CR} {CR}{LF}+HTPTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}  set parameter: AT+HTPTP=type{CR} {CR}{LF}OK{CR}{LF}  parameter :  type : HTTP request type  “GET” : get  “POST” : post Jinan USR IOT Technology Limited 51 / 54 tec@usr.cn...
  • Page 52  function : query or set HTTP request head.  format :  query parameter introductions: AT+HTPHD=?{CR} {CR}{LF}+HTPHD:<"head">{CR}{LF}{CR}{LF}OK{CR}{LF}  query current value of parameter: AT+HTPHD{CR} or AT+HTPHD?{CR} {CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF}  set parameter: AT+HTPHD=head{CR} Jinan USR IOT Technology Limited 52 / 54 tec@usr.cn...
  • Page 53  number : destination phone number  type: coding scheme  1 : ASCII coding,compressed  2 : 8 bits coding,not compressed  3 : UCS8 coding  data : content of SMS message Jinan USR IOT Technology Limited 53 / 54 tec@usr.cn...
  • Page 54: Appendix A: Contact

    ------------------------------------------------------------------------------------------------------------------------------ Appendix B: Disclaimer This document provides information about USR-GM3 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...

Table of Contents