Intercel Smart SAM4Q User manual

Smart SAM4Q User Guide V1.1
I
Ver1.1
Smart SAM4Q
User Guide

Smart SAM4Q User Guide V1.1
II
Ver1.1
Revision History
Version
Modified By
Date
Description
1.0
03/04/2017
Initial version
1.1
27/04/2017
Update power supply statement

Smart SAM4Q User Guide V1.1
1
Ver1.1
Contents
1Introduction..........................................................................................................................................................2
2Safety Precautions.............................................................................................................................................3
3Radio Frequency Exposure - SAR...................................................................................................................4
4WEEE Directive 2002/96/EC, Disposal of Old Electronic Equipment ........................................................5
5Packaging............................................................................................................................................................6
5.1 Contents......................................................................................................................................................6
5.2 Packaging Box...........................................................................................................................................6
5.3 Production Label........................................................................................................................................7
6Functionality........................................................................................................................................................8
6.1 General .......................................................................................................................................................8
6.2 RJ45 Socket...............................................................................................................................................9
6.3 Mini USB Connector..................................................................................................................................9
6.4 FME-Male 50Ω Antenna Connector........................................................................................................9
6.5 SIM Holder..................................................................................................................................................9
6.6 LED Status .................................................................................................................................................9
6.7 Data Cable................................................................................................................................................11
7Electrical Characteristics.................................................................................................................................12
7.1 Power Consumption................................................................................................................................12
7.2 Receive Sensitivity ..................................................................................................................................12
7.3 Conducted Transmit Power ...................................................................................................................12
7.4 Main Antenna Specifications .................................................................................................................13
7.5 Environmental Characteristics...............................................................................................................13
8The Smart SAM4Q TCP/IP Operation ..........................................................................................................14
8.1 Communication Sockets.........................................................................................................................14
8.2TCP/IP AT$ Commands........................................................................................................................15
8.3 CSD Call Escape Sequence..................................................................................................................25
9Firmware Upgrade ...........................................................................................................................................26
9.1 The LTE Module Firmware.....................................................................................................................26
9.2 The Modem’s Controller Software ........................................................................................................26

Smart SAM4Q User Guide V1.1
2
Ver1.1
1Introduction
The Smart SAM4Q is a compact, light-weight, 3G and LTE based modem. It provides CAT1 speed of 5Mbps
upload and 10Mbps download.
The Smart SAM4Q is designed for both mobile and fixed M2M applications. It has an RJ45 socket for input
voltage and the serial RS232 signals, an FME-male for antenna connection, a SIM holder and an LED indicator.
The Smart SAM4Q is capable of sending/receiving SMS, Circuit Switched Data in 3G mode and Packet-
Switched Data.
Mini-USB port FME male for antenna Mini-SIM compartment
RJ45 socket for input power and serial RS232 LED
Mobile station engine EC21-AUT
EU approval CE-2202
3GPP CAT1
RCM tick mark

Smart SAM4Q User Guide V1.1
3
Ver1.1
2Safety Precautions
The following safety precautions must be observed whenever the Smart SAM4Q modem is in operation or in
service. Failure to comply with these precautions violates the safety standards of the design, manufacture and
intended use of the product
- Switch off the Smart SAM4Q modem:
•In hospitals or places where medical equipment may be in use
•In an aircraft
•Refueling points
•Explosive areas
- Restricted use of the Smart SAM4Q modem:
•Near any chemical plant
•Near any Fuel depot
•Areas with mobile phone warning signs
Respect national regulations on the use of cellular devices.
The Smart SAM4Q modem receives and transmits radio frequency energy while switched on, therefore
interference can occur if the Smart SAM4Q is near TVs, radios, PCs or any inadequately shielded
equipment.

Smart SAM4Q User Guide V1.1
4
Ver1.1
3Radio Frequency Exposure - SAR
The Smart SAM4Q modem is a low-power transceiver, similar to a typical handheld GSM/GPRS/UMTS mobile
phone. When it is turned on, it will emit low-level radio frequency energy.
There are different guidelines and standards around the world that govern the permitted levels of radio
frequency exposure for general population. The levels include a safety margin to a human body.
The Specific Absorption rate (SAR) is a measure of the rate at which radio frequency energy is absorbed by
the body when exposed to radio frequency electromagnetic field. The SAR value is determined at the highest
certified power level in the laboratory conditions, but the actual SAR level of the transceiver while operating
can be well below this value. This is because the transceiver is designed to use minimum power to connect to
the network.
The Smart SAM4Q modem is approved to use in applications where the antenna is placed more than 21cm
from the body.
For other applications, the integrator is responsible for the local SAR requirements.

