(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.
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.
“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...
“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.
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.
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...
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...
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...
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...
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...
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 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...
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...
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...
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...
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...
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...
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 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...
------------------------------------------------------------------------------------------------------------------------------ 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...
Need help?
Do you have a question about the USR-GM3 and is the answer not in the manual?
Questions and answers