IoT Based Temperature Monitoring System





Introduction: IoT Based Temperature Monitoring System

About: Technology enthusiastic, crazy about embedded system, love Arduino and raspberry pi.

Hello everyone

Today I am going to design an IoT(Internet of Things) based room temperature monitoring system.

Here I will use esp8266 to connect to the internet.

Step 1: Things Required

1) Arduino UNO (Any arduino board)

2) ESP01 (esp8266 family)

3) LM35 (Temperature sensor)

Step 2: Setting Thingspeak Account

According to its developers, "ThingSpeak is an open source Internet of Things (IoT) application and API to store and retrieve data from things using the HTTP protocol over the Internet or via a Local Area Network. ThingSpeak enables the creation of sensor logging applications, location tracking applications, and a social network of things with status updates

Go to and sign up with your MATLAB account. If you don't have then create one.

Step 3: Creating Channel

To make a private channel on follow these steps:

1) Open your web browser and go to and click on 'Sign Up' tab in right top corner.

2) Fill in the details and click on 'Create account'.

3) Now click on 'New Channel' tab.

4) Again fill in details for channel and enable 1 fields (as we will be sending 1 sensor values), scroll down and click on 'Save Channel' tab.

5)On this page click on 'API Keys' tab and note down your 'Write API Key' and past it to your arduino code.

That's all folks, now you have your private ThingSpeak channel.
Now lets put all electronics component together.

Step 4: Circuit Diagram

Connect the wires.

Step 5: Code

Use you own API key, and change the SSID and password.

github code

Step 6: Online Monitoring

After burning the code login to and click private view. You can edit the channel and check the public view to monitor without login.




    • Oil Contest

      Oil Contest
    • Clocks Contest

      Clocks Contest
    • Water Contest

      Water Contest

    8 Discussions


    5 weeks ago


    I'm trying to compile the code and it gives an stdlib.h error. Can you help me?

    Thank you for suggesting. My next instructable will be on that.

    Dear Adil

    can you show how the same system could be run with temperature sensor ds18b20. is the wiring diagram is the same , what do I need to modify in the code. manythanks Ahmed

    Can you tell why there are some missing points in the graphs? In my application it also happens some times.

    2 replies

    The ESP8266 needs its own 3.3V power supply. There isn't enough juice from the arduino 3.3V pin.

    to Adil95b and others..... Make sure you use the library ThinkSpeak.h which makes these applications so much simpler.