Unit – 3 Introduction To IoT
Unit – 3 Introduction To IoT
Vankawala
A reminder can also be sent to the owner's mobile via NFC, Bluetooth, or
SMS technologies.
For example, a message could say, "Protect yourself from rain. It is going to
rain. Don’t forget to carry the umbrella."
Another message could say, "Protect yourself from the sun. It is going to be
hot and sunny. Don’t forget to carry the umbrella."
The owner can decide whether or not to carry the SmartWeather Umbrella
based on these reminders.
Streetlights as Living Entities:
Streetlights can function like living entities using tiny embedded
devices.
These devices enable sensing, computing, and communication.
Group of Streetlights:
Each group of 32 streetlights has sensing, computing, and
communication circuits.
The streetlights in a group connect to a group controller (or
coordinator) via Bluetooth or ZigBee.
Central Command-and-Control Station:
Each group controller connects to a central command-and-
control station through the Internet.
The station receives periodic information about each streetlight
in each group.
Information Collected:
Functioning status of the 32 streetlights.
Identification of faulty lights.
Presence or absence of traffic in the vicinity.
Ambient conditions (cloudy, dark, or normal daylight).
Actions Taken:
The central station remotely programs the group controllers.
Group controllers take appropriate actions based on traffic and
light levels.
Remedial actions are directed if a fault develops in a specific
light.
Control System:
The entire city's streetlights are managed by the "Internet of
streetlights."
Hyperconnected RFIDs:
An RFID (Radio Frequency Identification) or smart
label is tagged to all consignments.
This allows many consignments to be constantly
tracked.
Their movement through remote places, inventories at
remote locations, sales, and supply chain are
controlled using a hyperconnected framework for the
Internet of RFIDs.
General IoT Framework:
Figure 1.2 shows a framework using smart and
hyperconnected devices, edge computing, and
applications.
Edge Computing:
A device is considered at the edge of the Internet
infrastructure.
Edge computing means computations are done at
the device level before the data is sent over the
Internet.
The framework includes several new terms that will be
defined and explained in later chapters.
Simple IoT Framework:
• Equation: Physical Object + Controller, Sensor, and Actuators + Internet = Internet of
Things (IoT)
• Example: The Internet of umbrellas includes:
• An umbrella with embedded circuits (controller, sensors, and actuators)
• Internet connectivity to a web service and a mobile service provider
Machine-to-machine (M2M)
communication networks
Wearable devices
City lighting
Home automation
Components:
• Sensors: Devices that collect data from the
environment (e.g., temperature, humidity, motion).
• Actuators: Devices that perform actions based on
data received (e.g., turning on a light, opening a
valve).
Function:
• Sensors and actuators collect, accept, and process
data over the network.
• These devices can connect wirelessly or via wired
connections, providing flexibility in their
deployment.
Role:
• The Network Layer manages how data moves
throughout the IoT system.
Components:
• Data Acquiring Systems (DAS): Aggregate and
convert data from sensors, transforming analog
data into digital format.
• Internet/Network Gateways: Facilitate data
transmission and processing, enabling devices to
connect and communicate with servers, smart
devices, and other network devices.
Function:
• Ensures that data collected by sensors is
transmitted efficiently and securely.
• Handles all data transmissions within the IoT
ecosystem.
Role:
• The Processing Layer is the brain of the IoT
ecosystem, handling data analysis, pre-
processing, and storage.
Components:
• Edge IT/Edge Analytics: Perform real-
time data processing and analysis close to
the data source.
• Data Centers: Store processed data and
provide access for further analysis and
action by software applications.
Function:
• Analyzes and processes data before
sending it to the data center.
• Monitors and manages data, preparing it
for further actions.
Role:
• The Application Layer provides user
interaction and delivers application-specific
services.
Components:
• User Interfaces: Apps, dashboards, and other
tools that allow users to interact with the IoT
system.
• Application Services: Specific functionalities
tailored to the user's needs (e.g., smart home
control, health monitoring).
Function:
• Allows users to interact with and control IoT
devices.
• Delivers specific services, such as turning on a
coffee maker via an app or displaying the
status of devices in a dashboard.
Understanding the layers of IoT architecture is
crucial, but knowing how businesses can benefit
from these layers is even more important. To
maximize the value of IoT, enterprises must allow
devices to interact freely and maximize device
and system synergies. This ensures the
infrastructure supports the IoT architecture
effectively. Here are the various stages of IoT
architecture implementation in enterprises:
Role:
• The first step towards IoT
architecture is to establish
the physical layer within
the environment.
Components:
• Sensors: Collect and
analyze data from the
environment.
• Actuators: Measure and
act upon changes recorded
by the sensors.
Function:
• Sensors and actuators can
be connected via wired or
wireless networks, such as
Local Area Networks
(LANs) and Personal Area
Networks (PANs).
Role:
• The second stage involves
setting up an internet gateway.
Components:
• Data Acquisition Systems
(DAS): Convert analog data
collected by sensors into digital
form.
• Internet Gateways: Pre-process
raw data before sending it to the
cloud.
Function:
• DAS gathers and converts data to
digital form for routing over the
network by the internet gateway.
• Additional features like analytics
and security can be integrated to
enhance performance and
efficiency.
Role:
• The third stage involves pre-
processing and advanced data
analytics.
Components:
• Edge IT Systems: Use machine
learning and visualization
techniques to generate insights
from collected data.
Function:
• Edge IT systems reduce the
pressure on core IT infrastructure
by pre-processing data close to
its source.
• They ensure only valuable data is
processed and transmitted to
data centers and servers.
Role:
• The final stage involves sending
preprocessed and analyzed data to
data centers and servers for further
analysis and reporting.
Components:
• Data Centers: Provide a secure
environment for final data processing.
• Cloud Services: Offer scalable
storage and processing capabilities.
Function:
• Data centers and cloud services fall
under the management services
category, processing data through
analytics, device management, and
security controls.
• The cloud enables data transfer to
end-user applications across various
sectors, such as healthcare, retail,
environment, and energy.
Prepared By: D. Y. Vankawala
The following entities provide a diverse technological environment and are
examples of technologies involved in IoT:
Hardware:
Arduino, Raspberry Pi, Intel Galileo, Intel Edison, ARM mBed, Bosch XDK110,
Beagle Bone Black,Wireless SoC
Protocols:
• RPL, CoAP, RESTful HTTP, MQTT
• XMPP (Extensible Messaging and Presence Protocol)
Communication:
• Powerline Ethernet, RFID, NFC, 6LowPAN, UWB
• ZigBee, Bluetooth,WiFi,WiMax, 2G/3G/4G
Network Backbone:
• IPv4, IPv6, UDP, 6LowPAN
Software:
• RIOT OS, Contiki OS, Thingsquare Mist firmware, Eclipse IoT
Most modern smart devices and sensors can connect to low-power wireless
networks, which are essential for IoT applications. These include:
• Wi-Fi: Wireless Fidelity, widely used for high-speed data transfer.
• ZigBee: Suitable for low-power, low-data rate applications.
• Bluetooth: Commonly used for short-range data exchange.
• Z-wave: Primarily used for home automation.
Importance:
• IoT devices often use various communication
protocols, such as Zigbee, Bluetooth, Wi-Fi, and
more.
• Protocol translation ensures that devices using
different protocols can communicate with each
other effectively.
Function:
• The gateway acts as a translator, converting data from
one protocol to another, enabling devices to understand
and interact with each other.
2. Data Pre-processing
Role:
• IoT Gateways can perform local pre-processing of collected data from thousands of sensors before
transmitting it to the next stage.
Importance:
• Pre-processing is essential to handle the large volume of data generated by IoT devices.
• By processing data locally, gateways can reduce the amount of data transmitted to the cloud, saving
bandwidth and improving response times.
Function:
• The gateway collects data from sensors, processes it to filter out unnecessary information, and
ensures compatibility with TCP/IP protocols.
• Pre-processed data is then sent to the cloud for further analysis.
3. Security
Role:
• IoT Gateways provide a secure communication channel for the network and transmitted data using
higher-order encryption techniques.
Importance:
• Security is crucial to protect the system from malicious attacks and unauthorized access.
• Ensuring secure data transmission and device authentication prevents data breaches and maintains
the integrity of the IoT system.
Function:
• The gateway encrypts data before transmission, ensuring that sensitive information is protected.
• It acts as a middle layer between devices and the cloud, safeguarding the network from potential
threats.
Benefits of IoT Gateways
1. Efficient Data Management:
• By pre-processing data locally, gateways reduce the amount of data sent to the cloud,
optimizing bandwidth usage.
2. Improved Interoperability:
• Protocol translation enables devices with different communication protocols to work
together seamlessly.
3. Enhanced Security:
• Gateways provide an additional security layer, ensuring that only authorized devices
can access the network and protecting data during transmission.
4. Reduced Latency:
• Local data processing improves response times by reducing the need to send all data to
the cloud for processing.
The Internet of Things (IoT) generates massive amounts
of data from devices, applications, and users. Managing
this data efficiently is crucial, and that's where the IoT
cloud comes in.
Key Features of IoT Cloud:
• Data Collection and Processing: The IoT cloud collects and
processes vast amounts of data in real time. This allows
industries and services to access and use the data remotely.
• Data Management and Storage: The cloud stores data
securely, making it easy to retrieve and analyze when
needed.
• Remote Access: Industries can access their data from
anywhere, allowing for critical decision-making when
necessary.
• High-Performance Network: The IoT cloud consists of a
network of powerful servers designed for high-speed data
processing.
• Traffic Management: It efficiently manages the data traffic
generated by billions of devices.
• Accurate Analytics: The cloud delivers precise analytics,
helping companies understand and utilize their data better.
• Distributed Database Management Systems: These
systems are crucial for managing the vast amounts of data
stored in the IoT cloud.
Analytics in the Internet of Things (IoT) involves converting data
from billions of smart devices and sensors into useful insights.
These insights are essential for managing and improving IoT
systems.
Importance of Analytics:
• Data Interpretation: Analytics converts raw data into meaningful
information that can be analyzed and acted upon.
• System Management: Smart analytics solutions help in managing the
entire IoT system efficiently.
Advantages of Real-Time Smart Analytics:
• Identifying Irregularities: Engineers can detect anomalies in the
data quickly, allowing them to act fast to prevent potential issues.
• Proactive Measures: Accurate and timely data collection enables
service providers to take necessary steps to address problems before
they escalate.
Benefits for Big Enterprises:
• Future Opportunities: Massive data collected from IoT devices
provides insights that can be used for future business opportunities.
• Trend Prediction: Careful analysis helps organizations predict
market trends and plan for successful implementations.
• Business Success: Predictive analysis ensures that businesses can
make informed decisions, leading to success in their respective fields.
User interfaces (UIs) are the visible and tangible parts of
an IoT system that users interact with. Designing an
effective UI is crucial for minimizing user effort and
• Ability to run Ruby, Python, and INO Sketches directly in the Cloud9 IDE,
• JTAG: Optional
Features
USB 2.0 host and device ports for versatile peripheral connections.
Combines Arduino hardware manipulation ease with a full Linux operating system.
Access to popular Arduino libraries like SD, Ethernet,WiFi, EEPROM, SPI, and Wire.
Ability to interface with the Linux side of the board using system() calls.
Supports programming in Python, Node.js, and access via SSH and Telnet.
Comparison
• Dependency: IoT depends on M2M for device communication but extends
connectivity to larger systems and integrates with cloud services.
• Scope: M2M is focused on machine-to-machine communication within a
specific network, while IoT connects devices across broader networks and
integrates them into larger systems.
• User Experience: IoT provides end-users with a more personalized
experience, offering enhanced services and capabilities beyond basic
device communication.
M2M architecture is structured into three main domains:
3. Layer 3 - Network:
1. Manages network connections and routing.
4. Layer 4 - Transport:
1. Manages data transfer reliability, including device identity management and data routing.
5. Layer 5 - Application-Support:
1. Handles protocols for network communication, such as CoAP (Constrained Application Protocol).
2. Manages data acquisition, organization, and analysis.
6. Layer 6 - Application:
1. Provides IoT applications and services.
2. Manages remote programming, control, and monitoring of devices.
The modified model also aligns with a conceptual framework for IoT applications and services,
represented by the
equation:Gather+Enrich+Stream+(Manage+Acquire+Organise+Analyse)=IoT Applications and Service
s.
Example: Internet of Smart Streetlights
To illustrate the modified OSI model, consider the example of an Internet of smart streetlights:
1. L1 - Physical cum Data-link Layer:
1. Smart sensing and data-link circuits in each streetlight transfer sensed data to Layer 2.
2. L2 - Data Adaption:
1. Group-controllers receive data through Bluetooth or ZigBee.
2. Aggregates and compacts data for communication to the Internet.
3. Controls streetlights as per commands from a central station.
3. L3 - Network:
1. Communicates network streams on the Internet to the next layer.
4. L4 - Transport:
1. Manages device identity, registry, and data routing.
5. L5 - Application-Support:
1. Manages data and functionalities of standard protocols (e.g., CoAP, UDP, IP).
6. L6 - Application:
1. Enables remote programming and commands from the central station.
2. Monitors each group of streetlights across the city.
IoT applications span a wide range of
domains like:
Home Automation
Smart Cities
Environment
Energy systems
Retail
Logistics
Industry
Agriculture
Health
1. Smart Lighting
Smart lighting for home helps in
saving the energy by adapting
the lighting to the ambient
conditions.
Energy can be saved by sensing
human movements and their
environment.
Wireless and Internet connected
lights can be operated remotely
using mobile or web
application.
2. Smart Appliances
Smart appliances makes the
management easier and
also provide status
information to the users
remotely.
For example, a smart
refrigerator can keep track
of items and notify the user
when a item is low on stock.
Examples of smart
appliances are TVs,
refrigerators, music systems,
washing machines, etc.
3. Intrusion Detection
Home intrusion detection
systems use cameras and
sensors to detect
intrusions and for raising
alerts.
Alerts can be sound, SMS
or email sent to the user.
An advanced system can
even send an image or a
short video clip related to
the intrusion event.
4. Smoke/Gas Detection
Smoke detectors installed at
home can detect smoke and
alert the users.
Smoke detectors use optical
detection, ionization, or air
sampling techniques to detect
smoke.
Gas detectors can detect
harmful gases like CO or LPG.
These detectors can send
alerts in the form of email, SMS,
or voice.
1. Smart Parking
Smart parking makes the
search for parking space
easier and convenient for
drivers.
In smart parking, sensors are
used for each parking slot, to
detect whether the slot is
occupied or not.
This information is aggregated
by local controllers and sent
over the Internet to the
database.
Drivers can use an application
to know about empty parking
slots.
2. Smart Lighting
Smart lighting systems for roads,
parks, and buildings can help in
saving energy.
Smart lighting allows lighting to
be dynamically controlled and
also adaptive to the ambient
conditions.
Smart lights connected to the
Internet can be controlled
remotely to configure lighting
intensity and lighting schedule.
3. Smart Roads
Smart roads equipped
with sensors can alert the
users about poor driving
conditions, traffic
congestion, and
accidents.
Information sensed from
the roads can be sent via
Internet to applications or
social media. This helps
in reducing traffic jams.
4. Structural Health
Monitoring
A network of sensors are
used to monitor the
vibration levels in the
structures.
Data from the sensors is
analyzed to assess the
health of the structures.
By analyzing the data it is
possible to detect cracks,
locate damages to the
structures and also
calculate the remaining
life of the structure.
5. Surveillance
Surveillance of
infrastructure, public
transport and events in
cities is required to
ensure safety and
security.
City wide surveillance
requires a large network
of connected cameras.
The video feeds from the
cameras can be
aggregated in cloud-
based storage.
Video analytics
applications can be used
to search for specific
patterns in the collected
feeds.
6. Emergency Response
IoT systems can be used
to monitor buildings, gas
and water pipelines,
public transport and
power substations.
These systems provides
alerts and helps in
mitigating disasters.
Along with cloud-based
applications IoT systems
helps to provide near
real-time detection of
adverse events.
1. Weather Monitoring
IoT-based weather
monitoring systems
use different sensors
to gather data.
That data is sent to the
cloud-based storage.
The collected can be
analyzed and
visualized with
applications.
Weather alerts can be
subscribed by users
from such
applications.
2. Air Pollution
Monitoring
IoT-based air pollution
monitoring systems can
monitor harmful gas
emissions by factories
and vehicles using
gaseous and
meteorological sensors.
The collected data can
be analyzed to take
decisions on pollution
control approaches.
3. Noise Pollution
Monitoring
IoT-based noise pollution
monitoring systems use a
number of noise pollution
monitoring systems that
are deployed at different
places in the city.
The data on noise levels
from the stations is
collected on servers or in
the cloud.
The collected data can be
analyzed to generate noise
maps.
4. Forest Fire Detection
IoT-based forest fire
detection systems use
number of nodes
deployed at various
locations in the forest.
Each monitoring node
collects data about
ambient conditions.
This data will be
collected and analyzed
for the presence of fire
and corresponding
people will be alerted.
5. River Floods Detection
IoT-based flood monitor
systems use number of
sensor nodes to monitor the
water level.
Data from the sensors is
aggregated on the server or
in the cloud.
Monitoring applications
raise alerts in case of rapid
increase in water level or
when rapid flow rate is
detected.
1. Smart Grids
Smart grid is a data
communications network
integrated with the electrical
grid.
Smart grid technology
provides predictive
information and
recommendations to utilities,
their suppliers and
consumers, and how best to
manage power.
Smart meters can capture real-
time power consumption and
allows to manage power
distribution remotely.
2. Renewable Energy
Systems
Renewable energy sources
(like solar and wind)
produce variable output.
Variable output produces
local voltage swings that
can impact power quality.
IoT-based systems
integrated with the
transformers measures
how much power is fed
into the grid.
3. Prognostics
Energy systems have a large
number of critical components
whose health is essential for
working correctly.
IoT-based monitoring systems
allows for the data to be gathered
about these critical components.
Analysis of massive amounts of data
gathered by sensors can provide
predictions for the impending
failures.
1. Inventory Management
The inventory in a store or
warehouse can be managed
by using IoT.
The products or items in the
store can be attached with
RFID tags.
By using the RFID tags, the
RFID reader or software can
automatically show the
number of items in the store
or warehouse.
If a product goes out of
stock a notification can be
sent to the store owner
automatically.
2. Smart Payments
Now-a-days new types of
payments are coming into
picture like QR codes, NFC,
contact less technologies
etc.
These technologies enables
smart payments.
3. Smart Vending Machines
A smart vending machine
contains several items. A
consumer can insert money and
get the item they want as shown
in the image below. Several
sensors can be attached to
these vending machines such
that whenever an item quantity
is less, the owner of that
machine will be automatically
notified so that the owner can
be arrangements to get that
item beforehand.
Also, the vending machines can
maintain the history of the
consumers. So, when a
consumer visits the vending
machine next day, it can suggest
the same item that the
consumer purchased before.
1. Route Generation and
Scheduling
While delivering packages to
various locations, different sensors
can be fixed in those routes and
they can be monitored remotely
through an application.
By looking at the data sent by the
sensors, the delivery company can
automatically know which routes
are less congested and schedule
the delivery of packages in such
routes.
2. Fleet Tracking
A delivery company will have several
delivery personnel working with them.
Different people will use different vehicles
for delivering the packages.
Sensors can be fixed to those vehicles and
their location can be tracked to know how
long will it take to deliver the package.
3. Shipment Monitoring
The packages can be fixed with RFID
tags or other form of remote tracking
sensors to send data periodically to a
server via Internet.
The delivery company can use that
data to track where the package is
and update the user about the
remaining time that will be needed
to deliver the package.
4. Remote Vehicle Diagnostics
A vehicle rental company can fix sensors
into the vehicles before giving them for
rent to the customers.
The company can check the data sent by
the sensors to know the current location of
the vehicle and easily track them.
1. Smart Irrigation
Irrigation refers to the
watering of plants.
By using different sensors
like temperature sensor,
humidity sensor, soil
moisture sensor, etc., data
can be collected about
the soil and the
environment and let the
framer know when to turn
on the water sprinklers to
provide water to the
plants.
This process is illustrated
in the figure given below.
2. Green House Control
A green house is an artificial
field that can be grown inside
buildings or on the roof tops.
It is a controlled environment
in which several types of
sensors are fixed to gather
data about the soil,
environment and other
parameters.
The data from the green
house is aggregated at a local
gateway and sent to the
server via Internet. The data
at the server is analyzed and
appropriate alerts are sent to
the owner of the green house.
This process is illustrated in
the figure below.
1. Machine Diagnosis &
Prognosis
The machines used in the
industry can be fixed with
sensors.
The data from the sensors
can be used to diagnose
the machines.
We can know if the
machine is working up to
the expected performance
or not.
The data analysis will also
let the owner of the
machine know when the
life of machine will be over.
1. Indoor Air Quality
Monitoring
The quality of air for the
working personnel inside
the industry is also
important.
Often times leakage of
dangerous gases leads to
the death of industry
personnel.
Sensors can be fixed at
different location to
monitor the working
environment for any
leakage of hazardous gases
and notify the appropriate
personnel to deal with it.
1. Health and Fitness
Monitoring
With the advent of IoT
remote healthcare has
become an viable option
for attending to patients.
There is no need for patient
to visit hospital for every
minor health problem.
The doctor can attend to
such patients from a remote
location.
Different sensors can be
fixed on near the patient to
monitor the health vitals of
that patient.
The data sent by the
sensors is monitored by the
doctor and appropriate
decisions are made.
2. Wearable Electronics
Now-a-days there are
different types of
wearables available in
the market to monitor
health and lifestyles.
Some examples of such
wearables are smart
watches, smart glasses,
smart patches, smart
garments, etc., as shown
in the below figure.
Improved efficiency and productivity: IoT devices can help to improve efficiency and
productivity in businesses and industries. For example, IoT devices can be used to track the
movement of goods and materials in a supply chain, monitor the performance of industrial
equipment, and manage energy consumption.
Increased safety and security: IoT devices can be used to improve safety and security in
homes, businesses, and public spaces. For example, IoT devices can be used to monitor for
fire and intrusion, and to control access to facilities.
Better decision-making: IoT devices can help to improve decision-making by providing real-
time data and insights. For example, IoT devices can be used to track customer behavior,
predict demand, and optimize production.
New products and services: IoT devices can enable the development of new products and
services. For example, IoT devices can be used to create smart homes, connected cars, and
wearable devices.
Improved quality of life: IoT devices can help to improve the quality of life for individuals
and communities. For example, IoT devices can be used to monitor health, provide remote
care, and manage traffic.
Security risks: IoT devices are vulnerable to cyberattacks. If an attacker gains access
to an IoT device, they could potentially cause damage or disruption to the system it is
connected to.
Privacy concerns: IoT devices collect and transmit data about individuals. This data
could be used to track individuals' movements, habits, and preferences.
Interoperability challenges: IoT devices are often incompatible with each other. This
can make it difficult to connect and manage IoT devices in a network.
High costs: IoT devices can be expensive to purchase and deploy. The cost of IoT
devices can be prohibitive for small businesses and individuals.
Environmental impact: IoT devices consume energy. The environmental impact of
IoT devices is a growing concern.
THANK YOU