Setup

Hardware targets

  1. ARTIK 053

  2. USB-B Cable

Development environment

  1. Check the following prerequisites before installing the Tizen Studio for RT:

  2. Tizen RT Studio version 2.0 (or later), supporting SmartThings functionality.

TizenRT Installation

  1. Install latest Tizen Studio from the link given below:
    https://developer.tizen.org/development/tizen-studio/download

  2. After successful installation launch the Package Manager.

  3. In the Package Manager, install RT SDK tools. This will install the required IDE and toolchain.

  4. After the installation is complete, close the Package Manager.

  5. Launch Tizen Studio for RT.

Docker Setup in Ubuntu 14.04

  1. Manage docker as a non-root user

    $ sudo groupadd docker
    $ sudo usermod -aG docker $USER
    

    Log out and log back in so that your group membership is re-evaluated

    &docker run hello-word
    
  2. Setup the repository

    $ sudo atp-get remove docker docker-engine docker.io
      $ sudo atp-get update
      $ sudo atp-get install  \
          apt-transport-https  \
          ca-certificates  \
          curl  \
          software-properties-common
      $curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
      $sudo add-apt-repository  \
         "deb [arch=amd64] https://download.docker.com/linux/ubuntu  \
         $(lsb_release -cs)  \
         stable"
    
  3. Install Docker CE

    $ sudo atp-get update
    $ sudo atp-get install docker-ce
    $ sudo docker run hello-word
    

Artik 053 Board Diagram


Sample Code

Here is a sample code for you to start coding this activity. Feel free to download them and start your learning experience!

SmartThings TizenRT Sample Code1.03 KB