SlideShare a Scribd company logo
Internet of Things
HELLO!
I am Bhavin
I am here because I love technology
You can find me at @BhvainIoT
IIT Madras - grad. May 2014: M.Tech (Dual Degree)
Co-founder AviPulse - Jan 2014 - present
Co-founder Phaneron Inc. - Launching in Apr 2016
Logistics
Takeoff Session (Protocols):
Introduction to IoT
Protocols: MQTT, CoAP, HTTP
MQTT in depth: Headers, QoS, Topics, Persistence & Will
Conclusion: Comparison of protocols
Consolidation Session (Implementation):
Hardware: Arduino, ESP8266 & NodeMCU, Raspberry Pi, UDOO
Software: Brokers, APIs, Frameworks
Practices: Cloud, Battery Life, Mobile Apps, Securit
Future: Smart Cities, Mission 2020
Hands-on Session (Demo):
The Participants will form groups and make a hands on “Minimal Viable
Prototype” demo using lean principles and concepts learned in the
above sessions
120 mins
10 mins
30 mins
60 mins
20 mins
120 mins
40 mins
40 mins
30 mins
10 mins
120 mins
1. Introduction
Let’s start with the basics
Big Picture
What is IoT really?
The Internet of Things (IoT) is the network of physical objects, devices, vehicles, buildings and
other items which are embedded with electronics, software, sensors, and network connectivity, which
enables these objects to collect and exchange data.[1]
The Internet of Things allows objects to be
sensed and controlled remotely across existing network infrastructure,
[2]
creating opportunities for
more-direct integration between the physical world and computer-based systems, and resulting in
improved efficiency, accuracy and economic benefit
"Things," in the IoT sense, can refer to a wide variety of devices such as heart monitoring implants,
biochip transponders on farm animals, electric clams in coastal waters,[15]
automobiles with built-in
sensors, DNA analysis devices for environmental/food/pathogen monitoring
[16]
or field operation
devices that assist firefighters in search and rescue operations.
[17]
These devices collect useful data
with the help of various existing technologies and then autonomously flow the data between other
devices
Source: Wikipedia
→ Hardware agnostic
→ Software agnostic
→ Protocols matter !
→ Concerns:
↠ Battery life, energy consumption
↠ Connectivity vs Security
↠ Processing Power & Memory
Ideal IoT solution
2. Protocols
HTTP, MQTT, CoAP
OSI Model
Bits & Frames - Wireshark
Protocols in Transport Layer
Protocols in Transport Layer
TCP/IP and UDP
→ (Slightly more than) Transport Layer
Protocols
↠ TCP/UDP contain functions such as graceful close
that OSI assigns to Session Layer
↠ They are closest to class 4 (TP4) of OSI
TCP: Reliability over Latency UDP: Latency over Reliability
TCP
→ TCP provides reliable, ordered, and error-
checked delivery of a stream of octets
between applications running on hosts
communicating over an IP network
→ The sequence (SEQ) of octets matters
→ Receiver has to acknowledge (ACK) and
synchronize (SYN) the sequence with the
transmitter
TCP
TCP
UDP
→ With UDP, computer applications can send
messages, in this case referred to as
datagrams, to other hosts on an Internet
Protocol (IP) network without prior
communications to set up special
transmission channels or data paths
→ Un-sequenced data with no ACK or error
handling
UDP
TCP
→ Reliable
→ Ordered
→ Heavyweight
→ Slow(er)
→ Streaming
→ Congestion Control
→ Unicast (1 to 1)
TCP vs UDP
UDP
→ Unreliable
→ Unordered
→ Lightweight
→ Fast(er)
→ Datagrams
→ No Congestion Control
→ Broadcast (1 to many)
Multicast (many to
many)
Protocol Stacks
→ HTTP: TCP like session on top of TCP
→ MQTT: UDP like session on top of TCP
→ CoAP: TCP like session on top of UDP
(also, it has binary headers)
This is a slide title
→ Here you have a list of items
→ And some text
→ But remember not to overload your slides
with content
You audience will listen to you or read the
content, but won’t do both.
HTTP
→ The Hypertext Transfer Protocol (HTTP) is a protocol for
distributed, collaborative, hypermedia information
systems
→ HTTP functions as a request response protocol in a
client-server computing model
→ HTTP resources are identified and located on the
network by uniform resource locators (URLs), using the
uniform resource identifier (URI) schemes http and https.
URIs and hyperlinks in HTML documents form inter-
linked hypertext documents
→ URI:
HTTP
HTTP
Methods/Verbs
→ GET*$
→ POST$
→ PUT$
→ DELETE$
→ HEAD*
→ CONNECT
→ PATCH
→ TRACE*
→ OPTIONS*
* No changes to database $: REST API
HTTP
→ HTTP is a stateless protocol. A stateless protocol does not
require the HTTP server to retain information or status
about each user for the duration of multiple requests.
→ However, some (read: most) web applications implement
states or server side sessions using for instance HTTP
cookies or hidden variables within web forms
MQTT
→ MQTT is Client-Server publish/subscribe messaging
transport protocol
→ It is lightweight, simple, open, and designed to be as easy
to implement
→ It runs over TCP/IP but can be implemented over any
stack that provides ordered, lossless, bi-directional
connections
→ MQTT is an OASIS standard since v3.1.1 (current version)
Note: MQTT = MQ Telemetry Transport. MQ doesn’t stand for
message queue. Infact there’s NO queuing in MQTT
MQTT
MQTT
CoAP
→ Constrained Application Protocol
→ Works over UDP. Has Binary Headers
→ Provides a RESTful API over UDP
→ CoAP was the de-facto “IoT” protocols since before IoT
was mainstream
→ It is especially useful in embedded devices with limited
processing power and memory
→ But it hasn’t aged well with Moore’s law
→ With competition in IoT hardware market, a lot powerful
devices are available for cheap
CoAP
CoAP
3. Diving into MQTT
All about MQTT Protocol
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
MQTT
4. Conclusion
An Overview of what we’ve covered
Comparisons: MQTT vs HTTP
Comparisons: MQTT vs CoAP
THANKS!
Any questions?
See you in the next session!
I’m Bhavin Chandarana, find me at
→ @BhavinIoT
→ bhavin@phaneronsystems.com
→ +91-8380013130 | +91-9840425583
Do Checkout:
http://www.meetup.com/Internet-Of-Things-Pune-IoTPune

