Instructables

Remote Home Automation Example - Arduino + Ethernet Shield

Picture of Remote Home Automation Example - Arduino + Ethernet Shield
Welcome again!

In this Instructable, I will detail how to use various sensors and items with an internet connected Arduino. In my opinion, this was a very fun project to put together and tinker with! Plus, I got to brush up on my HTML and Java (albeit, it was pretty basic stuff while making this project, there's nothing more refreshing than getting back to basics!). Unfortunately, as much as I'd like to, I will not be covering the SD portion of the Ethernet Shield. That's for next time :)

This project assumes that one has some working knowledge of basic HTML/Java, programming an Arduino, and working with various sensors. I will cover and detail as much as I can, as well as provide the sketch at the end of this tutorial.

--Objective--

We will program the Arduino to serve up a webpage that displays information about two sensors (LM35 Temperature Sensor, PIR Motion Sensor) and allows one to toggle an LED on and off, as well as adjust the angle of a Servo Motor.
 
Remove these adsRemove these ads by Signing Up

Step 1: Bill Of Materials

Picture of Bill Of Materials
For this project you will need -

-Arduino Uno
-Arduino Ethernet Shield
-PIR Motion Sensor
-LM35 Analog Temperature Sensor
-LED
-Servo Motor
-Jumper Wires
-Ethernet Cable

As far as software goes, the Arduino IDE should be the only one you should use. Now, to build a webpage to serve up, you will need to have a basic to intermediate knowledge of HTML. If there is one place I know to gain a good understanding of HTML (and Java, consequently) it's http://www.pageresource.com. That was and is my go to resource for making webpages. I was introduced to that page back in high school, and have referred to it since. A vast wealth of information there!

If you already have a good understanding of HTML and Java, you can move on :)
sebbou2 days ago

Wonderfull!!! This is simple and a really interesting base for future project!

Good job!

P.S. the first balise in your HTML code should be changed to "HTML" instead of "HMTL"...

jamjamchavez3 months ago

hi. my ethernet shield is not able to communicate with my LAN. I have uploaded your program to my Arduino, having the mac and IP addresses conforming with my network. I still can't access the webserver. :( please help. it always says that the webpage is not available.

loveisbetter5 months ago

hi i made this awesome project but the thing i want to know that i made 6 more buttons with this for other devices and i made tables for othe purpose please tell me devices are working but servo doesnot work even if i enter the servo code to activate the servo hte devices also stay idle and on any press nothing works what is this how many buttons can be here so they can work any help?? please

amnamrza9015 months ago

i actualy want to know how did you get this access.when i type ip i did not find webpage kindly instruct me to actual command which i have to follow

ip.JPG
amnamrza9015 months ago

kindly tell me what are the steps for webserver making i mean i downloaded ur file for sketch and also i saved html page with coding but now tell me what to do next to upload it on net so it can communicate with the arduino thank u

wabbas1 made it!7 months ago

impressive project (Y)...really enjoyed making as weekend project.
can you please help how to monitor ECG/EKG using this?
thanks in advance

IMG_20140509_013636.jpgScreenshot_2014-05-09-01-36-22.png
nofeel11 months ago

why you use formula x5x100x1024?? what value is it? thank you

yyyyazj1 year ago
Brilliant. I want to use Arduino Ethernet to control the LED by telephone, if I use the Arduino Ethernet as the websever, how can I transfer the state of buttons on telephone to Arduino?
pprins1 year ago
I like it , made something similar using Android and Arduino called X10Domuino.
It uses X10 and RF and Infrared with a single Arduino connected to Ethernet
Regards
Philip
AskMP1 year ago
Great to see you diving into this. I’m doing something similar for myself but using a spare laptop to connect to an Arduino. It’s running a local NodeJS server that is also connected to another cloud NodeJS server. These can communicate to one another and I can then monitor and control everything in real time. My plans are to add full voice recognition through the browser on multiple devices through Chrome’s voiceRecognitionServer protocol as well as it’s speech synthesis. Keep us updated on what other elements you add to your project.