Secondary Menu

Getting Started With the LinkIt One - WIFI

Introduction: Getting Started With the LinkIt One - WIFI

After a few projects with the LinkIt One now it is time to take it online and create IoT related projects. To start off with I'm going to show you how to connect the link it one board to a WiFi network. You need to read though my previous instructable before going into this one as some of the steps such as updating your on-board firmware is required to proceed with this instructable.

So in this instructable I'm going to show you how to get your LinkIt One board connected to a WiFi network, and connect an LED and control it over WiFi in a web browser.

So lets get started...

Step 1: Requirements

The list of components required is quite simple all you need is -

LinkIt One

Led

Breadboard

Jumper wires

No soldering skills are required for this tutorial as we will be using a breadboard, but in the future tutorials there will be a lot of soldering. And there are a lot of tutorials on YouTube that shows you how to solder. You can also use an Arduino and you can PM me for additional details on how to get started.

Step 2: Antenna

To start off with we need to set up the board to connect to a WIFI network, first you need to update the on board firmware, please refer to the first tutorial of this series on, how to do it.

Next we need to attach the antenna to the board the antenna for WiFi is the thinnest of the three antennas provided along the LinkIt One box. The antenna plugs onto the board where it says WiFi / BT, be careful while you plug it in.

Next, lets setup up the circuit...

Step 3: Circuit

In this instructable we are going to control an LED on or off over WiFi using a web browser. For this we will be using the on board LED which is connected to pin 13 you can also add an external LED to that pin.

The circuit if you are connecting an external LED is same as that of the first instructable.

Step 4: Code

The code can be found below, make sure you edit the fields where it says network SSID and network password with your WiFi name and password. Upload the code using an the Arduino IDE with the link it one plugin. Instructions on how to install the plugin can be found in the first instructable of this series.

Attachments

Step 5: Testing

After uploading the code open up a serial console and note the IP address once the board is connected. Open the IP on a browser of a device connected to the same network. Now you should see a web page like the one in the picture. You can toggle the LED on and off by clicking on the buttons and you should see the page URL change accordingly.