Introduction: LinkitONE Web Controlled LED

About: I build products which solve real world problems.

Ever wanted to make you own web controlled LED? Got a LinkitONE board? Want to do more than that? then this tutorial is right for you!

Here i'll show you step-by-step how to make a web controlled LED using the LinkitONE board.

Step 1: What Do You Need?

1 . LinkitONE board

2. LED

3. Breadboard

5. LinkitONE wifi antena

6. Battery pack

Step 2: Update Board's Firmware

For this code to work correctly, you'll need to update the linkit's firmware. You can do this by downloading the linkit updater for free.

once you open it, 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: Assembling the Parts

Now assemble the parts like attaching the wifi antenna!

DO not power on your board while attaching the antenna!!

After you do the wifi thing, take the breadboard and connect the LED to the breadboard.

Step 4: Writing Some Code

Now we are going to write some code.

See the code from the web-led.ino file and burn the code.

The code is simple, when ever it finds a client, it gives back a webpage where you can control it!

Once you complete this step, go to the URL of LinkitONE and access your web interface.

http://192.168.xx.xx/on for turning LED on

http://192.168.xx.xx/off for turning LED off

Step 5: Testing It Out!

Now open this url http://192.168.xx.xx/on

Surprised?

LED is on!!

you can turn on the LED anytime with this and this is way easy!

Step 6: Final Touches

Okay, so you have made your web controlled LED!

now let's try it on a LED cube!!

You just have to write the same code for turning on portions of LED using the web interface using the http://on