Getting Started with the IEI Tank AIoT Dev Kit* and Arduino Create*

Published:03/10/2020   Last Updated:11/02/2019

Follow these steps to connect your IEI* Tank AIoT Dev Kit to Arduino Create* and begin working with your development kit.

This guide assumes you've already set up and powered your IEI Tank AIoT Dev Kit according to the guide included in the box.

Connect to Arduino Create*
Sign up for an Arduino Create account and connect the IEI Tank AIoT Dev Kit to Arduino Create.


Run a Hello, World Application
Find and run a sample Hello, World application on your IEI Tank AIoT Dev Kit.


Run an Intel® Distribution of OpenVINO™ Toolkit Sample Application
Run a sample project that uses the Intel Distribution of OpenVINO toolkit.

Your Prototyping Environment

When you've completed the steps in this guide, your environment will be set up like this:

set up environment

You'll be able to code your sketches, and upload and run them on your IEI Tank AIoT Dev Kit.

Step 1: Connect to Arduino Create*

In this step, you will:

  • Sign in to Arduino Create* (or sign up, if you don't already have an account)
  • Name your board

Sign In to Arduino Create*

  1. On your IEI Tank AIoT Dev Kit, open a browser and go to Arduino site.
  2. On the welcome screen, click Login.
    login button
  3. Provide your login credentials.
    login credentials

    Note If you don’t already have an Arduino Create account, follow the onscreen instructions to Sign Up. You'll need to activate your account and log into the site using your new account. Afterwards, return to Arduino site sand continue with the rest of the steps below.

  4. A notice reminding you to have your target platform powered and connected to the Internet is displayed. Click My Device is Ready.
    My Device is Ready button
  5. If you are successful in connecting to your target platform, you will be prompted to provide a Device Name for your target platform. Click Save.
    Make it Yours display

    Note If you see a "Setting up your device" message that lasts for more than 30 seconds, it's likely that you are experiencing network issues. Check your connection and try again from the Getting Started page.


    Install Connector screen

Congratulations, you have connected to your target platform.

success screen

Note Your board connects to the Arduino Create development environment over the Internet.  If you disconnect your board and move it to another location, it should reconnect to the Arduino Create environment. If you are using proxy settings, you will need to go through this setup process again if you move your board to a network that doesn’t have a proxy.

Now you’re ready for the next step, running a simple Hello, World application.

Step 2: Run a Hello, World Application

In this step, you will:

  • Open a sample application
  • Upload your sketch using Arduino Create*
  • Dig into the code

Create the Sample Application

  1. If it's not open already, open the Arduino Web Editor.
  2. From the left, click Sketchbook > NEW SKETCH
    sample app creation
  3. Delete the contents of the new sketch, then copy and paste the following code into the editor:
    void setup() {
    
    DebugSerial.begin(0);
    
    }
    void loop() {
    
    DebugSerial.print("hello world !!");
    DebugSerial.println();
    delay(5000);
    
    }

    sketch
  4. From the left, click Monitor to view the serial monitor pane. You'll see the Hello, World message in this pane once your sketch is running.
    serial monitor panel

Upload Your Sketch Using Arduino Create*

  1. Choose your board, "via Cloud".
    via Cloud
  2. Click the Upload icon to upload and run the sketch.
      upload
  3. Check the Monitor pane to see a "Hello, World!" message.
    hello world message

    Note When you click the Upload button via Cloud, you're uploading and running the sketch on your target device. To compile your sketch without uploading and running it, click the Verify button uploadto the left of the Upload icon.

Stopping and Starting Sketches

Now that your sketch is running, we’ll show you how to stop it.   

  1. Go to the Device Manager page by clicking the menu icon in the upper left and clicking Device Manager. Alternatively, you can go to Arduino Devices.
    device manager
  2. Click the name of your device to view its Settings page.
    the settings page
  3. From the left, click Sketches. A list of sketches on your device displays.
    sketches
    Next to the name of your sketch, click RUNNING.
    running button
    You should now see STOPPED.
    stopped button

Now that you know how to run a simple application, continue to run a sample application that uses the Intel Distribution of OpenVINO toolkit.

Step 3: Running an Intel® Distribution of OpenVINO™ Toolkit Application

In this step, you will:

  • Run a sample project that uses the Intel Distribution of OpenVINO toolkit.

Run your Project

  1. In the Arduino Web Editor, click Libraries from the left. In the list of libraries, find Intel CV.
  2. Under Intel CV, expand the Examples list, then click run_security_barrier_camera_example. The example sketch opens in the editor pane.
    examples list
  3. Click the Secret tab.
    In the SECRET_DEVICE field, type CPU.
    In the SECRET_IMAGE field, type car_1.bmp.
    secret tab
  4. Choose your board, "via Cloud".
    via Cloud
  5. Click the Upload icon to upload and run the sketch.
      Upload
  6. Open a Terminal window on your machine. Type and enter the following commands to see your sample running:
    cd /opt/intel/computer_vision_sdk/deployment_tools/demo
    sudo ./demo_security_barrier_camera.sh
  7. The sample runs on an image, highlighting the vehicles it detects.
    detected image

Congratulations, you've run your first Intel Distribution of OpenVINO toolkit project.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804