An Arduino Room Monitoring Web Server

In this project, we will use Ethernet shield and Arduino to create a simple web server. Using the Ethernet library, the device will be able to answer a HTTP request with the Ethernet shield. After opening a browser and navigating to the Ethernet shield's IP address, the Arduino will respond with just enough HTML for a browser to display the data.

39 thoughts on “An Arduino Room Monitoring Web Server”

  1. Vinicius Carvalho

    Hey guys i need help i am building sort of like the same project but i am using dimmer lights and using Triac and zero crossing. I need help building the components on the board and coding please help me adaptar someone jjviniciusjj@gmail.com

  2. Hi,

    Nice to meet you.

    We are the WIZnet Team in India.

    We have been searching some application references in which WIZnet solution is applied and found your project “Arduino room monitoring webserver “. I. Your development looks very cool & smart.

    Recently we have developed WIZnet Museum (http://wiznetmuseum.com) site. This is an academic-purposed collection of open projects, tutorials, articles and etc from our global customers.
    If you are O.K. we would like to introduce your project and device in here. Hopefully, you will allow this.
    Hopefully, keep contacting us for the friendship.

    Thank you very much
    Wiznet team, India

  3. That’s awesome project man, btw, can I get coding of ur webpage? I don’t know how to changes a text indicator in webpage when pir sensor get some value..

  4. Remarkablᥱ tɦings here. Ⅰ’m very glad to see your post.
    Thanks a lоt ɑnd I’m looking ahеad to touсh you. Will you kindly drop me a mɑil?

  5. Suppose I create a dyndns account and configure the router’s DDNS settings, can I just type the host address(eg:myaccount568.dyndns.org) in the browser and connect to the Arduino ?

  6. What i do not realize is in fact how you’re no longer
    really much more neatly-favored than you might be now.
    You’re so intelligent. You already know thus significantly in the case of this subject,
    made me for my part believe it from numerous numerous
    angles. Its like women and men are not interested until it is something to
    do with Woman gaga! Your own stuffs great. All the time handle
    it up!

  7. Crear una empresa conlleva, no solo tener ideas, sino más bien asimismo cualidades personales, habilidades interpersonales y determinadas capacidades profesionales.

  8. Hi,
    5.Making a private IP visible to the Internet
    Currently my interface of my modem is totally different with the webpage have shown. i have found the port forwarding but the information need to key in is totally different with the page have shown can u guild me make my shield visible to the internet.
    Thanks for helping.

  9. Hi,

    i have buy the Ethernet shield but i cant find the exact code from the example.help please!!

    thanks.

  10. I am using P1 modem(DV-230) I downloaded the code and change the ip to 10.1.1.5 but it doesn’t work. Do I need to change some setting in the modem? And how I make it accessible by internet?

  11. hi great project

    how do i add more buttons to the code i have added the buttons but dont understand the code well enough to finish it please help this bit is ok

    // button functions
    client.println(“”);
    client.println(“Led On”);
    client.println(“Led Off”);
    client.println(“”);
    client.println(“Pump On”);
    client.println(“Pump Off”);

  12. Hi, Your page is so good!!
    I want to know how I should include button nbr 2 (on and off) for LED 2?
    Thank you so much!!!

  13. buttons are not notworking,pir motion and light sensor are working,some thing wrong in led on off button coding.

  14. Hi!
    I would like to know if the PIR sensor works when there is a object above it and it doesn’t move.
    The message will continue to be “motion detected”?
    Thanks

  15. Excellent i have been thinking of doing something similar.
    Ive already started with the mac and ip addresses OK.

    Can you please share the sketch code?

    Regards, T

  16. We’ve updated the source code.

    Only this 3 lines of code has been modified to suit the latest Arduino IDE:
    1. IPAddress ip(192,168,1,111);
    2. EthernetServer server(3178);
    3. EthernetClient client = server.available();

    Everything works fine at our site. Please feedback if you face any problem. Thanks!

  17. The author included the steps to do exactly what you need in the 5th point – Making a private IP visible to the Internet. And yes the keyword is port forwarding. Although the modems are different but the concept is there. I believe that dyndns.com only gives free trial by now. May be you can have a look at http://www.noip.com/

  18. Yes, it should be different from your modem’s IP address. If your modem’s IP address is 192.168.1.1, you should use, for example, 192.168.1.54 instead.

  19. Guys,

    byte ip[] = { 192, 168, 1, 111 };

    for this line, if my line IP is 192.168.1.1 , this line should be written as byte ip[] = { 192,168,1,1 ) ? Or it should be different so it wouldn’t clash.

    Regards,

  20. Hello! Good evening sir i would like to ask you about our design because i cant access my web controller using other network provider. what i want to tell is that can i access my web controller using other network connection through internet. I need your help sir im using TPLink TL-WR741ND version 4.22 i think its in port forwarding.

  21. Yes, it’s possible. Please browse through our tutorials on XBee too. You may discuss about any problem you encounter in our forum too.

  22. Guys,

    Is it possible if i stack an Xbee shield on top of the ethernet shield, and achieve wireless communication using Xbee S2?
    The sensor will be on another module of arduino uno+xbee shield+xbee. And the web server host will be arduino uno+ethernet shield+Xbee Shield+Xbee. The readings of the sensor will be transmitted to the web server host and the readings will be displayed on serial monitor.

    Is this possible? Appreciate detailed explanation or any links related.

    Regards,

  23. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment
    is added I get three e-mails with the same comment.
    Is there any way you can remove me from that service? Cheers!

  24. This article gives clear idea designed for the new visitors
    of blogging, that actually how to do blogging and site-building.

  25. hi. i am new to Arduino+Ethernet. i am working on same project. i connect my Arduino to BSNL dataone ZTE ZXDSL 531B modem. i port forward it. but i am not able to access my Aduino LED over internet. it works fine for local area but not out side the local network. please tell me what is going wrong?

  26. Hi, i also facing same problem with greg.. i can monitor PIR signal(i replace with pushbutton) but i cannot turn on and off the LED..

  27. This worked great for me using 022, but I am unable to get the led buttons to work using “IDE 1”. I’ve changed the sketch to add “EthernetServer” and “EthernetClient” where the compiler said server and client were not recognized. Are there any other lines that should be changed in the sketch that I’m missing (yes I’m a newbie). Any ideas would be appreciated

  28. hi, i’m doing a kind of web controlling using arduino too
    and i wanna ask bout how to refresh the page to specified address…
    in you example, the page just refresh to the last address which ended by b=2
    how can i refresh the page to http://192.168.xxx.xxx/ without the?b=2
    i’ve tried to change the line code for refreshing
    –> client.println(“”);
    but it doesn’t work…
    may i know how to make it success?
    thanks n wait for your kindly reply

    wynn

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorail

Raspberry Pi Line Following Robot with Maker Line
Magnetic Contact Switch Sensor with Arduino.
Control MDDS30 In Serial Simplified Mode Using Raspberry Pi
Control A Servo And Display Sensor’s Reading Using The GUI On Arduino.
USB Serial Communication Between Arduino and Raspberry Pi
Scroll to Top