Smart SAM4Q User Guide V1.1
5
Ver1.1
4WEEE Directive 2002/96/EC, Disposal of Old Electronic
Equipment
This symbol on the product indicates that this product shall not be treated as household waste. It
must be placed at an appropriate collection point for the recycling of electrical and electronic equipment.
By ensuring the correct disposal of this equipment, it will help the environment and human’s health. Recycling
will help to conserve natural resources.
The Smart SAM4Q product is RoHS compliant

Smart SAM4Q User Guide V1.1
6
Ver1.1
5Packaging
5.1 Contents
The Smart SAM4Q package consists of:
- Smart SAM4Q Modem
- Data Cable
- Smart SAM4Q User Guide (available at www.intercel.com.au)
5.2 Packaging Box
The carton box diameter is 120mm x 95mm x 60mm
The data cable is 2m long
The label diameter is 50mm x 33mm
A suitable Power supply is available on request. Smart SAM4Q must be powered using a limited power source
of 12V/1A power supply according to the clause 2.5 of AS/NZS 60950.1.
A suitable antenna is also available on request. Please make sure the correct antenna is used to get optimized
performance from the Smart SAM4Q.

Smart SAM4Q User Guide V1.1
7
Ver1.1
5.3 Production Label
The production part number is located at the back of the Smart SAM4Q, which includes:
- Product Model
- Software Version
- Hardware Version
- IMEI Number
- Manufacturer
- Part Number
Product Model: Smart SAM4Q
Module Firmware : EC21AUTFAR02
Modem Software : Version 1.C
Modem Hardware : Revision2
IMEI
357164045098731
Made by: Intercel Pty Ltd
Part number : ASSSAM4QAMR

Smart SAM4Q User Guide V1.1
8
Ver1.1
6Functionality
6.1 General
The Smart SAM4Q modem consists of an RJ45 socket for serial port and input power, an FME male antenna
connector and a SIM holder. The LED indicator, located next to the SIM holder, indicates the Smart SAM4Q
operating status. It also has a USB port to download firmware.
FME connector
Quectel EC21-
AUT 3G/LTE
ENGINE
Switching
Power
Supply
RS232
Serial Data
Interface
SIM Interface
RJ45
Socket
LED Indicator
The Smart SAM4Q Functional Block Diagram
ARM Cortex
M3
Serial Data
switches
USB
MiniB

Smart SAM4Q User Guide V1.1
9
Ver1.1
6.2 RJ45 Socket
Pin Signals Description
1 VIN Input voltage 5Vdc - 32Vdc
2 DCD Data Carrier Detect
3 DTR/RI Data terminal Ready/Ring Indicator
4 GND Common Ground
5 RXD Serial Data out of the Smart SAM4Q
6 TXD Serial Data into the Smart SAM3
7 CTS Clear to Send
8 RTS Ready to Send
6.3 Mini USB Connector
Pin Signal
1 Vusb
2 D-
3 D+
4 N/C
5 GND
6.4 FME-Male 50Ω Antenna Connector
The FME male antenna connector is a 50Ω impedance antenna connector. The antenna used for the Smart
SAM4Q must have 50Ω impedance.
6.5 SIM Holder
The SIM holder is designed to accommodate a mini-SIM card. The SIM card can either be 3V or 1V8 SIM. To
insert the SIM card, remove the door by sliding it back towards the end. Make sure the SIM card faces the right
way as indicated on the box. Voltage levels over this SIM interface complies with 3GPP standards.
6.6 LED Status
The LED indicator has the following status for different SAMMODE:
SAMMODE=0
-Modem power on: Green Led on permanently
-IP connected on 4G band: Green Led 100ms on 3000ms off
SAMMODE=1
-First power on until SIM ready: Green LED on permanently

