AIoT - 21AD3205 - Lab Manual Y20
AIoT - 21AD3205 - Lab Manual Y20
2023
Koneru
Lakshmaiah
Education
Foundation
Artificial
Intelligence &
Data Science
Department of AI&DS
Lab Workbook
Analytics for the IoT
(21AD3205)
2023-24 ODD Semester
Roll Number:
Name of the Student:
Lab Course Name:
Lab Course Code:
Year /Semester of Study:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Date
Pg. Marks Faculty
WEEK Experiment Name of
no. (50M) Sign
Exp.
1 Sense the Available Networks Using Arduino
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-1
Date: DD/MM/YYYY
Outcome:
Students are able to develop a program to find the Available Networks Using Arduino.
Pre Lab:
1. What is an IOT?
4. What is an Arduino?
6. What are the hardware communication interfaces present in the Arduino board?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
10. What are the hardware communication interfaces present in the Raspberry Pi
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
In Lab: EXP1:
AIM:
To write a program to sense the available networks using Arduino.
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING:
OUTPUT:
RESULT:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Post Lab:
1. How will an alarm device be made smart and alive using the internet? Assume that publish,
subscribe services for the flight expected arrival (ETA) and train ETA are available.
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-2
Date: DD/MM/YYYY
Outcome:
Students are able to Measure the Distance Using Ultrasonic Sensor and Make Led Blink Using
Arduino
Pre Lab:
2. What are the available wireless communications boards present in Raspberry Pi?
5. What is the syntax to read analog and digital data from a sensor in Arduino?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
8. What sensor and actuator are used to control any home appliances from any IOT devices in
wired mode?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
In Lab: EXP2:
AIM:
To write a program to measure the distance using ultrasonic sensor and make LED
blink using Arduino.
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING
OUTPUT:
RESULT
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Post Lab:
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-3
Date: DD/MM/YYYY
Outcome:
Pre Lab:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
In Lab: EXP3:
AIM:
To write a program to detects the vibration of an object with sensor using
Arduino.
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
OUTPUT:
RESULT:
Post Lab:
1. How is IIoT technology used in the optimising the bicycle manufacturing process?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-4
Date: DD/MM/YYYY
Outcome:
Students are able to Connect with the Available Wi-Fi Using Arduino.
Pre Lab:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
In Lab: EXP4:
AIM:
To write a program to connect with the available Wi-Fi using Arduino
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING
OUTPUT:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
RESULT:
Post Lab:
1. How does angular position in a servomotor shaft control using input pulse widths?
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-5
Date: DD/MM/YYYY
Outcome:
Students are able to Sense a Finger When it is Placed on Board Using Arduino.
Pre Lab:
4. What is default operating system of Raspberry pi, May i use any other operating systems?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
11. Explain how did you store the High-volume file like video or audio files into Arduino? can
you write a query to insert the data into Mongodb?
12. Explain how did you insert bulk data in Mongodb, can write query for that?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
In Lab: EXP5:
AIM:
To write a program to sense a finger when it is placed on the board Arduino.
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING:
OUTPUT:
RESULT:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Post Lab:
1. How does an RFID tag communicate and is read by a reader?vHow is an RFID tag secured?
2. Why does the RFID tag not create a network on its own? Why does it need a nearby reader
for creating s network of RFIDs?
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-6
Date: DD/MM/YYYY
Outcome:
Pre Lab:
4. Advantages of IOT?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
17. Who coined the term net( of Things (IoT) and when?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
In Lab: Exp-6
AIM:
To write a program to get temperature notification using Arduino.
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING:
OUTPUT:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
RESULT:
Post Lab:
1. How do sensors measure sound intensity, strain, flex, pressure, vibrations and motion?
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-7
Date: DD/MM/YYYY
Outcome:
Students are able to use LDR to Vary the Light Intensity of LED Using Arduino.
Pre Lab:
1. What role does the network play in the Internet of Everything?
4. What is the difference between the Internet of Things (IoT) and the Sensor Business?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
9. What impacts will the Internet of Things (IoT) have on Energy Sector?
10. What impacts will the Internet of Things (IoT) have on Agriculture Sector?
In Lab: Exp 7:
AIM:
To write a program for LDR to vary the light intensity of LED using Arduino.
COMPONENTS REQUIRED:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
BLOCK MODULE:
CODING:
OUTPUT:
RESULT:
Post Lab:
1. Why is an equation or table required to find the sensed parameter value from the sensor
circuit output? How is distance sensed?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-8
Date: DD/MM/YYYY
Outcome:
Pre Lab:
1. What are the IoT Softwares?
8. What are the critical parts that exist in the Internet of Things?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
9. How will the Internet of Things affect the manageability of the business and will it have any
effect on the earth?
10. Explain what is the job does the system play in the Internet of Everything?
13. Why will the Internet of Things be effective in the coming years?
14. What is the effect of the Internet of Things have on Healthcare segment?
15. What might be the effect of the Internet of Things hands on market, do you see any
conceivable activity cuts?
In Lab: Exp 8:
AIM:
To write a program to install MySQL database in Raspberry pi.
COMPONENTS REQUIRED:
BLOCK MODULE:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
CODING:
OUTPUT
RESULT:
Post Lab:
1. Consider Internet Automatic Chocolate Vending Machines (ACVMs). Assume that each
ACVM device nodes generates the following data points, child points and further children up
to the leaf and summary points.
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-9
Date: DD/MM/YYYY
Outcome:
Students are able to write SQL Queries by Fetching Data from Database in Raspberry Pi.
Pre Lab:
1. What is the best M2M application that is accessible on the planet?
2. What are the distinctive parts where the Internet of Things can really enhance the present
procedures?
3. What is the greatest distinction between Internet of Things and sensor organizations?
6. When you state Internet of Things, I’m not catching your meaning by the “thing”?
7. List out every one of the effects of the Internet of Things will be knowledgeable about the
Transportation business?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
9. What are the effects that can be seen in executing web of Things on Agriculture segment?
10. What are the dangers and difficulties that we ought to know about with regards to the Internet
of Everything?
11. What is Bluegiga APX4 convention for the Internet of Things (IOT)?
12. Explain why vitality utilization will be an issue when the Internet of Things is actualized?
13. Can you rattle off the organizations that are dealing with Internet of Things?
14. Will the accessibility of High-speed web be a noteworthy downside in the Internet of Things
advancement and usage?
15. What are the impacts of the Internet of Things will have on the human life?
In Lab: Exp 9:
AIM:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
To write a program to work with basic MySQL queries by fetching data from
database in Raspberry pi.
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING:
OUTPUT
RESULT:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Post Lab:
1. Suggest the data points and child points for the system events and messages, subscriptions for
the alerts to XMPP server and subscriptions to NimbitsServerC at the cloud.
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-10
Date: DD/MM/YYYY
Outcome:
Students are able to develop a model for Switch Light on and Off Based on the Input of User
Using Raspberry Pi.
Pre Lab:
1. What is implied by a Smart City, with regards to Internet Of Things (IoT)?
4. How Lack of Uniform Technical Standards may influence the Development and
Implementation of the Internet of Things (IoT)?
5. What is the contrast between the Internet of Things (IoT) and Machine to Machine (M2M)?
6. How Energy Consumption may influence the Development and Implementation of the
Internet of Things (IoT)?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
8. How High-Speed Internet may influence the Development and Implementation of the Internet
of Things (IoT)?
9. What effects will the Internet of Things (IoT) have on Manufacturing Sector?
11. What impact will the Internet of Things (IoT) have on our day by day lives?
12. What is contrast between Wireless Sensor Network (WSN) and Internet of Things (IoT)
arrange (sensor)?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
14. Explain the term IOT and how it will be usedful for human race.
17. Does the data provided by IOT devices can be used to take decisions directly?
20. What do you mean by smart cities and the role of IOT in it?
AIM:
To write a program to switch light on when the input is 1 and switch the
light off when the input is 0 using Raspberry pi.
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING:
OUTPUT:
RESULT:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Post Lab:
1. Give an example each for understanding the terms, ‘on-demand self-service’, ‘resource
pooling’, ‘network broad accessibility’, ‘elasticity’ and ‘measurability’
Pre-Lab (10M)
In-Lab(30M)
Post-Lab(10M)
TOTAL MARKS
(50M)
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-11
The aim of this experiment is to design and analyze The MQTT android application is connected with wireless
communication using the IoT server of MQTT.
Pre-Requisites:
This Section contains the list of Software/Tools or required knowledge (Glossary) to complete the task under
the Laboratory Session.
Pre Lab:
21. What is implied by a Smart City, with regards to Internet Of Things (IoT)?
22. What is GainSpan’s GS2000 Protocol for the Internet of Things (IoT)?
23. What dangers and difficulties ought to be considered in the Internet of Everything?
24. How Lack of Uniform Technical Standards may influence the Development and
Implementation of the Internet of Things (IoT)?
25. What is the contrast between the Internet of Things (IoT) and Machine to Machine (M2M)?
26. How Energy Consumption may influence the Development and Implementation of the
Internet of Things (IoT)?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
27. Who instituted the term Internet of Things (IoT) and when?
28. How High-Speed Internet may influence the Development and Implementation of the Internet
of Things (IoT)?
29. What effects will the Internet of Things (IoT) have on Manufacturing Sector?
31. What impact will the Internet of Things (IoT) have on our day by day lives?
32. What is contrast between Wireless Sensor Network (WSN) and Internet of Things (IoT)
arrange (sensor)?
34. Explain the term IOT and how it will be usedful for human race.
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
37. Does the data provided by IOT devices can be used to take decisions directly?
40. What do you mean by smart cities and the role of IOT in it?
In Lab:
AIM:
To write a program to switch light on when the input is 1 and switch the light off when the
input is 0 using Raspberry pi.
COMPONENTS REQUIRED:
CODING:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
OUTPUT:
RESULT:
Post Lab:
2. Give an example each for understanding the terms, ‘on-demand self-service’, ‘resource
pooling’, ‘network broad accessibility’, ‘elasticity’ and ‘measurability’
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-12
Experiment Title : Evaluate the dataset collected in IoT Environment using NumPy
Aim/Objective:
The aim of this experiment is to design and analyze n IoT systems, massive volumes of data must be processed,
transformed, and analyzed on a frequent basis to enable various IoT services and functionalities.
Pre-Requisites:
This Section contains the list of Software/Tools or required knowledge (Glossary) to complete the task under
the Laboratory Session.
Pre Lab:
41. What is implied by a Smart City, with regards to Internet Of Things (IoT)?
42. What is GainSpan’s GS2000 Protocol for the Internet of Things (IoT)?
43. What dangers and difficulties ought to be considered in the Internet of Everything?
44. How Lack of Uniform Technical Standards may influence the Development and
Implementation of the Internet of Things (IoT)?
45. What is the contrast between the Internet of Things (IoT) and Machine to Machine (M2M)?
46. How Energy Consumption may influence the Development and Implementation of the
Internet of Things (IoT)?
47. Who instituted the term Internet of Things (IoT) and when?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
48. How High-Speed Internet may influence the Development and Implementation of the Internet
of Things (IoT)?
49. What effects will the Internet of Things (IoT) have on Manufacturing Sector?
51. What impact will the Internet of Things (IoT) have on our day by day lives?
52. What is contrast between Wireless Sensor Network (WSN) and Internet of Things (IoT)
arrange (sensor)?
54. Explain the term IOT and how it will be usedful for human race.
57. Does the data provided by IOT devices can be used to take decisions directly?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
60. What do you mean by smart cities and the role of IOT in it?
In Lab:
AIM:
To write a program to switch light on when the input is 1 and switch the light off when the
input is 0 using Raspberry pi.
COMPONENTS REQUIRED:
CODING\
OUTPUT:
RESULT:
Post Lab:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
3. Give an example each for understanding the terms, ‘on-demand self-service’, ‘resource
pooling’, ‘network broad accessibility’, ‘elasticity’ and ‘measurability’
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
WEEK-13
Experiment Title : Evaluate the dataset collected in IoT Environment using Pandas
Aim/Objective:
The aim of this experiment is to design and analyze Dataset collection and description: A virtual IoT
environment is created using the Distributed Smart Space Orchestration System (DS2OS) Description:
Pre Lab:
61. What is implied by a Smart City, with regards to Internet Of Things (IoT)?
62. What is GainSpan’s GS2000 Protocol for the Internet of Things (IoT)?
63. What dangers and difficulties ought to be considered in the Internet of Everything?
64. How Lack of Uniform Technical Standards may influence the Development and
Implementation of the Internet of Things (IoT)?
65. What is the contrast between the Internet of Things (IoT) and Machine to Machine (M2M)?
66. How Energy Consumption may influence the Development and Implementation of the
Internet of Things (IoT)?
67. Who instituted the term Internet of Things (IoT) and when?
68. How High-Speed Internet may influence the Development and Implementation of the Internet
of Things (IoT)?
69. What effects will the Internet of Things (IoT) have on Manufacturing Sector?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
71. What impact will the Internet of Things (IoT) have on our day by day lives?
72. What is contrast between Wireless Sensor Network (WSN) and Internet of Things (IoT)
arrange (sensor)?
74. Explain the term IOT and how it will be usedful for human race.
77. Does the data provided by IOT devices can be used to take decisions directly?
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
80. What do you mean by smart cities and the role of IOT in it?
In Lab:
AIM:
To write a program to switch light on when the input is 1 and switch the light off when the
input is 0 using Raspberry pi.
COMPONENTS REQUIRED:
BLOCK MODULE:
CODING
OUTPUT:
----------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
RESULT:
Post Lab:
4. Give an example each for understanding the terms, ‘on-demand self-service’, ‘resource
pooling’, ‘network broad accessibility’, ‘elasticity’ and ‘measurability’
----------------------------------------------------------------------------------------------------------------------------------------------------