Difference between revisions of "Arduino/C3/Introduction-to-IoT/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " {| style="border-spacing:0;" | style="background-color:#b4a7d6;border:1pt solid #000000;padding:0.176cm;"| Visual Cue | style="background-color:#b4a7d6;border:1pt solid #0000...")
 
 
Line 14: Line 14:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In this tutorial, we will learn about:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In this tutorial, we will learn about:
  
* '''IoT (Internet of Things)'''
+
* '''Internet of Things IOT'''
 
* Working of '''IoT'''
 
* Working of '''IoT'''
 
* '''ThingSpeak''' platform  
 
* '''ThingSpeak''' platform  
Line 23: Line 23:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To follow this tutorial, you should have a basic knowledge of:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To follow this tutorial, you should have a basic knowledge of:
  
* Arduino  
+
* '''Arduino'''
* DHT11 Sensor and ESP8266-01 module  
+
* '''DHT11 Sensor''' and '''ESP8266-01 module'''
* If not, then go through the relevant Arduino spoken tutorials on this website.
+
* If not, then go through the relevant '''Arduino''' spoken tutorials on this website.
  
 
|-
 
|-
Line 33: Line 33:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To record this tutorial, I am using:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To record this tutorial, I am using:
  
* Ubuntu Linux 16.04 OS
+
* '''Ubuntu Linux''' 16.04 OS
  
 
|-
 
|-
Line 39: Line 39:
  
 
IoT - Internet of Things
 
IoT - Internet of Things
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| * '''IoT''' is a network of physical devices with sensors and embedded software  
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"|  
* These devices connect to the internet and exchange data.
+
* '''IoT''' is a network of physical '''devices''' with '''sensors''' and '''embedded software'''
 +
* These '''devices''' connect to the '''internet''' and exchange '''data'''.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| IoT- Example - smart home
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| IoT- Example - smart home
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| * One of the most common examples of IoT is “Smart Home”.  
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"|  
* It allows you to control devices connected to the internet from home or anywhere.
+
* One of the most common examples of '''IoT''' is “Smart Home”.  
 +
* It allows you to control '''devices''' connected to the '''internet''' from home or anywhere.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Image''' Smart Supply Chain.png'''
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Image''' Smart Supply Chain.png'''
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Smart supply chains help in real time tracking of goods while they are on the road.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Smart '''supply chains''' help in real time tracking of goods while they are on the road.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Image''' Activity Tracker.png'''
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Image''' Activity Tracker.png'''
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Activity Trackers helps to capture heart rate pattern, calorie expenditure etc
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Activity Trackers''' helps to capture heart rate pattern, calorie expenditure etc
  
 
|-
 
|-
Line 59: Line 61:
  
 
Working of IOT:
 
Working of IOT:
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| IoT systems has 4 main components:
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''IoT systems''' has 4 main components:
  
* Sensor
+
* '''Sensor'''
* Connectivity
+
* '''Connectivity'''
* Data Processing
+
* '''Data Processing'''
* User Interface
+
* '''User Interface'''
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to sensors
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to sensors
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Sensors collect the data from the surrounding environment where the IoT system is kept.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Sensors''' collect the '''data''' from the surrounding environment where the '''IoT system''' is kept.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to connectivity
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to connectivity
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The data collected by the sensors need to be sent to the end user.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The '''data''' collected by the '''sensors''' need to be sent to the '''end user'''.
  
We can use any wireless communications to send and receive data.
+
We can use any '''wireless communications''' to send and receive '''data'''.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to Data Processing
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to Data Processing
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Data processing involves checking the format or type of data sent by the sensor.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Data processing''' involves checking the '''format''' or type of '''data''' sent by the '''sensor'''.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to user interface
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to user interface
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The raw data which was collected by the sensor is delivered in synchronized form to the end user.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The raw '''data''' which was collected by the '''sensor''' is delivered in synchronized form to the '''end user'''.
  
 
|-
 
|-
Line 88: Line 90:
  
 
About Thinkspeak
 
About Thinkspeak
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| We will use '''ThinkSpeak''' platform to demonstrate the working of IoT.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| We will use '''ThinkSpeak''' platform to demonstrate the working of '''IoT'''.
  
 
* '''ThingSpeak''' platform is free and open to all users.
 
* '''ThingSpeak''' platform is free and open to all users.
* It allows you to control and monitor your '''IoT''' devices.
+
* It allows you to control and monitor your '''IoT devices'''.
* It creates an IoT dashboard for data analyzation and visualization.
+
* It creates an '''IoT dashboard''' for '''data analyzation''' and '''visualization'''.
  
 
|-
 
|-
Line 100: Line 102:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Let us go to '''Thingspeak''' webpage.
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Let us go to '''Thingspeak''' webpage.
  
* Open the web browser in your computer and go to this link:
+
Open the '''web browser''' in your computer and go to this '''link'''.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"|  
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"|  
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| First we have to create an account in '''Thingspeak''' before proceeding further.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| First we have to create an '''account''' in '''Thingspeak''' before proceeding further.
  
 
|-
 
|-
Line 116: Line 118:
  
 
Click on continue
 
Click on continue
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Below the Email textbox, click on '''Create one''' option to create a user account for yourself.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Below the '''Email textbox''', click on '''Create one''' option to create a '''user account''' for yourself.
  
In the Email address column, enter your working email ID.  
+
In the '''Email address''' column, enter your working '''email ID'''.  
  
In the location section, select the country you are living in.
+
In the '''Location''' section, select the country you are living in.
  
 
Enter your first and last name in respective columns.
 
Enter your first and last name in respective columns.
  
Click on the '''continue''' button.
+
Click on the '''Continue''' button.
  
 
|-
 
|-
Line 131: Line 133:
 
Click on the '''continue''' button.
 
Click on the '''continue''' button.
  
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To use this application as a '''MATLAB''' platform, you must enter your work or organization email ID.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To use this application as a '''MATLAB''' platform, you must enter your work or '''organization email ID'''.
  
 
In this tutorial, we will not use the '''MATLAB''' platform.
 
In this tutorial, we will not use the '''MATLAB''' platform.
  
Click on the Checkbox for “'''Use this email for my MathWorks Account”.'''
+
Click on the checkbox for “'''Use this email for my MathWorks Account”.'''
  
Then click on the '''continue''' button.
+
Then click on the '''Continue''' button.
  
 
|-
 
|-
Line 145: Line 147:
  
 
Click on''' verify your email '''button.
 
Click on''' verify your email '''button.
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| You will receive a message to verify your email ID for this website. Open the email and click on''' verify your email '''button.It will show as “ '''Your profile was verified”.'''
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| You will receive a message to verify your '''email ID''' for this website.  
 +
 
 +
Open the '''email''' and click on''' Verify your email '''button.
 +
 
 +
It will show as “ '''Your profile was verified”.'''
  
 
|-
 
|-
Line 152: Line 158:
 
Click on '''continue'''.
 
Click on '''continue'''.
  
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Go back to your login page and click on '''continue'''.You will be asked to create a password for your '''ThingSpeak''' account.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Go back to your '''login page''' and click on '''Continue'''.
  
Type your password and click on the '''Online Service Agreement '''
+
You will be asked to create a '''password''' for your '''ThingSpeak account'''.
checkbox.
+
  
Click on '''continue'''.
+
Type your '''password''' and click on the '''Online Service Agreement ''' checkbox.
 +
 
 +
Click on '''Continue'''.
  
 
|-
 
|-
Line 163: Line 170:
  
 
Click on the OK button.
 
Click on the OK button.
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| A '''Sign-up Successful '''screen appears with your registered email ID.Click on the OK button.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| A '''Sign-up Successful '''screen appears with your '''registered email ID'''.
 +
 
 +
Click on the '''OK''' button.
  
 
|-
 
|-
Line 169: Line 178:
  
 
Click on the OK button.
 
Click on the OK button.
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| It will finally ask the Intent of using '''ThingSpeak''' platform.Select '''personal, non commercial projects '''and click on the OK''' button'''.Close the current tab and open the following link in a new tab[https://thingspeak.com/login https://thingspeak.com/login]
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| It will finally ask the intent of using '''ThingSpeak''' platform.
 +
 
 +
Select '''Personal, non commercial projects '''and click on the '''OK''' button.
 +
 
 +
Close the current tab and open the following link in a new tab.
  
 
|-
 
|-
Line 175: Line 188:
  
 
Click on New channel buton
 
Click on New channel buton
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Login to your '''ThingSpeak''' account with your registered email ID and password.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Login''' to your '''ThingSpeak account''' with your '''registered email ID''' and '''password'''.
  
 
Click on the '''New Channel''' button.
 
Click on the '''New Channel''' button.
Line 182: Line 195:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Create New Channel with the information
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Create New Channel with the information
  
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will give the channel name as '''DHT11_IoT'''.
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will give the '''channel''' name as '''DHT11_IoT'''.
  
In the description field, I will give the description as '''IoT, DHT11, ESP8266-01.'''
+
In the '''Description''' field, I will give the description as '''IoT, DHT11, ESP8266-01.'''
  
lt makes it easy for others to find your channel on '''ThingSpeak server''' if you wish to publish it.
+
It makes it easy for others to find your '''channel''' on '''ThingSpeak server''' if you wish to '''publish''' it.
  
 
As we want to save temperature and humidity data, type '''Temperature''' in '''Field 1'''  
 
As we want to save temperature and humidity data, type '''Temperature''' in '''Field 1'''  
Line 192: Line 205:
 
Click on the '''Field 2''' checkbox and type '''Humidity'''.
 
Click on the '''Field 2''' checkbox and type '''Humidity'''.
  
Now scroll down to the bottom of the page. Click on the '''Show Status '''check box.
+
Now scroll down to the bottom of the page.  
 +
Click on the '''Show Status '''check box.
  
Now click on the '''Save Channel''' button.This is how the graph outline will look once the channel is created.
+
Now click on the '''Save Channel''' button.
 +
 
 +
This is how the '''graph outline''' will look once the '''channel''' is created.
  
 
|-
 
|-
Line 200: Line 216:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Click on the '''API Keys''' option on the top menu.
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Click on the '''API Keys''' option on the top menu.
  
Once the channel is created, it will generate a Write''' API key''' and '''Read API key'''.
+
Once the '''channel''' is created, it will generate a '''Write API key''' and '''Read API key'''.
  
API key is called '''Application Programming Interface''' key.
+
'''API key''' is called '''Application Programming Interface key'''.
  
These are '''16 digit code''' used for programming purposes.
+
These are '''16 digit code''' used for '''programming''' purposes.
  
 
|-
 
|-
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to the keys
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to the keys
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Write API''' key is needed when you want to store data in the channel
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Write API''' key''' is needed when you want to store '''data''' in the '''channel'''.
  
'''Read API''' key is needed when you want to retrieve the data already stored in the channel.
+
'''Read API key''' is needed when you want to retrieve the '''data''' already stored in the '''channel'''.
  
 
|-
 
|-
Line 216: Line 232:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| From the '''generated API keys''', we will need the''' Write API key''' while writing the code.
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| From the '''generated API keys''', we will need the''' Write API key''' while writing the code.
  
Copy the '''Write API key''' and paste it in any text editor like '''Notepad'''.
+
Copy the '''Write API key''' and paste it in any '''text editor''' like '''Notepad'''.
  
 
We will require this key for future use.
 
We will require this key for future use.
Line 226: Line 242:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In the next tutorial, we will see how to  
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In the next tutorial, we will see how to  
  
* Collect '''temperature and humidity''' values given by '''DHT11 '''Sensor
+
* Collect temperature and humidity values given by '''DHT11 Sensor'''
* Store and visualize sensor readings in the '''ThingSpeak''' platform
+
* Store and visualize '''sensor''' readings in the '''ThingSpeak''' platform
* Download the data in '''CSV''' file from the '''ThingSpeak''' platform
+
* Download the '''data''' in '''CSV''' file from the '''ThingSpeak''' platform
  
 
|-
 
|-
Line 240: Line 256:
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In this tutorial, we learnt :
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In this tutorial, we learnt :
  
* '''IoT (Internet of Things)'''
+
* '''Internet of Things'''
 
* Working of '''IoT'''
 
* Working of '''IoT'''
 
* '''ThingSpeak''' platform  
 
* '''ThingSpeak''' platform  
Line 258: Line 274:
 
Spoken Tutorial workshops
 
Spoken Tutorial workshops
  
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The''' Spoken Tutorial Project''' Team:
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The''' Spoken Tutorial Project''' Team conducts workshops and gives certificates.
 
+
* conducts workshops and
+
* gives certificates.
+
  
 
For more details, please write to us.
 
For more details, please write to us.

Latest revision as of 18:57, 30 October 2020

Visual Cue Narration
Slide 1: Welcome to the Spoken Tutorial on Introduction to IOT.
Slide 2:

Learning Objective

In this tutorial, we will learn about:
  • Internet of Things IOT
  • Working of IoT
  • ThingSpeak platform
Slide 3:

Pre-Requisites

To follow this tutorial, you should have a basic knowledge of:
  • Arduino
  • DHT11 Sensor and ESP8266-01 module
  • If not, then go through the relevant Arduino spoken tutorials on this website.
Slide 4:

System Requirement

To record this tutorial, I am using:
  • Ubuntu Linux 16.04 OS
Slide 5:

IoT - Internet of Things

  • IoT is a network of physical devices with sensors and embedded software
  • These devices connect to the internet and exchange data.
IoT- Example - smart home
  • One of the most common examples of IoT is “Smart Home”.
  • It allows you to control devices connected to the internet from home or anywhere.
Image Smart Supply Chain.png Smart supply chains help in real time tracking of goods while they are on the road.
Image Activity Tracker.png Activity Trackers helps to capture heart rate pattern, calorie expenditure etc
Slide 6:

Working of IOT:

IoT systems has 4 main components:
  • Sensor
  • Connectivity
  • Data Processing
  • User Interface
Point to sensors Sensors collect the data from the surrounding environment where the IoT system is kept.
Point to connectivity The data collected by the sensors need to be sent to the end user.

We can use any wireless communications to send and receive data.

Point to Data Processing Data processing involves checking the format or type of data sent by the sensor.
Point to user interface The raw data which was collected by the sensor is delivered in synchronized form to the end user.
Slide:

About Thinkspeak

We will use ThinkSpeak platform to demonstrate the working of IoT.
  • ThingSpeak platform is free and open to all users.
  • It allows you to control and monitor your IoT devices.
  • It creates an IoT dashboard for data analyzation and visualization.
Open the browser.

https://thingspeak.com/login

Let us go to Thingspeak webpage.

Open the web browser in your computer and go to this link.

First we have to create an account in Thingspeak before proceeding further.
How to create an user account

Open this page in browser

https://thingspeak.com/login

Enter email id, location, first and last name

Click on continue

Below the Email textbox, click on Create one option to create a user account for yourself.

In the Email address column, enter your working email ID.

In the Location section, select the country you are living in.

Enter your first and last name in respective columns.

Click on the Continue button.

Click on the Checkbox

Click on the continue button.

To use this application as a MATLAB platform, you must enter your work or organization email ID.

In this tutorial, we will not use the MATLAB platform.

Click on the checkbox for “Use this email for my MathWorks Account”.

Then click on the Continue button.

Point to the message

Open the email

Click on verify your email button.

You will receive a message to verify your email ID for this website.

Open the email and click on Verify your email button.

It will show as “ Your profile was verified”.

Type the password

Click on continue.

Go back to your login page and click on Continue.

You will be asked to create a password for your ThingSpeak account.

Type your password and click on the Online Service Agreement checkbox.

Click on Continue.

Point to the message

Click on the OK button.

A Sign-up Successful screen appears with your registered email ID.

Click on the OK button.

Select personal, non commercial projects

Click on the OK button.

It will finally ask the intent of using ThingSpeak platform.

Select Personal, non commercial projects and click on the OK button.

Close the current tab and open the following link in a new tab.

Login to Thingspeak

Click on New channel buton

Login to your ThingSpeak account with your registered email ID and password.

Click on the New Channel button.

Create New Channel with the information I will give the channel name as DHT11_IoT.

In the Description field, I will give the description as IoT, DHT11, ESP8266-01.

It makes it easy for others to find your channel on ThingSpeak server if you wish to publish it.

As we want to save temperature and humidity data, type Temperature in Field 1

Click on the Field 2 checkbox and type Humidity.

Now scroll down to the bottom of the page. Click on the Show Status check box.

Now click on the Save Channel button.

This is how the graph outline will look once the channel is created.

Click on the API Keys Click on the API Keys option on the top menu.

Once the channel is created, it will generate a Write API key and Read API key.

API key is called Application Programming Interface key.

These are 16 digit code used for programming purposes.

Point to the keys Write API key is needed when you want to store data in the channel.

Read API key is needed when you want to retrieve the data already stored in the channel.

From the generated API keys, we will need the Write API key while writing the code.

Copy the Write API key and paste it in any text editor like Notepad.

We will require this key for future use.

Slide 7:

Brief about next tutorial

In the next tutorial, we will see how to
  • Collect temperature and humidity values given by DHT11 Sensor
  • Store and visualize sensor readings in the ThingSpeak platform
  • Download the data in CSV file from the ThingSpeak platform
With this we come to the end of this tutorial. Let us summarize.
Slide 8:

Summary

In this tutorial, we learnt :
  • Internet of Things
  • Working of IoT
  • ThingSpeak platform
Slide 9:

About Spoken Tutorial project

The video at the following link summarizes the Spoken Tutorial project.

Please download and watch it.

Slide 10 :

Spoken Tutorial workshops

The Spoken Tutorial Project Team conducts workshops and gives certificates.

For more details, please write to us.

Slide 11:

Forum for specific questions

Please post your timed queries in this forum.
Slide 12:

Acknowledgement

The Spoken Tutorial project is funded by MHRD, Government of India.
This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.

Thank you for watching.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat