" The main goal of this project is that, How to control home appliances like TV, fan, tube light, or anything using your computer or portable device "
The heart of this project is Ethernet shield and definitely the brain of this project is Arduino uno board they both work together to Turn on and off the contacts of relay to control the desired outputs . Relay is like a magnetic switch to make a contact closed and open depends upon on magnetic field the arduino board will send pulse like 1 (ON) mean high to the respected relay or will send 0 (OFF) to connected relay to turn off the load.
How many Relay,s You Need ?
The total numbers of Relay,s depends upon on your output load how much appliances you want to control, if you want to control two appliances like Fan and tube light so you need to make a two relay module for your project or if you want to control multiple appliances so increase the number of Relays in the module.
How to make single Relay controller board ?
i am going to show you that how to make single relay controller board to control single output if you learned that how to make single relay module then it,s easy to make another module just like copy the circuit diagram of the same one and do this for all like if you want to control five loads so you need a channel of five relay now use the same circuit and place five relays in parallel .
Components Required :
* Transistor 2N3904
* 1K Resistor
* 10K Resistor
* 1N4148 Diode
* Red Led 3mm
* 3 & 1 Pin PCB Mount Connectors
The circuit diagram is very clear each and every component and connection is clear you just need one out from each module in this module output pin is no 2( RF1 AY) connect this pin to arduino uno output pin to control this relay module.
Image and project courtesy internetofthings-pune.blogspot.in
Five Relay Module to Control 5 appliances
::How to Get IP address of arduino Ethernet shield ::Take Ethernet shield and mount on arduino uno board just like we did in the given pictures but be careful the Ethernet shield metal pins are very sensitive so do it slowly.
The next step is to connect your arduino uno board to pc using usb cable and open arduino IDE after openinig you need to click on File -- Example--ethernet---Dhcp address printer sketch.
Flip the Ethernet shield module and you will find the mac address now put this mac address in that program they are asking for mac address.
Circuit Diagram and connection setup :
For single relay module you can give 5V directly from arduino uno board but if the number of Relays increased then it,s hard for arduino board to deliver a sufficient current. If you have multiple relays so power them using external power source.
Source code :You need to do the following changes in source code before uploading to arduino uno board .