loading

In this instructable, I will show you how to make an internet connected powerbar.

*Warning:* This instructable deals with high voltage, I will not be held responsible for any potential injuries. Only do this project if you know what you are doing. Furthermore, Do not Plug any appliances that draw more that 5A, even if the relay is rated for 20A.

Step 1: Parts and Tools

Here are the parts and tools needed to make this project:

Parts:

5v relay

NPN transistor (I'm using a 2n2222)

Linkit ONE board with WiFi antenna (included with board)

Wire

1.5k Resistor (Brown Green Red Gold)

Diode

Extension cable

Male headers

Tools:

Soldering iron and solder

Computer with latest version of Arduino IDE and linkit one drivers

Step 2: Wiring

Here is the circuit diagram for the wiring.

You will also have to plug in the WiFi antenna into the uFL connector that says "WiFi/BT ant".

Step 3: Upload Test Code

Here is the test code. Download it, double click to open, then press upload. Open the serial monitor, and copy the first IP address, then paste it into an internet browser. Keep the IP address copied.

Step 4: Upload Final Code

Here is the final code. Double click to open, then press upload.

Step 5: Test...

To test the project, plug the board into your computer, and paste the IP address into a web browser. If it has Three buttons, everything is working. Thanks for viewing this project!

<p>Good project. I was with you until I saw the price of the linkit.. yikes..</p>

About This Instructable

3,642views

109favorites

License:

Bio: My name is Zach Sousa and I'm a Canadian highschool student that has a passion for making.
More by Zach Sousa:CNC Oak Watch Box CNC Camera SD Card Holder Edge 3D 3.0 - A $200 3D Printer 
Add instructable to: