Components Required

Image Component Quantity Available in Kit
evive 1
USB A-B Cable 1
ESP8266 Module (ESP-12) 1


The Internet of things is the interface of physical devices embedded with electronics, software, sensors, actuators, and network connectivity which enables these objects to connect and transfer data over the cloud.

In this tutorial, we are going to demonstrate Internet of Things by sending data to the thingspeak cloud platform.

In this tutorial to demonstrate any sensor, we are using potentiometer 1 of evive to read analog state and upload it to cloud.

Setting Up Thingspeak:

  • Go to
  • Click on Sign in or Sign up.
  • Link your Mathworks account. (optional till 10th January 2018)
  • In Channels tab click on my channels.
  • Click on new Channel.
  • Enter Name and Description
  • Add Fields as you need. (In our case one) 
  • Name your Fields ( In our case P1)
  • Save Channel.
  • Under API keys you can find Write API key.
  • Copy Write API key.
  • Start Arduino Programming.

Code Algorithm:

  • Include ESP8266 Library
  • Select your WiFi SSID and Password.
  • enter your Write API key in KEY
  • Connect WiFi.
  • Get IP address
  • Disable Multiplexing
  • Create a buffer for storing data.
  • Establish TCP connection to Host using host port.
  • Make an HTTP request using GET method
  • Receive data for debugging purpose.
  • Release TCP connection
  • Provide delay from 2s to 5s for proper operation.