0% found this document useful (0 votes)
45 views26 pages

Protocol & Data Trasfer: Internet of Things

The document discusses protocols used in Internet of Things (IoT) systems. It describes common IoT protocols like MQTT, which is a publish-subscribe messaging protocol used for device communication. The document outlines IoT protocol stacks and layers, and covers various communication protocols used at different layers like Bluetooth, Zigbee, LPWAN and cellular networks. It provides details on MQTT protocol specifications including messaging patterns, quality of service levels and state machines.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views26 pages

Protocol & Data Trasfer: Internet of Things

The document discusses protocols used in Internet of Things (IoT) systems. It describes common IoT protocols like MQTT, which is a publish-subscribe messaging protocol used for device communication. The document outlines IoT protocol stacks and layers, and covers various communication protocols used at different layers like Bluetooth, Zigbee, LPWAN and cellular networks. It provides details on MQTT protocol specifications including messaging patterns, quality of service levels and state machines.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

9/4/19

Internet of Things

Protocol & Data Trasfer

Bayu Erfianto
1
faculty of informatics | internet of things

Schedule
& Syllabus

faculty of informatics | internet of things 2

1
9/4/19

References

faculty of informatics | internet of things 3

Protocol

faculty of informatics | internet of things 4

2
9/4/19

Protocols
What is Protocol? A protocol is a set
of rules that govern how systems
communicate. For networking they
govern how data is transferred
from one system to another.

What is Protocol suite? A protocol


suite is a collection of protocols that
are designed to work together.

What is Protocol stack? Each level of


the stack performs a particular
function and communicates with the
levels above and below it.

faculty of informatics | internet of things 5

Protocols
HTTP (hypertext transfer protocol) -This is the workhorse of the Web.

SMTP,POP3,IMap4 – These are email protocols

TCP (Transmission control protocol) is a connection orientated protocol and is


used to provides a reliable end to end connection.

UDP (used datagram protocol) is connection less protocol and doesn’t guarantee
delivery. See UDP vs TCP- what is the Difference?

Applications will choose which transmission protocol to use based on their function.
HTTP, POP3, IMAP4, SMTP and many more use TCP.

UDP is used more in utility applications like DNS, RIP (routing information protocol),
DHCP.

IP (Internet Protocol) – This is the main networking protocol. There are two version
of IP (IPv4 and IPV6).

ARP (address resolution Protocol) -Translates an IP address to a MAC or physical


address.(IP4 networks)

faculty of informatics | internet of things 6

3
9/4/19

IoT Protocol

faculty of informatics | internet of things 7

Typical IoT Architecture

faculty of informatics | internet of things 8

4
9/4/19

IoT Layer

faculty of informatics | internet of things 9

Mapping IoT Layer to Domain

faculty of informatics | internet of things 10

5
9/4/19

ITU-T IoT Reference Architecture

faculty of informatics | internet of things 11

IoT Protocol Stack


There are many protocols used in an IoT
ecosystem at different layers of an OSI Model
Usually, it is preferred to use low-powered
protocols like 6LoWPAN, Bluetooth BLE, ZigBee,
etc.

faculty of informatics | internet of things 12

6
9/4/19

General Comparison Stack: IoT & Web


in TCP/IP Suite

Application
Protocol

Transport
Protocol

Communication
Protocol

faculty of informatics | internet of things 13

Protocol Header and Message

faculty of informatics | internet of things 14

7
9/4/19

State of The Art of Protocol Layers

faculty of informatics | internet of things 15

IoT Protocol Stack

faculty of informatics | internet of things 16

8
9/4/19

IoT Protocol Standard

faculty of informatics | internet of things 17

Commuication Protocol

faculty of informatics | internet of things 18

9
9/4/19

Requirements of Communication

faculty of informatics | internet of things 19

Communication Protocols

faculty of informatics | internet of things 20

10
9/4/19

Communication Protocols
GPRS/2G/3G/4G cellular
LoRaWAN - Network protocol intended for wireless
battery operated Things in regional, national or
global network
LTE-MTC (LTE-Machine Type Communication) -
Standards-based family of technologies supports
several technology categories, such as Cat-1 and
CatM1, suitable for the IoT
NB-IoT (Narrow-Band IoT) A technology being
standardized by the 3GPP standards body

