10. Preface: Ubiquitous Computing
What’s IoT?
How-To: IoT for Dummies
IoT Hardware Guide
An Example: Smart Studio
Criticism and controversies
Takeaways: The future of IoT
*Bonus Chapter: The Physical Web
12. The most profound technologies are
those that disappear.They weave
themselves into the fabric of everyday
life until they are indistinguishable from
it.
——Mark Weiser,Xerox Parc,1991
The Computer for the Twenty-First Century
13. • Ubiquitous computing names the third wave in computing,just
now beginning.First were mainframes,each shared by lots of
people.Now we are in the personal computing era,person and
machine staring uneasily at each other across the desktop.Next
comes ubiquitous computing,or the age of calm technology,
when technology recedes into the background of our lives.
14. • The purpose of a computer is to help you do something else.
• The best computer is a quiet,invisible servant.
• The more you can do by intuition the smarter you are; the
computer should extend your unconscious.
• Technology should create calm.
21. In·ter·net of Things
The network of physical devices,vehicles,buildings and
other items—embedded with electronics,software,
sensors,actuators,and network connectivity that enable
these objects to collect and exchange data.
22. 2013 the Global Standards Initiative on
Internet of Things (IoT-GSI) defined the IoT as
"the infrastructure of the information society."
83. A dedicated gateway device might be a requirement if devices in
the deployment:
• Don’t have routable connectivity to the Internet,for example,Bluetooth
devices.
• Don’t have processing capability needed for transport-layer security (TLS)
and as such can't communicate with Google APIs.
• Don't have the electrical power to perform required network transmission.
84. A gateway device might be used even when the participating devices
are capable of communicating without one,in order to:
• Condensing data
• Cache data
• Manage Timestamps
• IPV6 to IPV4 translation
• Ingesting and uploading other flat-file-based data
• Firmware updates
89. 3G 4G
LPWAN / WAN
*LPWAN: Low Power Wide Area Network
*WAN: Wide Area Network
90. • SIGFOX employs a cellular style system that enables
remote devices to connect using ultra-narrow band (UNB)
technology,the same used for submarine communications
during World War I.
97. • Machine to machine refers to direct communication
between devices using any communications channel,
including wired and wireless.
98. • MQTT stands for MQ TelemetryTransport.
• It is a publish/subscribe,extremely simple and lightweight
messaging protocol,designed for constrained devices and
low-bandwidth,high-latency or unreliable networks.
100. • Low overhead
• Low energy consumption
• Based on TCP/IP
• Support of WebSocket
• Multiple implementations: Java/Python/C++
• Commercial and Open Source version
102. • The Constrained Application Protocol (CoAP) is a
specialized web transfer protocol for use with constrained
nodes and constrained networks in the Internet of Things.
• The protocol is designed for machine-to-machine (M2M)
applications such as smart energy and building automation.
CoAP
103. • Extensible Messaging and Presence Protocol (XMPP) is a
communications protocol for message-oriented middleware
based on XML (Extensible Markup Language).
• It enables the near-real-time exchange of structured yet
extensible data between any two or more network entities.
Originally named Jabber.
104. Protocol RESTful HTTP MQTT CoAP XMPP
Transport TCP / IP TCP / IP UDP TCP / IP
Messaging Request/Response
Publish/Subscribe
Request/Response
Request/Response
Publish/Subscribe
Request/Response
2G,3G,4G Suitability
(1000s nodes)
Excellent Excellent Excellent Excellent
LLN Suitability (1000s
nodes)
Fair Fair Excellent Fair
Compute Resources 10Ks RAM/Flash 10Ks RAM/Flash 10Ks RAM/Flash 10Ks RAM/Flash
Success Storied
Smart Energy Profile 2
(premise energy
management/home
services)
Extending enterprise
messaging into IoT
applications
Utility Field Area Networks
Remote management of
consumer white goods
Reference: http://blogs.cisco.com/digital/beyond-mqtt-a-cisco-view-on-iot-protocols
126. • Currents of 2 mA,10 mA and 20 mA are common
• Typically,the forward voltage of an LED is about 1.8–3.3 volts; it varies by the
color of the LED.A RED LED typically drops 1.8 volts,but voltage drop normally
rises as the light frequency increases,so a BLUE LED may drop around 3.3 volts.
• To connect a LED to Arduino or Raspberry Pi: 5V-2V / 0.02A = 150 ohm