Saturday, July 13, 2013

Open Source Home Automation Project using Arduino UNO + Ethernet Shield



This is Open Source Home Automation Project based on Arduino Uno and Arduino Wiznet based Ethernet shield.





How Does it Work

The main brain for this project is Arduino UNO Board along with Arduino Ethernet Shield to give it a wireless connectivity.Arduino runs a code to control a Relay board according to the input and also serves a web page through which respective output to the relay board can be controlled.Through relay controller board we can control lamps, tubes or any AC power sockets.
You will be able to control all of your AC Appliances wirelessly with the help of any WIFI Enabled device.

STEP 1:


Relay Controller Board Build Tutorial:

Quantity of the components depends upon how many channels you want e.g. if you want to control more than one light then you will have to add that much number of relays on your controller board.
Here is the material list which will be needed to build the board: (Quantity of the components given for making 1 channel relay controller)


Sr.NoComponent NamesQuantity
1Relay (I have used GOODSKY RWH-SH-105D Relay)1
2Transistor 2N39041
31K Resistor2
410K Resistor1
51N4148 Diode1
6Red Led 3mm1
73 Pin PCB Mount Connector1
81 Pin PCB Mount Connector1


Above components are for making of single controller board you can multiply number of the components depending on how many relay controller you want.







Here in the circuit diagram Pin no.2 will be connected to the arduino control output pin and other two will be connected to +5V and Gnd accordingly.
After soldering all of your components according to the above circuit diagram the board should look like this.




Front View




Rear View



This is single relay controller board. You can extend this to as many as you want. I have made 5 channel relay controller board as below.







Note:

All the usual warnings apply: Mains voltage (120VAC or 220VAC) can kill you. This project, if done incorrectly, could certainly burn down your house. Do not work on or solder to any part of a project while it is plugged into the wall socket - just unplug it before modifying anything!


STEP 2:

Getting IP Address Of Arduino Ethernet Shield:


 Mount your Arduino Ethernet shield on Arduino Uno as shown:





Now connect your Uno Board to PC with USB cable and open Arduino IDE. After Opening up you will find blank Arduino window. Now go to File--> Example --> Ethernet --> dhcp address printer sketch. Your Ethernet shields MAC address is printed on back of it as follow you will need this in DHCP ADDRESS PRINTER code to get the IP address of your Ethernet shield.



In DHCP address printer sketch put your MAC address as given on back of the Ethernet shield and upload it to the Arduino board.




After finished uploading connect Arduino Ethernet shield to internet with Ethernet cable once connected then open up you serial monitor of Arduino IDE the IP address allotted to your Ethernet shield will be displayed e.g. (xxx.xxx.x.xxx) note it down somewhere because you are going to need this in further codes.


STEP 3:


BuildingMainCircuitConnection :

Now we are ready with our Relay controller board. So, it’s time to move on to the Main Circuit Connections. Here I have given the pin configuration for the whole Autohome Project.

Arduino Digital Pin No.Pin Usage
4will be used for Infrared Receiver
5used as Output Pins to control Relays
6used as Output Pins to control Relays
7used as Output Pins to control Relays
8used as Output Pins to control Relays
9used as Output Pins to control Relays
10will be used by Arduino Ethernet Shield
11will be used by Arduino Ethernet Shield
12will be used by Arduino Ethernet Shield
13will be used by Arduino Ethernet Shield

Note: For relays it is recommended to power it from separate source not from Arduino (I have powered it from Arduino only but since here we are working with single board. As board number increases Arduino won’t be able to supply sufficient power to the boards.)
Here is the connection diagram:



In this way you can do necessary soldering work to make following connection.
You can also make your own protoshield which can easily fit on top Arduino like this:






Once you finish soldering stuff, now you are ready for your main code upload.


STEP 4:

Uploading Arduino AutoHome code to the Board:

