Difference between revisions of "Telit Modem"

From Yantrr Wiki
Jump to: navigation, search
(3G Modem)
(3G Modem)
Line 1: Line 1:
 
= Overview =
 
= Overview =
 
== 3G Modem ==
 
== 3G Modem ==
: VIBE/VIBE2 3GHx-E comes with Telit HE910 3G modem. This modem creates 6 ports :   
+
: VIBE 3GHx-E and VIBE2 3GHx-E comes with Telit HE910 3G modem. This modem creates 6 ports :   
 
# /dev/ttyACM0 : Modem port and AT commands port
 
# /dev/ttyACM0 : Modem port and AT commands port
 
# /dev/ttyACM1
 
# /dev/ttyACM1

Revision as of 23:03, 17 May 2017

Overview

3G Modem

VIBE 3GHx-E and VIBE2 3GHx-E comes with Telit HE910 3G modem. This modem creates 6 ports :
  1. /dev/ttyACM0 : Modem port and AT commands port
  2. /dev/ttyACM1
  3. /dev/ttyACM2
  4. /dev/ttyACM3 : AT commands port
  5. /dev/ttyACM4
  6. /dev/ttyACM5

4G Modem

VIBE2 4GLx-E comes with Telit LE910 series modem. This modem creates 6 ports :
  1. /dev/ttyUSB0
  2. /dev/ttyUSB1
  3. /dev/ttyUSB2 : Modem port and AT commands port
  4. /dev/ttyUSB3 : AT commands port
  5. /dev/ttyUSB4
  6. /dev/cdc-wdm0 : QMI Port

Modem Control

Please ensure that the modem is properly turned on before ppp connections can be established. If PPP connection cannot be established properly, soft reset the modem following the timing procedures for ZTE modem.

The modem can be powered on/off by either using the push button switch or GPIO45.

Power on

The module will be turned off after power-on(when power is supplied) normally. In the state of power off, provide a low level pulse more than 5 seconds to ON/OFF PIN to turn on the module by either toggling the push button switch or by cycling the GPIO through Low-High cycle.

The default state of ON/OFF GPIO should be high.

cd /sys/class/gpio
echo 45 > export
cd gpio45
echo “high” > direction
cd /sys/class/gpio/gpio45
echo "low" > direction
sleep 5
echo "high" > direction


Power off

In the state of Power On, provide atleast a 2000ms low level pulse to ON/OFF PIN to turn off the module.

cd /sys/class/gpio/gpio45
echo "low" > direction
sleep 5
echo "high" > direction

Soft Reset

To soft reset the modem, cycle the Modem On/Off pin through a Power-Off and then Power-On cycle.

AT commands

All the AT commands can be executed on the serial port /dev/ttyACM3 for 3G device or /dev/ttyUSB3 for 4G device, with baud rate of 115200 8N1.

Note : If the AT command/ppp connection is not established, please look at the Module power on/off procedure again. Maybe the module has not started properly.

Note : AT commands manual available on request. Please contact Yantrr support.

PPP Connection

The PPP connection can be established using the respective modem port of device i.e. for 3G device : /dev/ttyACM0 and for 4G device: /dev/ttyUSB2, with a baud rate of 115200. Make the suitable corrections in the /etc/wvdial.conf file.

For starters, issue following commands :

wvdialconf

Then edit /etc/wvdial.conf for [Dialer Defaults] to generate a file with contents as :

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 115200
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99#
Password = SERVICE_PROVIDER_PASSWORD
Username = SERVICE_PROVIDER_USERNAME

Establish the connection using:

wvdial

Integrated GPS

To read the NMEA messages from the Telit Module.

  • Install Minicom or use the following commands to see NMEA messages
#apt-get install minicom 
#minicom –D  (port settings for 3G modem  /dev/ttyACM3 , for 4G modem /dev/ttyUSB3)
  • To enable the power section of GPS
AT$GPSP=1
  • To enable the NMEA sentences
AT$GPSNMUN=2,1,1,1,1,1,1
  • To disable the NMEA Sentences
AT$GPSNMUN=0,1,1,1,1,1,1
  • To get the acquired position
AT$GPSACP