Smart SAM4Q User Guide V1.1
10
Ver1.1
-Initialize stage: Green Led 200ms on 200ms off
-IP connected: Green Led 100ms on 3000ms off
-Data transfer mode: Green 100ms on 500ms off
-IP connect failed waiting to reset: Green LED 100ms on 100ms off
SAMMODE=2
-First power on until SIM ready: Green LED on permanently
-Initialize stage: Green Led 200ms on 200ms off
-Modem in CSD idle mode ready to receive incoming CSD call: 100ms on 1500ms off
-Modem in data transfer mode: 100ms on 500ms off

Smart SAM4Q User Guide V1.1
11
Ver1.1
6.7 Data Cable
The data cable is 2m long. It consists of an RJ45 plug, a DB9-female connector and a 2-wire input power.
5 4 3 2 1
9 8 7 6
DB9 Signals RJ45 Description
1 DCD 2 Data Carrier Detect
2 RXD 5 Serial Data out of the Smart SAM4Q
3 TXD 6 Serial Data into the Smart SAM4Q
4 DTR 3 Not used
5 GND 4 Common Ground
6 DSR
7 RTS 8 Ready to Send
8 CTS 7 Clear to Send
9 RI Not used
1 RED wire : Input voltage from 5Vdc to 32Vdc
4 BLACK wire : Power Ground

Smart SAM4Q User Guide V1.1
12
Ver1.1
7Electrical Characteristics
7.1 Power Consumption
Idle mode 30mA @12V
Average in-use mode 140mA@12V
Full Tx power 230mA@12V
Peak current requirement 0.3A@12V
7.2 Receive Sensitivity
7.3 Conducted Transmit Power
Parameter Min Typical Max
3G BANDS -50dBm 24dBm
LTE -44dBm 23dBm
Primary (without Diversity)
-110.0 dBm
Diversity
3G B5
BAND
-
3g B1
-100.5 dBm
-
LTE-FDD B1 (10M)
LTE-FDD B3 (10M)
LTE-FDD B5 (10M)
LTE-FDD B7 (10M)
-98.5 dBm
-98 dBm
-98 dBm
-97 dBm
-98.0 dBm
-96.0 dBm
-99.0 dBm
-95.0 dBm
LTE-FDD B28 (10M)
-97.0 dBm
-99.0 dBm

Smart SAM4Q User Guide V1.1
13
Ver1.1
7.4 Main Antenna Specifications
Max cable loss 0.5dBm
Impedance 50Ω
VSWR recommended 2:1
VSWR absolute maximum 10:1
7.5 Environmental Characteristics
Operating temperature -30°C to +85°C
Storage temperature -40°C to +95°C
Humidity 90% relative humidity (non-condensing)

Smart SAM4Q User Guide V1.1
14
Ver1.1
8The Smart SAM4Q TCP/IP Operation
The Smart SAM4Q has an MCU (Microcontroller) to control the LTE module EC21. The Smart SAM4Q can be
operating in three different modes, defined by the parameter SAMMODE:
-SAMMODE=0. The modem is in standard mode. When powered on, the MCU turns on the LTE module,
checks its baud rate, turns on the LED and releases control of the LTE module to the connecting device. AT
commands can be sent from the serial port here after, the MCU will keep monitoring the LTE module Rx pin
for AT$ commands and checks time in the RESETPERIOD parameter to reset itself and the LTE module.
-SAMMODE=1. The modem is in PSD (Packet Switch Data) smart mode. The MCU is in total control of the
LTE module. When powered on the software reads all parameters from flash and activates a PSD connection,
it then creates a UDP and a TCP socket to listen for data transfer connection, opens a UDP and a TCP socket
to listen for remote AT commands connection. If programmed as a TCP client it will try to connect to a remote
TCP server, the modem then stays in PSD online idle state waiting for SMS, UDP or TCP connection. The
software maintains PSD connectivity by means of PING using POLLPERIOD parameter stored in flash.
-SAMMODE=2. The modem is in CSD (Circuit Switch Data) smart mode. This mode is used if the SIM card is
not setup for PSD. The MCU is in total control of the LTE module, the modem is always waiting for a CSD call
or SMS, SAMMODE=2 for CSD is only possible if the modem is programmed (with AT command) to work in
3G mode.
8.1 Communication Sockets
TCP Data: The socket connection allows transparent data (excluded IP header) to pass through from the
remote host to the modem serial port and vice versa. In TCP server mode, the socket will be
disconnected after 5 minutes of no data transfer.
UDP Data: The socket connection allows transparent data to pass through from the remote host to the
modem serial port and vice versa. A block of data received from a remote UDP server will
open a 2 minute window for data to be transferred from the serial port.
TCP AT Command: The socket connection allows a user from the host computer to send AT commands to the
modem and receive its responses. The socket will be disconnected after 5 minutes of no
activity. The socket can also be used for remote firmware update.
UDP AT Command: The socket connection allows a user from the host computer to send AT commands to
the modem and receive its responses. The socket can also be used for remote firmware
update.
.