More Related Content

PDF
Internet of Things – Syllabus (2018 - 2019) [Mumbai University]
PDF
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
PDF
Open IoT Cloud Architecture, Web of Things, Shenzhen, China.
PPT
Embedded Devices on the Internet of Things
PDF
Internet of Things: Intro and Demo
PDF
Simple things about Internet of Things
PDF
Entrepreneurship through Making
PDF
Tutorial on Internet of Thing (IoT) Paradigm in Consumer Applications
Internet of Things – Syllabus (2018 - 2019) [Mumbai University]
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
Open IoT Cloud Architecture, Web of Things, Shenzhen, China.
Embedded Devices on the Internet of Things
Internet of Things: Intro and Demo
Simple things about Internet of Things
Entrepreneurship through Making
Tutorial on Internet of Thing (IoT) Paradigm in Consumer Applications

What's hot (20)

PDF
A Reference Architecture for IoT
PDF
IOT Networks
PPT
Internet of Things and its applications
PPTX
Simon Ford - ARM and the Open Internet of Things
PPTX
IoT (and M2M and WoT) From the Operators (CSP) perspective
PPTX
PPTX
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
PDF
Industrial IoT in a Nutshell
PDF
Embedded system & IoT Course | certification Program | Learn and Build
PPTX
IoT World - creating a secure robust IoT reference architecture
PPTX
The Future is Internet of Things (IOT)
PDF
TUW-ASE Summer 2015: IoT Cloud Systems
PDF
Azure IoT Hub: 30 minutes Intro & Demo
PPTX
Internet of Things (IoT) Presentation
PPTX
Internet of things architecture perspective - IndicThreads Conference
PDF
IoT connectivity and solutions
PDF
IoT (Internet of Things) Smart City Architecture
PPTX
IoT Cloud architecture
PDF
XMPP & Internet Of Things
PPTX
IOT Overview
A Reference Architecture for IoT
IOT Networks
Internet of Things and its applications
Simon Ford - ARM and the Open Internet of Things
IoT (and M2M and WoT) From the Operators (CSP) perspective
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
Industrial IoT in a Nutshell
Embedded system & IoT Course | certification Program | Learn and Build
IoT World - creating a secure robust IoT reference architecture
The Future is Internet of Things (IOT)
TUW-ASE Summer 2015: IoT Cloud Systems
Azure IoT Hub: 30 minutes Intro & Demo
Internet of Things (IoT) Presentation
Internet of things architecture perspective - IndicThreads Conference
IoT connectivity and solutions
IoT (Internet of Things) Smart City Architecture
IoT Cloud architecture
XMPP & Internet Of Things
IOT Overview
Ad

Similar to Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 1/2 (20)