faculty of informatics | internet of things 21

6LoWPAN - "6LoWPAN is an acronym of IPv6 over


Low power Wireless Personal Area Networks. It is
an adaption layer for IPv6 over IEEE802.15.4
links. This protocol operates only in the 2.4 GHz
frequency range with 250 kbps transfer rate.
IEEE 802.15.4
IEEE 802.15.4 is a standard which specifies the
physical layer and media access control for low-
rate wireless personal area networks (LR-WPANs).

faculty of informatics | internet of things 22

11
9/4/19

Bluetooth
Bluetooth works in the 2.4 GHz ISM band and
uses frequency hopping. With a data rate up to 3
Mbps and maximum range of 100m. Each
application type which can use Bluetooth has its
own profile.
ZigBee
The ZigBee protocol uses the 802.15.4 standard
and operates in the 2.4 GHz frequency range with
250 kbps. The maximum number of nodes in the
network is 1024 with a range up to 200 meter.
ZigBee can use 128 bit AES encryption.

faculty of informatics | internet of things 23

WiMax
WiMax is based on the standard IEEE 802.16 and
is intended for wireless metropolitan area
networks. The range is different for fixed stations,
where it can go up to 50 km and mobile devices
with 5 to 15 km. WiMAx operates at frequencies
between 2.5 GHz to 5.8 GHz with a transferrate of
40 Mbps.

faculty of informatics | internet of things 24

12
9/4/19

Communication Protocols Summary

faculty of informatics | internet of things 25

Application Protocol

faculty of informatics | internet of things 26

13
9/4/19

IoT Messaging Pattern

faculty of informatics | internet of things 27

IoT Application Protocol

faculty of informatics | internet of things 28

14
9/4/19

Application Protocol Comparison

faculty of informatics | internet of things 29

IoT Application Protocol Stack

faculty of informatics | internet of things 30

15
9/4/19

MQTT
MQTT is a machine-to-machine (M2M) protocol. It
is a publish-subscribe-based messaging protocol,
used to communicate device data to the servers.
The main purpose of MQTT is to manage IoT
devices remotely. It is mainly used when a huge
network of small devices needs to be monitored
or managed via Internet i.e. parking sensors,
underwater lines, energy grid, etc.
The MQTT messages are sent asynchronously
through publish-subscribe architecture. The
messages are encapsulated in several defined
control packets, which are designed to minimize
the network footprint.
faculty of informatics | internet of things 31

MQTT

faculty of informatics | internet of things 32

16
9/4/19

MQTT

faculty of informatics | internet of things 33

MQTT

faculty of informatics | internet of things 34

17
9/4/19

MQTT

faculty of informatics | internet of things 35

MQTT State Machine

faculty of informatics | internet of things 36

18
9/4/19

faculty of informatics | internet of things 37

MQTT QoS

faculty of informatics | internet of things 38

19
9/4/19

CoAP
CoAP is network-oriented protocol, using similar
features to HTTP but also allows for low overhead,
multicast, etc.
As HTTP protocol is a long-term successful
standard, it can use small script to integrate
various resources and services. Interoperation
provided by HTTP is the key point of IoT, for this,
HTTP is employed in application level.

faculty of informatics | internet of things 39

CoAP

faculty of informatics | internet of things 40

20
9/4/19

CoAP Security

faculty of informatics | internet of things 41

CoAP Application

faculty of informatics | internet of things 42

21
9/4/19

Example: using Thingspeak


Arduino

faculty of informatics | internet of things 43

faculty of informatics | internet of things 44

22
9/4/19

MQTT to Thingspeak

faculty of informatics | internet of things 45

MQTT to Thingspeak

faculty of informatics | internet of things 46

23
9/4/19

MQTT to Thingspeak

faculty of informatics | internet of things 47

MQTT to Thingspeak

faculty of informatics | internet of things 48

24
9/4/19

MQTT to Thingspeak

faculty of informatics | internet of things 49

Dashboard

faculty of informatics | internet of things 50

25
9/4/19

THANK YOU
51

26

You might also like