Control LED Over WiFi Using Linkit One Board

Introduction: Control LED Over WiFi Using Linkit One Board

In this instructable, I will show you how to control LED's, or other outputs, over WiFi.

This is just to learn the basics of the Mediatek LinkIt ONE board. I didn't want do something too simple, like blinking an led, because you can easily do that on an arduino.

Step 1: Download Drivers

The Mediatek Linkit One is a powerful microcontroller, but getting it set up isn't quite as easy as an arduino. Here are the steps to get it set up.

1. Download latest Arduino IDE:

2. Install and open Arduino IDE, open preferences, find additional boards manager and paste: http://download.labs.mediatek.compackage_mtk_lin... into the text box.

3. Go to Tools --> Board --> Board Manager. Scroll down until you see "Mediatek Linkit One" and click it, then you should see an install button, click it.

4. Download USB drivers from: , Unzip the file, and open the "Drivers" folder and double click the .mpkg file to open it. This will take you through a setup wizard, just accept the terms and conditions and press continue whenever you can. There will also be a Firmware updater in the folder, double click to install it.

Step 2: Update Board's Firmware

To update the Board's Firmware, open the "firmware updater" software that you installed in the last part in the previous step. Once open, Make sure that the switches on the board are in the right position for updating firmware; MS for the MS--UART, USB for the USB--Battery switch, and SPI for the SPI--SD switch. Plug your board into your computer, then click "Download". It will now begin downloading and installing the latest firmware for your board.

Step 3: Download and Open the Arduino Sketch

Download the sketch below and open it in the Arduino IDE. Make sure that the switches are in the correct position; UART on the MS--UART switch, USB fort he USB--Battery switch, and SPI for the SPI--SD switch.

Step 4: Plug in WiFi Antenna

On the bottom of the board, there are 3 antenna connectors. Plug the thin rectangular antenna into the middle antenna connector. The antenna is required for getting a WiFi signal.

Step 5: Upload Sketch to Board

Upload the sketch that you downloaded from the last step by going to Tools --> Board --> LinkIt ONE then:

Tools --> Serial Port and select the port that the board is plugged into. Finally, press upload (the button with the horizontal arrow).

If the upload Fails, try changing the serial port.

Step 6: Using the Webserver

To use the web server, open the serial monitor (the icon in the upper right corner), select 115200 as the baud rate. The serial monitor should display "IP: " and some numbers and decimals behind it. Copy all of the numbers following the IP: and paste into a search bar in your internet browser. It will say "Doing Nothing". To change the state of the onboard LED, go into the search bar and add /on or /off to the end of the address and press enter. The on-board LED will change whether the /on or /off is used.

Step 7: Done!

Thanks for viewing this instructable! If you liked it, please "favourite" it, share it or leave a comment.

Be the First to Share


    • Build a Tool Contest

      Build a Tool Contest
    • Fabric Challenge

      Fabric Challenge
    • First Time Author Contest

      First Time Author Contest



    2 years ago

    It isn't showing anything in the serial monitor. I am using modem port???
    Compiling error:
    C:\Program Files (x86)\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp: In static member function 'static int32_t WiFiDrv::getRSSINetoworks(uint8_t)':
    C:\Program Files (x86)\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp:476:10: warning: converting to non-pointer type 'int32_t {aka long int}' from NULL [-Wconversion-null]
    return NULL;
    It shows "uploading..."

    What's going on Please help me


    6 years ago

    It isn't showing anything in the serial monitor?

    correct port/ using the bug port.



    6 years ago

    When I paste the IP address into my browser it just loads for ever and then says no data recieved

    Zach Sousa
    Zach Sousa

    Reply 6 years ago

    When you tested it, did you keep the serial monitor open? It will only work if the serial monitor is open.