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.

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.

Comments

author
JonnyAlpha made it! (author)2016-03-21

This is brilliant, I have had a Linkit One in a box for a while now and have only just started to use it. Quite complicated to set it up but a very capable beast!!

P.S. You need to add the port number after the IP address :-)

author
Volthaus Electronics Laboratory made it! (author)2015-10-20

Very helpful and well done Instructable LightBug. You'll see I did change the page just a bit. I have a DHT22 on an ENC28J60 that is connected to an Ardunio Nano that is running a sketch that serves a page with temp/humidity. To put that page online I placed the local network IP for the Nano into the DMZ on my router and am using a NoIP.com host to hide my home IP. Do you know if it is possible to run two such setups soI can put this LinkIt page on the internet? The one I have running now is at http://volthauslab.ddns.net

DSC00185.JPGDSC00183.JPG

About This Instructable

710views

14favorites

License:

More by LightBug:Getting started with IoT using the Particle CoreFish Food Feeder Using the Linkit OneControlling High voltage devices with LinkIt One
Add instructable to: