Difference between revisions of "SW startup guide for VIBE"
Line 61: | Line 61: | ||
<ol start="4"> | <ol start="4"> | ||
<li>After logging into the VIBE system, export and set the GPIO45 and GPIO60 high by using:</li> | <li>After logging into the VIBE system, export and set the GPIO45 and GPIO60 high by using:</li> | ||
− | + | :: <pre>cd /sys/class/gpio/ | |
− | cd /sys/class/gpio/ | + | |
echo 45 > export | echo 45 > export | ||
echo 60 > export | echo 60 > export |
Revision as of 08:35, 8 July 2015
Below, we describe how to set up the VIBE and the associated software.
Contents
Overview
Data connection is established based on PPP protocols. Wvdial is mainly used to configure the dialup settings. For setting up various settings for PPP connection and establishing a data connection on the VIBE follow the link to the wiki
- Way to set up the VIBE
- How to read location and coarse time as NMEA-0183 message from the serial UART ttyO4 port
- How to write wvdial conf files for any network
- Sample wvdial.conf file for AT&T and T-Mobile USA
For using the VIBE-2G OR VIBE-2G-GPS/TIM OR VIBE-3G OR VIBE-3G-GPS/TIM, please ensure that you have the following :
- USB drivers for the modem (21f5:2012) installed in kernel. [for VIBE-3G & VIBE-3G-GPS/TIM]
- PPS drivers enabled in kernel, required if GPS module is present.
- VAYU Device tree overlay file is properly configured.
You can either download kernel patches containing the same to use with your existing images or you can download our prebuilt MicroSD card image or EMMC flasher image. All the images and files and extra support on software can be found here: VIBE _SW_images_and_drivers [Link to VIBE Image ]
Hardware Configurations
Beaglebone section
- Processor : VIBE uses Ti sitara ARM cortex-A8 AM3352 1 Ghz processor instead of AM3358 series in original beaglebone black. The basic difference is AM3352 does not have a SGX graphic card and also does not contain EtherCAT.
- USB host ports : VIBE contains 2x USB 2.0 host ports, Type A connector whereas original Beaglebone black only had one. It also has a reconfigured USB port extended to powered hub to eliminate USB device power down issues. However there is no USB client port, so no option of SSH.
- Battery : VIBE can be powered by any 3.7V Li-ion rechargeable battery which can power the whole board including the HDMI and both the USB host ports by the automatic backup switch over circuit.
- Ethernet reset : VIBE includes a standalone ethernet reset circuit due to the bug on the ethernet port of original beaglebone black which sometimes resulted in not detection of the ethernet port on reset. The reset can be through GPIO3_21.
- Under voltage lockout : VIBE contains a watchdog timer which can cause an external reset signal thus getting the board out of UVLO stage which was also a problem in original beaglebone black.
- Extra UART0 header on the edge of the board for easy handling and convenience.
Modem section
- 2G modem : The 2G modem is connected via UART and is on UART1 of the VIBE board. The modem can be turned on/off with the help of GPIO45. In order to turn on the modem, the GPIO45 should be high. The state of the modem can be seen with the help of D14 LED. D15 Led shows the network status. The antennae needed for the modem is GSM antennae with GSC connector on the side of the modem. The 2G modem enumerates two different ports ttyO0 and ttyO1. All the “AT command” set can be accessed on ttyO1 port with the baud rate of 115200.
- 3G modem : The 3G modem is connected via USB1 host port. The modem can be turned on/off with the help of GPIO45. In order to turn on the modem, the GPIO45 should be high. It has an on board antennae and the GSC connector antennae can be attached to it. The 3G modem enumerates 3 different ports ttyUSB0 , ttyUSB1 and ttyUSB2. The “AT command” can be accessed on /dev/ttyUSB2 with the baud rate of 115200.
- GPS modem : The state(on/off) of the GPS modem can be seen with the 3.3 V D17 Led and the D16 Led is the GPS fix Led. When the Module has acquired GPS fix, this LED D16 starts blinking at 1s OFF/1s ON. the 1 pps/Hz output can be accessed from GPIO0_27. GPIO50 is used for resetting the GPS modem and it should be pulled high all the time. GSC connector is available and the GPS antennae can be attached through it. The NMEA0183 Ver. 3.01 ASCII can be accessed on the ttyO4 port at a baud rate of 19200.
Getting started
Setting up the system
- Place a mini SIM in the SIM card slot and connect a GSM antenna to the SMA connector.
- Ensuring that the power jumper on the VIBE is in its place, power up the setup using a 5V DC adapter(min 2.5A) to barrel jack.
- After powering the VIBE, log into it by any of the following option :
- a. Through USB Client
- b. Through Ethernet Cable
- Now login by using the SSH command. Make sure to login as root only so that all the special privileges are available.
- A. Through USB client.
- Use the command :
ssh -l root 192.168.7.2
- to login onto the system. Default password is root.
- B. Through Ethernet cable.
- The IP address of Ethernet interface of VIBE should be known for this option. Use that IP address with the ssh command to establish a connection
ssh -l root $IP_address
- Default Username and password is root.
- In Yantrr Precompiled images, IP address is 192.168.1.150
- After logging into the VIBE system, export and set the GPIO45 and GPIO60 high by using:
-
cd /sys/class/gpio/
-
echo 45 > export echo 60 > export cd gpio45 echo “high” > direction cd .. cd gpio60 echo “high” > direction