Unit 1, Chap 1
Unit 1, Chap 1
Definition: -
▪ The internet of things (IoT) is a computing concept that describes the idea of
everyday physical objects being connected to the internet and being able to
identify themselves to other devices.
OR
▪ A dynamic global network infrastructure with self-configuring capabilities based
on standard and interoperable communication protocols where physical and
virtual “things” have identities, physical attributes and virtual network and use
intelligent interfaces.
Introduction and concepts
▪ Characteristics of IOT
▪ Dynamic and Self-Adapting:- IoT devices and system may have the
capability to change dynamically depending upon the system and operating
conditions or sensed environment.
▪ For example, the surveillance cameras can change their modes based on day
or night.
▪ Self-configuring:- IoT devices have self-configuring capability which allows
large number of devices to work together to provide certain functionality, they
can change their networking and update the software automatically.
Introduction and concepts
▪ Interoperable Communication Protocol: - IoT devices can communicate
with number of interoperable (communicate with other devices without special
effort) communication protocols.
▪ Unique ID: - IoT devices have a unique identity differentiated with unique IP
address.
▪ Integrated into Information Network: - IoT devices are integrated into
the information network that allows them to communicate and exchange data
with other devices and system.
Introduction and concepts
IoT offers a number of benefits to organizations, enabling them to:
1. Monitor their overall business processes;
2. Improve the customer experience;
3. Save time and money;
4. Enhance employee productivity;
5. Integrate and adapt business models;
6. Make better business decisions; and
7. Generate more revenue
Introduction and concepts
TECHNICAL CHALLENGES
▪ How to provide power to all these items
▪ How they talk to each other
▪ How they communicate with us
▪ Power and networking challenges
▪ Provide the scale of addresses and lower power usage needed by
many sensors
▪ Choose the best position for user interface component
▪ Decide which alerts are needed and when should display them
Introduction and concepts
NON-TECHNICAL CHALLENGES
▪ IoT Protocols
Link Layer
▪ This protocol determines how the data is physically sent over the network layer
(e.g. copper wire, coaxial cable or a radio wave).
▪ It determines how the packet are coded and signaled by the hardware device
over the medium to which the host is attached. Example:-
1.IEEE 802.3--Ethernet (wired connection)
2. 802.11 –Wi-Fi
3. 802.16—WiMax
4. 2G/3G/4G—LTE (Long term evolution)Mobile communication
PHYSICAL DESIGN OF IoT (contd.)
▪ IoT Protocols- Link layer
PHYSICAL DESIGN OF IoT (contd.)
▪ Network/Internet Layer
▪ The network layers are responsible for sending of IP datagram’s from the source
network to the destination network. It performs host addressing and packet
routing.
▪ The datagram’s consists of source and destination addresses where host identifies
using IP schemes as IPV4 and IPV6.
▪ IPV4:- It is used to identify the devices on a network using hierarchical addressing
scheme. It uses 32- bit address that allows total 2^32 or 4 billion devices
▪ IPV6:- It is the new version of internet protocol which uses 128-bits address that allows
2^128 or 3 X 10^38 address.
PHYSICAL DESIGN OF IoT (contd.)
▪ IoT Protocols- Network layer
PHYSICAL DESIGN OF IoT (contd.)
▪ Transport Layer
▪ The transport layer protocols provide end to end message transfer capability
independent of the underlying network. The function of the transport layer is
to provide functions such as error control, segmentation, flow control and
congestion control.
• TCP: - It is most widely used for data transmission in communication
network such as internet .it provides process to process communication
using port numbers. It uses port number for communication which keeps
Track of segments that are received and transmitted.
• UDP: - It is the simplest protocol that involves minimum amount of
communication mechanism. It is connectionless, unreliable transport
protocol. It does not provide guaranteed delivery of the message.
PHYSICAL DESIGN OF IoT (contd.)
PHYSICAL DESIGN OF IoT (contd.)
▪ Application Layer
▪ An application layer protocol defines how application processes (clients
and servers), running on different end systems, pass messages to each
other.
▪ In particular, an application layer protocol defines:
• The types of messages, e.g., request messages and response
messages.
• The syntax of the various message types, i.e., the fields in the message
and how the fields are delineated.
• The meaning of the information that the field is supposed to contain.
• Rules for determining when and how a process sends messages and
responds to messages.
Types of IoT Protocols
▪ IoT protocols and standards can be broadly classified into two separate
categories.
IoT Network Protocols
▪ IoT network protocols are used to connect devices over the network.
▪ These are the set of communication protocols typically used over the Internet.
▪ Using IoT network protocols, end-to-end data communication within the scope
of the network is allowed.
▪ Following are the various IoT Network protocols:
• HTTP
• LoRaWan (Long Range Wide Area Network)
• Bluetooth
• Zigbee
IoT Network Protocols
▪ HTTP (HyperText Transfer Protocol)
▪ HyperText Transfer Protocol is the best example of IoT network protocol.
▪ This protocol has formed the foundation of data communication over the web.
▪ It is the most common protocol that is used for IoT devices when there is a lot of
data to be published. However, the HTTP protocol is not preferred because of its
cost, battery-life, energy saving, and more constraints.
IoT Network Protocols
▪ LoRaWan (Long Range Wide Area
Network)
▪ It is a long-range low power protocol that
provides signal detection below the
noise level.
▪ LoRaWan connects battery operated
things wirelessly to the Internet in either
private or global networks. This
communication protocol is mainly used
by smart cities, where there are millions
of devices that function with less power
and memory.
IoT Network Protocols
▪ LoRaWan (Long Range Wide Area Network)
▪ Smart street lighting is the practical use case of LoRaWan IoT protocol. The street lights
can be connected to a LoRa gateway using this protocol. The gateway, in turn,
connects to the cloud application that controls the intensity of light bulbs
automatically based on the ambient lighting, which helps in reducing the power
consumption during day-times.
IoT Network Protocols (Contd)
▪ Bluetooth
▪ Bluetooth is one of the most widely used
protocols for short-range communication.
▪ It is a standard IoT protocol for wireless
data transmission.
▪ This communication protocol is secure
and perfect for short-range, low-power,
low-cost, and wireless transmission
between electronic devices. BLE
(Bluetooth Low Energy) is a low-energy
version of Bluetooth protocol that
reduces the power consumption and
plays an important role in connecting IoT
devices.
IoT Network Protocols (Contd)
▪ Bluetooth
▪ Bluetooth protocol is mostly used in smart
wearables, smartphones, and other mobile
devices, where small fragments of data can
be exchanged without high power and
memory. Offering ease of usage, Bluetooth
tops the list of IoT device connectivity
protocols.
IoT Network Protocols (Contd)
▪ ZigBee
▪ ZigBee is an IoT protocol that allows
smart objects to work together. It is
commonly used in home automation.
More famous for industrial settings,
▪ ZigBee is used with apps that support
low-rate data transfer between short
distances.
▪ Street lighting and electric meters in
urban areas, which provides low power
consumption, use the ZigBee
communication protocol. It is also used
with security systems and in smart
homes.
IoT Data Protocols
▪ IoT data protocols are used to connect low power IoT devices. These protocols provide
point-to-point communication with the hardware at the user side without any Internet
connection. Connectivity in IoT data protocols is through a wired or a cellular network.
Some of the IoT data protocols are:
▪ Message Queue Telemetry Transport (MQTT)
▪ Constrained Application Protocol (CoAP)
▪ Advanced Message Queuing Protocol (AMQP)
▪ Machine-to-Machine (M2M) Communication Protocol
▪ Extensible Messaging and Presence Protocol (XMPP)
IoT Data Protocols
▪ Message Queue Telemetry Transport (MQTT)
▪ One of the most preferred protocols for IoT
devices, MQTT collects data from various
electronic devices and supports remote
device monitoring. It is a subscribe/publish
protocol that runs over Transmission Control
Protocol (TCP), which means it supports
event-driven message exchange through
wireless networks.
▪ MQTT is mainly used in devices which are
economical and requires less power and
memory.
▪ For instance, fire detectors, car sensors,
smart watches, and apps for text-based
messaging.
IoT Data Protocols
▪ Message Queue Telemetry Transport (MQTT)
IoT Data Protocols
Uniform Resource
Identifier (URI) GET PUT PATCH POST DELETE
Create a new entry in
the collection. The
new entry’s URI is
assigned
Replace th e
automatically and is
List the URIs and entire
usually returned by
perhaps other details collection with
the operation.
Collection, such of the collection’s another Not generally Delete the
as https://api.examp members. collection. used entire
le.com/resources/ collection.
Retrieve a Replace th e
representation of addressed
the addressed member of Not generally used.
member of the the collection, Treat the addressed
collection, expressed or if it does member as a
in an appropriate not exist, collection in its own
Update the Delete the
Internet media type. create it. right and create a
Element, such addressed addressed
as https://api.examp member of the new entry within it. member of the
le.com/resources/ite m5 collection. collection.
WebSocket-based Communication APIs
▪ Websocket APIs allow bi-directional, full duplex communication between clients and
servers.
WebSocket-based Communication APIs
▪ Websocket APIs allow bi-directional, full duplex communication between clients and
servers.
▪ Websocket APIs follow the exclusive pair communication model. Unlike request-
response model such as REST, the WebSocket APIs allow full duplex communication and
do not require new connection to be setup for each message to be sent.
▪ Websocket communication begins with a connection setup request sent by the client to
the server. The request (called websocket handshake) is sent over HTTP and the server
interprets it is an upgrade request.
▪ If the server supports websocket protocol, the server responds to the websocket
handshake response.
▪ After the connection setup client and server can send data/messages to each other in
full duplex mode. Websocket API reduce the network traffic and latency as there is no
overhead for connection setup and termination requests for each message. Websocket
suitable for IoT applications that have low latency or high throughput requirements. So
Web socket is most suitable IoT Communication APIs for IoT System
IoT Enabling Technologies
▪ IoT is enabled by several technologies which includes WSN, cloud
computing, big data analysis, embedded systems, web servers, mobile
internet etc. Some the technologies which play the key role in IoT are:
▪ WIRELESS SENSOR NETWORK
▪ CLOUD COMPUTING:
Infrastructure as a Service (IaaS)
Platform as a Service (PaaS)
Software as a Service (SaaS)
▪ Big Data Analytics
▪ Embedded systems
IoT Enabling Technologies (Contd.)
▪ WIRELESS SENSOR NETWORK:
▪ A Wireless Sensor Network (WSN) is a distributed
network with large number of sensors which are used
to monitor the environmental and physical
conditions.
▪ A WSN consists of end nodes, routers and
coordinator. End nodes have several sensors attached
to them where the data is passed to coordinator with
the help of routers. The coordinator also acts
gateway that connects WSN to internet.
▪ WSN are enabled by wireless communication protocol
such as 802.15.4.
▪ ZigBee is one of the most popular wireless
technologies.
IoT Enabling Technologies (Contd.)
▪ WIRELESS SENSOR NETWORK:
The some of the examples where WSN is used in
the IOT are:
▪ Weather monitoring system uses WSN which
collects data of temperature, humidity which
are aggregated and analyzed.
▪ Indoor air quality monitoring system use WSN.
▪ Soil Moisture Monitoring system
▪ Surveillance systems use WSN for collecting
data.
▪ Health monitoring system.
IoT Enabling Technologies (Contd.)
IoT Enabling Technologies (Contd.)
IoT Enabling Technologies (Contd.)
▪ CLOUD COMPUTING:
▪ Cloud computing is the use of various services, such as software development
platforms, servers, storage and software, over the internet, often referred to as the
"cloud." Generally the cloud computing based on three characteristics such as:
• The back-end of the application (especially hardware) is completely managed by a cloud vendor.
• A user only pays for services used (memory, processing time and bandwidth, etc.).
• Services are scalable.
▪ The Cloud computing provides ability to “pay on demand” and scale quickly as a
result of cloud computing vendors being able to pool resources that may be divided
among multiple clients.
▪ The cloud computing provides different services such as:
Infrastructure as a Service (IaaS)
Platform as a Service (PaaS)
Software as a Service (SaaS).
IoT Enabling Technologies (Contd.)
IoT Enabling Technologies (Contd.)
▪ Infrastructure as a Service (IaaS)
▪ Infrastructure as a service provides companies with computing resources including
servers, networking, storage, and data center space on a pay-per-use basis.
▪ The benefits of IaaS
• No need to invest in your own hardware
• Infrastructure scales on demand to support dynamic workloads
• Flexible, innovative services available on demand
IoT Enabling Technologies (Contd.)
▪ Embedded systems:
▪ Embedded system is a combination of
hardware and software system used to
perform special tasks.
▪ Embedded system includes
microcontroller or microprocessor,
memory (RAM, ROM), networking unit,
input/output units and storage.
▪ It collects the data, analyses and sends
the data to internet.
THANK YOU!
[email protected] www.sdbi.in