Getting Started With LinkItOne

Introduction

 
Mediatek has provided LinkIt ONE Software Development Kit (SDK) for developing apps for LinkIt ONE devices. It consists of an SDK that integrates with the Arduino software to deliver a familiar development environment. Hence if you have a recent version of Arduino IDE installed you can easily add boards through board manager. That’s the easiest way of getting started. Though there are many other ways of installing the SDK I strongly recommend this one as it is easiest and bug-free. If you do not have Arduino IDE, get it from here. If you are new to LinkIt One here is a brief overview for you- Pointing The Spotlight On LinkIt ONE.
 
What is the Arduino IDE?
 
Arduino IDE is an open-source development environment that makes it easy to write code and upload it to the board. It is a cross-platform software written in java which deploys code to any Arduino or Arduino certified board. The code we write to interact with physical boards are based on a C like a language which is very easy to learn for beginners, that was also the main reason behind Arduino getting popular.
 

Setting Up Development Environment for LinkItOne

 
Installing Drivers:
 
A USB COM port driver is required for the LinkIt ONE SDK installation, get it here. Also, you have to disable automatic driver installation as the automatic download and installation of device drivers can prevent proper installation of the LinkIt ONE USB COM port driver on Windows 7, 8 and 10 machines. For this –
  1. Open Control Panel and search for and open Change device installation settings. It will be under Devices and Printers.
  2. In Device Installation Settings select No, let me choose what to do, then click Never install driver software from Windows Update, also make sure to uncheck Automatically get the device application and information provided by your device manufacturer.
     
    Device Installation Settings
     
    Figure 1: Device Installation Settings
     
  3. Click on Save Changes.
Download the USB COM port driver for LinkIt ONE development board for Microsoft Windows. Now run the installer InstallMTKUSBCOMPortDriver.exe
 
Setup InstallMTKUSBCOMPortDriver.exe
 
Figure 2: Setup InstallMTKUSBCOMPortDriver.exe
 
Installing LinkIt ONE SDK for Arduino
 
With the Arduino IDE version 1.6.4 and greater, you can easily add 3rd party boards directly from the stock IDE.
  1. Open Arduino IDE (version 1.6.4 or higher), Under the File menu, select Preferences.
     
    Preferences
     
    Figure 3: Preferences
     
  2. A dialog will open. Hereunder Additional Boards Manager URL’s we will be adding a new URL. This list of URLs is comma-separated means you can add many, we need only one for LinkItOne. Paste this URL.
     
    Add a new URL
     
    Figure 4: Add a new URL
     
  3. Save preference settings. Make sure your computer is connected to the internet.
  4. Go to Tools, Board, then Boards Manager.
     
    Boards Manager
     
    Figure 5: Boards Manager
     
  5. You will then be able to select and install the boards supplied by the URLs added to the preferences. LinkIt ONE by Seed Studios and MediaTek Labs is now displayed in Boards Manager. Select the latest LinkIt ONE SDK version and click Install.
     
    Select the latest LinkIt ONE SDK version and click Install
     
    Figure 6: Select the latest LinkIt ONE SDK version and click Install
     
    Download Tools
     
    Figure 7: Download Tools
     
  6. When the installation completes version n.n.nn INSTALLED is appended to the tool’s name, as shown below. You now have LinkItOne SDK installed.
     
    Board Manager
     
    Figure 8: Board Manager
     
  7. Restart Arduino IDE.
     
  8. Now you will notice the LinkItOne Board listed under the Tool, in Board menu.
     
    Board menu
     
    Figure 9: Board menu
We have set up the development environment and we are ready to start developing IoT application with our LinkIt One.
 
Previous: Pointing The Spotlight On LinkIt ONE.