Online Temperature Monitoring Using Arduino + Ethernet Shield




Hi, today i will show you guy how to make arduino temperature online monitoring, this example is web-based that mean you can connect from anyplace, By combine AJAX and PHP together that can bring temperature data mostly realtime without refresh you web browser. I hope it will useful example and you can modify to monitor any data online ^^

Require parts.

1. Arduino and Ethernet Shiled

2. DS18B20 temperature sensor

3. Breadboard and Wire

4. Ethernet Cable with internet connection for your Arduino

5. Web server that support PHP (see more in Step 2)

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Start Wiring Things

Let's Wiring following the image above,

In the video i using sealed type of DS18B12 onewire sensor for waterproof reason and easy to demonstrate

Step 2: Upload Files and Get It Run!

you can get all code from this link at bottom of page.

When you unzip the files, following this step below

1. upload files in folder PHP&HTML to root of your web server, for local use or test you can config you PC as web server that support PHP by using Apache Server (plus with dynamic DNS you can get it online too). or if you want to get it online you need to get web hosting see more here.

2. open Temp_Monitor.pde file using Arduino IDE, then

- Config static ip address to match with you network if you don't have DNS assign from router.
at line :
IPAddress ip(192,168,0,177); // set static local IP address dns, gateway and subnet if it not assigned by DHCP

IPAddress dnServer(192, 168, 0, 1);

IPAddress gateway(192, 168, 0, 1);

IPAddress subnet(255, 255, 255, 0);

- Config your website address at line: "char server[] = ""; // Server URL"
and line : client.println("Host:"); // Server URL

Change it to your website address, Then Upload it into arduino.

3. Open Serial Monitor from IDE to see. if thing connect correctly server will responds

4. Open your website URL and see latest temp data online.
(for local hosted server call or your ip address) Have Fun.

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    6 Discussions


    3 years ago

    If the designer of this instructable is too irresponsible to update their post as requested especially when code is necessary to run this project, the instructable should be flagged or removed.


    4 years ago

    Link to Files is dead, can you upload to a new server


    4 years ago on Introduction

    I am afraid your links are dead... can you fix them? Love to try this one.


    4 years ago on Introduction

    Great Work !!

    Please fix the links, i cannot download the code

    Thanks for sharing

    Jose PhilipP

    5 years ago on Introduction

    great tutotial.. but is this working in android phone even if your far from the device?