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

Advertisement

Quick Links

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
USR-GM3 User Manual
USR-GM3
USR-GM3
USR-GM3
USR-GM3 User
(USR-GM3 )
User
User
Guide
Guide
User Guide
Guide
1 / 52
www.usriot.com
File version: Ver1.0
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 ) 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

    4.4.1. RS485..............................28 4.4.2. Similar RFC2217..........................28 5. Parameters Setting..............................29 5.1. Operating AT command..........................30 5.2. AT Command Format.............................31 5.3. AT Command Set............................33 Appendix A: Contact..............................51 Appendix B: Disclaimer..............................52 Appendix C: Update History............................52 Jinan USR IOT Technology Limited 2 / 52 tec@usr.cn...
  • Page 3 Quick Start 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

    3. Power up the EVM with DC 5V adapter, then the POWER led will be on, several seconds later, the WORK led will twinkle, and then GPRS LINKA led will be on. Jinan USR IOT Technology Limited 4 / 52...
  • Page 5 4. Wait for LINKA led on, send data to module via serial port. For example, if you send “http://www.usr.cn”, at the same time, the DATA led will be on for a while. Then, you will get “http://www.usr.cn” in the receiving window from our test server. Jinan USR IOT Technology Limited 5 / 52 tec@usr.cn...
  • Page 6: Introduction

    Short Description Description Description 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. 2.2. 2.2.
  • Page 7 � In Heating field, USR-GM3 can be embedded in m-BUS concentrator to achieve the integration of the concentrator and wireless communication. � 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.
  • Page 8: Hardware

    3.1. 3.1. 3.1. 3.1. Pin Pin Description Description Description Description 3.1.1. 3.1.1. Outside Outside View View 3.1.1. 3.1.1.Outside Outside View View 3.1.2. 3.1.2. Assignment Assignment 3.1.2. 3.1.2.Pin Pin Assignment Assignment(Top Top) Jinan USR IOT Technology Limited 8 / 52 tec@usr.cn...
  • Page 9: Pcb Layout

    USR-GM3 User Manual www.usriot.com 3.1.3. 3.1.3. Layout Layout 3.1.3. 3.1.3.PCB PCB Layout Layout Jinan USR IOT Technology Limited 9 / 52 tec@usr.cn...
  • Page 10 SIM_DAT 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 Jinan USR IOT Technology Limited 10 / 52 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 / 52 tec@usr.cn...
  • Page 12: Network Transmission

    Functions Functions 4.1. 4.1. 4.1. 4.1. Work Work Work Work Mode Mode Mode Mode USR-GM3 module can work in 3 modes � SMS message transmission mode � network transmission mode HTTPD mode � 4.1.1. 4.1.1. Switching Switching Work Work Mode Mode 4.1.1.
  • Page 13 And we have one software for customers to do serial and network tests, customers can get http://www.usriot.com/Product/78.html http://www.usriot.com/Product/78.html it from our website:http://www.usriot.com/Product/78.html http://www.usriot.com/Product/78.html. 1. Set TCP server software, log in remote server via remote desktop connection. Jinan USR IOT Technology Limited 13 / 52 tec@usr.cn...
  • Page 14 2) Enable socket A AT+SOCKAEN= AT+SOCKAEN= AT+SOCKAEN= AT+SOCKAEN=” ” ” ” on on” ” ” ” 3) Set socket A as TCP client, server address is test.usr.cn(domain), server port is 2317. Jinan USR IOT Technology Limited 14 / 52 tec@usr.cn...
  • Page 15 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 15 / 52 tec@usr.cn...
  • Page 16 Note: every command string should terminate with carriage return. Here we use [0D]. 4.1.2.4.1. 4.1.2.4.1. Serial Serial Command Command 4.1.2.4.1. 4.1.2.4.1. Serial Serial AT AT Command Command 1. Set work mode as network transmission. Jinan USR IOT Technology Limited 16 / 52 tec@usr.cn...
  • Page 17 AT+UATEN=”on”[0D] 3. Query command password. AT+CMDPW[0D] We suppose the command password is ”usr.cn” here. 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 17 / 52 tec@usr.cn...
  • Page 18 We suppose the command password is ”usr.cn” here. Besides, customers need to configure socket A or socket B for network connection, refer to chapter 4.1.3. After setting successful, restart GM3. When connection is establishing, send “usr.cn#AT+VER” from network. Jinan USR IOT Technology Limited 18 / 52 tec@usr.cn...
  • Page 19: Description

    About how to use AT commands, please refer to chapter 4.5 “AT command”. We have one software for customers to operating AT commands, customers can get it from http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html website:http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html. Jinan USR IOT Technology Limited 19 / 52 tec@usr.cn...
  • Page 20 “[20]” means space, 0x20 in hex number. 2. Restart module, then send “data=http://www.usr.cn” to HTTP server via serial port,you will get [http://www.usr.cn] from server. NOTE: the server “www.usr.cn” is USR’s HTTP test server, if you send Jinan USR IOT Technology Limited 20 / 52 tec@usr.cn...
  • Page 21 In the step 1, serial device send “data=http://www.usr.cn” to GM3, then GM3 prepares HTTP package with head information set before, so the package data is: GET /1.php?data=http://www.usr.cn HTTP/1.1 Host: www.usr.cn Accept:text/html Accept-Language:zh-CN User-Agent: Mozilla/5.0 Connection: Keep-Alive Jinan USR IOT Technology Limited 21 / 52 tec@usr.cn...
  • Page 22 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 [http://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 22 / 52 tec@usr.cn...
  • Page 23 About how to use AT commands, please refer to chapter 4.5 “AT command”. We have one software for customers to operating AT commands, customers can get it from website:http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html. Jinan USR IOT Technology Limited 23 / 52 tec@usr.cn...
  • Page 24 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 24 / 52 tec@usr.cn...
  • Page 25 Besides, customers need to configure SMS message transmission, refer to chapter 4.1.2. 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 25 / 52 tec@usr.cn...
  • Page 26 Besides, customers need to configure socket A or socket B for network connection, refer to chapter 4.1.3. After setting successful, restart GM3. When connection is establishing, GM3 will send string “www.usr.cn” to server via socket A and socket B. Jinan USR IOT Technology Limited 26 / 52 tec@usr.cn...
  • Page 27: Heart Beat Package

    4.1.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 27 / 52 tec@usr.cn...
  • Page 28: Description

    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 28 / 52 tec@usr.cn...
  • Page 29: Similar Rfc2217

    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 29 / 52 tec@usr.cn...
  • Page 30 T1 > 200ms T2 < 50ms T3 < 50ms T5 < 3s into into command command mode: mode: Go into into command command mode: mode: Jinan USR IOT Technology Limited 30 / 52 tec@usr.cn...
  • Page 31 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 31 / 52 tec@usr.cn...
  • Page 32: At Command Set

    [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> Code Code meaning meaning necessary necessary Code Code meaning meaning necessary necessary carriage return line feed +CMD response head operator PARA parameter carriage return line feed Jinan USR IOT Technology Limited 32 / 52 tec@usr.cn...
  • Page 33 MS ISDN related to the subscriber UART UART UART UART parameters parameters parameters parameters commands commands commands commands UART query or set serial port parameters RFCEN query or set enable/disable similar RFC2117 Jinan USR IOT Technology Limited 33 / 52 tec@usr.cn...
  • Page 34 � function : help message. � format : � query : AT+H{CR} H{CR} H{CR} H{CR} {CR}{LF}help {CR}{LF}help {CR}{LF}help {CR}{LF}help message{CR}{LF}{CR}{LF}OK{CR}{LF} message{CR}{LF}{CR}{LF}OK{CR}{LF} message{CR}{LF}{CR}{LF}OK{CR}{LF} message{CR}{LF}{CR}{LF}OK{CR}{LF} � parameter : � help message : commands introduction。 Jinan USR IOT Technology Limited 34 / 52 tec@usr.cn...
  • Page 35 AT+WKMOD=? =?{CR} {CR} {CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF} � � � � query current value of parameter: AT+WKMOD{CR} AT+WKMOD{CR} AT+WKMOD{CR} or or or or AT+WKMOD? AT+WKMOD? AT+WKMOD? {CR} {CR} AT+WKMOD{CR} AT+WKMOD?{CR} {CR} Jinan USR IOT Technology Limited 35 / 52 tec@usr.cn...
  • Page 36 AT+NATEN{CR} AT+NATEN?{CR} {CR} {CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: NATEN NATEN NATEN= = = = status status status {CR} {CR} AT+NATEN status{CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : Jinan USR IOT Technology Limited 36 / 52 tec@usr.cn...
  • Page 37 {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � password : command password 10) AT+CACHEN � function : query or set enable/disable data cache. � format : � query parameter introductions: Jinan USR IOT Technology Limited 37 / 52 tec@usr.cn...
  • Page 38 � function : save current settings. � format : � setting: AT+S S S S {CR} {CR} {CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} 13) AT+RELD � function : restore default settings. � format : � setting: Jinan USR IOT Technology Limited 38 / 52 tec@usr.cn...
  • Page 39 {CR} {CR} {CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF} � parameter : � code : SN code 18) AT+ICCID � function : query ICCID code. � format : � query current value of parameter: Jinan USR IOT Technology Limited 39 / 52 tec@usr.cn...
  • Page 40 UART= = = = baud,parity,data baud,parity,data baud,parity,data baud,parity,data bit,stop bit,stop bit,stop bit,stop bit,flow bit,flow bit,flow bit,flow control control control control{CR} {CR} {CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � baud : baud rate Jinan USR IOT Technology Limited 40 / 52 tec@usr.cn...
  • Page 41 {CR}{LF}+APN:<"code">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+APN:<"code">{CR}{LF}{CR}{LF}OK{CR}{LF} � query current value of parameter: {CR} {CR} {CR} or or or or AT+APN? AT+APN? AT+APN? {CR} {CR} AT+APN APN{CR} AT+APN?{CR} {CR} {CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: Jinan USR IOT Technology Limited 41 / 52 tec@usr.cn...
  • Page 42 AT+SOCKB B B B = = = = protocol,address,port protocol,address,port protocol,address,port {CR} {CR} AT+SOCK protocol,address,port{CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � protocol : communication protocol � “TCP” : TCP Jinan USR IOT Technology Limited 42 / 52 tec@usr.cn...
  • Page 43 � parameter : � status : enable or disable socket B. � “on” : enable � “off” : disable 28) AT+SOCKASL � function : query or set socket A long or short connection. Jinan USR IOT Technology Limited 43 / 52 tec@usr.cn...
  • Page 44 {CR} or or or or AT+SOCKALK? AT+SOCKALK? {CR} AT+SOCKALK SOCKALK SOCKALK{CR} {CR} AT+SOCKALK? AT+SOCKALK?{CR} {CR} {CR} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} � parameter : � status : socket A connection status. � “connected” : connected Jinan USR IOT Technology Limited 44 / 52 tec@usr.cn...
  • Page 45 {CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{ {CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{ {CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{ � query current value of parameter: AT+REGTP REGTP REGTP REGTP{CR} {CR} {CR} {CR} or or or or AT+REGTP? AT+REGTP? AT+REGTP? AT+REGTP?{CR} {CR} {CR} {CR} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited 45 / 52 tec@usr.cn...
  • Page 46 {CR} AT+REGDT data{CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � data : user-defined register data, hex string, max length is 80 bytes, for example, “7777772E7573722E636E” means “www.usr.cn” in ASCII. Jinan USR IOT Technology Limited 46 / 52 tec@usr.cn...
  • Page 47 � “on” : enable � “off” : disable 38) AT+HEARTDT � function : query or set heartbeat data. � format : � query parameter introductions: HEARTDT=? HEARTDT=? {CR} {CR} AT+HEARTDT=? HEARTDT=?{CR} {CR} Jinan USR IOT Technology Limited 47 / 52 tec@usr.cn...
  • Page 48 HEARTTM{CR} AT+HEARTTM?{CR} {CR} {CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: HEARTTM HEARTTM HEARTTM= = = = time time time {CR} {CR} AT+HEARTTM time{CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : Jinan USR IOT Technology Limited 48 / 52 tec@usr.cn...
  • Page 49 � function : query or set HTTP server address and port. � format : � query parameter introductions: AT+HT AT+HT AT+HT AT+HTPSV=? PSV=? PSV=? PSV=?{CR} {CR} {CR} {CR} {CR}{LF}+ {CR}{LF}+ PSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF} PSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+ {CR}{LF}+HT HTPSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF} PSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited 49 / 52 tec@usr.cn...
  • Page 50 � set parameter: DSTNUM DSTNUM DSTNUM= = = = number number number {CR} {CR} AT+DSTNUM number{CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � number : destination phone number in “SMS” mode. Jinan USR IOT Technology Limited 50 / 52 tec@usr.cn...
  • Page 51 � 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 51 / 52 tec@usr.cn...
  • Page 52: Appendix A: Contact

    USR-GM3 User Manual www.usriot.com Appendix Appendix Appendix A: A: A: A: Contact Contact Contact Appendix Contact ------------------------------------------------------------------------------------------------------------------------------ Company: Jinan USR IOT Technology Limited Address: 1-728, Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China Tel: 86-531-55507297, 86-531-88826739 Web: http://www.usriot.com http://www.usriot.com http://www.usriot.com http://www.usriot.com http://h.usriot.com http://h.usriot.com...

Table of Contents