Smart SAM4Q User Guide V1.1
15
Ver1.1
8.2 TCP/IP AT$ Commands
Communications parameters are stored in Flash using AT$PARAMETERS.
Parameters are defined as:
APN=Access Point Name
USERNAME=Username that may be required with GPRS login
PASSWORD=Password that may be required with GPRS login
LTCPPORT=Local TCP listening port
RTCPIP=Remote TCP server IP
RTCPPORT= Remote TCP server port
TCPMODE=0 or 1 (0 to disable the modem TCP client, 1 to enable the modem TCP client)
LUDPPORT=Local binding UDP port (modem listens for UDP data on this port)
RUDPIP=Remote binding UDP IP (modem only accepts data from this IP)
RUDPPORT=Remote binding UDP port (modem sends UDP data to this port)
PINGIP=If set, the modem will send PING packet to this IP to check for PSD connectivity.
POLLPERIOD=Modem uses this time to send TRACE or PING packet to check for PSD connectivity.
RESETPERIOD=Set time to reset modem periodically.
SBREAKTIME=Serial port break time, modem will wait for this break in serial port transmission before it
packetizes the data and sends.
MBREAKTIME=Modem or GSM module serial break time, use to adjust the way the modem rebuilds long IP
packets from fragments of CMUX frames.
BAUDRATE=Serial port baud rate.
DATALEN=Serial port data bits 7 or 8
PARITY= NONE or ODD or EVEN
SAMMODE=0 for standard modem, 1 for PSD mode, 2 for CSD mode.
SERIALLOCK= When modem access is safeguarded by username and password, 0=serial port access is not
lock, 1=serial port access is locked
LOGINTIMEOUT=Timeout (in seconds) after repeat failed login attempts (set at 5 failed attempts).

Smart SAM4Q User Guide V1.1
16
Ver1.1
SESSIONIDLETIME=Set the time interval (in seconds) the login session could stay idle before it is closed
PPPAUTH=PAP or CHAP for PPP authentication, PAP is the default value.
All parameters can be programmed all at once.
AT$PARAMETERS=APN=telstra.extranet,USERNAME=intercel,PASSWORD=mach,LTCPPORT=10000,RT
CPIP=203.45.1.236,RTCPPORT=10000,TCPMODE=,LUDPPORT=20000,RUDPIP=203.45.1.236,RUDPPO
RT=20000,POLLPERIOD=60,SBREAKTIME=100,MBREAKTIME=5,BAUDRATE=115200,DATALEN=8,PAR
ITY=NONE,SAMMODE=0,SERIALLOCK=0,LOGINTIMEOUT=300,SESSIONIDLETIME=120,
PPPAUTH=PAP
Saved parameters to flash...
OK
Or a few parameters or one at a time.
AT$PARAMETERS=APN=telstra.extranet,USERNAME=intercel,PASSWORD=mach
Saved parameters to flash...
OK
AT$PARAMETERS=LTCPPORT=10000,RTCPIP=203.45.1.236,RTCPPORT=10000,TCPMODE=,LUDPPO
RT=20000,RUDPIP=203.45.1.236,RUDPPORT=20000
Saved parameters to flash...
OK
AT$PARAMETERS=POLLPERIOD=60,SBREAKTIME=100,MBREAKTIME=5,BAUDRATE=115200,DATALE
N=8,PARITY=NONE
Saved parameters to flash...
OK
AT$PARAMETERS=SAMMODE=0
Saved parameters to flash...
OK

