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

Advertisement

Quick Links

USR-GM3/GM3s 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. USR-GM3s will be with SIM card inside, more easier to use, it just need
power supply.
Jinan USR IOT Technology Limited
USR-GM3/GM3s
USR-GM3/GM3s
USR-GM3/GM3s
USR-GM3/GM3s User
USR-GM3/GM3s User Manual
User
User
User Guide
(USR-GM3/GM3s )
1 / 55
www.usriot.com
Guide
Guide
Guide
File version: Ver1.08
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

Summary of Contents for USR IOT USR-GM3

  • Page 1 (USR-GM3/GM3s ) File version: Ver1.08 USR-GM3/GM3s 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/GM3s User Manual www.usriot.com Content USR-GM3/GM3s User Guide............................1 Quick Start..................................3 1.1. Testing environment............................3 1.2. Transmission..............................4 2. Introduction................................... 6 2.1. Short Description.............................. 6 2.2. Characteristic..............................6 2.3. Features................................6 2.4. Application Field..............................7 3. Hardware..................................8 3.1. Pin Description..............................8 3.1.1. Outside View............................8 3.1.2.
  • Page 3 Quick Start Start Start This chapter is a quick start guide for using USR-GM3/GM3s module. If it is the first time to USR-GM3/GM3s 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/GM3s generally. If you have experience of using USR-GM3/GM3s, please escape this chapter.
  • Page 4: Transmission

    3. Power up the EVK 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 / 55...
  • Page 5 Wait for LINKA led on, send data to module via serial port. For example, if you send “www.usr.cn”, at the same time, the DATA led will be on for a while. Then, you will get “www.usr.cn” in the receiving window from our test server. Jinan USR IOT Technology Limited 5 / 55 tec@usr.cn...
  • Page 6: Introduction

    Description 2.1. 2.1. Short Short Description Description USR-GM3/GM3s is new listing at 2015, it is one embedded GSM module. USR-GM3/GM3s is designed for embedded system, it is so small and convenient that you can integrate it to your system easily.
  • Page 7 � In Heating field, USR-GM3/GM3s can be embedded in m-BUS concentrator to achieve the integration of the concentrator and wireless communication. � In water industry, USR-GM3/GM3s is also plays a significant role in system of water set co py, water resource management and remote monitoring, wireless communication of water pipe network monitoring.
  • Page 8: Hardware

    3.1. 3.1. Description Description 3.1. 3.1. Pin Pin 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. 3.1.2. 3.1.2.Pin Pin Assignment Assignment Assignment Assignment(Top Top) Jinan USR IOT Technology Limited 8 / 55 tec@usr.cn...
  • Page 9: Pcb Layout

    USR-GM3/GM3s User Manual www.usriot.com 3.1.3. 3.1.3. 3.1.3. 3.1.3.PCB PCB Layout Layout Layout Layout Jinan USR IOT Technology Limited 9 / 55 tec@usr.cn...
  • Page 10 SIM_RST Reset line for SIM Keep no connecting HST_TXD Upgrade from uart HST_RXD Upgrade from uart V_PAD 2.8V output Keep no connecting Keep no connecting Keep no connecting Keep no connecting Jinan USR IOT Technology Limited 10 / 55 tec@usr.cn...
  • Page 11 The interface module provides includes: power input, output, on/off control, reset to restart control, control, restore the factory Settings, working module, analog audio input, output, UART, SIM, RF antenna. Jinan USR IOT Technology Limited 11 / 55 tec@usr.cn...
  • Page 12: Work Mode

    Functions Functions 4.1. 4.1. Work Work Mode Mode 4.1. 4.1. Work Work Mode Mode USR-GM3/GM3s 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: Description

    We have one software for customers to use, customers can get it from our http://www.usriot.com/Download/248.html. http://www.usriot.com/Download/248.html. website:http://www.usriot.com/Download/248.html. http://www.usriot.com/Download/248.html. 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. Jinan USR IOT Technology Limited 13 / 55 tec@usr.cn...
  • Page 14 USR-GM3/GM3s 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 / 55 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 / 55 tec@usr.cn...
  • Page 16 USR-GM3/GM3s User Manual www.usriot.com Jinan USR IOT Technology Limited 16 / 55 tec@usr.cn...
  • Page 17 This kind of commands is different from common ones, customers should add command password and # at the front of common command string,. Note: every command string should terminate with carriage return. Here we use [0D]. Jinan USR IOT Technology Limited 17 / 55 tec@usr.cn...
  • Page 18 1. Set work mode as network transmission. 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 / 55 tec@usr.cn...
  • Page 19 4.1.2.4.2. Network Network AT AT command 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 / 55 tec@usr.cn...
  • Page 20 USR-GM3/GM3s User Manual www.usriot.com chapter 4.1.2.3. After setting successful, restart GM3. When connection is establishing, send “usr.cn#AT+VER” from network. Jinan USR IOT Technology Limited 20 / 55 tec@usr.cn...
  • Page 21 We have one software for customers to use, customers can get it from our website:http://www.usriot.com/Download/248.html. http://www.usriot.com/Download/248.html. http://www.usriot.com/Download/248.html. http://www.usriot.com/Download/248.html. And we have one software for customers to do serial and network tests, customers can get Jinan USR IOT Technology Limited 21 / 55 tec@usr.cn...
  • Page 22 0x0A in hex number. Because this kind of data is not able to be put into AT commands string, so it is tropical. The rule is two bytes in [] means one byte in hex form. For example, Jinan USR IOT Technology Limited 22 / 55 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 / 55 tec@usr.cn...
  • Page 24 We have one software for customers to use, customers can get it from our http://www.usriot.com/Download/248.html. website:http://www.usriot.com/Download/248.html. http://www.usriot.com/Download/248.html. http://www.usriot.com/Download/248.html. And we have one software for customers to do serial and network tests, customers can get 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 http://www.usriot.com/Product/78.html. Jinan USR IOT Technology Limited 24 / 55 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 / 55 tec@usr.cn...
  • Page 26 USR-GM3/GM3s User Manual www.usriot.com Jinan USR IOT Technology Limited 26 / 55 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 / 55 tec@usr.cn...
  • Page 28 2. Set the type of register package data. for instance, using user-defined data. 3. Set user-defined register data, for instance, set data as string “www.usr.cn”, you need to convert it to hex string “7777772E7573722E636E”. Jinan USR IOT Technology Limited 28 / 55 tec@usr.cn...
  • Page 29 Besides, customers need to configure socket A or socket B for network connection, refer to chapter 4.1.2.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 29 / 55 tec@usr.cn...
  • Page 30: Heart Beat Package

    2. Set the destination of heart beat package data. for instance, to network server. 3. Set heart beat data, for instance, set data as string “www.usr.cn”, customer need to convert it to hex string “7777772E7573722E636E”. 4. Set sending period, for instance, 30 seconds. Jinan USR IOT Technology Limited 30 / 55 tec@usr.cn...
  • Page 31: Description

    GM3 module supports RS485 function. RS485 is half duplex, the direction of transmitting data should be controlled manually. If customer enables module’s RS485 function, the pin 7 of module is used to control the direction of communication. Refer to command AT+UART Jinan USR IOT Technology Limited 31 / 55 tec@usr.cn...
  • Page 32: Similar Rfc2217

    4.4.2.2. 4.4.2.2. 4.4.2.2. 4.4.2.2. Definition Definition Definition Definition of of of of similar similar similar similar RFC2217 RFC2217 RFC2217 RFC2217 This protocol contains 8 bytes, details as the following form Jinan USR IOT Technology Limited 32 / 55 tec@usr.cn...
  • Page 33 Parameters Setting Setting Setting Sending AT commands is the only way to set the parameters of GM3 module. There are two kinds of commands, basic AT commands and extended AT commands. Jinan USR IOT Technology Limited 33 / 55 tec@usr.cn...
  • Page 34 Go into into command command mode: mode: 1.Module is in SMS message transmission, network transmission or HTTPD mode. 2.Device send “+++” to module, then module send ‘a’ to device. Jinan USR IOT Technology Limited 34 / 55 tec@usr.cn...
  • Page 35 1) 1) 1) 1) The format format format of of of of asking asking asking The format asking Command Command string: string: <AT+>[CMD][OP][PARA]<CR> <AT+>[CMD][OP][PARA]<CR> Command Command string: string: <AT+>[CMD][OP][PARA]<CR> <AT+>[CMD][OP][PARA]<CR> Jinan USR IOT Technology Limited 35 / 55 tec@usr.cn...
  • Page 36: At Command Set

    Command Command Command Command string string string string description description description description <CR><LF><OK><CR><LF> successful <CR><LF><+CMD:><PARA><CR><LF><CR><LF><OK><CR><LF> return parameter Jinan USR IOT Technology Limited 36 / 55 tec@usr.cn...
  • Page 37 A long or short connection SOCKBSL query or set socket B long or short connection SOCKALK query socket A connection status SOCKBLK query socket B connection status Jinan USR IOT Technology Limited 37 / 55 tec@usr.cn...
  • Page 38 � function : restart。 � format : AT+Z{CR} AT+Z{CR} AT+Z{CR} AT+Z{CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} AT+E � function : query and set enable/disable echo. � format : � Query parameter introductions : Jinan USR IOT Technology Limited 38 / 55 tec@usr.cn...
  • Page 39 � parameter : � mode : work mode � “CMD” : AT command mode � “SMS” : SMS message transmission mode � “NET” : network transmission mode � “HTTPD” : HTTPD mode AT+CALEN Jinan USR IOT Technology Limited 39 / 55 tec@usr.cn...
  • Page 40 AT+UATEN=?{CR} AT+UATEN=?{CR} {CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} � � � � query current value of parameter: AT+UATEN{CR} AT+UATEN{CR} AT+UATEN{CR} or or or or AT+UATEN?{CR} AT+UATEN?{CR} AT+UATEN?{CR} AT+UATEN{CR} AT+UATEN?{CR} {CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited 40 / 55 tec@usr.cn...
  • Page 41 {CR}{LF}+CACHEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: AT+CACHEN=status{CR} AT+CACHEN=status{CR} AT+CACHEN=status{CR} AT+CACHEN=status{CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � status : enable/disable data cache. � “on” : enable � “off” : disable 11) AT+STMSG Jinan USR IOT Technology Limited 41 / 55 tec@usr.cn...
  • Page 42 � function : restore factory settings. � format : � setting: AT+CLEAR{CR} AT+CLEAR{CR} AT+CLEAR{CR} AT+CLEAR{CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} 15) AT+CFGTF � function : save current setting as default setting. � format : � setting: Jinan USR IOT Technology Limited 42 / 55 tec@usr.cn...
  • Page 43 � query current value of parameter: AT+IMEI{CR} AT+IMEI{CR} AT+IMEI{CR} or or or or AT+IMEI?{CR} AT+IMEI?{CR} AT+IMEI?{CR} AT+IMEI{CR} AT+IMEI?{CR} {CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF} � parameter : � code : IMEI code 20) AT+CNUM Jinan USR IOT Technology Limited 43 / 55 tec@usr.cn...
  • Page 44 � “NONE” : no flow control � “CRTS” : use RTS/CTS for flow control � “RS485” : use RS485 function 22) AT+RFCEN � function : query or set enable/disable similar RFC2117. � format : Jinan USR IOT Technology Limited 44 / 55 tec@usr.cn...
  • Page 45 � query current value of parameter: AT+SOCKA{CR} AT+SOCKA{CR} AT+SOCKA{CR} AT+SOCKA{CR} or or or or AT+SOCKA?{CR} AT+SOCKA?{CR} AT+SOCKA?{CR} AT+SOCKA?{CR} {CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: AT+SOCKA=protocol,address,port{CR} AT+SOCKA=protocol,address,port{CR} AT+SOCKA=protocol,address,port{CR} AT+SOCKA=protocol,address,port{CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited 45 / 55 tec@usr.cn...
  • Page 46 AT+SOCKAEN?{CR} {CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: AT+SOCKAEN=status{CR} AT+SOCKAEN=status{CR} AT+SOCKAEN=status{CR} AT+SOCKAEN=status{CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � status : enable or disable socket A � “on” : enable Jinan USR IOT Technology Limited 46 / 55 tec@usr.cn...
  • Page 47 � “short” : short connection � “long” : long connection 29) AT+SOCKBSL � function : query or set socket B long or short connection. � format : � query parameter introductions: AT+SOCKBSL=?{CR} AT+SOCKBSL=?{CR} AT+SOCKBSL=?{CR} AT+SOCKBSL=?{CR} Jinan USR IOT Technology Limited 47 / 55 tec@usr.cn...
  • Page 48 32) AT+REGEN � function : query or set enable/disable register package. � format : � query parameter introductions: AT+REGEN=?{CR} AT+REGEN=?{CR} AT+REGEN=?{CR} AT+REGEN=?{CR} {CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} � query current value of parameter: Jinan USR IOT Technology Limited 48 / 55 tec@usr.cn...
  • Page 49 � query current value of parameter: AT+REGID{CR} AT+REGID{CR} AT+REGID{CR} AT+REGID{CR} or or or or AT+REGID?{CR} AT+REGID?{CR} AT+REGID?{CR} AT+REGID?{CR} {CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: AT+REGID=id{CR} AT+REGID=id{CR} AT+REGID=id{CR} AT+REGID=id{CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited 49 / 55 tec@usr.cn...
  • Page 50 � “data” : send register data as the head of every TCP/UDP package � “link&data” : support both of above two ways 37) AT+HEARTEN � function : query or set enable/disable heartbeat. � format : � query parameter introductions: Jinan USR IOT Technology Limited 50 / 55 tec@usr.cn...
  • Page 51 � query current value of parameter: AT+HEARTTP{CR} AT+HEARTTP{CR} AT+HEARTTP{CR} AT+HEARTTP{CR} or or or or AT+HEARTTP?{CR} AT+HEARTTP?{CR} AT+HEARTTP?{CR} AT+HEARTTP?{CR} {CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: AT+HEARTTP=type{CR} AT+HEARTTP=type{CR} AT+HEARTTP=type{CR} AT+HEARTTP=type{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 51 / 55 tec@usr.cn...
  • Page 52 � type : HTTP request type � “GET” : get � “POST” : post 42) AT+HTPURL � function : query or set HTTP URL. � format : � query parameter introductions: AT+HTPURL=?{CR} AT+HTPURL=?{CR} AT+HTPURL=?{CR} AT+HTPURL=?{CR} Jinan USR IOT Technology Limited 52 / 55 tec@usr.cn...
  • Page 53 AT+HTPHD{CR} or or or or AT+HTPHD?{CR} AT+HTPHD?{CR} AT+HTPHD?{CR} AT+HTPHD?{CR} {CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF} � set parameter: AT+HTPHD=head{CR} AT+HTPHD=head{CR} AT+HTPHD=head{CR} AT+HTPHD=head{CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � head : HTTP request head Jinan USR IOT Technology Limited 53 / 55 tec@usr.cn...
  • Page 54: Appendix A: Contact

    � 2 : 8 bits coding,not compressed � 3 : UCS8 coding � data : content of SMS message Appendix Appendix Appendix Appendix A: A: A: A: Contact Contact Contact Contact ------------------------------------------------------------------------------------------------------------------------------ Jinan USR IOT Technology Limited 54 / 55 tec@usr.cn...
  • Page 55: Appendix B: Disclaimer

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

This manual is also suitable for:

Usr-gm3s

Table of Contents