Difference between revisions of "VAYU2"
(→Modem Ports) |
(→Modem Ports) |
||
Line 49: | Line 49: | ||
# /dev/ttyUSB3 : For PPP connections or AT commands | # /dev/ttyUSB3 : For PPP connections or AT commands | ||
# /dev/cdc-wdm0 : QMI WWAN Port | # /dev/cdc-wdm0 : QMI WWAN 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. | ||
+ | <pre> | ||
+ | cd /sys/class/gpio | ||
+ | echo 45 > export | ||
+ | cd gpio45 | ||
+ | echo “high” > direction | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | cd /sys/class/gpio/gpio45 | ||
+ | echo "low" > direction | ||
+ | sleep 5 | ||
+ | echo "high" > direction | ||
+ | </pre> | ||
+ | |||
+ | ====Power off==== | ||
+ | In the state of Power On, provide atleast a 2000ms low level pulse to ON/OFF PIN to turn | ||
+ | off the module. | ||
+ | <pre> | ||
+ | cd /sys/class/gpio/gpio45 | ||
+ | echo "low" > direction | ||
+ | sleep 5 | ||
+ | echo "high" > direction | ||
+ | </pre> | ||
+ | |||
+ | ====Soft Reset==== | ||
+ | |||
+ | To soft reset the modem, cycle the Modem On/Off pin through a Power-Off and then Power-On cycle. | ||
=Software Setup Guide= | =Software Setup Guide= | ||
=Applications= | =Applications= |
Revision as of 04:41, 1 August 2017
Contents
Overview
Quick Start Guide
Getting Started
Setting up the system
- Place a micro-SIM in the SIM card slot and connect a respective antennas to the SMA connectors.
- Mount the VAYU2 cape on Beaglebone Black.
- Ensure the power jumper J1 with all other jumpers according to your application use are in place.
- Connect the extra USB cable provided with the cape between Host port on Beaglebone Black and miniUSB device port on Cape.
- To avoid the bug on Beaglebone black with external USB hubs, please connect a USB device (Pendrive etc.) to extra host port on the cape.
- Now power up the full setup using a 5V DC adapter(min 2.5A) to barrel jack. D2 LED on the cape will glow along with LEDs on the Beaglebone black.
- Note: Before powering up ensure correct software image is loaded in Beaglebone black or VIBE/VIBE2
|
Before proceeding further ensure D2 LED is glowing properly. Make sure that the adapter being used is of proper rating and has been connected properly. |
|
Do not try to power up using USB cable alone. Always power up system with a DC adapter. Also while disconnecting power, USB cable should be removed before the DC adapter. |
Accessing the Setup
- Through USB
For accessing the above setup, first connect the USB cable between Beaglebone Black's USB Client port and USB Host port of Desktop/Laptop. Once it get properly connected to Desktop, a user can access the setup using predefined static IP address 192.168.7.2
On Windows : (Using Putty Client)
On Linux :
ssh root@192.168.7.2
|
Default password is root. |
- Through Ethernet
|
In Yantrr Pre-compiled images, the Ethernet IP address is set to static IP 192.168.1.150. If you are using DHCP IP then Ethernet IP be should be know and the same should be used while making ssh connection. |
On Windows : (Using Putty Client)
On Linux :
ssh root@192.168.1.150
|
Default password is root. |
Modem Ports
VAYU2 has an option between 3G/HSPA+ and 4G/LTE,CAT4 modem for WAN connectivity.
- 3G Modem : VAYU2 3GUC20-x comes with Quectel UC20 3G modem.
- 4G Modem : VAYU2 4GEC25-x comes with Quectel EC25 4G modem.
Both 3G/4G modem creates 5 ports :
- /dev/ttyUSB0
- /dev/ttyUSB1 : For GPS NMEA message output
- /dev/ttyUSB2 : For AT commands
- /dev/ttyUSB3 : For PPP connections or AT commands
- /dev/cdc-wdm0 : QMI WWAN 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.