Here is the Arduino AutoHome code just copy and paste it into your Arduino IDE sketch.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
//for use with IDE 1.0
//open serial monitor to see what the arduino receives
//use the \ slash to escape the " in the html
//for use with W5100 based ethernet shields
// this project is hosted at
// http://code.google.com/p/arduino-autohome/
#include <SPI.h>
#include <Ethernet.h>
byte mac[] = { 0x90, 0xA2, 0xDA, 0x0D, 0x78, 0xE0 }; // <------- PUT YOUR MAC Address Here
byte ip[] = { 192, 168, 1, 102 }; // <------- PUT YOUR IP Address Here
byte gateway[] = { 192, 168, 1, 254 }; // <------- PUT YOUR ROUTERS IP Address to which your shield is connected Here
byte subnet[] = { 255, 255, 255, 0 }; // <------- It will be as it is in most of the cases
EthernetServer server(80); // <------- It's Defaulf Server Port for Ethernet Shield
String readString;
//////////////////////
void setup()
{
  pinMode(6, OUTPUT); // Pin Assignment through which relay will be controlled
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  
  
  //start Ethernet
  
  Ethernet.begin(mac, ip, gateway, subnet);
  server.begin();
  
  //enable serial data print
  
  Serial.begin(9600);
  Serial.println("server LED test 1.0"); // so that we can know what is getting loaded
}
void loop()
{
   
  
  // Create a client connection
  EthernetClient client = server.available();
  if (client) {
    while (client.connected()) {
      if (client.available()) {
        char c = client.read();
        
        //read char by char HTTP request
        if (readString.length() < 100) {
          //store characters to string
          readString += c;
          //Serial.print(c);
        }
        //if HTTP request has ended
        if (c == '\n') {
          ///////////////
          Serial.println(readString); //print to serial monitor for debuging
          /* Start OF HTML Section. Here Keep everything as it is unless you understands its working */
          
          client.println("HTTP/1.1 200 OK"); //send new page
          client.println("Content-Type: text/html");
          client.println();
          //client.println("<meta http-equiv=\"refresh\" content=\"5\">");
          client.println("<HTML>");
          client.println("<HEAD>");
          client.println("<meta name='apple-mobile-web-app-capable' content='yes' />");
          client.println("<meta name='apple-mobile-web-app-status-bar-style' content='black-translucent' />");
          client.println("<link rel=\"stylesheet\" type=\"text/css\" href=\"http://arduino-autohome.googlecode.com/svn/trunk/autohome.css\" />");
          
          
          client.println("</HEAD>");
          client.println("<body bgcolor=\"#D0D0D0\">");
          
          client.println("<hr/>");
          client.println("<hr/>");
          client.println("<h4><center><img border=\"2\" src=\"https://lh3.googleusercontent.com/-C6BoJrRUFko/UEUFeCwkvdI/AAAAAAAAAOc/E7gcYvPV6r4/s960/Logo.jpg\" /></center></h4>");
          client.println("<hr/>");
          client.println("<hr/>");
          
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
         
         // Relay Control Code
          client.println("<a href=\"/?relay1on\"\">Turn On Light 1</a>");
          client.println("<a href=\"/?relay1off\"\">Turn Off Light 1</a><br />");
          
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          
          client.println("<a href=\"/?relay2on\"\">Turn On Light 2</a>");
          client.println("<a href=\"/?relay2off\"\">Turn Off Light 2</a><br />");
          
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          
          client.println("<a href=\"/?relay3on\"\">Turn On Light 3</a>");
          client.println("<a href=\"/?relay3off\"\">Turn Off Light 3</a><br />");
          
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          client.println("<br />");
          
          client.println("<a href=\"/?relay4on\"\">Turn On Light 4</a>");
          client.println("<a href=\"/?relay4off\"\">Turn Off Light 4</a><br />");
          client.println("<br />");
          client.println("<br />");
          
          
          
         
            // control arduino pin via ethernet Start //
          
          
          if(readString.indexOf("?relay1on") >0)//checks for on
          {
            digitalWrite(6, HIGH); // set pin 4 high
            Serial.println("Led On");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/on.png' />");
            //client.println("Light 1 Is On");
            client.println("<br />");
        }
          else{
          if(readString.indexOf("?relay1off") >0)//checks for off
          {
            digitalWrite(6, LOW); // set pin 4 low
            Serial.println("Led Off");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/off.png' />");
            //client.println("Light 1 Is Off");
            client.println("<br />");
        }
          }
          
          if(readString.indexOf("?relay2on") >0)//checks for on
          {
            digitalWrite(7, HIGH); // set pin 4 high
            Serial.println("Led On");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/on.png' />");
            //client.println("Light 2 Is On");
            client.println("<br />");
          }
          else{
          if(readString.indexOf("?relay2off") >0)//checks for off
          {
            digitalWrite(7, LOW); // set pin 4 low
            Serial.println("Led Off");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/off.png' />");
            //client.println("Light 2 Is Off");
            client.println("<br />");
          }
          }
          
           if(readString.indexOf("?relay3on") >0)//checks for on
          {
            digitalWrite(8, HIGH); // set pin 4 high
            Serial.println("Led On");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/on.png' />");
           // client.println("Light 3 Is On");
            client.println("<br />");
          }
          else{
          if(readString.indexOf("?relay3off") >0)//checks for off
          {
            digitalWrite(8, LOW); // set pin 4 low
            Serial.println("Led Off");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/off.png' />");
            //client.println("Light 3 Is Off");
            client.println("<br />");
          }
          }
          
          
           if(readString.indexOf("?relay4on") >0)//checks for on
          {
            digitalWrite(9, HIGH); // set pin 4 high
            Serial.println("Led On");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/on.png' />");
            //client.println("Light 4 Is On");
            client.println("<br />");
          }
          else{
          if(readString.indexOf("?relay4off") >0)//checks for off
          {
            digitalWrite(9, LOW); // set pin 4 low
            Serial.println("Led Off");
            client.println("<link rel='apple-touch-icon' href='http://chriscosma.co.cc/off.png' />");
            //client.println("Light 4 Is Off");
            client.println("<br />");
          }
          }
          
         // control arduino pin via ethernet End //
         
         
         
          // Relay Status Display
          client.println("<center>");
          client.println("<table border=\"5\">");
          client.println("<tr>");
          
          if (digitalRead(6))
          {
           client.print("<td>Light 1 is ON</td>");
           
          }
          else
          {
            client.print("<td>Light 1 is OFF</td>");
           
          }
          
          
          client.println("<br />");
          
          if (digitalRead(7))
          {
           client.print("<td>Light 2 is ON</td>");
           
          }
          else
          {
            client.print("<td>Light 2 is OFF</td>");
            
          }
          
          client.println("</tr>");
          client.println("<tr>");
          
          if (digitalRead(8))
          {
           client.print("<td>Light 3 is ON</td>");
           
          }
          else
          {
            client.print("<td>Light 3 is OFF</td>");
            
          }
          
         
        
         
          if (digitalRead(9))
          {
           client.print("<td>Light 4 is ON</td>");
          
          }
          else
          {
            client.print("<td>Light 4 is OFF</td>");
           
          }
          
          client.println("</tr>");
          client.println("</table>");
          
          client.println("</center>");
          
          
          
          //clearing string for next read
          
          readString="";
          client.println("</body>");
          client.println("</HTML>");
          delay(1);
          //stopping client
          client.stop();
        }
      }
    }
  }
}




