Skip to content

01 Getting started with KitraGTI

mlidia edited this page Sep 28, 2018 · 1 revision

1.0 BOARD REFERENCE

Check the datasheet for details

2.0 FIRST STEPS

2.1 Hardware required

  • KitraGTI board
  • 12V/24V power supply
  • 1 micro-usb cable
  • 1 PC
  • Wi-Fi access point with internet connection

2.2 Software required

Windows:

Linux (Ubuntu):

2.3 First setup

Simply connect

  • BLACK to pin #4 (GND).
  • WHITE to pin #3 (TX of ARTIK and RX of USB converter).
  • GREEN to pin #2 (RX of ARTIK and TX of USB converter).

debug

  • Open the serial terminal on the PC and select the COM port of the device.

    Windows:

    Control Panel->Device Manager

    Select Serial COMX in Tera Term with baudrate set to 115200.

    Linux:

    dmesg | grep tty

    screen /dev/ttyUSBX 115200

  • Turn on the power supply (12V/24V)

    For more information on how to supply the board check the datasheet)

  • The board will turn on automatically

When you seen the following in the serial port:

That means the flashing has finished.

If you are using an HDMI monitor, you won't see anything, just wait 10 minutes.

  • Unplug the power supply

  • Set the all BOOT switch pins to OFF

    switch

  • Turn on the board

User and password are root by default.

3.0 COMMUNICATE WITH ARTIK

3.1 Connect to WiFi

Image version < 1.1 use connman as default connection manager. The lastest use NetworkManager.

NetworkManager

Check the following commands: LINK

connman

Connect to your Wi-Fi network:

Using connection manager:

Run: connmanctl

You will get a new '>' prompt.

>scan wifi
>agent on
>services
>connect wifi_xxxx
>quit

Once the Wi-Fi is configured, you can connect with ssh from your PC. You can check your ip address with:

ifconfig wlan0

If you need to set a static ip:

connmanctl config wifi_xxxx --ipv4 manual <ip> <subnet> <gateway>
connmanctl config wifi_xxxx --nameservers 8.8.8.8

At next reboot the board will connect to the network by itself.

Manual configuration:

Do not do this if you already connected with a connection manager.

systemctl stop connman
systemctl disable connman
systemctl enable wpa_supplicant
wpa_passphrase <SSID> <PASSWD> >> /etc/wpa_supplicant/wpa_supplicant.conf
systemctl restart wpa_supplicant
# wait some seconds
iwconfig # check if <SSID> was joined
dhclient wlan0 #Get valid ip address

At next reboot you will only need to run dhclient wlan0.

3.2 Bring Artik up-to-date

$ apt-key add /var/lib/apt/keyrings/artik-platform-keyring.gpg

$ echo "deb http://repo.artik.cloud/artik/bin/pub/artik/ubuntu xenial main" > /etc/apt/sources.list.d/artik-e2e-sources.list

$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 55955AEB

$ apt update

4.0 CUSTOM KERNEL

You may also be interested in changing kernel configuration. You can find the kernel source code HERE

5.0 OTHER RESOURCES

Check the other wiki pages for additional information and tutorials: LINK

Detailed information for sensor and hardware can be found inside the datasheet: LINK

6.0 DISCLAIMERS

Products and specifications discussed herein are for reference purposes only. All information discussed herein is provided on an "AS IS" basis, without warranties of any kind. This document and all information discussed herein remain the sole and exclusive property of Rush Up. No license of any patent, copyright, mask work, trademark or any other intellectual property right is granted by one party to the other party under this document, by implication, estoppel or other-wise. Rush Up products are not intended for use in life support, critical care, medical, safety equipment, or similar applications where product failure could result in loss of life or personal or physical harm, or any military or defense application, or any governmental procurement to which special terms or provisions may apply. For updates or additional information about Rush Up products, contact Rush Up office. All brand names, trademarks and registered trademarks belong to their respective owners.