Wednesday, November 25, 2015

USING ARDUINO EATHERNET SHEILD TO CONTROL WEMO SWITCH

There are many apps that let you control your devices, but there is no a hardware switch panel.

So I build one with an Arduino.



 For this project you need



·   An Arduino board.I use the Arduino UNO but you can use any board that is compatible with Ethernet shield.
·         Arduino Ethernet shield. Now you need the ethernet shield to connect the arduino to local network.
·         On/Off switch
·         10k Ohm Resistor
·         Arduino Proto Shield and mini breadboard
·         wires
·         also use a card box as a case for the project

Step 2: Schematic

Step 3: Code

Load the code to the arduino.
On the code you need to set the IP address an the port of your Wemo device (variables wemoIP and wemoPort)
char wemoIP[ ] = "192.168.2.126"; //set the IP of your WeMo device
int wemoPort = 49153; //set the port of your device





Now our project is ready but in this one thing irritate me in all time that is a code. In this project maximum focus on the coding if you want to make any this type of project and second thing is that connection be careful in it.


No comments:

Post a Comment