IoT 1 Unit
IoT 1 Unit
Abhipsa Mahala
Department of Computer Science and Engineering
C V Raman Global University
Vision & Mission
Vision of the C. V. Raman Global University: To emerge as a global leader in the area of higher education through the
pursuit of excellence with future of skills and innovation to match the ever changing global scenario.
Vision of the Department of CSE : To become a leader in providing high quality education and research in the area of
Computer Science, Information Technology, and allied areas.
Dept. of
Program Outcome (PO)
Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering specialization for the solution of complex engineering
problems.
Problem analysis: Identify, formulate, research literature, and analyze complex engineering problems reaching substantiated conclusions using first principles of mathematics,
natural sciences, and engineering sciences.
Design/development of solutions: Design solutions for complex engineering problems and design system components or processes that meet the specified needs with appropriate
consideration for public health and safety, and cultural, societal, and environmental considerations.
Conduct investigations of complex problems: Use research-based knowledge and research methods including design of experiments, analysis and interpretation
of data, and synthesis of the information to provide valid conclusions.
Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering and IT tools, including prediction and modeling
to complex engineering activities, with an understanding of the limitations.
The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal, and cultural issues and the consequent responsibilities
relevant to the professional engineering practice.
Environment and sustainability: Understand the impact of the professional engineering solutions in societal and environmental contexts, and demonstrate
the knowledge of, and need for sustainable development.
Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice.
Individual and team work: Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings.
Communication: Communicate effectively on complex engineering activities with the engineering community and with the society at large, such as, being able to comprehend
and write effective reports and design documentation, make effective presentations, and give and receive clear instructions.
Life-long learning: Recognize the need for, and have the preparation and ability to engage in independent and life-long learning in the broadest context of technological change.
PROGRAM EDUCATIONAL OBJECTIVE (PEO)
PEO1- To provide the fundamental knowledge in mathematics, science and engineering concepts for the
development of engineering system (Fundamental Knowledge).
PEO2- To apply current industry accepted computing practices and emerging technologies to analyze,
design, implement, test and verify high quality computing systems and computer based solutions to real
world problems (Design and development).
PEO3- To enable the use of appropriate skill sets and its applications towards social impacts of
computing technologies in the career related activities (Skill Set) and to produce Efficient team leaders,
effective communicators and capable of working in multi-disciplinary environment following ethical
values(Communication).
PEO4- To practice professionally and ethically in various positions of industry or government and/or
succeed in graduate (Professionalism) with lifelong learning and to make substantial contributions to
the society (Societal Contribution)
SYLLABUS
Introduction to Internet of Things, definition, characteristics & History. Architecture: M2M – Machine to Machine, Web of Things Physical Design of IoT- Things in IoT, Logical
Design of IoT- IoT Functional Blocks, IoT Enabling Technologies- Wireless Sensor Networks, Cloud Computing, Big Data Analytics, Communication Protocols, Embedded
Unit – I Systems, IoT Levels & Deployment Templates
IoT in Monitoring and Control Applications : Few case studies on Structural Health Monitoring, Surveillance, Emergency Response, Environment-Weather Monitoring, Air
Unit – II Pollution Monitoring , Air Quality Monitoring Noise Pollution Monitoring, Forest Fire Detection , River Floods Detection
IoT Communication Models, IoT Communication APIs, IoT protocols and Applications: Remote Monitoring & Sensing, Remote Controlling, Performance Analysis The
Unit – III Architecture The Layering concepts , IoT Communication Pattern, IoT protocol Architecture, The 6LoWPAN Security aspects in IoT.
IoT Application Development: Application Protocols MQTT, REST/HTTP,CoAP, MySQLBack-end Application Designing Apache for handling HTTP Requests, PHP & MySQL for
Unit – IV data processing, MongoDB Object type Database, Application Development for mobile Platforms: Overview of Android / IOS App Development tools
IoT Platforms Design Methodology IoT Design Methodology-Purpose & Requirements Specification ,Process Specification, Domain Model Specification, Information Model
Specification , Service Specifications , IoT Level Specification, Functional View Specification , Operational View Specification , Device & Component Integration , Use of Big Data
Unit – V and Visualization in IoT, Industry 4.0 concepts.
Course Outcome Assessment Scheme:
Reference books:-
The Internet of Things, by Michael Miller , Pearson
Contents
• Introduction
• Characteristics
• Application
• Architecture
• Physical design of IoT
• Logical design of IoT
• IoT Levels
• IoT Enabling Technologies
Introduction
What is IoT ?
IoT refers to the collection of all those devices that have the ability to
connect to the Internet for the purpose of collect and share data.
IoT is an ecosystem of connected physical objects that are accessible
through internet.
IoT actually means taking all the things in the world and connecting it
to the internet.
When a thing connected to internet it can send information, receive
information and do both which makes thing smart.
Device that collect data by the help of sensor and actuators.
Devices that can be a
part of IoT:
• Phone
• Laptop
• Watches
• Refrigerator
• Washing machine
• Cars
• Home
How all this actually happens:-
Characteristics of IoT
• Connectivity
• Intelligence
• Scalability
• Unique identity
• Dynamic and self adapting
• Architecture
• safety
Application
why do we need IoT ?
For comfortable and easier life style.
These are individual benefits.
Smart phone
Smart house
Entertainment
In cases of smart homes and entertainment
For society level and industry level:-
Healthcare
Farming
Manufacturing industry
Education industry
In cases of Healthcare and Farming
IoT in cases of Manufacturing industry and Education
Architecture
Application
Things Protocol
THINGS IN IOT
• The "Things" in IoT usually refers to IoT devices which have unique
identities and can perform remote sensing, actuating and monitoring
capabilities.
• IoT devices can:
• Exchange data with other connected devices and applications (directly
or indirectly).
• Collect data from other devices and process the data locally or
• Send the data to centralized servers or cloud-based application back-
ends for processing the data .
Generic block diagram of an IoT Device:-
WIFI
• It is a set of LAN protocols and specifies the set of media access
control and physical layer protocols for implementing wireless local
area networks.
Link layer:-
Wi-Max
• For larger area than WIFI we use Wi-Max(wireless metropolitan area
network)
• It has faster speed than WIFI.
LR-WPAN
• It stands for low rate wireless personal area network which used in IoT
device.
• It use for small storage and low cost , low speed communication model.
2G/3G/4G-mobile communication
• These are different types of telecommunication generation.
• So it’s a n/w use for communication purpose between 2 device.
Network layer:-
This layer is used to send data from the source network to the destination
network. we use IPv4 and IPv6 protocols as host identification that transfers data in
packets.
IPv4
This is a protocol address that is a unique and numerical label assigned to each
device connected to the network. an IP address performs two main functions host
and location addressing. IPv4 is an IP address that is 32-bit long.
IPv6
It is a successor of IPv4 that uses 128 bits for an IP address. it is developed by the
IETF task force to deal with long-anticipated problems.
6LoWPAN
The 6LoWPAN protocol refers to IPv6 Low Power Personal Area Network which uses
a lightweight IP-based communication to travel over low data rate networks. It has
limited processing ability to transfer information wirelessly using an internet
protocol. So, it is mainly used for home and building automation. The 6LoWPAN
protocol operates only within the 2.4 GHz frequency range with 250 kbps transfer
rate.
Transport layer:-
This layer is used to control the flow of data segments and handle
the error control. also, these layer protocols provide end-to-end
message transfer capability independent of the underlying network.
TCP
• The transmission control protocol is a protocol that defines how to
establish and maintain a network that can exchange data in a proper
manner using the internet protocol.
UDP
• a user datagram protocol is a part of an internet protocol called the
connectionless protocol. this protocol is not required to establish the
connection to transfer data.
Application layer:-
In this layer, protocols define how the data can be sent over the network with the lower layer
protocols using the application interface. these protocols include HTTP, WebSocket, XMPP,
MQTT, DDS, and AMQP protocols
HTTP
• Hypertext transfer protocol is a protocol that presents in an application layer for transmitting
media documents. it is used to communicate between web browsers and servers. it makes a
request to a server and then waits till it receives a response and in between the request server
does not keep any data between two requests.
WebSocket
• This protocol enables two-way communication between a client and a host that can be run on an
untrusted code in a controlled environment. this protocol is commonly used by web browsers.
Application layer:-
MQTT
• It is a machine-to-machine connectivity protocol that was designed as a
publish/subscribe messaging transport. and it is used for remote locations where
a small code footprint is required.
XMPP
• Extensible messaging and presence protocol is a communication protocol for
message oriented middleware based on XML.
DDS
• The Data distribution service is a middleware protocol and API standard for data
centric connectivity from the object management group.
• In this system a middleware is a s/w layer that lies between OS and application.
Application layer:-
AMQP:-
• Advanced message queuing protocol is an open source application layer
protocol for message oriented middleware..
• Some Features are message orientation, queuing, reliability and security.
CoAP:-
• Constrained application protocol used for M2M application such as smart
energy and building automation.
• It enables device to communicate over internet.
• This protocol is used in very simple h/w so its power consumption is very
low.
Logical Design of IoT
• For understanding logical design of IoT, we describe them as:-
IoT functional block
IoT communication model
IoT communication API
Functional Block of IoT
• . An IoT system comprises
of a number of functional
blocks that provide the
system the capabilities
for identification, sensing,
actuation,
communication, and
management.
IoT communication model:-
Request-response model
Publish-subscribe model
Push-pull model
Exclusive pair model
Request-Response communication model
• Request-Response is a
communication model in
which the client sends
requests to the server and
the server responds to the
requests.
• Publish-Subscribe is a
communication model that
involves publishers, brokers
and consumers.
• Publishers are the source of
data. Publishers send the
data to the topics which are
managed by the broker.
Publishers are not aware of
the consumers.
• Consumers subscribe to the
topics which are managed by
the broker.
• When the broker receives data
for a topic from the publisher, it
sends the data to all the
subscribed consumers.
Push-Pull communication model
• Push-Pull is a
communication model in
which the data producers
push the data to queues
and the consumers pull the
data from the queues.
Producers do not need to be
aware of the consumers.
Exclusive Pair communication model
• Exclusive Pair is a
bidirectional, fully duplex
communication model
that uses a persistent
connection between the
client and server.
• Once the connection is
setup it remains open
until the client sends a
request to close the
connection.
• Client and server can
send messages to each
other after connection
setup.
REST-based Communication APIs
• Representational State
Transfer (REST) is a set of
architectural principles by
which you can design web
services and web APIs that
focus on a system’s resources
and how resource states are
addressed and transferred.
• REST APIs follow the
request- response
communication model.
• The REST architectural
constraints apply to the
components, connectors, and
data elements, within a
distributed hypermedia
system.
WebSocket-based Communication APIs
PaaS :-
• PaaS is a category of cloud computing that provides a platform and
environment to allow developers to build applications and services over
the internet.
• PaaS frees users from having to install in-house hardware and software
to develop or run a new application.
SaaS :-
• SaaS provides a complete software
solution that you purchase on a pay-
as-you-go basis from a cloud service
provider.
• Most SaaS applications can be run
directly from a web browser without
any downloads or installations
required.
• The SaaS applications are sometimes
called Web-based software, on-
demand software, or hosted software
.
Bigdata Analytics
• Collecting of data whose volume , velocity or variety is too large and difficult to
store, manage, process and analyse the data using traditional database.
Characteristics of Big Data in 5V
• Variety – It include different types of data
Structured
Unstructured
Semi structured
All the text, audio, video
• velocity- It refer to speed at which data is processed
Real time
Streams
• Volume- It refers to the amount of data
Records
Files
Tables
Value:
The value of big data usually comes from insight discovery and pattern recognition that
lead to more effective operations, stronger customer relationships and other clear and
quantifiable business benefits.
Veracity:
The “truth” or accuracy of data and information assets, which often determines executive-
level confidence.
Embedded System:-
• An embedded system is a combination of computer hardware and
software designed for a specific function.
• An embedded system is a microcontroller or microprocessor based
system which is designed to perform a specific task.
• Ex- a fire alarm is an embedded system; it will sense only smoke.
• It has 3 components :-
1. Hardware
2. Software
3. Real time OS
Characteristics
• Single functioned
• Microprocessor based
• Memory
• HW-SW system
Examples
Lots of data is being collected and warehoused
• Web data, e-commerce
• Bank/ credit card transaction
• Social networking
• Purchases at grocery stores