Upload this code to your UNO board. Now you are ready to your your Automation Project, just plug your Ethernet shield to router and and you will be able to find the control page on the IP Address specified by in in the Arduino Code. So directly enter the  IP address in the web browser of the the device which is on the same network as that of your Arduino.

So you will have the control page as shown below:





As you understand the code you can modify to your need.
So enjoy controlling things wirelessly..

181 comments:

  1. GREAT PROJECT ! ! ! ! ! ! !

    Is there an easy way to password protect the web server?

    ReplyDelete
  2. Hi Dhiaraj

    I wanted to know what is the best way to know if current is passing through a switch. So let me explain better. If these two switched are in parallel there is a feedback on the state of the switch if we turn it of from the aurduno but what can be done to get a feed back if the switch on the wall is turned on . Is there a mechanism that can send a signal aying what is the state of the switch

    ReplyDelete
  3. hey. i am very interested with your project and i am thinking of making this project as my final year project. may i get the full report of the project? please contact me at my email, maziyatulkarimah@gmail.com. thank you. have a nice day.

    ReplyDelete
    Replies
    1. Email me if you have any Details abt Project @ jivankumar.pachpute999@gmail.com

      Delete
  4. hi,, dhiaraj
    i'm thinking about your project to make it self .can you email me the project report? whitewall993@gmail.com

    ReplyDelete
  5. Everything about the project that you would need to do it yourself is mentioned in the blogpost. What else do you want?

    ReplyDelete
    Replies
    1. i'm worry about enternet shield,,
      thanks

      Delete
  6. how do you get the ethernet shield to work with the arduino mega? please help me

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. nice work!
    I want to make something similar, but adding some pir sensors for home alarm system.
    I already ordered an arduino Leonardo and arduino Ethernet shield.
    Lucky for me, I hade from an old project an TC35 gsm module, and I want to use it for sms remote.

    ReplyDelete
    Replies
    1. Can u help me with the using the gsm sheild for home automation

      Delete
    2. yea its pretty simple using AT commands

      Delete
  9. Very helpful..thank you so much..i am doing a similar project for my final year engineering course and i would like to clarify a few things..please contact me at aravindkv805@gmail.com..thanks again

    ReplyDelete
  10. Hello,
    let's say i'm running the web control for switches at home, and there is someone at home who wants to switch manually at the same time while the web control is running.
    So do you have a solution for that ?
    Thank you

    ReplyDelete
    Replies
    1. the solution is simple. just use a two way switch as the manual control switch

      Delete
  11. helloo can u please help me i have an wifi shield and i can not access the page that appears in the serial monitor can u do an sketch for the wifi shield

    ReplyDelete
  12. Hi,
    You should probably check out the MySenors project to make your sensor wireless using the nRF24L0 radio.

    Website:
    http://mysensors.org/

    Github:
    https://github.com/mysensors/

    Cheers
    Henrik

    ReplyDelete
  13. is ethernet shield cable rj45 is connected to laptop or some other place??

    ReplyDelete
    Replies
    1. it can be connected to laptop. else to the lan 1 ,2,3 ports on the router to get it enabled through wifi...
      ip adress should mentioned in the code should be used in the web browser when accessing through wifi enablede devices.

      Delete
    2. it can be connected to laptop. else to the lan 1 ,2,3 ports on the router to get it enabled through wifi...
      ip adress should mentioned in the code should be used in the web browser when accessing through wifi enablede devices.

      Delete
    3. How to obtain IP address if it is connected to laptop?

      Delete
  14. You have here one of the best Arduino Uno projects for both beginners and advanced users. I write an article especially for beginner users to help them starting building electronic projects using the Arduino Uno board. Here is the link to the article

    http://www.intorobotics.com/arduino-uno-setup-and-programming-tutorials/

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. Hello, can anyone help me?
    i want to build bell door wireless for deaf people using two ethernet shield. The idea is, if someone press the bell on the door, it will transmit the output to arduino 1 that connect to ethernet shield 1 and display it with LED and also transmit the output using wireless router to arduino 2 mounted with ethernet shield 2 and display it with LED on the other room. I don't plan using web server based. And all the example from the web is using internet connection and accessing/controlling via web, so i'm troubled over here. Help me please, i really appreciate it!
    taraswetlana@gmail.com

    ReplyDelete
    Replies
    1. Hello T
      Nice I am really interested in your project for elderly if you have completed can you please share
      Thanks

      Delete
  17. hi,, dhiaraj
    i'm thinking about your project to make it self .can you email me the project report? pbawan24@gmail.com

    ReplyDelete
  18. Thanks for sharing. I like the graphics displayed on the page.

    ReplyDelete
  19. Thanks for sharing. I like the graphics displayed on the page.

    ReplyDelete
  20. Great work, but I have a problem. I connected everything ( I bought relay module on ebay), but it wont work. When I click "turn light on" nothing changes. Serial monitor gives "GET", but even in the table at the bottom of the page nothing changes. Any ideas?

    ReplyDelete
  21. This comment has been removed by the author.

    ReplyDelete
  22. Hey Dhiaraj,

    I really like your project!! I would like to know if I can connect all the components on a breadboard instead???
    And would like to know more details about your project as I would like to make it a part of my course work. Kindly mail me the report of you project. deeksha.dhanush@gmail.com

    Thank you

    ReplyDelete
  23. Wow diraj, what a talent, I am speechless. You have done such a amazing work about home automation products that I cant even thing about that, thanks for sharing.

    ReplyDelete
  24. Hi.. Great work! It worked for me. I would like to know how to control the devices using other routers/ gateway. For example I would like to control from my office..
    Please help me out with this..

    ReplyDelete
  25. Your description is really very nice and interesting in which there is the discussion about Internet things. Thanks for sharing this info and please keep sharing.

    Security service in vancouver | Security Service in Vancouver

    ReplyDelete
  26. This comment has been removed by a blog administrator.

    ReplyDelete
  27. This comment has been removed by a blog administrator.

    ReplyDelete
  28. Thanks for making the effort to describe the terminlogy to the beginners!

    electronic display boards india

    ReplyDelete
  29. This comment has been removed by a blog administrator.

    ReplyDelete
  30. This comment has been removed by a blog administrator.

    ReplyDelete
  31. How to access the IP address if I am not at home!

    ReplyDelete
  32. This comment has been removed by a blog administrator.

    ReplyDelete
  33. This comment has been removed by a blog administrator.

    ReplyDelete
  34. Android Wi-Fi Home Automation,Wi-Fi Home Automation – Arduino

    http://microcontroller-embedded-electronic-projects-online.com/2015/11/17/android-wi-fi-home-automationwi-fi-home-automation-arduino/
    The devices can be switched ON/OFF using a SMART PHONE through Wi-Fi.

    ReplyDelete
  35. hello,
    i couldn't get the ip address of the ethernet shield . i have tried to get it using DHCP address printer but it results that 'failed to configure the ip address using dhcp' .the board was not given the mac address with it ,i have typed the default mac ...even though i was not able to trace the IP address. can you please help me out

    ReplyDelete
  36. This comment has been removed by the author.

    ReplyDelete
  37. Very nice, well written documentation and code.
    I really like how well it works, you have awoken so many ideas.
    Thank you!

    ReplyDelete
  38. Hmm that’s a nice post as I never thought about, it is truly remarkable. one for all universal remote

    ReplyDelete
  39. Hey, nice work. I envy your programming skills! It seems logical that your next step would be to build a nice android app to connect it all.

    I had this same idea, but the programming is intimidating. SO I'll share the rest of my idea with you, maybe it'll spark ideas of your own.

    First, there are premade relay boards for cheap. Really cheap. Example (on amazon.com): http://amzn.com/B00WQR9Y20

    So, relays are just high power switches- you can control virtually anything with them that turns on or off with power. If you've got some wiring knowledge, the possibilities.... electronic door strikes (control your door locks from anywhere, remotely!), power buttons on computers, networking equipment (if you cant be there to physically reboot them), garage door, lights, or anything you can run 5vDC to. And do it all without paying some middle company to keep track of your IP address.

    ReplyDelete
  40. Even i tried to make the relay board
    N the 1k resistor between the Base of the transistor and input pin from arduino is not required only
    Actually my circuit dint worked so i just connected the relay input pin to the base of the transistors my circuit did worked

    ReplyDelete
  41. Institute for certificate course in Automation . This course will provide extensive coverage of Automation Basics which will cover the topics such as PLC,SCADA,Pneumatics, Sensor Technology, Electrical Systems & Designs, Relays & Timers, VSD etc
    Visit-http://plctrainingpune.in
    Call Us: +91 7304258511

    ReplyDelete
    Replies
    1. sir i have same arduino ethernet but not mac address plz tel me how to fine mac adress my shild whithut botom side stikar i have not see plz help me sir

      Delete
  42. Nice Website...
    Hey JOIN now fblikesbot.com and Increase Facebook Likes your profile and websites.
    Increase Facebook Likes and check your website worth worth my websites
    FB Likes and check your website worth Website Value Calculator
    Hot Wallpapersseo tools website
    its may be very beneficial for you also really

    ReplyDelete
    Replies
    1. sir i have same arduino ethernet but not mac address plz tel me how to fine mac adress my shild whithut botom side stikar i have not see plz help me sir

      Delete
    2. sir i have same problem .you got the answer??
      how can i cantact you .

      Delete
  43. sir i have same arduino ethernet but not mac address plz tel me how to fine mac adress my shild whithut botom side stikar i have not see plz help me sir

    ReplyDelete
  44. sir plz replay -+ i have not wotak wad pag opan but rx tx light blink but relay not working

    ReplyDelete
  45. Hey I need some help in this project. How can I contact you?

    ReplyDelete
  46. hey i need some help in this project . how can i contact you?

    ReplyDelete
  47. please where is the Infrared Receiver???

    please someone answer thanks

    ReplyDelete
  48. Sir when I upload the dhcp printer code the serial monitor shows
    "Failed to Configure ethernet using dhcp".
    I'm stuck here, what should I do next?

    ReplyDelete
  49. From what too did you draw all these circuit diagrams or what is the tool you usually use to draw logic gates diagrams? Is it creately ?

    ReplyDelete
  50. hey can you send me its project report please
    because i'm doing same project using,
    Arduino uno r3+ethernet sheild+Relay with concept of IOT

    ReplyDelete
  51. would it be possible to make it password protect?

    ReplyDelete
  52. how can i access from outside local network

    ReplyDelete
  53. verry esey this u have erthe net try u remove erther net shild your using esp8266 wifi shild

    ReplyDelete
  54. Hey i think this project will work if i enter my external ip address and port number (normally 80) and forward the port in my modem + router`s setting to the arduino....and so i`ll be able to switch my home lights on or off...from the internet..

    ReplyDelete
    Replies
    1. Plz Give me your Contact No. by SMS/Whatsapp-9890988743
      i'm trying this Project as BE Project.
      jivanp1993@gmail.com

      Delete
  55. Hey plz help me for this Project.. 9890988743

    ReplyDelete
  56. i am rohith
    please help me out
    iam working with esp 8266 wifi module and arduino
    iam unable to understand the interface and how the pointer are working
    .. 8688166675

    ReplyDelete

  57. Wonderful post. I am happy that I found your post while searching for awesome news and idea. Thanks! It is very useful and interesting website.

    Toronto security cameras | Toronto Control4

    ReplyDelete
  58. can you send me your full report? i am interested to make this project as my fyp. you can send it to my email jalwaazahidah@gmail.com

    ReplyDelete
  59. how to make connection is not clr pls send me circuit diagram to connect shild to ardiuno and relay

    ReplyDelete
  60. i used ua code in my project the relay is turning on but not turning off ... plzzzzz send me the required code in mail khnarshid20@gmail.com thanks in advance ... waiting for ua mail

    ReplyDelete
  61. Great article, I've read it completely and got answers of many things which i didn't knew before keep on posting good things. Please keep updating us.


    Video Surveillance Vancouver | Vancouver Security Cameras

    ReplyDelete
  62. Home automation systems are designed to be compatible with every kind of home and lifestyle,helping to make our daily lives easier and more comfortable.

    ReplyDelete
  63. can you send me your full report? i am interested to make this project as my fyp. you can send it to my email prasaanth71293@gmail.com

    ReplyDelete
  64. CSS file side is down!!!
    Hai the side is down the program is not showing the css file anymore Everything works but the buttons and page layout are gone.

    please help

    By Frank

    ReplyDelete
  65. Such a nice blog post. That is very nice project with cording that is easy to understand. I like it very much and more useful for my knowledge.Thank you for sharing this post.

    Audio visual Hamilton

    ReplyDelete
  66. Thanks for sharing such beneficial article with us.
    Guard Tour System

    ReplyDelete
  67. Thanks for sharing your project with us. This is very useful and informative for users. Please keep sharing with us.

    Home Automation Surrey | Security system New Westminster">

    ReplyDelete
  68. project is corrupt Shame on you for not answer help queation.

    ReplyDelete
  69. This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.

    Love from Pprogramming

    ReplyDelete
  70. This comment has been removed by the author.

    ReplyDelete
  71. Being just a shade beyond beginner I can say this is a great example of how to automate things using a ethernet shield and arduino. I did make one small change that may help other out when they try expanding upon the script.

    I receive a warning using an UNO that the above script used a lot of dynamic memory. I was able to decrease the dynamic memory usage from 92% down 26% by using the F() macro. Example changing all of the static client.println("what ever text is here"); text statements to client.println(F("what ever text is here")); Reference: http://blog.startingelectronics.com/a-comparison-of-arduino-sketch-sizes-in-memory/

    ReplyDelete
  72. Visit our website if you are looking for home based work.
    https://dockets.justia.com/docket/kentucky/kyedce/6:2015cv00161/78596

    ReplyDelete
  73. @ 4th pin what is the use of ir sensor ???????

    ReplyDelete
  74. They also sound your security system’s alarm when a criminal tries to gain entrance into your house. Smarter cctv system

    ReplyDelete
  75. how to check internet connectivity ?

    ReplyDelete
  76. When I upload code then show me this message "Low memory available, stability problems may occur."
    What should I do now???!!!!

    ReplyDelete
  77. Use a Mega. The program uses a lot of memory.

    ReplyDelete
    Replies
    1. Now, some how your code is runed... but CSS file is missing and LED is not working.. what should I
      do now?

      Delete
    2. download css into Dropbox publick, create a publick linh and put that one in the place off the one that is in the arduino.ino file.

      https://code.google.com/archive/p/arduino-autohome/downloads

      take a nice background put that one also in a dropbox public. create link and copy that into the css file aswell.

      should work see my example https://dl.dropboxusercontent.com/u/51943663/example.jpg
      running on uno with eternet mega and Nodemcu .

      Delete
  78. For who is interested. I did some work on this program and made it looks a lot better. I have made a CSS file and put it on my Dropbox. Now i can remotely change the background as i like ☺. the buttons made in a different color and ad a visibility to see if they are on or off.
    also added a Rf transmitter to is so i can remotely turn my lights off and on from the internet. the transmitter code is simple the tricky part is finding a remote socked 433 MHZ and read the code, but there are multiple side's that have ex samples.

    Also a DS3231 is added.

    here is a screen shot; ( tekst in button is Dutch but you can change that!)
    https://dl.dropboxusercontent.com/u/51943663/example.jpg
    if anyone wants too know more please let me know

    ReplyDelete
  79. Good day sir. I was about to make this project. I'm having a problem uploading dhcpprintersketch. It has errors like these:
    Arduino: 1.6.11 (Windows 7), Board: "Arduino/Genuino Uno"

    Sketch uses 12,494 bytes (38%) of program storage space. Maximum is 32,256 bytes.
    Global variables use 682 bytes (33%) of dynamic memory, leaving 1,366 bytes for local variables. Maximum is 2,048 bytes.
    avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified.

    I hope you could help me.
    Thank you.

    ReplyDelete
  80. in my version of this project
    i used a sensor(light sensor) hidden around the light source and through extended connections connected to the the arduino
    however i cannot put in the condition of when to switch them all off
    it works but i dont know how to perfect it
    any ideas??

    ReplyDelete


  81. I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people.
    Home Automation in Chennai
    smart home in Chennai
    Home security in Chennai
    Burglar alarm in Chennai
    Door sensors Chennai

    ReplyDelete
  82. I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people.
    Home Automation in Chennai
    smart home in Chennai
    Home security in Chennai
    Burglar alarm in Chennai
    Door sensors Chennai

    ReplyDelete
  83. Can u send me the details of this project on my email. I like to make it as my Final Year Project.
    prixitsharma3@gmail.com

    ReplyDelete
  84. how to make this project can be accessed in different network?

    ReplyDelete
  85. Did you read the code?

    if you look at this part
    ======================================
    byte mac[] = { 0x90, 0xA2, 0xDA, 0x0D, 0x78, 0xE0 }; // <------- PUT YOUR MAC Address Here


    byte ip[] = { 192, 168, 1, 102 }; // <------- PUT YOUR IP Address Here


    byte gateway[] = { 192, 168, 1, 254 }; // <------- PUT YOUR ROUTERS IP Address to which your shield is connected Here


    byte subnet[] = { 255, 255, 255, 0 }; // <------- It will be as it is in most of the cases


    EthernetServer server(80); // <------- It's Defaulf Server Port for Ethernet Shield
    ================================================================

    change port 80 to a port you would like.

    port forward it in your router.

    use external ip adres from your router ( 82.36.451.23: port number )

    than you can login to this webserver from the internet all over the world!

    good luck.

    ReplyDelete
  86. the line;

    use external ip adres from your router ( 82.36.451.23: port number )
    is an exsample you can find your external ip adres in your router.

    do not share this adres on this side or every one can swir your lights on or off!!☺

    ReplyDelete
    Replies
    1. thank you sir, when i change the ip to my public then i can login over the world. is there any way to turn on the led when the connection down? when we outside the house.

      Delete
  87. This comment has been removed by the author.

    ReplyDelete
  88. You can build it a if else statement in this skets. in de begin of the void loop there is already a line that checks the internet connection. just put the a else state and put there a port for the Ledstate HIGH and in the rest off the sketch ledstate low. make sure that you use } to close the else state or you will get a compile error. On the Arduino side you can find a good exsample for the if else state. Goodluck

    ReplyDelete
  89. and if you want to turn on a led without a internet connection sorry that is impossible.

    ReplyDelete
  90. let met try it, thank you sir
    i will reply the report soon

    ReplyDelete
  91. Hello Dhiraj,

    Can you please help me with the sketch for 8 relays and and password protection for the app.

    ReplyDelete
  92. Hello Dhiraj,

    Can you please help me with the sketch for 8 relays and and password protection for the app.

    ReplyDelete
  93. This comment has been removed by the author.

    ReplyDelete
  94. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgable things...
    Home Automation in Chennai
    smart home in Chennai
    Home security in Chennai
    Burglar alarm in Chennai
    Door sensors Chennai

    ReplyDelete
  95. This comment has been removed by the author.

    ReplyDelete
  96. i want uml diagrams for this project plz any one can help me

    ReplyDelete

  97. I can't access it from others network. what should I do now???

    ReplyDelete
  98. Check if your router has portforwarding, Then put the IP and port from your Aurduino in the port forwardingsection and check if that port is not been used by a other item in your router.
    succes.

    ReplyDelete
    Replies
    1. Please, Tell me something about port forwarding... I tried but failed.. :(

      Delete
  99. Great Work. This post is worth everyone’s attention. web design company in chennai

    ReplyDelete
  100. That fine project, but i want to do on proteus. what can i do? pls contact with on 123gmtekle@gmail.com

    ReplyDelete
  101. Informative article, just what I was looking for.seo services chennai

    ReplyDelete
  102. then control should directly navigate to home page of another application (as if both applications deployed in the same domain). Complete Home CCTV Systems

    ReplyDelete
  103. Nice blog post on Open Source Home Automation Project using Arduino UNO + Ethernet Shield. I can imagine having every operation in the house automated. On the positive side, there will be more time the family members to bond and spend time together and those studying can have more time to focus on their studies and access online writing services for help when Redoing Dissertation.

    ReplyDelete
  104. This is nice information on this blog regarding home appliances online, Thank you so much for this.

    ReplyDelete
  105. Will it work if i made a ajax get request with relay1on parameter ..?

    ReplyDelete
  106. Hello,

    I've designed a PCB for the Relais.

    ReplyDelete
  107. Your post is extremely helpful. I will keep following. Thank you for sharing this information.
    Website Design Companies Bangalore | Web Design Services Bangalore

    ReplyDelete
  108. N.S.C Electronics is leading air curtain manufacturers and air curtain suppliers in India, Mohali, Chandigarh, Delhi, Jaipur and other city also. 10 Years of experience. 09815048244

    air curtain manufacturers
    air curtain manufacturers in India
    air curtain suppliers
    Passbox manufacturers
    static pass box manufacturers
    dynamic pass box manufacturer India
    clean room pass box manufacturers

    ReplyDelete
  109. Contact #DIAC- 931 0096 831 and Get registered for the Summer Training starting from June 1st Week 2017 on Various Technologies like PLC & SCADA, Instrumentation, Embedded Systems, Robotics, AUTOCAD, EPLAN etc. 100% Job Oriented Training.

    ReplyDelete
  110. it is really amazing to read this type of article..it will help me to explore my services in Jaipur For
    ac service centre in Jaipur,
    ac repair in Jaipur,
    Split ac service centre in Jaipur,
    Window ac service centre in Jaipur

    ReplyDelete
  111. it is really amazing to read this type of article..it will help me to explore my services in Jaipur For
    ac service centre in Jaipur,
    ac repair in Jaipur,
    Split ac service centre in Jaipur,
    Window ac service centre in Jaipur

    ReplyDelete
  112. it is really amazing to read this type of article..it will help me to explore me in Jaipur For
    Bike on rent in Jaipur.

    ReplyDelete
  113. BramhaCorp offers 2 BHK & 3 BHK flats in Kharadi Pune , extension, Nearby EON IT Park with all Amenities and Conveniences Flats in Kharadi .

    ReplyDelete
  114. The locksmith services are really important for your safety too)

    ReplyDelete
  115. aoa sir can you provide code and circuit diagram i am very thankful to you chaudarybilal618@gmail.com

    ReplyDelete
    Replies
    1. it is all in the top off this article !!

      Delete
  116. which is one of the most stringent review sites online. Sydney CCTV Installation

    ReplyDelete
  117. Nice post http://www.selfcarinsurance.com

    ReplyDelete
  118. Very Usefull information shared than other blogs
    Thanks for Sharing and Keep updating.....

    ReplyDelete
  119. Hey, that’s really a good post on Electronics Appliances Classifieds Help Adya, i really like your blog as the information is very useful if you are a pet lover. Well, there is one more site for the same service www.helpadya.com you should check it for more detail.

    ReplyDelete
  120. Great Blog,I have read your blog its very helping this information i got in details it very cleared Thanks for sharing this and keep sharing Profx in Bangalore | Video Automation Company Bangalore | Amplifiers in Bangalore | Home theatre in Bangalore

    ReplyDelete
  121. Can truly relate and retain this outstanding post. Very well written. web design company Chennai

    ReplyDelete
  122. Apeejay Business Center Provides shared office space in pune and shared office space pune or temporary office space on Rent suitable to your Business in pune at competitive Rates.

    ReplyDelete
  123. Nice blog, Thanks to sharing information.If profx all type of appliance avaliable any details to visit us Profx in Bangalore | Video Automation Company Bangalore

    ReplyDelete
  124. Hi, my name is marlin. Good article, this is very interesting and can increase my knowledge. thank you for sharing. always success

    Arduino Tutorial For Begginers

    Arduino Uno Project For Beginners

    How To Reset Arduino Uno

    ReplyDelete
  125. can give me ur email?i have some question want ask u..

    ReplyDelete
  126. Hey your blog is very nice, such useful information you are sharing. I really like your blog the information is very accurate and if you want to know more about List of Television Dealer in Delhi service, there is another website with best information.

    ReplyDelete
  127. Nice Blog.Thanks For Sharing Information.
    Being One of prestigious office on rent in pune , ABCWorld offers spacious and ergonomically designed executive executive office space and office space in pune .

    ReplyDelete
  128. Hi Dear,

    i Like Your Blog Very Much..I see Daily Your Blog ,is A Very Useful For me.

    Construction Site HD CCTV Monitoring & Turnstile in London. We provide our customers efficient security services according to their needs at bisonsecurity.co.uk

    Visit Now - http://bisonsecurity.co.uk/

    Construction Site Monitoring

    ReplyDelete
  129. You have shared really an amazing and nice post about the iot,.
    hydroponics

    ReplyDelete
  130. BramhaCorp provides Spacious 2 BHK & 3 BHK flats in Bavdhan Pune and Shops in Bavdhan , with all modern properties in Pune and closely connected facilities Flats in Bavdhan.

    ReplyDelete
  131. Apeejay Business Center Provides shared office space in pune and shared office space pune or temporary office space on Rent suitable to your Business in pune at competitive Rates.

    ReplyDelete
  132. Apeejay Business Center Workspaces is a premium collaborative coworking space Pune. We have discover a coworking space where you can grow your professional networks.

    ReplyDelete


  133. Thanks for sharing such a great information..Its really nice and informative.

    123 HP Setup 6968

    ReplyDelete
  134. this project over internet? or only lan?

    ReplyDelete
  135. CXOs share their vision on how they are leveraging AI + automation + machine learning to drive higher efficiencies across organizations #Automation#changes#business#technology within their companies.Teb Shift

    ReplyDelete
  136. Nice blog..! I really loved reading through this article... Thanks for sharing such an amazing post with us and keep blogging...
    electromagnetic locks suppliers
    boom barriers

    ReplyDelete
  137. Very Nice Blog , I really reading this type blogs when then my mind its off and your blog information so good

    We bring you an Amazing Collection of Useful DIY Tools at Very Reasonable Prices. We do our utmost to ship out your orders and reply to your enquiries as quickly as possible. We guarantee our products with an easy return policy. Visit Here: DIY Tools

    ReplyDelete
  138. Join our DIAC for Knowledge Related to Industrial Automation Control & Field Instrumentation .(PLC / SCADA / HMI / VFD /DCS /PANEL DESIGN /CONTROL PANEL WIRING / FIELD INSTRUMENTS, AUTO CADD ,FINAL YEAR PROJECTS) Stay updated on the latest technological trends. Also contact us for academic projects/IPT/Workshops/Seminars for BE/ BTech /Diploma for all Department Students like ECE, EEE, MEC, EIE, ICE etc., & working professional . Join for bright career options ! Contact Number +91 9310096831.

    ReplyDelete
  139. Excellent information with unique content and it is very useful to know about the information based on blogs .
    | Home Automation in Bangalore

    ReplyDelete
  140. Hi guys, it feels good after reading your blog, really such useful information about Free Online Platforms For Buying & Selling. I like your blog there is another website same like yours check this www.helpadya.com.

    ReplyDelete
  141. Tooth Saviours Dental Clinic is Best Dental Clinic In Vaishali Nagar,chitrakoot Jaipur.Clinic Offer services like Root Canals,Oral Surgery,Whitening,Orthodentic,Implant and Dental Checkups in Jaipur.
    Dentist in Jaipur,
    Root Canal in Jaipur

    ReplyDelete
  142. Thanks for sharing excellent information.If you Are looking Best Website Development Company in jaipur,Website development Company in Jodhpur, Jodhpur, Bikaner,
    Udaipur,Kota and Ajmer than Please Have A CAll- +91-8426833930.You Are At Right Digital Consultant in jaipur.

    ReplyDelete