Difference between revisions of "VAYU2"

From Yantrr Wiki
Jump to: navigation, search
(Power on)
(Power on)
Line 77: Line 77:
 
  pinexp 45
 
  pinexp 45
 
  pinexp 60
 
  pinexp 60
  setout 45 high
+
  setout 45 low
 
  setout 60 high
 
  setout 60 high
  

Revision as of 05:00, 1 August 2017

Overview

Quick Start Guide

Getting Started

Setting up the system

  1. Place a micro-SIM in the SIM card slot and connect a respective antennas to the SMA connectors.
  2. Mount the VAYU2 cape on Beaglebone Black.
  3. Ensure the power jumper J1 with all other jumpers according to your application use are in place.
  4. Connect the extra USB cable provided with the cape between Host port on Beaglebone Black and miniUSB device port on Cape.
  5. 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.
  6. 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 :

  1. /dev/ttyUSB0
  2. /dev/ttyUSB1  : For GPS NMEA message output
  3. /dev/ttyUSB2  : For AT commands
  4. /dev/ttyUSB3  : For PPP connections or AT commands
  5. /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 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 high level pulse atleast for 100 Milliseconds 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 low.

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

In Yantrr Pre-Compiled VAYU2 Boot Image, for ease of user these regular commands with the GPIOs have been created as functions : pinexp, setout, setin, pinread.

pinexp 45
pinexp 60
setout 45 low
setout 60 high

Power off

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

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

Soft Reset

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

  1. Power Off the Modem.
  2. Wait for 1-2s atleast.
  3. Power on the modem.

Hard Reset

There might arise situations where modem does not seem to be responding to any commands issued on AT commands port or it cannot be turned on/off. In such scenarios, issue hard reset to the modem. It can be done by either toggling Switch S2 for atleast 100ms or pulling GPIO60 low for 1s and then setting it high again.

cd /sys/class/gpio/
cd gpio60
echo "low" > direction
sleep 0.1
echo "high" > direction

Please use hard reset conservatively. Soft reset should be preferred under most conditions.

Software Setup Guide

Applications