IoT ESP8266 Series: 2- Monitor Data Through

About: I'm a passionate Solutions Engineer. I have my B.Sc. degree in Mechatronics Engineering, and doing my M.Sc. in Embedded Systems Engineering at one of top-rated universities in Germany

Intro: IoT ESP8266 Series: 2- Monitor Data Through

This is part two of IoT ESP8266 Series. To see part 1 refer to this instructable IoT ESP8266 Series: 1 Connect to WIFI Router.

This part aims to show you how to send your sensor data to one of the popular IoT free cloud service The data could be any data you would sense such: Temperature, Humidity, air pollution measurements or even GPS location .

Step 1: Set a ThingSpeak Channel


To set your ThingSpeak configuration do the following steps

  1. Sign up
  2. Make a new channel
  3. Name the channel (e.g. Weather, if you are monitoring weather data)
  4. set Fields ( e.g. Temp, if you are welling to measure temperature). You can add up-to 8 channels for every channel
  5. Remember your Channel ID
  6. Go to API Keys and remember yourWrite API Key

Step 2: Required Components and Circuit

    1. ESP8266 ESP-12E NodeMCU
    2. ts USB cable
    3. Potentiometer
    4. Breadboard and wires

    The Potentiometer‚ÄŹ output goes to A0 in the ESP8266, one side to GND and the other to 3.3 V

    Step 3: Code

    Download ThingSpeak Library and import it.

    Download my code

    Set myChannelNumber toyour Channel Number that you have already remembered.

    Set myWriteAPIKey to your Write API Key that you have already remembered.

    Step 4: Result

    Enjoy Watching your data

    Step 5: Next Part

    Follow us to see the next part of the series. It will be published soon



      • Audio Contest 2018

        Audio Contest 2018
      • Metalworking Contest

        Metalworking Contest
      • Tiny Home Contest

        Tiny Home Contest



      12 months ago

      Hello. This is great. I followed your first two esp8266 NodeMCU instructables and they were very easy and worked perfectly. I have one question: on ThingSpeak the graph collects a point from my potentiometer every ~15 seconds, is there a way to speed this up?