Lecture 7 IoT Communication and Protocol
Lecture 7 IoT Communication and Protocol
Winter 2023
INST560 Internet of
Things
Internet of Things
Communication and Protocols
Professor Aliakbar Jalali
aliakbar.jalali@live.uona.edu
Lecture 7
/59
Topics
• Introduction
UoNA-INST560 – Internet of Things (IoT)
• IoT Networking
• Types of Networking
• IoT Communications
• IoT Communication Technologies
• IoT Protocols
• What is IoT Protocols?
• Conclusion
• References
2 /59
Introduction
• The benefit and value of IoT comes
UoNA-INST560 – Internet of Things (IoT)
3 /59
Introduction
• Communication happens via IoT
UoNA-INST560 – Internet of Things (IoT)
• The world is quickly being covered with networks that allow digital devices
to interconnect and transmit.
• Think of the mesh of networks like a digital skin surrounding the planet.
5 /59
IoT network
• The Internet of Things (IoT) is the network of
UoNA-INST560 – Internet of Things (IoT)
8 /59
How are IoT Devices Connected to the Network?
• As an example, if a sensor detects excess heat in a room, the sensor
UoNA-INST560 – Internet of Things (IoT)
• The microcontroller can send the data to an actuator which would then
turn on the air conditioner.
• Because many sensors are “out in the field” and are powered by batteries
or solar panels, consideration must be given to power consumption.
a.Distance
b.Bandwidth
c. Power consumption
• The primary IoT area network types and some of the technologies
a.802.11 Wi-Fi
b.Bluetooth
d.Z-Wave
e.LoRaWAN
11 /59
IoT Networking
• Different types of devices and different environments
UoNA-INST560 – Internet of Things (IoT)
• Bandwidth
• Power consumption
12 /59
IoT Networking
• Primary IoT area network types and some of the technologies
UoNA-INST560 – Internet of Things (IoT)
14 /59
UoNA-INST560 – Internet of Things (IoT)
Types of Networks
Wan Network
15 /59
IoT Networks
• Millions of IoT devices are connected to Networks
UoNA-INST560 – Internet of Things (IoT)
• .
• .
Normal
Network
• However, IoT goes beyond to include people, things and software systems.
16 /59
IoT Networking Technologies
• Wired technologies are sometimes used in IoT; however, wireless
UoNA-INST560 – Internet of Things (IoT)
• 802.11 Wi-Fi
• IoT devices can use one of the 802.11 Wi-Fi LAN standards if the bandwidth
requirements are high, and power is plentiful
• Bluetooth
• There are IoT-specific revisions to the Bluetooth standard (Bluetooth 4.2 and
5.0)
• Bluetooth 5.1, released in January 2019, adds location tracking features,
mesh networking capabilities, and other improvements
• Compared with Wi-Fi, Bluetooth has less range, lower bandwidth, and
provides less power to IoT applications
17 /59
IoT Networking Technologies
• Zigbee, 6LoWPAN, and Thread
UoNA-INST560 – Internet of Things (IoT)
18 /59
IoT Networking Technologies
• Z-Wave
UoNA-INST560 – Internet of Things (IoT)
• LoRaWAN
• LoRaWAN is a low-power wide-area network technology that operates over a wide
range of frequencies under 1 GHz
• It can transmit up to 25 km under the right conditions
• It is ideal for applications that are battery driven and have low bandwidth
requirements
19 /59
IoT Communications
Input Actuator
UoNA-INST560 – Internet of Things (IoT)
Smart Device
Smart Phone
2 Ds
D ireles atio
n
D2D D2D W
Co mmu
nic
OR Wireless
Communication
Wireless
Communication
Web
20 /59
What is IoT communications?
• IoT is connection of devices over
UoNA-INST560 – Internet of Things (IoT)
• Cordless telephones,
• GPS units,
• satellite television,
• ZigBee,
• Infrared (IR),
• Cellular Connectivity, Wireless networking, WiMax, LoRa, Li-Fi , Wi-Fi and Bluetooth LE
(BLE).
23 /59
Number of Internet of Things (IoT) connected devices worldwide from
2019 to 2030, by communications technology
UoNA-INST560 – Internet of Things (IoT)
https://www.statista.com/statistics/1194688/iot-connected-devices-communications-technology/
24 /59
Limitations of wireless communication
Technology
• Examples:
UoNA-INST560 – Internet of Things (IoT)
/59
UoNA-INST560 – Internet of Things (IoT)
Range on Networking
27 /59
IoT Wireless Communication
• IoT Networks
UoNA-INST560 – Internet of Things (IoT)
• IoT Bandwidth
• Wireless Communication
• Morse
• Radio
• Bluetooth
• Wi-Fi
• LoRa
• Li-Fi
• More
28 /59
Wireless Communication devices: Antenna
29 /59
Wireless Communication Types of IoT Antennas
UoNA-INST560 – Internet of Things (IoT)
30 /59
UoNA-INST560 – Internet of Things (IoT)
/59
Wide Area Networks for IoT are
needed
• Because we want to communicate with IoT devices
UoNA-INST560 – Internet of Things (IoT)
32 /59
Example of WAN Networks
• Radio Stations:
UoNA-INST560 – Internet of Things (IoT)
34 /59
IoT Bandwidth
• Bandwidth: Capacity of Channel Wide Area Low Power
UoNA-INST560 – Internet of Things (IoT)
LoRa
We are looking for Extremity Low BW and High Range, with low
power
38 /59
Bandwidth and Range
UoNA-INST560 – Internet of Things (IoT)
• Relation
between
Bandwidth
and Range in
some of the
Wireless
Technologies.
39 /59
How are the devices connected?
UoNA-INST560 – Internet of Things (IoT)
Smart Device
Smart Phone
2S
S less
i re nication
D2D D2S W
Co mmu
OR Wireless
Communication
Wireless
Communication
Web
42 /59
Introduction: D2D communication
UoNA-INST560 – Internet of Things (IoT)
http://ieeexplore.ieee.org/document/6725683/ 43 /59
D2D communication
• Devices will communicate with each other autonomously
UoNA-INST560 – Internet of Things (IoT)
• Computation
• Software
• Cloud enabled Platforms– Nimbits, Hadoop and many more
• Hardware
• Intel Galileo
• Arduino
• BeagleBone
• Phidgets
• Gadgeteer
• Cubieboard
• Raspberry Pi
https://phdservices.org/iot-project-topics/ 45 /59
Building Blocks and Technologies of IoT
• Recognition
UoNA-INST560 – Internet of Things (IoT)
• Smart Entities
• Embedded Devices
• Small Sensing Devices
• Radio-frequency identification (RFID) tag
• Actuators
• Wearable Sensors
• Service
• Data Accumulation (Smart Electrical Grid)
• Mobile Service Identity-oriented (Shipping)
• Ubiquitous Smart Cities Services
• Cooperative-Aware Service (Home Automation)
47 /59
IoT Communication Technologies
• Long-range Communication
UoNA-INST560 – Internet of Things (IoT)
• Bluetooth Mesh
• It is constructed in the form of mesh topology on using Bluetooth low energy (BLE).
• Wi-Fi Communication
• It is the LAN based technique which operates by means of IEEE 802.11 protocol.
• Here, the devices can independently interact with other or uses access points
• Z-Wave Technology
• Well-suited for smart home and security related applications
49 /59
IoT Communication Technologies
• Short-range Communication
UoNA-INST560 – Internet of Things (IoT)
• ZigBee Technology
• It is the PAN based techniques which operates by means of IEEE 802.15.4 protocol.
• By the by, it has the benefits of minimum ( cost, bit rate, and power usage) and
maximum (throughput)
• 5G Network
• Introduced to meet the end-to-end communication support which maximum needs of the IoT.
• Also, it facilitates to work with huge-scale devices in regardless of their moving nature
• LTE-Advanced (LTE-A)
• It is the upgraded version of LTE network which has ultra-speed message sharing in cellular
networks.
• Moreover, it has advantage of low delay, prolonged LTE coverage and high throughput
• Wi-Fa is a technology
for wireless local area
networking with devices based
on the IEEE 802.11 standards.
52 /59
WiFi
UoNA-INST560 – Internet of Things (IoT)
• A common misconception is
that the term Wi-Fi is short
for "wireless fidelity,"
however this is not the case.
Wi-Fi is simply a trademarked
phrase that means:
IEEE 802.11x.
53 /59
WiFi Basics - Frequency
• If you are a laptop or a Smart phone user or carry any WiFi enabled
UoNA-INST560 – Internet of Things (IoT)
handset, the first thing you care about is the presence of WiFi
wherever you are.
• Its so simple for you to get connected to any WiFi network nearby
you and get instantly hooked up with the internet.
• Also, if you are a bit tech savvy, you would also possibly have a WiFi
network at your home which connects your laptop, your Tablet, your
home theater, may be a WiFi radio set and so on.
• Since you encounter WiFi everywhere during your day-to-day life, its
worthwhile to know some basic aspects of WiFi which will enable
you to make the best use of it.
54 /59
WiFi Basics - Frequency
• When we say something is wireless,
UoNA-INST560 – Internet of Things (IoT)
• Each wave coming out of such WiFi device is around 1.25 cm long for
802.11g and 0.5 cm long for 802.11a.
• Also, you can see that radio stations work from a range of 600kHz to
1.6 MHz (AM ) and 88-108 MHz (FM) .
56 /59
Which One Should You Choose? BLE or Wi-Fi?
iBeacon is a protocol developed by Apple and introduced at the Apple Worldwide Developers Conference in 2013
57 /59
Understanding IoT Protocols
UoNA-INST560 – Internet of Things (IoT)
https://solace.com/blog/use-cases/understanding-iot-protocols-matching-requirements-right-option 58 /59
1Device to device communications
• When devices need to communicate with other devices, the
UoNA-INST560 – Internet of Things (IoT)
59 /59
2 Device to gateway connections
• Each “thing” needs to send its data to an
UoNA-INST560 – Internet of Things (IoT)
https://solace.com/blog/use-cases/understanding-iot-protocols-matching-requirements-right-option 63 /59
What is IoT Protocols
• IoT communication protocols are modes of communication that protect and
UoNA-INST560 – Internet of Things (IoT)
• The IoT devices are typically connected to the Internet via an IP (Internet
Protocol) network.
• However, devices such as Bluetooth and RFID allow IoT devices to connect locally.
• 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.
64 /59
How many protocols are there in IoT?
• There are multiple IoT protocols available, with each one offering
UoNA-INST560 – Internet of Things (IoT)
• Z-Wave Scheme
• Routing Layer
• Routing Protocol for Low-Power and Lossy Networks (RPL)
• Service Discovery
• DNS Service Discovery (DNS-SD)
• Other Protocols
• IEEE 1905.1 Standard
• IP Security (IPSec)
• DDS.
• LWM2M.
• MQTT.
• Wi-Fi.
• XMPP.
• Zigbee.
https://www.cse.wustl.edu/~jain/cse570-15/ftp/iot_prot/#standards
69 /59
What is ZigBee?
• ZigBee is an IEEE 802.15.4-based specification for a suite of
UoNA-INST560 – Internet of Things (IoT)
70 /59
Protocol IEEE 802.11
UoNA-INST560 – Internet of Things (IoT)
71 /59
Understand each of commonly used protocols
• MQTT
UoNA-INST560 – Internet of Things (IoT)
• MQ Telemetry Transport is an
open standard protocol
maintained by OASIS, designed
for IoT communications over
TCP. There are currently two
versions in use, MQTT 3.1.1
and MQTT 5.0. (MQTT was
developed to meet device to
gateway messaging requirements
and doesn’t meet most needs of
gateway to a datacenter or intra-
datacenter connections).
https://solace.com/blog/use-cases/understanding-iot-protocols-matching-requirements-right-option 72 /59
Understand each of commonly used protocols
• JMS
UoNA-INST560 – Internet of Things (IoT)
https://solace.com/blog/use-cases/understanding-iot-protocols-matching-requirements-right-option 73 /59
Understand each of commonly used protocols
74 /59
Understand each of commonly used protocols
• AMQP
UoNA-INST560 – Internet of Things (IoT)
75 /59
Understand each of commonly used protocols
UoNA-INST560 – Internet of Things (IoT)
• REST
UoNA-INST560 – Internet of Things (IoT)
77 /59
Understand each of commonly used protocols
• CoAP
UoNA-INST560 – Internet of Things (IoT)
78 /59
Understand each of commonly used protocols
• DDS
UoNA-INST560 – Internet of Things (IoT)
• A non-TCP transport layer such as UDP is desired here. Among the protocols mentioned
above, MQTT-SN, CoAP and DDS support UDP multicast.
gateway or other edge device where data is either sent to the cloud to be
analyzed or analyzed locally.
• Sometimes, these devices communicate with other related devices and act
on the information they get from one another.
• This communication happens via IoT protocols, which ensure that data sent
from endpoint devices, such as sensors, is received and understood by the
next and subsequent steps in the connected environment, whether the
next step for that data is to another endpoint device or a gateway or an
application.
82 /59
References
• TECHNOLOGIES & PROTOCOLS FOR IOT
UoNA-INST560 – Internet of Things (IoT)
• https://webstor.srmist.edu.in/web_assets/downloads/2021/com
munication-technologies-for-iot.pdf
• https://www.youtube.com/watch?v=UGBobTInIBc
• https://www.youtube.com/watch?v=kh1VSum3A5U&t=18s