Smart SAM4Q User Guide V1.1
17
Ver1.1
AT$PARAMETERS?
$PARAMETERS:
APN: telstra.extranet
USERNAME: intercel
PASSWORD: mach
LTCPPORT: 10000
RTCPIP: 203.45.1.236
RTCPPORT: 10000
TCPMODE: 0
LUDPPORT: 20000
RUDPIP: 203.45.1.236
RUDPPORT: 20000
BAUDRATE: 115200
DATALEN: 8
PARITY: NONE
POLLPERIOD: 60
RESETPERIOD: 1440
SBREAKTIME: 100
MBREAKTIME: 5
SERIALLOCK: 0
LOGINTIMEOUT: 300
SESSIONIDLETIME: 120
PPPAUTH: CHAP
SAMMODE: 0
OK
AT$UDPCONNECT
If the modem is already allocated an IP address, this command will put the modem in UDP data
mode, the modem DCD pin goes high, data from serial will be packetized into UDP packets and sent
to remote UDP server (UDP settings must be set prior), modem will return to AT Command mode if
it receives no UDP data in 30 seconds.
If modem has no IP address (CSD mode or SAMMODE=2), the modem will connect to PSD and go
into UDP data mode, the modem DCD pin goes high, data from serial will be packetized into UDP
packets and sent to remote UDP server (UDP settings must be set prior), modem will reset and
return to CSD mode if it receives no UDP data in 30 seconds.
AT$TCPCONNECT
If the modem is already allocated an IP address, this command will make a TCP client connection to
the remote TCP server, the modem will return to AT Command mode if it receives no TCP ACK in 30
seconds.

Smart SAM4Q User Guide V1.1
18
Ver1.1
If the modem has no IP address (CSD mode or SAMMODE=2), the modem will connect to PSD and
make a TCP client connection to the remote TCP server, the modem will reset and return to CSD
mode if it receives no TCP ACK in 30 seconds.
AT$DDNS
Use to setup parameters required for Dynamic DNS updating.
Parameters are defined as:
DDNSENABLE= 0 or 1 (0 disable, 1 enable)
DDNSHOST=Host name
DDNSUSERNAME=DNNS account name
DDNSPASSWORD=DDNS account password
DDNSSERVER=DDNS server
DDNSSTRING: Only need to change from default in some circumstances with Intercel support
DDNSAUTH: Only need to change from default in some circumstances with Intercel support
DDNSAGENT: Only need to change from default in some circumstances with Intercel support
PDNSIP=Primary DNS, leave blank if not using your own DNS server, not a requirement for DDNS.
SDNSIP=Secondary DNS, leave blank if not using your own DNS server, not a requirement for DDNS
DNSTTL= DNS Time To Live in minutes before updating of DNS entries, not a requirement for DDNS.
AT$DDNS=PDNSIP=8.8.8.8,SDNSIP=8.8.4.4,DNSTTL=240,DDNSENABLE=0,DDNSHOST=intercelau.ddns
.net,DDNSUSERNAME=intercelau,DDNSPASSWORD=123456789,DDNSSERVER=dynupdate.noip.com,D
DNSSTRING=GET/nic/update?hostname=%s&myip=%sHTTP/1.0,DDNSAUTH=Authorization:
Basic%s,DDNSAGENT=User-Agent:SAM4Q/1.0 intercel@intercel.com.au
Saved parameters to flash...
OK
AT$DDNS?
$DDNS:
DDNSENABLE: 0
Table of contents
Other Intercel Modem manuals

Intercel
Intercel SMART SAM2S User manual

Intercel
Intercel SAM3T User manual

Intercel
Intercel Smart SAM3S User manual

Intercel
Intercel eSAM User manual

Intercel
Intercel eSAM User manual

Intercel
Intercel SAM3G+ User manual

Intercel
Intercel Ultra eSAM User manual

Intercel
Intercel Smart SAM2W User manual

Intercel
Intercel SAMXT User manual

Intercel
Intercel eSAM ITRON FC200 User manual
Popular Modem manuals by other brands

US Robotics
US Robotics COURIER user manual

D-Link
D-Link DHP-W310AV Quick installation guide

Lucent Technologies
Lucent Technologies Host-Based Controller Modem AT Data addendum

Sutron
Sutron INTEGRA-TR manual

Spectrum Technologies
Spectrum Technologies DataScout 3920 product manual

Motorola
Motorola SURFboard SB6121 Quick reference guide