ARCA-V2

From Yantrr Wiki
Revision as of 08:23, 26 July 2017 by Admin (Talk | contribs)

Jump to: navigation, search

ARCA-V2 Series Wireless Connectivity Hubs

ARCA-V2 Front

ARCA-V2 systems combine wireless communication (cellular WAN, WiFi/BLE LAN) with a power CPU system (TI BeagleBone compatible) and several wired interfaces such as Ethernet, USB, I2C. It is a multi-function system which can be used as:

  • LAN to WAN Router gateway
  • Data aggregator from a local network of devices
  • Sensor to Cloud Gateway
  • Remote access control system for industrial equipment

Quick Start Guide

File:ARCA-V2 Quick Start Guide.pdf

Software Setup Guide

The ARCA system ships with pre-compiled Debian Yantrr Image. The pre-compiled Debian Yantrr Image has all the settings pre-configured for use of its various features such as 3G/4G modem, Three USB host ports, RTC, GPS(if present), WiFi, BLE, Ethernet, etc.

CPU System

Modem

WiFi & BLE

ARCA-V2 has Realtek RTL8723BU chipset for WiFi+BLE.
RTL8723BU is an 802.11bgn 2.4G single-chip that integrates Wireless LAN (WLAN) and a network USB interface (USB 2.0) controller with integrated Bluetooth 2.1/3.0/4.0 controller.

In ARCA-V2 pre-compiled Yantrr Boot Image the WiFI interface wlan0 is configured in Master Mode i.e. AP/Hotspot mode. The default SSID of ARCA's WiFi hot-spot is its Board Serial Number and the password is yantrrI0T.

Instructions

  • For checking RTL8723BU on USB Bus
root@Yantrr:~# lsusb 
Bus 002 Device 003: ID 19d2:ffeb ZTE WCDMA Technologies MSM 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:b720 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • For checking current configuration of wlan0
root@Yantrr:~# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"20170725001"  Nickname:"<WIFI@REALTEK>"
          Mode:Master  Frequency:2.412 GHz  Access Point: 08:EA:40:F9:8C:36   
          Bit Rate:54 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=72/100  Signal level=-57 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


  • For checking BLE interface status
root@Yantrr:~# hcitool dev
Devices:
        hci0    08:EA:40:F9:8C:37
  • For scanning nearby BLE devices
root@Yantrr:~# hcitool lescan
LE Scan ...
6C:AA:5C:58:85:2F (unknown)
55:A3:32:7E:99:56 (unknown)
68:9E:19:CB:E6:8F (unknown)

GPS

A particular ARCA-V2 system can have either embedded GPS or standalone GPS support.

The Embedded GPS is enabled through the Modem module with which the ARCA-V2 is assembled. Since the embedded GPS is handled through Modem, the NMEA-0183 messages are accessed using particular AT command with respect to Modem.

The standalone GPS module is interfaced over UART4 of ARCA-V2. NMEA-0183 messages from this can be accessed over /dev/ttyO4 port at baud rate of 19200.

USB Ports

ARCA-V2 have Three USB 2.0 HS host ports with type A socket. Each USB port has current rating of 500mA max.

LAN Port

ARCA-V2 system has one dedicated Ethernet Port : 10/100Mbps, RJ45. Using this the ARCA-V2 can connect to the Local Network Router or can share the Cellular Data connection to other Local Devices through direct Ethernet connection or via network switches.

FLASH Memory

eMMC

ARCA-V2 has on-board 4GB eMMC, which is flashed with pre-compiled Debian Yantrr Image. This pre-compiled flashed image is pre-configured with all the settings and the kernel patches to use all the features of ARCA-V2 namely 3G/4G modem, Three USB host ports, RTC, GPS(if present), Ethernet, etc.

microSD Card

ARCA-V2 has one micro-SD card slot, which can be used for booting up the system using bootable SD-Card. For booting up ARCA-V2 from SD-Card, make sure the pre-compiled Yantrr Image is flashed on SD-Card and its been properly inserted in its slot.

Precompiled Images

eMMC Flashing Steps

  • Boot with SD-Card Image
  • Login into ARCA-V2 system (SSH/Diagnostic Port)

Using SSH from Local System

ssh root@192.168.1.150
password: root

Using Diagnostic Port

Use Putty or Minicom Terminal Emulator for login

yantrr@yantrr-ws2:~$ sudo minicom -D /dev/ttyACM0
[sudo] password for yantrr: 
 
Welcome to minicom 2.7

OPTIONS: I18n 
Compiled on Feb  7 2016, 13:37:27.
Port /dev/ttyACM0, 18:52:50

Press CTRL-A Z for help on special keys
 
Debian GNU/Linux 8 Yantrr ttyS0

Yantrr Electronic Systems Pvt. Ltd.

VIBE2 Debian Image 2017-01-16

Support/FAQ:
        http://support.zoho.com/portal/yantrr/home
        http://www.yantrr.com/wiki/Main_Page
        http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

Yantrr login: root
Password: 
Linux Yantrr 4.4.40-ti-r80 #2 SMP Wed Jan 11 16:17:36 IST 2017 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@Yantrr:~# 
  • Confirm the system is boot up with SD-Card

After login check the root "/" should be mounted from disk mmcblk0 which is the SD-Card. mmcblk1 is the eMMC.

root@Yantrr:~# lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16   0    1M  1 disk 
mmcblk1boot1 179:24   0    1M  1 disk 
mmcblk0      179:0    0  7.4G  0 disk 
`-mmcblk0p1  179:1    0  7.4G  0 part /
mmcblk1      179:8    0  3.7G  0 disk 
`-mmcblk1p1  179:9    0  3.7G  0 part 
  • Execute eMMC Flashing script
root@Yantrr:~# cd /opt/scripts/tools/eMMC/
root@Yantrr:/opt/scripts/tools/eMMC#./init-eMMC-flasher-v3.sh

On successful eMMC flashing, the ARCA-V2's User LEDs glow fully and board gets power down afterwards.