Linkit One Wireless Switch

by Nikus in Circuits > Microcontrollers

1739 Views, 10 Favorites, 0 Comments

Linkit One Wireless Switch

abcd.jpg
Linkit one wireless switch

Wireless switch is easy way to make your home "smarter". It can be used to control light, machines, heating etc.

It require few parts to make and it's easy to control with android app that I made. And of course you can use it only when you connect to the same wifi as linkit one but also (if setup port forwarding) from all over the world.

Parts

DSC05064.JPG
DSC05066.JPG
DSC05069.JPG

1. You will need LinkIt one this is arduino comptible board with 260 MHz clock, WI-FI, Bluetooth 4.0, GPS, GSM, microSD card reader and audio jack. Also USB cabel to connect it to computer.

2. Single relay (I used double because I have it)

3. Cable with socket and plug

4. Tablet or phone with android

Connection

DSC05065.JPG
DSC05067.JPG

Connect wifi antenna to linkit one and relay:

relay 5V to linkit one 5V

relay GND to linkit one GND

relay IN1 to linkito one pin 2


Application

Screenshot_2015-12-17-22-24-21.png
Screenshot_2015-12-17-22-25-57.png

This is very simple app that send HTTP request to board, receive on or off and shows it as switch. Only one think you need to do is to give your linkit one IP to app in settings. eg. 192.168.0.108 (it can also be external IP).

Below you will find apk file to instal it on your android device or if you like to see how it's made and edit it you will find .zip with app project.

How to Install This App

567328ad45bcebbf0600023b.jpeg
567327fe67400cab56000539.jpeg
5673284e15be4d05a6000af9.jpeg
Screenshot_2015-12-17-22-14-12.png

Instruction how to install app:

1. the first step is download linkit one wireless switch.apk file

2.Send apk file to your phone

3.Open file manager and find linkit one wireless switch.apk file

4.Click on it and click install (if you have enabled the option to install applications outside the google play you need to turn it on)

5.You have finished the installation, you can run the application

Arduino Code

This is just edited wifiWebServer example for linkit one. If you have any questions leave a comment and I will help you.

Conclusion

DSC05071.JPG
DSC05072.JPG

On the images above you can see how it works. Thanks for reading!