Introduction: Linkit One - Getting Started

Picture of Linkit One - Getting Started

The Linkit One is a development board similar to the Arduino and is developed by Seed Studio. It is programmed using the Arduino IDE and has on board WiFi, Bluetooth, GPS, GPRS, SD Card Slot and 3.5mm audio output. If you are having programming experience with the Arduino IDE you would like this board as it has all the essential components required to build projects on board without having to have to plug in extra shields or boards.

The board doesn't use an Atmel IC instead it uses an MT2502 chipset with ARM7 EJ-S which gives it enough power to do various tasks and works great as a wearable device. So In the next couple of Instructables, I'm going to show you how to start working with the Linkit One Board.

Step 1: Requirements

Picture of Requirements

To work with this instructable all you need is a Linkit One board and a Micro USB Cable the Linkit One board comes with various accessories in the box like, WiFi antenna, GSM antenna, GPS Antenna and a Li-ion battery which you can plug directly into the board.

The Linkit One has two ways of powering it one using a standard micro USB Cable and other using the provided battery. The Linkit One board also has an onboard battery charging circuit of which status you can monitor through code.

Step 2: Modifying Arduino IDE

Picture of Modifying Arduino IDE

Lets Start with installing the drivers for the Linkit One before we actually start programming we need to install the Linkit one drivers and modify the Arduino IDE to work with the board.

So start with the plugin in the board to the PC with the help of a micro USB Cable, you can download and install drivers from here . After you have installed the drivers make a note of the COM port number you will need this port number in the next step. There may be two numbers in series you need the start number of the series, as that is the port to upload programs to the board.

Step 3: Modifying Arduino IDE

Picture of  Modifying Arduino IDE

  • To upload programs to the Linkit One you will need to modify the Arduino IDE to add the Linkit One compiler, to do this
  • First In the Arduino IDE, on the File menu click Preferences.
  • In Additional Boards Manager URLs enter http://download.labs.mediatek.com/package_mtk_lin...
  • Then go to the tools and select the board manager After that search for Linkit One and you should have it working

Step 4: Blink Program

Picture of Blink Program

After you have the arduino IDE working now it is time to test and upload a program to the Linkit One board. Copy the program from below and paste it in the Arduino IDE, select the right port and board from the tools menu of the arduino IDE and hit upload.

After Uploading the program you should see the onboard LED blink at an interval of one second.

int led1 = D0; // Instead of writing D0 over and over again, we'll write led1 // You'll need to wire an LED to this one to see it blink. int led2 = D7;

void setup() {

pinMode(led1, OUTPUT); pinMode(led2, OUTPUT);

}

void loop() {

digitalWrite(led1, HIGH);

digitalWrite(led2, HIGH);

delay(1000);

digitalWrite(led1, LOW);

digitalWrite(led2, LOW);

delay(1000);

And repeat! }

Step 5: Going Further

Picture of Going Further

Now that you have uploaded the code to the board and tested out the blink program you could connect an led in series with a resistor to the digital pin 13 and it should blink at the same interval as the board.

You could also try out other examples of Arduino projects using the Linkit one board and in the next series of instructables, I will show you how to work and code with the Linkit One board.

Comments

About This Instructable

40views

0favorites

License:

Bio: IoT Related Projects
More by tinkerproject:Tasty Biscuit LaddooSpicy Corn CurryPhulka - Fluffy Roti Breads
Add instructable to: