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)

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.



    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest
    • Make it Glow Contest 2018

      Make it Glow Contest 2018

    6 Discussions


    2 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.


    3 years ago

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


    3 years ago on Introduction

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


    3 years ago on Introduction

    Great Work !!

    Please fix the links, i cannot download the code

    Thanks for sharing

    Jose PhilipP

    4 years ago on Introduction

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


    4 years ago on Introduction

    Link to Files is dead, can you upload to a new server or use Dropbox?