PDF
Protocols for IoT
PPTX
Internet of things(iot)
PDF
IoT - Understanding internet of things
PDF
Overview on Application protocols in Internet of Things
PPTX
An assessment of internet of things protocols for constrain apps
PPTX
Protocols for internet of things
PPTX
Protocols for internet of things
PPTX
Internet of Things: Protocols for M2M
PPTX
Protocols for internet of things
PPTX
Protocols for internet of things
PPTX
Protocols for internet of things
PDF
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
PDF
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
PDF
Protocols for IoT
PPTX
715677653-CPE-445-Internet-of-Things-Chapter-6.pptx
PPTX
715677653-CPE-445-Internet-of-Things-Chapter-6.pptx
PDF
Physical Design of IoT.pdf
PDF
Chapter 1 pdf
PPTX
18110005GHFHFGJJGJGVGVHNVHBCFGCGDDGDGDFG
PPTX
1427264023243345TGFGBBGHGJKU6Y767GGGBGGH
Protocols for IoT
Internet of things(iot)
IoT - Understanding internet of things
Overview on Application protocols in Internet of Things
An assessment of internet of things protocols for constrain apps
Protocols for internet of things
Protocols for internet of things
Internet of Things: Protocols for M2M
Protocols for internet of things
Protocols for internet of things
Protocols for internet of things
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Protocols for IoT
715677653-CPE-445-Internet-of-Things-Chapter-6.pptx
715677653-CPE-445-Internet-of-Things-Chapter-6.pptx
Physical Design of IoT.pdf
Chapter 1 pdf
18110005GHFHFGJJGJGVGVHNVHBCFGCGDDGDGDFG
1427264023243345TGFGBBGHGJKU6Y767GGGBGGH
Ad

Recently uploaded (20)

PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Getting started with AI Agents and Multi-Agent Systems
PPT
What is a Computer? Input Devices /output devices
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
The various Industrial Revolutions .pptx
PDF
August Patch Tuesday
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
STKI Israel Market Study 2025 version august
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Web App vs Mobile App What Should You Build First.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Getting started with AI Agents and Multi-Agent Systems
What is a Computer? Input Devices /output devices
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Chapter 5: Probability Theory and Statistics
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Univ-Connecticut-ChatGPT-Presentaion.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Final SEM Unit 1 for mit wpu at pune .pptx
Hindi spoken digit analysis for native and non-native speakers
Developing a website for English-speaking practice to English as a foreign la...
The various Industrial Revolutions .pptx
August Patch Tuesday
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
STKI Israel Market Study 2025 version august
DP Operators-handbook-extract for the Mautical Institute
Group 1 Presentation -Planning and Decision Making .pptx
NewMind AI Weekly Chronicles – August ’25 Week III
Web App vs Mobile App What Should You Build First.pdf

Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 1/2

  • 2. HELLO! I am Bhavin I am here because I love technology You can find me at @BhvainIoT IIT Madras - grad. May 2014: M.Tech (Dual Degree) Co-founder AviPulse - Jan 2014 - present Co-founder Phaneron Inc. - Launching in Apr 2016
  • 3. Logistics Takeoff Session (Protocols): Introduction to IoT Protocols: MQTT, CoAP, HTTP MQTT in depth: Headers, QoS, Topics, Persistence & Will Conclusion: Comparison of protocols Consolidation Session (Implementation): Hardware: Arduino, ESP8266 & NodeMCU, Raspberry Pi, UDOO Software: Brokers, APIs, Frameworks Practices: Cloud, Battery Life, Mobile Apps, Securit Future: Smart Cities, Mission 2020 Hands-on Session (Demo): The Participants will form groups and make a hands on “Minimal Viable Prototype” demo using lean principles and concepts learned in the above sessions 120 mins 10 mins 30 mins 60 mins 20 mins 120 mins 40 mins 40 mins 30 mins 10 mins 120 mins
  • 5. Big Picture What is IoT really?
  • 6. The Internet of Things (IoT) is the network of physical objects, devices, vehicles, buildings and other items which are embedded with electronics, software, sensors, and network connectivity, which enables these objects to collect and exchange data.[1] The Internet of Things allows objects to be sensed and controlled remotely across existing network infrastructure, [2] creating opportunities for more-direct integration between the physical world and computer-based systems, and resulting in improved efficiency, accuracy and economic benefit "Things," in the IoT sense, can refer to a wide variety of devices such as heart monitoring implants, biochip transponders on farm animals, electric clams in coastal waters,[15] automobiles with built-in sensors, DNA analysis devices for environmental/food/pathogen monitoring [16] or field operation devices that assist firefighters in search and rescue operations. [17] These devices collect useful data with the help of various existing technologies and then autonomously flow the data between other devices Source: Wikipedia
  • 7. → Hardware agnostic → Software agnostic → Protocols matter ! → Concerns: ↠ Battery life, energy consumption ↠ Connectivity vs Security ↠ Processing Power & Memory Ideal IoT solution
  • 10. Bits & Frames - Wireshark
  • 13. TCP/IP and UDP → (Slightly more than) Transport Layer Protocols ↠ TCP/UDP contain functions such as graceful close that OSI assigns to Session Layer ↠ They are closest to class 4 (TP4) of OSI TCP: Reliability over Latency UDP: Latency over Reliability
  • 14. TCP → TCP provides reliable, ordered, and error- checked delivery of a stream of octets between applications running on hosts communicating over an IP network → The sequence (SEQ) of octets matters → Receiver has to acknowledge (ACK) and synchronize (SYN) the sequence with the transmitter
  • 15. TCP
  • 16. TCP
  • 17. UDP → With UDP, computer applications can send messages, in this case referred to as datagrams, to other hosts on an Internet Protocol (IP) network without prior communications to set up special transmission channels or data paths → Un-sequenced data with no ACK or error handling
  • 18. UDP
  • 19. TCP → Reliable → Ordered → Heavyweight → Slow(er) → Streaming → Congestion Control → Unicast (1 to 1) TCP vs UDP UDP → Unreliable → Unordered → Lightweight → Fast(er) → Datagrams → No Congestion Control → Broadcast (1 to many) Multicast (many to many)
  • 20. Protocol Stacks → HTTP: TCP like session on top of TCP → MQTT: UDP like session on top of TCP → CoAP: TCP like session on top of UDP (also, it has binary headers)
  • 21. This is a slide title → Here you have a list of items → And some text → But remember not to overload your slides with content You audience will listen to you or read the content, but won’t do both.
  • 22. HTTP → The Hypertext Transfer Protocol (HTTP) is a protocol for distributed, collaborative, hypermedia information systems → HTTP functions as a request response protocol in a client-server computing model → HTTP resources are identified and located on the network by uniform resource locators (URLs), using the uniform resource identifier (URI) schemes http and https. URIs and hyperlinks in HTML documents form inter- linked hypertext documents → URI:
  • 23. HTTP
  • 24. HTTP Methods/Verbs → GET*$ → POST$ → PUT$ → DELETE$ → HEAD* → CONNECT → PATCH → TRACE* → OPTIONS* * No changes to database $: REST API
  • 25. HTTP → HTTP is a stateless protocol. A stateless protocol does not require the HTTP server to retain information or status about each user for the duration of multiple requests. → However, some (read: most) web applications implement states or server side sessions using for instance HTTP cookies or hidden variables within web forms
  • 26. MQTT → MQTT is Client-Server publish/subscribe messaging transport protocol → It is lightweight, simple, open, and designed to be as easy to implement → It runs over TCP/IP but can be implemented over any stack that provides ordered, lossless, bi-directional connections → MQTT is an OASIS standard since v3.1.1 (current version) Note: MQTT = MQ Telemetry Transport. MQ doesn’t stand for message queue. Infact there’s NO queuing in MQTT
  • 27. MQTT
  • 28. MQTT
  • 29. CoAP → Constrained Application Protocol → Works over UDP. Has Binary Headers → Provides a RESTful API over UDP → CoAP was the de-facto “IoT” protocols since before IoT was mainstream → It is especially useful in embedded devices with limited processing power and memory → But it hasn’t aged well with Moore’s law → With competition in IoT hardware market, a lot powerful devices are available for cheap
  • 30. CoAP
  • 31. CoAP
  • 32. 3. Diving into MQTT All about MQTT Protocol
  • 33. MQTT
  • 34. MQTT
  • 35. MQTT
  • 36. MQTT
  • 37. MQTT
  • 38. MQTT
  • 39. MQTT
  • 40. MQTT
  • 41. MQTT
  • 42. MQTT
  • 43. MQTT
  • 44. MQTT
  • 45. MQTT
  • 46. MQTT
  • 47. 4. Conclusion An Overview of what we’ve covered
  • 50. THANKS! Any questions? See you in the next session! I’m Bhavin Chandarana, find me at → @BhavinIoT → bhavin@phaneronsystems.com → +91-8380013130 | +91-9840425583 Do Checkout: http://www.meetup.com/Internet-Of-Things-Pune-IoTPune