Difference between revisions of "Telit Modem"

From Yantrr Wiki
Jump to: navigation, search
(Modem Control)
(Modem Control)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Overview ==
+
= Overview =
=== 3G Modem ===
+
== 3G Modem ==
: Vayu 3GHx-E, VIBE 3GHx-E and 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
Line 9: Line 9:
 
# /dev/ttyACM5
 
# /dev/ttyACM5
  
=== 4G Modem ===
+
== 4G Modem ==
: Vayu 4GLx-E, VIBE 4GLx-E and VIBE2 4GLx-E comes with Telit LE910 modem. This modem creates 6 ports :
+
: VIBE 4GLx-E and VIBE2 4GLx-E comes with Telit LE910 series modem. This modem creates 6 ports :
 
# /dev/ttyUSB0
 
# /dev/ttyUSB0
 
# /dev/ttyUSB1
 
# /dev/ttyUSB1
Line 18: Line 18:
 
# /dev/cdc-wdm0 : QMI Port
 
# /dev/cdc-wdm0 : QMI Port
  
== Modem Control ==
+
{{Box-Notice|text=For VIBE 4GLx-E and VIBE2 4GLx-E with<span style="color:red;background:yellow;"> Telit-LE910-EU V2 </span> modem, the ports created are /dev/ttyACM0 to /dev/ttyACM5.
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.
+
 
 +
/dev/ttyACM0 : Modem 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 Telit modem.
  
 
The modem can be powered on/off by either using the push button switch or GPIO45.
 
The modem can be powered on/off by either using the push button switch or GPIO45.
 +
 
'''Power on'''
 
'''Power on'''
  
Line 54: Line 60:
 
</pre>
 
</pre>
  
== AT commands ==
+
'''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 :
 +
<pre>
 +
wvdialconf
 +
</pre>
 +
 
 +
Then edit /etc/wvdial.conf for [Dialer Defaults] to generate a file with contents as :
 +
<pre>
 +
[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
 +
</pre>
 +
 
 +
Establish the connection using:
 +
<pre>
 +
wvdial
 +
</pre>
 +
 
 +
= 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
  
== PPP Connection ==
+
* To get the acquired position
  
== Integrated GPS ==
+
AT$GPSACP

Latest revision as of 05:40, 1 August 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

VIBE 4GLx-E and 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

For VIBE 4GLx-E and VIBE2 4GLx-E with Telit-LE910-EU V2 modem, the ports created are /dev/ttyACM0 to /dev/ttyACM5.

/dev/ttyACM0 : Modem 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 Telit 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