Unit 5
Unit 5
Unit 5
Internet of Things 2
How do you configure a network?
A step-by-step guide to setting up a home network
Internet of Things 3
What are the benefits of network configurations?
• Streamline the processes of
maintenance, repair, expansion
and upgrading.
• Minimize configuration errors as
part of change management.
• Optimize network security.
• Ensure that changes made to a
device or system do not
adversely affect other devices or
systems.
Internet of Things 4
What are the types of network configuration?
Internet of Things 5
PAN
• A personal area network is a computer network for interconnecting
electronic devices within an individual person's workspace.
Internet of Things 6
LAN
• A local area network is a computer network that interconnects
computers within a limited area such as a residence, school,
laboratory, university campus or office building.
Internet of Things 7
Wireless LAN
• A wireless LAN is a wireless computer network that links two or more
devices using wireless communication to form a local area network
within a limited area such as a home, school, computer laboratory,
campus, or office building.
Internet of Things 8
CAN
• A campus network, campus area network, corporate area network or
CAN is a computer network made up of an interconnection of local
area networks within a limited geographical area.
Internet of Things 9
MAN
• A metropolitan area network is a computer
network that interconnects users with
computer resources in a geographic region
of the size of a metropolitan area. Size: 5
kilometers to 50 km
Internet of Things 10
WAN
• A wide area network is a telecommunications
network that extends over a large geographic
area. Wide area networks are often established
with leased telecommunication circuits.
• The best example of a Wide Area Network
is Internet itself.
• Other smaller examples of WANs are: A network
of bank cash dispensers; A Company network
with several branch offices geographically
distant.
Internet of Things 11
SAN
• A storage area network or storage network is a computer network
which provides access to consolidated, block-level data storage.
SANs are primarily used to access data storage devices, such as
disk arrays and tape libraries from servers
Internet of Things 12
What are network topologies?
• Different types of network configuration in computer networks are
commonly referred to as network topologies.
• A network topology describes how the nodes or devices (physical or
virtual) in a network are arranged and how they communicate with
each other.
• Network topology can be physical (referring to where physical devices
are placed in relation to each other) or logical (referring to how data is
transmitted through the network, including any virtual or cloud
resources).
• When choosing a network topology, an organization must consider the
size of its network, its performance requirements and the flow of its
traffic.
Internet of Things 13
Common Network Topologies
• Bus: Every node in the network is connected along a linear path. This simple topology is
used most often for small networks.
• Ring: Nodes are connected in a loop, and traffic may flow in one direction or in both
directions. Ring networks tend to be cost-effective, but not as scalable or stable as other
network topologies.
• Star: A central node connects to all other nodes in the network. This is a common and stable
topology that’s often used for local area networks (LANs).
• Mesh: Nodes are linked in such a way that multiple paths between nodes are possible. This
type of network topology increases the resiliency of the network, but also increases cost. A
network may be fully meshed (all nodes connecting to all other nodes) or partially meshed
(only some nodes having multiple connections to other nodes).
• Spine-Leaf (Tree): Multiple star topologies are connected together in a larger star
configuration.
• Hybrid: A combination of other topologies are used together within one network.
Internet of Things 14
What is an IoT network?
IoT network is the network with physical interconnected
objects embedded with sensors, smart devices that connect
and exchange data with other devices and systems without
human intervention.
Internet of Things 15
4 Types of IOT Networks
Internet of Things 16
How to select the most suitable IoT network?
• The important criteria which should be considered are-
• Power Consumption. If you’re looking for longevity and a solution without the need
to supply a device with power, Bluetooth and LPWAN are the networks suitable for this
case. Technologies with a high-power consumption like Wi-Fi is not recommended.
• Coverage Area. The size of the area that needs to be covered defines the type of
protocol to be applied for your IoT project. Whereas LoRA is limited to national
boundaries, the Sigfox network is available in 60 countries.
• Data amount. If you need to transmit small data quantities, there are solutions like
BLE over a short distance or LPWAN for long-range data transfers. For big data
amounts, we recommend Wi-Fi and GSM networks.
• Devices’ density. The selection of proper IoT protocol depends here on the need for
geographical proximity whether on the need to be spread out. If the objects need to
be connected closely to each other, WiFi will be a good option; in the case of proximity,
LPWAN and GSM networks are recommended.
Internet of Things 17
IEEE 802.15.4
IoT 18
Introduction
• Until recently, the main concern in wireless communication was on high throughput
-Limited power
-Low throughput
• Require: reasonable battery life, extremely low cost, short range operation, reliable
data transfer
IoT 19
LR-WPAN Applications
IoT 20
Wireless Protocol Comparison
IoT 21
Comparison
IoT 22
LR-WPAN IEEE 802.15.4
• LR-WPAN needs a simple, flexible protocol
• IEEE 802.15.4 defines protocol via RF for PAN.
• Provides a standard with ultra-low complexity, cost, and power for low-data-rate
wireless connectivity among inexpensive fixed, portable, and moving devices.
Properties of 802.15.4
• Raw Data Rate: 868 MHz, 20 kbps; 915 MHz, 40 kbps; 2.4 GHz, 250 kbps
• Range: 10-30 mtr
• Latency: Down to 15 ms
• Channels: 868 MHz, 1 Channel; 915 MHz, 10 Channels; 2.4 GHz, 16 Channels
• Frequency Band: Two PHYs: 868 MHz / 915 MHz & 2.4 GHz
• Addressing: Short 16-bit or 64-bit IEEE
• Channel Access: CSMA-CA & Slotted CSMA-CA
• Temperature: Industrial temperature range -40 °C to +85 °C
IoT 23
Device Types
IoT 24
Modes of Operation of a Device
• Network Device:
An RFD or FFD implementation containing an IEEE 802.15.4 medium
access control and physical interface to the wireless medium.
• Coordinator:
An FFD with network device functionality that provides coordination
and other services to the network.
• PAN Coordinator:
A coordinator that is the principal controller of the PAN. A network
has exactly one PAN coordinator.
IoT 25
Network Topologies
Combined Topology
IoT 27
Peer-to-peer Network Formation
IoT 29
Architecture- 802.15.4
IoT 30
Data Transfer
• Three types of data transfer:
1. -Data transfer to a coordinator in which a device transmits the data
2. -Data transfer from a coordinator in which the device receives the data
3. -Data transfer between two peer devices
IoT 31
Data Transfer to a Coordinator
IoT 39
Introduction
• Primary drivers in Zigbee popularity are simplicity, long battery life, networking
capabilities, reliability, and cost.
IoT 40
Zigbee Alliance
IoT 41
Zigbee Features
Based on the IEEE 802.15
– Zigbee PRO
– Zigbee RF4CE
– Zigbee IP
IoT 43
Zigbee Features
• Zigbee PRO aims to provide the foundation for IoT with features to support
low-cost, highly reliable networks for device-to-device communication. It
also offers Green Power, a new feature that supports energy harvesting or
self-powered devices that don't require batteries or AC power supply.
IoT 45
Applications
IoT 46
Zigbee Features
Global, license RF penetration Automatic/semi-
Unrestricted
free ISM band through walls & automatic
geographic use
operation ceilings installation
Up to 2 years of
Up to 65k slave Up to 100 co- battery life on
nodes per network located networks standard Alkaline
batteries
IoT 47
Frequencies and Data Rates
IoT 48
Topology Models
IoT 49
Zigbee Disadvantages
IoT 50
What Devices use ZigBee?
Hive Active
Comcast Xfinity Amazon Echo
Heating & Amazon Echo Plus
Box from Samsung Show
accessories
IoT 51
Bluetooth
IoT 52
Why do we need Bluetooth and Zigbee
ZigBee technology
➢ Best suited for control and monitoring applications
IoT 53
IoT
A VIDEO ON BLUETOOTH
54
Bluetooth Explained
IoT 55
Bluetooth Overview
Applications
• Example:
– Walk into office and have your PDA synch with your laptop on your desk without
even taking your PDA out of your briefcase
IoT 57
Bluetooth Protocol Stack
Bluetooth Radio
• Uses 2.4 GHz ISM band spread spectrum radio (2400 – 2483.5 MHz)
IoT 58
Frequency Hopping
IoT 60
Piconets and Scatternets
Piconets
LAN
Mobile Phone
Headset
Printer
Laptop
Laptop
Mouse
IoT 62
Comparison
IoT 63
IoT stack and Web stack
IoT Stack VS Web Stack
Internet of Things 69
MQTT
1. What is MQTT?
❑ MQTT, as its name implies, is suited for the transport of telemetry data (sensor and actor
data).
❑ MQTT is very lightweight and thus suited for M2M (Mobile to Mobile), WSN (Wireless
Sensor Networks) and ultimately IoT (Internet of Things) scenarios where sensor and
actor nodes communicate with applications through the MQTT message broker.
73
MQTT model
The core elements of MQTT are clients, servers (=brokers), sessions, subscriptions and topics.
IoT 74
MQTT message format
Message format:
MQTT messages contain a mandatory fixed-length header (2 bytes) and an optional message-
specific variable length header and message payload.
Field length
0 1 2 3 4 5 6 7
(bits)
Byte 1 Message Type DUP QoS Level RETAIN MQTT fixed
header
Byte 2 Remaining Length (1 – 4 bytes)
Byte 3
IoT 75
MQTT message format
Overview of fixed header fields:
Message fixed header field Description / Values
IoT 78
Differences
IoT 79
Cont…
IoT 80
What is cloud computing?
• Cloud Computing is the delivery of
On-Demand resources ( such as
server, database, software , etc.)
over the internet.
• It also gives the ability to build,
design and manage applications on
the cloud platform
• Cloud Computing service providers
are the vendors to manage
applications through a global network
• Ex. Amazon Web Services, Microsoft
Azure, GCP etc.
IoT 83
Types of Cloud Computing and Cloud Services
IoT 86
Cloud Computing- Types
There are 4 main types of cloud computing:
• Public clouds,
• Private clouds,
• Hybrid clouds,
• Multiclouds
IoT 87
Public Clouds
• The cloud infrastructure is made available to the general public
over the internet and is owned by a cloud provider.
IoT 88
Private Clouds
• Private clouds are loosely defined as cloud environments solely dedicated to a single
end user or group, where the environment usually runs behind that user or group's
firewall. All clouds become private clouds when the underlying IT infrastructure is
dedicated to a single customer with completely isolated access.
• But private clouds no longer have to be sourced from on-prem IT infrastructure.
Organizations are now building private clouds on rented, vendor-owned data centers
located off-premises, which makes any location and ownership rules obsolete. This
has also led to a number of private cloud subtypes, including:
• The characteristics of hybrid clouds are complex and the requirements can
differ, depending on whom you ask. For example, a hybrid cloud may need to
include:
IoT 90
Multiclouds
• Multiclouds are a cloud approach made up of more than 1 cloud
service, from more than 1 cloud vendor—public or private.
• All hybrid clouds are multiclouds, but not all multiclouds are hybrid
clouds.
• Multiclouds become hybrid clouds when multiple clouds are connected
by some form of integration or orchestration.
• A multicloud environment might exist on purpose (to better control
sensitive data or as redundant storage space for improved disaster
recovery) or by accident (usually the result of shadow IT). Either way,
having multiple clouds is becoming more common across enterprises
that seek to improve security and performance through an expanded
portfolio of environments.
IoT 91
Service Models
There are 3 main types of cloud computing services:
Software/
• Infrastructure-as-a-Service (IaaS), Application
• Software-as-a-Service (SaaS).
Infrastructure
Which cloud service is suitable for you?
• IAAS- If your business needs a virtual machine , opt for infrastructure as a
service. Amazon Web, Microsoft Azure and Google compute Engine.
• PAAS- If your company requires a platform for building software products,
pick platform as a service. E.g. windows Azure
• SAAS- If your business doesn’t want to maintain any IT equipment, then
choose software as a service. E.g. Gmail, Microsoft Office 365
IoT 93
Differences between Iaas,PaaS and SaaS
• Consider a task where you are planning to bake a cake-
IoT 95
Thank You!
IoT 96