M2M HDM1004G User manual

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
HDM1004G_User Guide
V1.01

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Document Title
HDM1004G User Guide
Version
V1.03
Date
2014-11-01
Status
Release
Document Control ID
HDM1004G_User Guide_V1.03
General Notes.
Shenzhen Weblink Technology CO,. Ltd offers this information as a service to its
customers, to support application and engineering efforts that use the products designed by
Shenzhen Weblink Technology CO,. Ltd. The information provided is based upon requirements
specifically provided to Shenzhen Weblink Technology CO,. Ltd by the customers. Shenzhen
Weblink Technology CO,. Ltd has not undertaken any independent search for additional relevant
information, including any information that may be in the customer’s possession. Furthermore,
system validation of this product designed by Shenzhen Weblink Technology CO,. Ltd within a
larger electronic system remains the responsibility of the customer or the customer’s system
integrator. All specifications supplied herein are subject to change.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Version History
Date
Version
Description of change
Author
2012-05-3
1.00
Origin
Jianhua Liu
2012-08-15
1.01
§6.3 Correct the PIN assignment
Zhenrong Qu
2013-05-22
1.02
§6.3 Correct the signal assignment
Jianhua Liu
2014-11-01
1.03
1.Modify interface connector
2.Modify voltage input level
Jianhua Liu

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
1Introduction
This document describes features, functions and interfaces of HDM1004G terminal in
great detail. HDM1004G is designed for global market. It’s on sale of follow frequency bands list.
Frequency bands version C.
LTE-FDD. B1,3,7,8
LTE-TDD.B38,39,40,41
WCDMA.900/2100MHz
TDSCDMA. band A and band B
GSM.900/1800MHz
Frequency bands version E.
LTE-FDD. B1,3,7,8,20
LTE-TDD.B38,40
WCDMA.900/2100MHz
GSM.900/1800MHz
Frequency bands version A.
LTE-FDD. B2,4,5,17
WCDMA.850/1900MHz
User can choose the module based on the wireless network configuration. Which is a ideal
solution for wireless m2m applications. With the help of this document user can understand
HDM1004G interface specifications, electrical and mechanical quickly.
Figure 1: HDM1004G overview

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
2Key features
HDM1004G terminal has the following features:
1. Standard AT commands set
2. USB, RS232 or RS485 interface.
3. Watch-dog function
4. ESD protection
5. GPIOs
6. +5V~+30V Power supply
7. -40℃~+80℃
Table 1: HDM1004G key features
Feature
Implementation
Power supply
+5V ~ +30V
Power saving
Typical power consumption in sleep mode is 70mW
( BS-PA-MFRMS=9 )
Frequency bands
Frequency bands version C.
LTE-FDD. B1,3,7,8
LTE-TDD.B38,39,40,41
WCDMA.900/2100MHz
TDSCDMA. band A and band B
GSM.900/1800MHz
Frequency bands version E.
LTE-FDD. B1,3,7,8,20
LTE-TDD.B38,40
WCDMA.900/2100MHz
GSM.900/1800MHz
Frequency bands version A.
LTE-FDD. B2,4,7,17
WCDMA.850/1900MHz
. HDM1004G can search the frequency bands automatically.
The frequency bands also can be set by AT command
“AT+CBAND”. For details, please refer to AT command
document .
Compliant to GSM Phase 2/2+

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Transmitting power
GSM/GPRS
Class 4 (2W): GSM850、EGSM900
Class 1 (1W): DCS1800、PCS1900
EDGE
Class E2 (0.5W): GSM850、EGSM900
Class E1 (0.4W): DCS1800、PCS1900
UMTS
Class 3 (0.25W): WCDMA, Class 2 (0.25W): TD-SCDMA
LTE
Class 3 (0.25W): LTE
Temperature range
Normal operation: --40°C ~ +80°C
Restricted operation: -45°C ~ +85°C*
Storage temperature -45°C ~ +90°C
Data rate
LTE Category 3 - 100 Mbps (DL)
LTE Category 3 - 50 Mbps (UL)
HSPA+: 5.76 Mbps(UL), 42 Mbps(DL)
WCDMA data downlink transfer: max. 14.4Mbps
WCDMA data uplink transfer: max.5.76Mbps
UMTS R99 speed: 384 kbps DL/UL
EDGE multi-slot class 12
GPRS multi-slot class 12
CSD
Support CSD transmission
USSD
Unstructured Supplementary Services Data (USSD) support
SMS
MT, MO, CB, Text and PDU mode
SMS storage: SIM card
FAX
Group 3 Class 1
SIM interface
Support SIM card: 1.8V, 3V
External antenna
SMA type RF connector
USB port
This interface is compliant with the USB2.0 specification. The
USB2.0 specification requires hosts such as the computer to support
all three USB speeds, namely low-speed (1.5Mbps), full-speed
(12Mbps) and high-speed (480Mbps). USB charging and USB-OTG is
not supported.
RS232 serial port
Serial port:
Full modem interface with status and control lines, unbalanced,
asynchronous.
supports the baud rate:300, 600, 1200, 2400, 4800, 9600,
19200, 38400, 57600, 115200, 230400, 460800bps. Default rate

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
is 115200bps..
Can be used for AT commands data stream.
Support RTS/CTS hardware handshake and software ON/OFF
flow control.
Multiplex ability according to GSM 07.10 Multiplexer Protocol.
Autobauding supports baud rate from 1200 bps to 57600bps.
Phonebook
management
Support phonebook types: SM, FD, LD, RC, ON, MC.
SIM application toolkit
GSM 11.14 Release 99
Physical characteristics
Size: 116*59*23mm
Weight: 110g
Firmware upgrade
Firmware upgradeable by USB interface
*HDM1004G does work at this temperature, but some radio frequency characteristics may
deviate from the LTE specification.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
3Terminal dimensions
Figure 2: Mechanical dimensions of HDM1004G(Unit: mm)

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
4Installation
The terminal can be fixed by four screw holes as follow figure.
Figure 3: Installation of the terminal
5Interface introduction
5.1 Overview
HDM1004G Terminal provides the following connectors for power supply, GPIOs,Serial
port and antenna:
The 3G antenna interface(SMA type female connector)
The 2 PIN I/O port for power supply
The 10 PIN I/O port for GPIOs and RS232
LED indicator for power (Red) and GSM Net light (Green)
SIM card holder

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Pins
Direction
Description
1
I
Power supply. +5V~+30V
2
GND
3
I/O
GPIO4
4
I/O
GPIO3
5
I/O
GPIO2
6
O
UART Ring
7
I
UART RTS
8
O
UART CTS
9
O
UART TXD or RS485 TXD
10
I
UART RXD or RX485 RXD
11
O
UART DCD
12
I
UART DTR
Figure 4: HDM1004G interface Front view
Figure 5: HDM1004G interface Back view
Note: For the I/O interface, Shenzhen Weblink Technology CO,. Ltd could provide 2-line cable
and 10-line cable (optional) to assist developers; it will be introduced at the following chapter.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
5.2 HDM1004G Functional Diagram
The following figure shows a functional diagram of HDM1004G and typical accessories.
Figure 6: HDM1004G functional diagram

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
5.3 Accessory information
Figure 7: Accessory information
1. HDM1004G modem.
2. 4G LTE antenna
3. Cable line connector.
4. Power supply.(Optional)
6Application Interface
6.1 Power Supply
Customer can use the DC adapter that Shenzhen Weblink Technology CO,. Ltd provides as
the power source.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
If customer does not use the adapter, then DC source should be satisfied with the following
requirements.
Input voltage range +5V~+30V
Normal voltage 12V
Current ability 1A
Table 2: The consumption in sleep mode
HDM1004G
@5V
@12V
@15V
Sleep current
14.5mA
7.75mA
5.02mA
The following chapter introduces the power line that Shenzhen Weblink Technology CO,.
Ltd provides to customers, customer can power the terminal by connect the terminal to the DC
source via this line.
The power line includes four lines as the following figure shows, and table 3 gives a detailed
description.
Table 3: The power line assignment
PIN Number
Colour
Item
1
Red
+5~+30V
2
Black
GND
Figure 8: dimensions of power line(Unit: mm)
Figure 9: Power interface
When a valid power appears the terminal will power up automatic, for the MCU that inside
the terminal processed the power up part, MCU also acts as a Watch Dog, when the terminal runs
wrong, MCU will cut off the power and recover it immediately to restart the terminal.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
6.2 Serial Interface
HDM1004G provides one asynchronous RS232 serial port. The RS232 standard interface
serves to connect a PC, Data Terminal Equipment (DTE) or other application, which acts as host
controller of the HDM1004G Terminal with all its functions. Through the USB or RS232
interface it can be used as 4G LTE modem for sending and receiving of SMS, Data and Fax calls.
Figure 10: Pin assignment RS-232
Table 4: RS-232 Connector
Pin no
Signal name
I/O
Function
6
RING
O
Ring indicator
7
RTS
I
Request To Send
8
CTS
O
Clear to send
9
TXD
O
Transmit Data (RS485 TXD)
10
RXD
I
Receive Data (RS485 RXD)
11
DCD
O
Data Carrier Detected
12
DTR
I
Data Terminal Ready
Note: HDM1004G supports autobauding, Autobauding allows HDM1004G to automatically
detect the baud rate of the host device. User can use AT command “AT+IPR=x” to set a fixed
baud rate and the setting will be saved to non-volatile flash memory automatically. After the
configuration is set as fixed baud rate, the URC such as "RDY", "+CFUN: 1" and "+CPIN: READY”
will be reported when HDM1004G is powered on.
Hyper terminal usually as the PC software tool to operate HDM1004G; customer can set up
a connection between PC and terminal, configure the port properties as the figure 9 shows.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Figure 11: COM port properties of the hyper terminal
6.3 10 PIN I/O interface
HDM1004G provides a 10 PIN I/O interface for customer use, including GPIOs and
RS232 channel.
The following figure gives a brief view of signal assignment.
Figure 12: signal assignment of 10PIN I/O port
To make the usage conveniently, Shenzhen Weblink Technology CO,. Ltd provides a cable
for customer, it can be inserted to the 10 PIN I/O port so customer can develop their application
by connecting some devices.
Figure 13 shows the specification of the cable.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Figure 13: Dimensions of 10-line cable
P1
Terminal signal
Signal name
I/O
Comments
3
GPIO4
I/O
Configurable by AT commands
4
GPIO3
I/O
5
GPIO2
I/O
6
RING
O
RING Indicator
7
RTS
I
Request to send
8
CTS
O
Clear to send
9
TXD
O
Transmit Data (RS485 TXD)
10
RXD
I
Recieve Data (RS485 TXD)
11
DCD
O
Data Carrier Detected
12
DTR
I
Data Terminal Ready
6.3.1 GPIO interfaces
HDM1004G provides 4 GPIO pins. The output voltage level of the GPIO can be set by the
AT command “AT+ SGPIO”. The input voltage level of the GPIO can also be read by the AT
command “AT+ SGPIO”. The following table shows the detail commands about GPIO.
Table 5: AT+SGPIO Control the GPIO
AT+ SGPIO Control the GPIO
Test Command
AT+SGPIO=?
Response
+SGPIO: (0-1),(1-12),(0-2),(0-1)
OK
Parameters
See Write Command
Write Command
Response

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
AT+SGPIO=
<operation>,<GPI
O>,<function>
,<level>
OK
ERROR
Parameters
<Operation> 0 Set the GPIO function including the GPIO output and
GPIO as the Keypad.
1 Read the GPIO level. Please note that only when the
gpio is set as input, user can use parameter 1 to read
the GPIO level, otherwise the module will return
"ERROR".
<GPIO> The GPIO you want to be set. (It has relations with the
hardware, please refer to the hardware manual)
<function> Only when <Operation> is set to 0, this option takes
effect.
0Set the GPIO to input.
1 Set the GPIO to output
2 Set the GPIO to keypad
<level> 0 Set the GPIO low level
1Set the GPIO high level
6.4 Antenna interface
6.4.1 Antenna connector
Antenna connector allows transmission of radio frequency (RF) signals between the modem
and the external supplied antenna. The HDM1004G modem is fitted with a 50Ω male SMA
connector.
Figure 14: Antenna interface

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
6.4.2 Antenna specifications
The antenna is a very important component in the system. Since the antenna transmits and
receives electromagnetic signal, and its efficiency depends on the antenna’s type, placement and
the environment of the antenna operating.
The recommended antenna specifications are showed in Table 12:
Table 6: antenna specifications
Frequency range
LTE
Impedance
50 ohm
Input power
> 33dBm (2W) peak power in LTE
VSWR recommended
≤2:1
VSWR absolute max
≤10:1
Gain
≤3dBi
6.4.3 Antenna placement
The antenna performance is very easily influenced by other electronic devices. So the
antenna placement should be considered carefully as follow.
1. Place away from other electronic devices or other antennas.
2. Place far away from metal material.
3. Face the base station antenna directly if the signal strength is very weak.
6.5 LED indicator
A red led indicates the power status, when a valid power appears, the red led will lighten up.
But a lighten up red led does not mean that the terminal has been powered up.
A green led indicates the terminal status and LTE network status, after the terminal been
powered up and registered to the network, it will blink at a certain frequency.

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Figure 15: Indicator LED
Table 7: Status of the NETLIGHT indicator (Green)
Status
HDM1004G behavior
Off
HDM1004G is not running
64ms On/ 800ms Off
HDM1004G not registered the network
64ms On/ 3000ms Off
HDM1004G registered to the network
64ms On/ 300ms Off
LTE communication is established
6.6 SIM Card Interface
The SIM interface complies with the GSM Phase 1 specification and the new GSM Phase
2+ specification for FAST 64 kbps SIM card. Both 1.8V and 3.0V SIM card are supported. The
SIM interface is powered from an internal regulator inside the terminal.
HDM1004G supports SIM card “hot”plug, which means that the terminal can sense the
SIM card inserted in or drawn out when the module is on
AT command “AT+CSDT” is used to enable or disable SIM card detection function. For
details of this AT command, please refer to the following table.
Table 8: AT+CSDT Switch On or Off Detecting SIM Card
AT+CSDT Switch On or Off Detecting SIM Card
Test Command
AT+CSDT =?
Response
+CSDT: (0-1)
OK
Parameter
See Write Command
Read Command
AT+CSDT?
Response
+CSDT: <mode>
OK
Parameter
See Write Command

Copyright © Shenzhen Head Weblink Technology CO,. Ltd. 2014
Website:http://www.headele.com Tel No. +86-755-86111909 Fax No. +86-755-86111900
Write Command
AT+CSDT=<mode
>
Response
OK
ERROR
Parameter
<mode>
0 Switch off detecting SIM card
1 Switch on detecting SIM card
Note: when the detecting function is activated, the status of sim card will auto report via the
serial port. The sensing of a hot removal of the SIM is not supported during power saving mode
(AT+CFUN=4).
Figure 16: Installation of SIM Card
7Electrical, Reliability and Radio Characteristics
7.1 Absolute Maximum Ratings
The absolute maximum ratings stated in following table are stress ratings under
non-operating conditions. Stresses beyond any of these limits will cause permanent damage to
HDM1004G.
Table of contents