SlideShare a Scribd company logo
1 of 84
IoT: An Introduction and
Getting Started Session
Debasis Das
ECD Zone
For a successful technology, reality
must take precedence over public
relations, for Nature cannot be
fooled.
ā€”Richard P. Feynman, Physicist
11/20/2015
Debasis Das
debasis@ecdzone.com
2
Top Level View of IoT
11/20/2015
Debasis Das
debasis@ecdzone.com
3
Sensors/sensor
networks
Actuators
Processor
Thing or an object
Cloud
Internet of Things
ā€¢ This is an evolving technology, also known as
Internet of Everything.
ā€¢ Evolved from what used to be known as M2M
ā€¢ The industrial section of the applications are
being hailed as the 4th industrial revolution
11/20/2015
Debasis Das
debasis@ecdzone.com
4
Dimensions of the Complex IoT
Eco-system (by 2020)
ā€¢ Sensors: 212 bn; location, motion, chemical,
light, heat, sound
ā€¢ Devices: 50 bn: smartphones, wearables,
automobiles, domestic
ā€¢ Networks: 2.5 bn, Blu-tooth, NFC, Wi-fi, etc.
connections accessing 4G/LTE networks
11/20/2015
Debasis Das
debasis@ecdzone.com
5
Dimensions of the Complex IoT
Eco-system (by 2020) ā€“ Contā€™d
ā€¢ APIs: 75%, fortune 1000 companies will offer
public APIs by end 2014, billing, mapping, social,
search, marketing, etc.
ā€¢ APPs: 4.4 bn, number of app users by 2017, touch
interfaces, gesture tracking, augmented reality,
voice recognition, etc.
ā€¢ Data:16 ExaBytes, mobile data traffic per month
by end 2014, user data, transaction data, field
data, inventory data, performance data, etc.
11/20/2015
Debasis Das
debasis@ecdzone.com
6
Gartner Study
ā€¢ By 2020
ā€“ 25 billion devices are going to be connected
ā€“ Causing a $7 trillion opportunity for businesses
11/20/2015
Debasis Das
debasis@ecdzone.com
7
Industry 4.0 Opportunity
ā€¢ IIoT could be $531 billion by 2020 through opportunities like
Connected asset management, connected worker and other never-
before opportunity that develops
ā€¢ What customer may want
ā€“ Operational efficiency
ā€“ Move away from product oriented business focus to service oriented
focus
ā€“ Unconventional revenues
ā€¢ From a recent presentation by Accenture
11/20/2015
Debasis Das
debasis@ecdzone.com
8
Structure of IoT
Services
Internet
Gateway
Wi-Fi, Mobile, DSL, Fiber
6LowPAN, Zigbee, RFID, NFC
Things- appliances, buildings, smart city systems
Sensors, Actuators
11/20/2015
Debasis Das
debasis@ecdzone.com
9
Technologies Involved in IoT
Applications
11/20/2015
Debasis Das
debasis@ecdzone.com
10
Application
OSS & BSS
Analytics Data Security BPM BRM
IoT Management Services
WAN (Wireless) WAN (Wireline))
RFID
Low power
wireless
Gateway functions
Sensors
LAN
Classes of Constrained Devices
Class RAM Flash Comments
Class 0 < 1 KB < 100 KB Devices use gateways to communicate, have
rudimentary communication capabilities only
Class 1 ~10 KB ~100 KB Devices use protocols designed for IoT, using
Constrained Application Protocols (CoAP). Can
interact with other devices without going through
a gateway.
Class 2 ~50 KB ~250 KB Devices use regular IP (IPv6) protocols and can
behave as regular network devices
11/20/2015
Debasis Das
debasis@ecdzone.com
11
Sensors & Actuators
ā€¢ Sensors help measuring things and help decide what is
the current status of the environment to be controlled
ā€¢ Actuators help actuate the controls that can change
these variables in the environment, when necessary
ā€¢ The direction of control, the amount of control, the
time for which it has to be turned on, etc. are derived
from analyzing the sensory inputs. The analysis will be
carried out at a processor that can be at different
levels. Depending on the volume of data or the
complexity of the control scenario, resources in the
cloud could be used too.
11/20/2015
Debasis Das
debasis@ecdzone.com
12
Sensors
11/20/2015
Debasis Das
debasis@ecdzone.com
13
A Sensor Node (mote)
Courtesy Wikipedia
ā€¢ A sensor node, also known as a mote (North America),
is a node in a sensor network that is capable of
performing some processing, gathering sensory
information and communicating with other connected
nodes in the network
ā€¢ A wireless sensor network (WSN) (sometimes called
a wireless sensor and actor network WSAN) are
spatially distributed autonomous sensors
to monitor physical or environmental conditions such
as temperature, sound, pressure, etc. and to
cooperatively pass their data through the network to a
central location. The more modern networks are bi-
directional, also enabling control of sensor activity.
11/20/2015
Debasis Das
debasis@ecdzone.com
14
WSN/Mote example 1
11/20/2015
Debasis Das
debasis@ecdzone.com
15
Typical I/O Configuration of
Zolertia z1
11/20/2015
Debasis Das
debasis@ecdzone.com
16
Mote/WSN example 2
11/20/2015
Debasis Das
debasis@ecdzone.com
17
WSN/Mote example 3
11/20/2015
Debasis Das
debasis@ecdzone.com
18
Mote on a Chip
11/20/2015
Debasis Das
debasis@ecdzone.com
19
Sensor Network Characteristics
Courtesy Wikipedia
ā€¢ The WSN is built of "nodesā€œ; from a few to
several hundreds or even thousands, where each
node is connected to one (or sometimes several)
sensors.
ā€¢ Each such sensor network node has typically
ā€“ A radio transceiver with an internal antenna or an
external one
ā€“ A Microcontroller for interfacing with the sensors and
an energy source, usually a battery or an embedded
form of energy harvesting
11/20/2015
Debasis Das
debasis@ecdzone.com
20
Sensor Network Characteristics-
contā€™d
ā€“ The cost of sensor nodes is variable, ranging from a
few to hundreds of dollars, depending on the
complexity of the individual sensor nodes
ā€“ Size and cost constraints on sensor nodes result in
corresponding constraints on resources such as
energy, memory, computational speed and
communications bandwidth
ā€“ The topology of the WSNs can vary from a simple star
to an multi-hop mesh
ā€“ The propagation technique between the hops of the
network can be routing or flooding
11/20/2015
Debasis Das
debasis@ecdzone.com
21
Architecture of a Mote
11/20/2015
Debasis Das
debasis@ecdzone.com
22
Memory
Power
Supply
unit
Micro-
processor
Sensor 2
Sensor 1
ADC
Transceiver
Multi-hop Sensor Network
Architecture
11/20/2015
Debasis Das
debasis@ecdzone.com
23
WSN Hardware
ā€¢ A WSN has a low cost and small/tiny in size
ā€¢ Inherent to sensor network adoption is the use of
low power methods for radio communication and
data acquisition.
ā€¢ A WSN usually communicates with a local area
network or wide area network through a
gateway. The Gateway acts as a bridge between
the WSN and the other network
ā€¢ This enables data to be stored and processed by
devices with more resources in a remote server
for example
11/20/2015
Debasis Das
debasis@ecdzone.com
24
WSN Software
ā€¢ WSNs may be deployed in large numbers in various
environments, including remote and hostile regions,
where ad hoc communications are a key component.
Usually energy availability is constrained.
ā€¢ Algorithms and protocols need to address the following
issues
ā€“ Increased lifespan
ā€“ Robustness and fault tolerance
ā€“ Self-configuration
ā€¢ To conserve power, wireless sensor nodes normally
power off both the radio transmitter and the radio
receiver when not in use in a sleep mode often
11/20/2015
Debasis Das
debasis@ecdzone.com
25
WSN OS
ā€¢ These are typically less complex than general-purpose
operating systems.
ā€¢ Strongly resemble embedded systems
ā€“ These networks are typically deployed in a specific situation
than a general purpose use
ā€“ Need for low costs and low power dictates low-power
microcontrollers and thus ruling out mechanisms such as virtual
memory
ā€¢ Embedded operating systems such as eCos or uC/OS could
be used
ā€¢ Tiny OS is one of the first operating systems specifically
designed for wireless sensor networks. TinyOS has event
driven programming rather than multi-threading
11/20/2015
Debasis Das
debasis@ecdzone.com
26
WSN OS ā€“ contā€™d
ā€¢ TinyOS programs are composed of event
handlers and tasks that run-to-completion. When an
external event occurs, such as an incoming data packet
or a sensor reading, TinyOS signals the appropriate
event handler to handle the event. Event handlers can
post tasks that are scheduled by the TinyOS kernel
some time later.
ā€¢ LiteOS is a more recent OS for wireless sensor
networks, which provides UNIX-like abstraction and
support for the C programming language.
ā€¢ Contiki is an OS supports C and communication
advances like the 6LowPAN and Protothreads
11/20/2015
Debasis Das
debasis@ecdzone.com
27
Online Collaborative Sensor Data
Management Platforms
ā€¢ Online collaborative sensor data management
platforms are on-line database services that allow
sensor owners to register and connect their devices to
feed data into an online database for storage.
ā€¢ Developers are able to access the database and build
applications
ā€¢ Xively and Wikisensing are examples
ā€¢ These platforms simplify online collaboration between
users over diverse data sets
11/20/2015
Debasis Das
debasis@ecdzone.com
28
Data Management Platforms-Contā€™d
ā€¢ Datasets may range from energy and environment data to that
collected from transport services.
ā€¢ Other services include allowing developers to embed real-time
graphs & widgets in websites; analyze and process historical data
pulled from the data feeds; send real-time alerts from any data-
stream to control scripts, devices and environments.
ā€¢ The architecture of the Wikisensing lets users to include APIs and
interfaces for online collaborators, a middleware containing the
business logic needed for the sensor data management and
processing and a storage model suitable for the efficient storage
and retrieval of large volumes of data.
11/20/2015
Debasis Das
debasis@ecdzone.com
29
Xively-What It Can Do
ā€¢ Create innovative connected objects using any
software/hardware combination
ā€¢ Free, open and supported libraries are provided along
with tutorials and documentation to allow you to
connect to Xively using the hardware you want and the
languages you know.
ā€¢ New hardware platforms are being added from a
variety of vendors.
ā€¢ The libraries leverage standards-based API over MQTT,
WebSockets and HTTP to make connecting to the
Internet of Things simple, intuitive and fast.
11/20/2015
Debasis Das
debasis@ecdzone.com
30
Xively Connectivity
11/20/2015
Debasis Das
debasis@ecdzone.com
31
Hardware
Actuators Sensors Gateways
Xively Capabilities
ā€¢ Connect
ā€“ IoT connectivity needs to be fast, secure and scalable. Xively
connects millions of devices
ā€“ You can control access for every person, application, or thing
trying to access your IoT data and plug directly into cloud-based
services your business departments rely on for daily workflows.
ā€¢ Manage
ā€“ Allows capturing, managing and interpreting business
information
ā€“ Xively manages connected product business in one location by
providing standard methods for defining and managing
connected device users, employees, customers, partners and
their data.
11/20/2015
Debasis Das
debasis@ecdzone.com
32
Xively Capabilities-Contā€™d
ā€¢ Engage
ā€“ IoT enabled devices are making support and
engagement with customers more satisfying, efficient
and instant
ā€“ Xively provides a single interface for your real-time
product deployment lifecycle as well as product usage
and health
ā€“ It is then possible for the sales and marketing teams
to identify cross-sell and up-sell opportunities
ā€“ Service teams can remotely access and fix connected
products in real-time
11/20/2015
Debasis Das
debasis@ecdzone.com
33
Wikisensing
ā€¢ WikiSensing is a sensor data management
platform
ā€¢ Developed by the Discovery Sciences Group,
Department of computing, Imperial College,
London
ā€¢ WikiSensing runs on top of IC Cloud, the
group's cloud computing infrastructure.
11/20/2015
Debasis Das
debasis@ecdzone.com
34
Wikisensing ā€“ API Capabilities
ā€¢ A set of RESTful web services, and makes use of the POST, GET and
DELETE methods of the HTTP protocol.
ā€¢ A user first needs to register to the platform and get a unique
service API key to be able to send data
ā€¢ Then the user can register new sensors (and their metadata) and
add data to sensors that are under his/her service key.
ā€¢ To retrieve and query data a user must use service keys. Sensors
that are public have their service key prefixed with Public_ and can
be retrieved using the API
ā€¢ Users can use the API to query the sensor data of a sensor to get
the latest data, data submitted after a particular timestamp, and
data that matches specific values in one or two fields.
ā€¢ A user can delete their sensors and their data using the
corresponding web service.
11/20/2015
Debasis Das
debasis@ecdzone.com
35
Wikisensing ā€“ contā€™d
ā€¢ Sample Code is available for
ā€“ Test suite source code in C#
ā€“ Script for getting data from Wikisensing in Python
ā€¢ Sample Application is available for
ā€“ viewing a live deployment of a node sensor grid
monitoring office temperature, humidity and lighting
ā€¢ Data Formats
ā€“ Wikisensing accepts data in XML or JSON formats. Sample
for XML and JSON requests and responses for each
function of the web service API is provided
ā€“ The content of a request must match the required
structure of the corresponding XML or JSON file.
11/20/2015
Debasis Das
debasis@ecdzone.com
36
Simulation of WSNs
ā€¢ Agent-based modeling and simulation allows
the simulation of complex behavior of wireless
sensors (such as flocking)
ā€¢ Network simulators like OPNET, NetSim and
used to simulate a wireless sensor network
ā€¢ Free source Cooja is another tool that lets a
WSN be simulated
11/20/2015
Debasis Das
debasis@ecdzone.com
37
Processors
11/20/2015
Debasis Das
debasis@ecdzone.com
38
Development Tools
11/20/2015
Debasis Das
debasis@ecdzone.com
39
Raspberry Pi
11/20/2015
Debasis Das
debasis@ecdzone.com
40
Raspberry Pi Options
ā€¢ Standard models for use as development
systems
ā€¢ For developing embedded applications.
Includes Compute IO board, compute
module, display and camera adapter
ā€¢ Customized boards in large scale can be
ordered for production use
11/20/2015
Debasis Das
debasis@ecdzone.com
41
Arduino YUN
(Arduino for IoT applications)
11/20/2015
Debasis Das
debasis@ecdzone.com
42
Arduino Options
ā€¢ Free source hardware, can be replicated at will
for production needs
ā€¢ Can be combined with other boards to
configure a system for specific use
ā€¢ Free source software, Linux based ones, are
available.
11/20/2015
Debasis Das
debasis@ecdzone.com
43
Intel Galileo
11/20/2015
Debasis Das
debasis@ecdzone.com
44
Galileo Options
ā€¢ Offers a development kit
ā€¢ Galileo development kit
ā€¢ Grove sensor kit
ā€¢ License to Wind River Intelligent device
Platform XT
ā€“ Software support for development, integration
and deployment of IoT gateways
ā€“ Provides connectivity, management and security
11/20/2015
Debasis Das
debasis@ecdzone.com
45
Connectivity
ā€¢ A range of networking options that can save
development time & cost
ā€¢ Validated and flexible firmware provides an
extensive network of connectivity choices.
PAN, LAN, and WAN network accesses as well
as a wide range of modem support
11/20/2015
Debasis Das
debasis@ecdzone.com
46
Management Features
ā€¢ Platform customization capabilities available.
Helps stretch the product life and uptime,
helps reduce development time
ā€¢ Long-term secure remote manageability
features help simplify deployment,
maintenance, and management of remote
devices.
11/20/2015
Debasis Das
debasis@ecdzone.com
47
Security features
ā€¢ Protection for critical data across your device
network
ā€¢ Secure image, data, and management is
supported
ā€¢ Encrypted communication is provided
between the cloud-based console and devices.
ā€¢ Device resources management limits exposure
to untrusted applications.
11/20/2015
Debasis Das
debasis@ecdzone.com
48
Whole Range of Microprocessors
ā€¢ 8 bit to 64 bit architectures
ā€¢ Whole range of power consumption ratings
ā€¢ Custom hardware design and development
takes skills & experience
11/20/2015
Debasis Das
debasis@ecdzone.com
49
A Looming Problem
ā€¢ Deployment of solutions using large number of
connected devices, that uses this tiny processors
is set to blow up
ā€¢ A large number of skilled resources will be
required
ā€¢ Trying to take care of all the support functions
that are fairly standard could a tough demand
ā€¢ Itā€™ll be nice if things like GUIs, network
connectivity, touch sensor and other device
configurations could be taken care of by the
development tools in the form of a platform
11/20/2015
Debasis Das
debasis@ecdzone.com
50
Mobile Development Scenario
ā€¢ Developers are able to concentrate on the app
logic and implementation, not the routine stuff
like establishing a call etc.
ā€¢ These apps are at a higher level and need not
concern with hardware nitty gritty
ā€¢ Microprocessor based development can take a
page out of that scenario and get the
development work done on platforms like the
mobile situation
ā€¢ This has started happening
11/20/2015
Debasis Das
debasis@ecdzone.com
51
Synergy Development Platform
ā€¢ Synergy was released by Renesas in Oct this
year
ā€¢ Supports a family of processors, so that when
an upgraded member is used, the firmware
upgrade is minimal
ā€¢ Developers need not be skilled in every
specific device to be used.
11/20/2015
Debasis Das
debasis@ecdzone.com
52
Synergy Architecture
(Courtesy Renesas)
11/20/2015
Debasis Das
debasis@ecdzone.com
53
SysDK Platform from Mentor Graphics
ā€¢ Platform development solutions help close the
gap between design complexity and available
design talent
ā€¢ Mentorā€™s customizable gateway is offered as the
SysDK product that take care of end to end
solution development
ā€¢ Incudes a hardware reference design and
associated software that support bidirectional
wireless communication is offered
ā€¢ Communicates with motes on one edge and the
cloud on the other edge
11/20/2015
Debasis Das
debasis@ecdzone.com
54
SysDK Block Diagram
(Courtesy mentor Graphics)
11/20/2015
Debasis Das
debasis@ecdzone.com
55
SysDK Resources
ā€¢ Freescaleā€™s iMX6 (ARM Cortex-A9 based)
processor
ā€¢ Etherenet, 802.15.4, Wi-Fi, BLE
ā€¢ Mentorā€™s Nucleus RTOS/ Mentorā€™s embedded
Linux
ā€¢ Security based on ARMā€™s ā€œTrustZoneā€ security
architecture at the device level alongwith Icon
Labā€™s Floodgate for McAfeeā€™s EPO (ePolicy
Orchastrator) at the RTOS and Enterprise level
11/20/2015
Debasis Das
debasis@ecdzone.com
56
SysDK Hardware Reference Design
11/20/2015
Debasis Das
debasis@ecdzone.com
57
End-to-End Security
11/20/2015
Debasis Das
debasis@ecdzone.com
58
Intelā€™s IoT Platform
ā€¢ Development support provided include
ā€“ Security: Helps deliver trusted data with a tight
integration of hardware- and software-based security
ā€“ Interoperability: Utilize technologies that seamlessly
communicate to one another, help accelerate time to
market, and reduce the cost of deploying and
maintaining IoT solutions.
ā€“ Scalability: Whole range of processor capability
provided to scale performance based on application
need (Quark, Xeon and others)
ā€“ Manageability: Helps adavnced data management and
analytics from sensor to datacenter.
11/20/2015
Debasis Das
debasis@ecdzone.com
59
Wind River Edge Management
ā€¢ It connects machines and devices
ā€¢ Helps manage and collect machine generated
data
ā€¢ Customers can easily aggregate data off the edge
ā€¢ Can help offer business intelligence
ā€“ To protect investments
ā€“ Generate new revenue streams
ā€“ Maximize existing infrastructure
ā€“ Improve business processes.
11/20/2015
Debasis Das
debasis@ecdzone.com
60
Communications
(A review, reference DevNation, Jun 21-25, Boston, MA, USA
IoT Protocols round-up- Brian Ashburn)
11/20/2015
Debasis Das
debasis@ecdzone.com
61
Type of Communications
ā€¢ M2M or machine to machine
ā€¢ Machine to server
ā€¢ Server to server
ā€¢ Humans to Machine
11/20/2015
Debasis Das
debasis@ecdzone.com
62
Protocols
ā€¢ So you are going to need different kinds of
protocols
ā€¢ Attempt is to keep overheads down as much
as possible
ā€¢ Developers need to take a call on whatā€™s going
to survive and become popular
11/20/2015
Debasis Das
debasis@ecdzone.com
63
An Example Protocol
ā€¢ A MQTT message format has a fixed header of
2 bytes,
ā€“ Byte 1defiunes message type and flags
ā€“ Byte 2 contains information on the remaining
message length
ā€¢ A variable header may/may not be included
after the fixed header
ā€¢ The payload will contain application data or
protocol specific information
11/20/2015
Debasis Das
debasis@ecdzone.com
64
HTTP/REST
ā€¢ These protocols are based on HTTP/REST as
the base on which they are built
ā€¢ Many systems provide frameworks to support
REST
ā€¢ Language independent
ā€¢ Obviously this support will preclude many full
messaging support
11/20/2015
Debasis Das
debasis@ecdzone.com
65
Concern of users
11/20/2015
Debasis Das
debasis@ecdzone.com
66
ā€¢ Communications makes sure the whole thing
works!
ā€¢ Best protocol is decided by
ā€“ Available communication pathways
ā€“ Processing power available on device
ā€“ What server can support
MQTT
11/20/2015
Debasis Das
debasis@ecdzone.com
67
ā€¢ Open standard
ā€¢ It is lightweight
ā€¢ Good QoS definitions are available
ā€¢ Persistent message store
ā€¢ No labelling of content type is available
MQTT-SN
11/20/2015
Debasis Das
debasis@ecdzone.com
68
ā€¢ TCP-less protocol
ā€¢ Intended for sensor networks
ā€¢ Improvements over MQTT in terms of error
messages and concise message header
ā€¢ Complex connection mechanism is mandated
(even if the network is just 2 nodes)
ā€¢ Stateful endpoints need be used
ā€¢ Handling of restarts by Brokers or clients not
defined
ā€¢ Few platforms support it yet
CoAP
11/20/2015
Debasis Das
debasis@ecdzone.com
69
ā€¢ Open standard based on HTTP/REST
ā€¢ Suited for resource constrained devices
ā€¢ Communication is based on UDP
ā€¢ Primarily a point to point protocol
AMQP
11/20/2015
Debasis Das
debasis@ecdzone.com
70
ā€¢ Full featured message protocol
ā€¢ Supports routing
ā€¢ Data type encoding defined
ā€¢ Supports queues and other message patterns
ā€¢ Quite a heavyweight protocol and better suited
to server to server communications
Why Contiki
ā€¢ Open Source software : can be used for
commercial as well as non-commercial projects
ā€¢ It runs on a range of low-power wireless devices
ā€¢ Incorporates Internet standard communication
protocols like the RPL, CoAP, 6LowPAN
ā€¢ Rapid development: Writing software in standard
C and the ability to emulate sensor network in
Cooja makes for fast development
ā€¢ Commercial as well as community support
available
11/20/2015
Debasis Das
debasis@ecdzone.com
71
Contiki Features
ā€¢ Designed for tiny system, allocates memory
through multiple mechanisms
ā€“ memb: memory block allocation, mmem: managed
memory allocation and malloc: the standard C
memory allocation method
ā€¢ Full IPv6 networking support: UDP, TCP and HTTP
as well as low power standards 6LowPAN, CoAP
and RPL
ā€¢ Power awareness: Has mechanisms for
estimating power consumption and where the
power gets spent
11/20/2015
Debasis Das
debasis@ecdzone.com
72
Features- Contā€™d
ā€¢ Dynamic module loading and run-time linking
ā€¢ Many programming example are provided
ā€¢ Cooja: creates a simulation environment,
helpful in development and debug situation
ā€¢ Supports sleepy routers, routers or relay
nodes
ā€¢ Wide ranging hardware platforms supported
that include 8051, MSP 430, AVR and ARM
devices
11/20/2015
Debasis Das
debasis@ecdzone.com
73
Instant Contiki
ā€¢ Entire development system that can be
downloaded straight
ā€¢ It is a UBUNTU Linux virtual machine, runs in
VMWare player + development tools,
compilers and simulators
ā€¢ Download the instant version, install the
VMWare player and boot up the instant
Contiki
11/20/2015
Debasis Das
debasis@ecdzone.com
74
The Development Process
11/20/2015
Debasis Das
debasis@ecdzone.com
75
Download
Instant Contiki
Install
VM Player
Boot
Ubuntu
Log-in
Start
Cooja
Open a
Terminal window
Specify Application C
source file
Find Contiki
Application
Create new mote
tupes
Add motes
In the simulation
Set simulation
options
Create a
simulation
Start
simulation
Compile Contiki
And application
Create a
Mote type
Add the
motes
Add motes to
simulation
Simulation
Done!
Contiki on The Target Hardware
ā€¢ Connect hardware (Zolertia Z1 mote) connected via USB of
the development PC. Enable the mote through VMWare
player (Removable Devices menu)
ā€¢ Open a terminal and cd to ā€œexamplesā€ directory
ā€¢ Compile Contiki + z1 example
ā€“ make TARGET=z1 hello world
ā€¢ make TARGET=z1 savetarget, saves the choice for future
compilations
ā€¢ make hello-world.upload will upload to code to the target
ā€¢ Make the serial port on the mote ready to display output
with
ā€“ make login
11/20/2015
Debasis Das
debasis@ecdzone.com
76
Contiki on The Target Hardware ā€“
Contā€™d
ā€¢ If you rest the button on the mote, you should see
ā€“ Rime started with address 1.1
ā€“ MAC 01:01: 00:00:00:00:00:00 Contiki-2.6 started. Node id
is set to 257.
ā€“ CSMAContikiMAC, channel check rate 8 Hz, radio channel
26
ā€“ Starting ā€œHello world processā€
ā€“ Hello, world
ā€¢ If you upload broadcast-example from
contiki/examples/ipv6/simple-udp-rpl/ to two devices,
it will be possible to observe them sending low-power
IPv6/UDP message to each other
11/20/2015
Debasis Das
debasis@ecdzone.com
77
RIOT
ā€¢ An OS designed specifically for the Internet of
things
ā€¢ Well suited for lightweight (1.5 KB RAM)
sensor with 8 bit uC devices to 32 bit devices
with sophisticated hardware
ā€¢ Designed for hardware with minimal
resources but easy to develop
ā€¢ Programming in C, C++
ā€¢ Multi-threading and real-time features
11/20/2015
Debasis Das
debasis@ecdzone.com
78
RIOT Design Features of Interest
ā€¢ RIOT enforces constant periods for kernel tasks (e.g., scheduler run, inter-
process communication, timer operations)
ā€¢ Static memory allocation in the kernel. Dynamic memory management is
provided for applications.
ā€¢ A scheduler that works without any periodic events. Whenever there are
no pending tasks, RIOT will switch to the idle thread, which determines
the deepest possible sleep mode
ā€¢ Only interrupts (external or kernel generated) wake up the system
ā€¢ Low complexity of kernel functions makes for energy efficiency of an OS.
The duration and occurrence of context switching are minimized. Two
cases: (i) a corresponding kernel operation itself is called, e.g., a mutex
locking or creation of a new thread, or (ii) an interrupt causes a thread
switch.
11/20/2015
Debasis Das
debasis@ecdzone.com
79
TinyOS
ā€¢ Power efficient, Put microcontroller and radio to sleep
ā€¢ Small memory footprint, Non-pre-emptable FIFO task scheduling
ā€¢ Efficient modularity, Function call (event and command) interface
between commands
ā€¢ Application specific, WSN domain
ā€¢ Concurrency-intensive operation, Event-driven architecture, No
user/kernel boundary
ā€¢ NesC for programming
11/20/2015
Debasis Das
debasis@ecdzone.com
80
Building Connected Devices
ā€¢ Issues to focus on
ā€“ Utilize existing IoT platform
ā€¢ Developers need to understand programming languages,
sensors, drivers, middleware, OS, project management,
security and encryption, networking protocols, etc. An IoT
platform can take care of many of these issues so that
developers can focus on the application
ā€“ Use third party software components
ā€¢ Drivers and middleware development is time consuming.
Better to go with components available for the complex
micro-controllers of today
11/20/2015
Debasis Das
debasis@ecdzone.com
81
11/20/2015
Debasis Das
debasis@ecdzone.com
82
Building Connected Devices ā€“ contā€™d
ā€“ Use proven communication standards only
ā€¢ Things are fluid here. You could cover the bets by supporting
everything. Building a product around a standard that may
not be around in a few years time, is a risk designers cannot
afford
ā€“ Take care of security
ā€¢ Span of the network increase by orders of magnitude.
Security thereby becomes very important.
ā€“ Leverage team strengths/optimize around that
ā€¢ Strengthening weaknesses in a team is time-consuming
thereby affecting time to market. It is better to work around
by using component or consultants
11/20/2015
Debasis Das
debasis@ecdzone.com
83
References
1. Sensor Technologies: Healthcare, Wellness and
Environmental Applications- McGrath, Michael;
Ni Scanaill, Cliodhna, Apress. Kindle Edition.
2. Designing the Internet of Things- Adrian
McEwen, Hakim Cassimally, Wiley, 2014
3. Getting Started with the Internet of Things Cuno
Pfister
4. Getting Started with the Internet of Things:
Connecting Sensors and Microcontrollers to the
Cloud, Maker Media, Inc. Kindle Edition.
11/20/2015
Debasis Das
debasis@ecdzone.com
84

More Related Content

What's hot

Blueprint for the Industrial Internet of Things
Blueprint for the Industrial Internet of ThingsBlueprint for the Industrial Internet of Things
Blueprint for the Industrial Internet of ThingsReal-Time Innovations (RTI)
Ā 
M2M vs IoT: The Key Differences and Similarities
M2M vs IoT: The Key Differences and SimilaritiesM2M vs IoT: The Key Differences and Similarities
M2M vs IoT: The Key Differences and SimilaritiesNavjyotsinh Jadeja
Ā 
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17Ed Hightower
Ā 
M2M systems layers and designs standardizations
M2M systems layers and designs standardizationsM2M systems layers and designs standardizations
M2M systems layers and designs standardizationsFabMinds
Ā 
Soldatos io t-academy-cosmote-231117-v-final
Soldatos io t-academy-cosmote-231117-v-finalSoldatos io t-academy-cosmote-231117-v-final
Soldatos io t-academy-cosmote-231117-v-finalJohn Soldatos
Ā 
Internet of Things with Cloud Computing and M2M Communication
Internet of Things with Cloud Computing and M2M CommunicationInternet of Things with Cloud Computing and M2M Communication
Internet of Things with Cloud Computing and M2M CommunicationSherin C Abraham
Ā 
IoT Enabling Technologies
IoT Enabling TechnologiesIoT Enabling Technologies
IoT Enabling TechnologiesPrakash Honnur
Ā 
Iot unit i
Iot unit iIot unit i
Iot unit iVenkatRaoJ
Ā 
The Agile Fractal Grid orchestrated by a platform of platforms
The Agile Fractal Grid  orchestrated by a platform of platformsThe Agile Fractal Grid  orchestrated by a platform of platforms
The Agile Fractal Grid orchestrated by a platform of platformsCharles "Chuck" Speicher Jr.
Ā 
Efficient power consumption in wireless communication
Efficient power consumption in wireless communicationEfficient power consumption in wireless communication
Efficient power consumption in wireless communicationNaresh Narayanan
Ā 
Cybersecurity of powergrid
Cybersecurity of powergrid Cybersecurity of powergrid
Cybersecurity of powergrid Rajesh Sawale
Ā 
IoT and connected devices: an overview
IoT and connected devices: an overviewIoT and connected devices: an overview
IoT and connected devices: an overviewPascal Bodin
Ā 
Innovating with IoT: A Toolkit Approach
Innovating with IoT: A Toolkit ApproachInnovating with IoT: A Toolkit Approach
Innovating with IoT: A Toolkit ApproachAtanu Roy Chowdhury
Ā 
Embedded Systems: Future trends, Employer Expectations
Embedded Systems: Future trends, Employer ExpectationsEmbedded Systems: Future trends, Employer Expectations
Embedded Systems: Future trends, Employer ExpectationsCareer Communications Group
Ā 
SCF - Accelerating Densification Worldwide
SCF - Accelerating Densification WorldwideSCF - Accelerating Densification Worldwide
SCF - Accelerating Densification WorldwideElizabeth Carter
Ā 
IoT Levels and Deployment Templates
IoT Levels and Deployment TemplatesIoT Levels and Deployment Templates
IoT Levels and Deployment TemplatesPrakash Honnur
Ā 

What's hot (20)

Blueprint for the Industrial Internet of Things
Blueprint for the Industrial Internet of ThingsBlueprint for the Industrial Internet of Things
Blueprint for the Industrial Internet of Things
Ā 
M2M vs IoT: The Key Differences and Similarities
M2M vs IoT: The Key Differences and SimilaritiesM2M vs IoT: The Key Differences and Similarities
M2M vs IoT: The Key Differences and Similarities
Ā 
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17
Ā 
M2M systems layers and designs standardizations
M2M systems layers and designs standardizationsM2M systems layers and designs standardizations
M2M systems layers and designs standardizations
Ā 
Soldatos io t-academy-cosmote-231117-v-final
Soldatos io t-academy-cosmote-231117-v-finalSoldatos io t-academy-cosmote-231117-v-final
Soldatos io t-academy-cosmote-231117-v-final
Ā 
Internet of Things with Cloud Computing and M2M Communication
Internet of Things with Cloud Computing and M2M CommunicationInternet of Things with Cloud Computing and M2M Communication
Internet of Things with Cloud Computing and M2M Communication
Ā 
IoT Enabling Technologies
IoT Enabling TechnologiesIoT Enabling Technologies
IoT Enabling Technologies
Ā 
Iot unit i
Iot unit iIot unit i
Iot unit i
Ā 
The Agile Fractal Grid orchestrated by a platform of platforms
The Agile Fractal Grid  orchestrated by a platform of platformsThe Agile Fractal Grid  orchestrated by a platform of platforms
The Agile Fractal Grid orchestrated by a platform of platforms
Ā 
Efficient power consumption in wireless communication
Efficient power consumption in wireless communicationEfficient power consumption in wireless communication
Efficient power consumption in wireless communication
Ā 
Cybersecurity of powergrid
Cybersecurity of powergrid Cybersecurity of powergrid
Cybersecurity of powergrid
Ā 
Edge Computing
Edge ComputingEdge Computing
Edge Computing
Ā 
The New Intelligent Network: Building a Smarter, Simpler Architecture
The New Intelligent Network: Building a Smarter, Simpler ArchitectureThe New Intelligent Network: Building a Smarter, Simpler Architecture
The New Intelligent Network: Building a Smarter, Simpler Architecture
Ā 
IoT and connected devices: an overview
IoT and connected devices: an overviewIoT and connected devices: an overview
IoT and connected devices: an overview
Ā 
Innovating with IoT: A Toolkit Approach
Innovating with IoT: A Toolkit ApproachInnovating with IoT: A Toolkit Approach
Innovating with IoT: A Toolkit Approach
Ā 
Mobile Computing
Mobile ComputingMobile Computing
Mobile Computing
Ā 
Embedded Systems: Future trends, Employer Expectations
Embedded Systems: Future trends, Employer ExpectationsEmbedded Systems: Future trends, Employer Expectations
Embedded Systems: Future trends, Employer Expectations
Ā 
SCF - Accelerating Densification Worldwide
SCF - Accelerating Densification WorldwideSCF - Accelerating Densification Worldwide
SCF - Accelerating Densification Worldwide
Ā 
IoT Levels and Deployment Templates
IoT Levels and Deployment TemplatesIoT Levels and Deployment Templates
IoT Levels and Deployment Templates
Ā 
Agile fractal grid 7-11-14
Agile fractal grid   7-11-14Agile fractal grid   7-11-14
Agile fractal grid 7-11-14
Ā 

Similar to IoT: An Introduction and Getting Started Session

Wsn in iot updated
Wsn in iot updatedWsn in iot updated
Wsn in iot updatedskumartarget
Ā 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SAMeh Zaghloul
Ā 
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Meetup  4/2/2016 - Functionele en technische architectuur IoTMeetup  4/2/2016 - Functionele en technische architectuur IoT
Meetup 4/2/2016 - Functionele en technische architectuur IoTDigipolis Antwerpen
Ā 
09e4150ead3fa7505a000000
09e4150ead3fa7505a00000009e4150ead3fa7505a000000
09e4150ead3fa7505a000000Fauzil Rizqi
Ā 
Sdn whitepaper
Sdn whitepaperSdn whitepaper
Sdn whitepaperHari Sasank
Ā 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
Ā 
(R)evolution of the computing continuum - A few challenges
(R)evolution of the computing continuum  - A few challenges(R)evolution of the computing continuum  - A few challenges
(R)evolution of the computing continuum - A few challengesFrederic Desprez
Ā 
Types of network
Types of networkTypes of network
Types of networkVaibhav Madaan
Ā 
Types of network
Types of networkTypes of network
Types of networkVaibhav Madaan
Ā 
Edge virtualisation for Carrier Networks
Edge virtualisation for Carrier NetworksEdge virtualisation for Carrier Networks
Edge virtualisation for Carrier NetworksMyNOG
Ā 
Data Center for Cloud Computing - DC3X
Data Center for Cloud Computing - DC3XData Center for Cloud Computing - DC3X
Data Center for Cloud Computing - DC3XRenaud Blanchette
Ā 
Chapter 1 pdf
Chapter 1 pdfChapter 1 pdf
Chapter 1 pdfChAnushaECE
Ā 
Secure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor NetworksSecure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor NetworksAmy Moore
Ā 
Unit 1 - mobile computing introduction
Unit 1 - mobile computing introductionUnit 1 - mobile computing introduction
Unit 1 - mobile computing introductionVintesh Patel
Ā 
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICEA SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICEIRJET Journal
Ā 
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICEA SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICEKate Campbell
Ā 
Accelerated adoption of Internet of Things (IoT) with In-network computing an...
Accelerated adoption of Internet of Things (IoT) with In-network computing an...Accelerated adoption of Internet of Things (IoT) with In-network computing an...
Accelerated adoption of Internet of Things (IoT) with In-network computing an...Infosys
Ā 

Similar to IoT: An Introduction and Getting Started Session (20)

UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
Ā 
WSN IN IOT
WSN IN IOTWSN IN IOT
WSN IN IOT
Ā 
Wsn in iot updated
Wsn in iot updatedWsn in iot updated
Wsn in iot updated
Ā 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
Ā 
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Meetup  4/2/2016 - Functionele en technische architectuur IoTMeetup  4/2/2016 - Functionele en technische architectuur IoT
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Ā 
09e4150ead3fa7505a000000
09e4150ead3fa7505a00000009e4150ead3fa7505a000000
09e4150ead3fa7505a000000
Ā 
Sdn whitepaper
Sdn whitepaperSdn whitepaper
Sdn whitepaper
Ā 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
Ā 
(R)evolution of the computing continuum - A few challenges
(R)evolution of the computing continuum  - A few challenges(R)evolution of the computing continuum  - A few challenges
(R)evolution of the computing continuum - A few challenges
Ā 
Types of network
Types of networkTypes of network
Types of network
Ā 
Types of network
Types of networkTypes of network
Types of network
Ā 
Edge virtualisation for Carrier Networks
Edge virtualisation for Carrier NetworksEdge virtualisation for Carrier Networks
Edge virtualisation for Carrier Networks
Ā 
Data Center for Cloud Computing - DC3X
Data Center for Cloud Computing - DC3XData Center for Cloud Computing - DC3X
Data Center for Cloud Computing - DC3X
Ā 
Chapter 1 pdf
Chapter 1 pdfChapter 1 pdf
Chapter 1 pdf
Ā 
Secure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor NetworksSecure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor Networks
Ā 
Unit 1 - mobile computing introduction
Unit 1 - mobile computing introductionUnit 1 - mobile computing introduction
Unit 1 - mobile computing introduction
Ā 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
Ā 
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICEA SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
Ā 
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICEA SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
A SURVEY OF COMPUTER NETWORKING THEORY AND PRACTICE
Ā 
Accelerated adoption of Internet of Things (IoT) with In-network computing an...
Accelerated adoption of Internet of Things (IoT) with In-network computing an...Accelerated adoption of Internet of Things (IoT) with In-network computing an...
Accelerated adoption of Internet of Things (IoT) with In-network computing an...
Ā 

More from Debasis Das

Management control systems jsb 606 part4
Management control systems jsb 606 part4Management control systems jsb 606 part4
Management control systems jsb 606 part4Debasis Das
Ā 
Management control systems jsb 606 part3
Management control systems jsb 606 part3Management control systems jsb 606 part3
Management control systems jsb 606 part3Debasis Das
Ā 
Management control systems jsb 606 part2
Management control systems jsb 606 part2Management control systems jsb 606 part2
Management control systems jsb 606 part2Debasis Das
Ā 
Management control systems jsb 606 part1
Management control systems jsb 606 part1Management control systems jsb 606 part1
Management control systems jsb 606 part1Debasis Das
Ā 
Computers for management jsb 1072003 ver
Computers for management jsb 1072003 verComputers for management jsb 1072003 ver
Computers for management jsb 1072003 verDebasis Das
Ā 
Trends in education management
Trends in education managementTrends in education management
Trends in education managementDebasis Das
Ā 
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerEi502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerDebasis Das
Ā 
Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1
Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1
Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1Debasis Das
Ā 
Ei502 microprocessors & micrtocontrollers part3hardwareinterfacing
Ei502 microprocessors & micrtocontrollers part3hardwareinterfacingEi502 microprocessors & micrtocontrollers part3hardwareinterfacing
Ei502 microprocessors & micrtocontrollers part3hardwareinterfacingDebasis Das
Ā 
Ei502 microprocessors & micrtocontrollers part 2(instructionset)
Ei502 microprocessors & micrtocontrollers part 2(instructionset)Ei502 microprocessors & micrtocontrollers part 2(instructionset)
Ei502 microprocessors & micrtocontrollers part 2(instructionset)Debasis Das
Ā 
Ei502 microprocessors & micrtocontrollers part 1
Ei502 microprocessors & micrtocontrollers part 1Ei502 microprocessors & micrtocontrollers part 1
Ei502 microprocessors & micrtocontrollers part 1Debasis Das
Ā 
It802 d mobilecommunicationspart4
It802 d mobilecommunicationspart4It802 d mobilecommunicationspart4
It802 d mobilecommunicationspart4Debasis Das
Ā 
It802 d mobilecommunicationspart3
It802 d mobilecommunicationspart3It802 d mobilecommunicationspart3
It802 d mobilecommunicationspart3Debasis Das
Ā 
It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2Debasis Das
Ā 
It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2Debasis Das
Ā 
It 802 d_mobile_communicationsSomeHistory
It 802 d_mobile_communicationsSomeHistoryIt 802 d_mobile_communicationsSomeHistory
It 802 d_mobile_communicationsSomeHistoryDebasis Das
Ā 
It 802 d_intro&wlan
It 802 d_intro&wlanIt 802 d_intro&wlan
It 802 d_intro&wlanDebasis Das
Ā 
It 802 d_intro&wlan
It 802 d_intro&wlanIt 802 d_intro&wlan
It 802 d_intro&wlanDebasis Das
Ā 
Cs704 d distributedschedulingetc.
Cs704 d distributedschedulingetc.Cs704 d distributedschedulingetc.
Cs704 d distributedschedulingetc.Debasis Das
Ā 
Cs704 d distributedmutualexcclusion&memory
Cs704 d distributedmutualexcclusion&memoryCs704 d distributedmutualexcclusion&memory
Cs704 d distributedmutualexcclusion&memoryDebasis Das
Ā 

More from Debasis Das (20)

Management control systems jsb 606 part4
Management control systems jsb 606 part4Management control systems jsb 606 part4
Management control systems jsb 606 part4
Ā 
Management control systems jsb 606 part3
Management control systems jsb 606 part3Management control systems jsb 606 part3
Management control systems jsb 606 part3
Ā 
Management control systems jsb 606 part2
Management control systems jsb 606 part2Management control systems jsb 606 part2
Management control systems jsb 606 part2
Ā 
Management control systems jsb 606 part1
Management control systems jsb 606 part1Management control systems jsb 606 part1
Management control systems jsb 606 part1
Ā 
Computers for management jsb 1072003 ver
Computers for management jsb 1072003 verComputers for management jsb 1072003 ver
Computers for management jsb 1072003 ver
Ā 
Trends in education management
Trends in education managementTrends in education management
Trends in education management
Ā 
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerEi502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ā 
Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1
Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1
Ei502microprocessorsmicrtocontrollerspart5 sixteen bit8086 1
Ā 
Ei502 microprocessors & micrtocontrollers part3hardwareinterfacing
Ei502 microprocessors & micrtocontrollers part3hardwareinterfacingEi502 microprocessors & micrtocontrollers part3hardwareinterfacing
Ei502 microprocessors & micrtocontrollers part3hardwareinterfacing
Ā 
Ei502 microprocessors & micrtocontrollers part 2(instructionset)
Ei502 microprocessors & micrtocontrollers part 2(instructionset)Ei502 microprocessors & micrtocontrollers part 2(instructionset)
Ei502 microprocessors & micrtocontrollers part 2(instructionset)
Ā 
Ei502 microprocessors & micrtocontrollers part 1
Ei502 microprocessors & micrtocontrollers part 1Ei502 microprocessors & micrtocontrollers part 1
Ei502 microprocessors & micrtocontrollers part 1
Ā 
It802 d mobilecommunicationspart4
It802 d mobilecommunicationspart4It802 d mobilecommunicationspart4
It802 d mobilecommunicationspart4
Ā 
It802 d mobilecommunicationspart3
It802 d mobilecommunicationspart3It802 d mobilecommunicationspart3
It802 d mobilecommunicationspart3
Ā 
It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2
Ā 
It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2It 802 d_Mobile Communications_part 2
It 802 d_Mobile Communications_part 2
Ā 
It 802 d_mobile_communicationsSomeHistory
It 802 d_mobile_communicationsSomeHistoryIt 802 d_mobile_communicationsSomeHistory
It 802 d_mobile_communicationsSomeHistory
Ā 
It 802 d_intro&wlan
It 802 d_intro&wlanIt 802 d_intro&wlan
It 802 d_intro&wlan
Ā 
It 802 d_intro&wlan
It 802 d_intro&wlanIt 802 d_intro&wlan
It 802 d_intro&wlan
Ā 
Cs704 d distributedschedulingetc.
Cs704 d distributedschedulingetc.Cs704 d distributedschedulingetc.
Cs704 d distributedschedulingetc.
Ā 
Cs704 d distributedmutualexcclusion&memory
Cs704 d distributedmutualexcclusion&memoryCs704 d distributedmutualexcclusion&memory
Cs704 d distributedmutualexcclusion&memory
Ā 

Recently uploaded

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
Ā 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
Ā 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
Ā 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜RTylerCroy
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
Ā 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
Ā 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
Ā 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĆŗjo
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
Ā 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
Ā 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
Ā 
Scaling API-first ā€“ The story of a global engineering organization
Scaling API-first ā€“ The story of a global engineering organizationScaling API-first ā€“ The story of a global engineering organization
Scaling API-first ā€“ The story of a global engineering organizationRadu Cotescu
Ā 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
Ā 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
Ā 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
Ā 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
Ā 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
Ā 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Ā 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Ā 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Ā 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Ā 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Ā 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Ā 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Ā 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Ā 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Ā 
Scaling API-first ā€“ The story of a global engineering organization
Scaling API-first ā€“ The story of a global engineering organizationScaling API-first ā€“ The story of a global engineering organization
Scaling API-first ā€“ The story of a global engineering organization
Ā 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Ā 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Ā 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Ā 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Ā 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Ā 

IoT: An Introduction and Getting Started Session

  • 1. IoT: An Introduction and Getting Started Session Debasis Das ECD Zone
  • 2. For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. ā€”Richard P. Feynman, Physicist 11/20/2015 Debasis Das debasis@ecdzone.com 2
  • 3. Top Level View of IoT 11/20/2015 Debasis Das debasis@ecdzone.com 3 Sensors/sensor networks Actuators Processor Thing or an object Cloud
  • 4. Internet of Things ā€¢ This is an evolving technology, also known as Internet of Everything. ā€¢ Evolved from what used to be known as M2M ā€¢ The industrial section of the applications are being hailed as the 4th industrial revolution 11/20/2015 Debasis Das debasis@ecdzone.com 4
  • 5. Dimensions of the Complex IoT Eco-system (by 2020) ā€¢ Sensors: 212 bn; location, motion, chemical, light, heat, sound ā€¢ Devices: 50 bn: smartphones, wearables, automobiles, domestic ā€¢ Networks: 2.5 bn, Blu-tooth, NFC, Wi-fi, etc. connections accessing 4G/LTE networks 11/20/2015 Debasis Das debasis@ecdzone.com 5
  • 6. Dimensions of the Complex IoT Eco-system (by 2020) ā€“ Contā€™d ā€¢ APIs: 75%, fortune 1000 companies will offer public APIs by end 2014, billing, mapping, social, search, marketing, etc. ā€¢ APPs: 4.4 bn, number of app users by 2017, touch interfaces, gesture tracking, augmented reality, voice recognition, etc. ā€¢ Data:16 ExaBytes, mobile data traffic per month by end 2014, user data, transaction data, field data, inventory data, performance data, etc. 11/20/2015 Debasis Das debasis@ecdzone.com 6
  • 7. Gartner Study ā€¢ By 2020 ā€“ 25 billion devices are going to be connected ā€“ Causing a $7 trillion opportunity for businesses 11/20/2015 Debasis Das debasis@ecdzone.com 7
  • 8. Industry 4.0 Opportunity ā€¢ IIoT could be $531 billion by 2020 through opportunities like Connected asset management, connected worker and other never- before opportunity that develops ā€¢ What customer may want ā€“ Operational efficiency ā€“ Move away from product oriented business focus to service oriented focus ā€“ Unconventional revenues ā€¢ From a recent presentation by Accenture 11/20/2015 Debasis Das debasis@ecdzone.com 8
  • 9. Structure of IoT Services Internet Gateway Wi-Fi, Mobile, DSL, Fiber 6LowPAN, Zigbee, RFID, NFC Things- appliances, buildings, smart city systems Sensors, Actuators 11/20/2015 Debasis Das debasis@ecdzone.com 9
  • 10. Technologies Involved in IoT Applications 11/20/2015 Debasis Das debasis@ecdzone.com 10 Application OSS & BSS Analytics Data Security BPM BRM IoT Management Services WAN (Wireless) WAN (Wireline)) RFID Low power wireless Gateway functions Sensors LAN
  • 11. Classes of Constrained Devices Class RAM Flash Comments Class 0 < 1 KB < 100 KB Devices use gateways to communicate, have rudimentary communication capabilities only Class 1 ~10 KB ~100 KB Devices use protocols designed for IoT, using Constrained Application Protocols (CoAP). Can interact with other devices without going through a gateway. Class 2 ~50 KB ~250 KB Devices use regular IP (IPv6) protocols and can behave as regular network devices 11/20/2015 Debasis Das debasis@ecdzone.com 11
  • 12. Sensors & Actuators ā€¢ Sensors help measuring things and help decide what is the current status of the environment to be controlled ā€¢ Actuators help actuate the controls that can change these variables in the environment, when necessary ā€¢ The direction of control, the amount of control, the time for which it has to be turned on, etc. are derived from analyzing the sensory inputs. The analysis will be carried out at a processor that can be at different levels. Depending on the volume of data or the complexity of the control scenario, resources in the cloud could be used too. 11/20/2015 Debasis Das debasis@ecdzone.com 12
  • 14. A Sensor Node (mote) Courtesy Wikipedia ā€¢ A sensor node, also known as a mote (North America), is a node in a sensor network that is capable of performing some processing, gathering sensory information and communicating with other connected nodes in the network ā€¢ A wireless sensor network (WSN) (sometimes called a wireless sensor and actor network WSAN) are spatially distributed autonomous sensors to monitor physical or environmental conditions such as temperature, sound, pressure, etc. and to cooperatively pass their data through the network to a central location. The more modern networks are bi- directional, also enabling control of sensor activity. 11/20/2015 Debasis Das debasis@ecdzone.com 14
  • 15. WSN/Mote example 1 11/20/2015 Debasis Das debasis@ecdzone.com 15
  • 16. Typical I/O Configuration of Zolertia z1 11/20/2015 Debasis Das debasis@ecdzone.com 16
  • 17. Mote/WSN example 2 11/20/2015 Debasis Das debasis@ecdzone.com 17
  • 18. WSN/Mote example 3 11/20/2015 Debasis Das debasis@ecdzone.com 18
  • 19. Mote on a Chip 11/20/2015 Debasis Das debasis@ecdzone.com 19
  • 20. Sensor Network Characteristics Courtesy Wikipedia ā€¢ The WSN is built of "nodesā€œ; from a few to several hundreds or even thousands, where each node is connected to one (or sometimes several) sensors. ā€¢ Each such sensor network node has typically ā€“ A radio transceiver with an internal antenna or an external one ā€“ A Microcontroller for interfacing with the sensors and an energy source, usually a battery or an embedded form of energy harvesting 11/20/2015 Debasis Das debasis@ecdzone.com 20
  • 21. Sensor Network Characteristics- contā€™d ā€“ The cost of sensor nodes is variable, ranging from a few to hundreds of dollars, depending on the complexity of the individual sensor nodes ā€“ Size and cost constraints on sensor nodes result in corresponding constraints on resources such as energy, memory, computational speed and communications bandwidth ā€“ The topology of the WSNs can vary from a simple star to an multi-hop mesh ā€“ The propagation technique between the hops of the network can be routing or flooding 11/20/2015 Debasis Das debasis@ecdzone.com 21
  • 22. Architecture of a Mote 11/20/2015 Debasis Das debasis@ecdzone.com 22 Memory Power Supply unit Micro- processor Sensor 2 Sensor 1 ADC Transceiver
  • 24. WSN Hardware ā€¢ A WSN has a low cost and small/tiny in size ā€¢ Inherent to sensor network adoption is the use of low power methods for radio communication and data acquisition. ā€¢ A WSN usually communicates with a local area network or wide area network through a gateway. The Gateway acts as a bridge between the WSN and the other network ā€¢ This enables data to be stored and processed by devices with more resources in a remote server for example 11/20/2015 Debasis Das debasis@ecdzone.com 24
  • 25. WSN Software ā€¢ WSNs may be deployed in large numbers in various environments, including remote and hostile regions, where ad hoc communications are a key component. Usually energy availability is constrained. ā€¢ Algorithms and protocols need to address the following issues ā€“ Increased lifespan ā€“ Robustness and fault tolerance ā€“ Self-configuration ā€¢ To conserve power, wireless sensor nodes normally power off both the radio transmitter and the radio receiver when not in use in a sleep mode often 11/20/2015 Debasis Das debasis@ecdzone.com 25
  • 26. WSN OS ā€¢ These are typically less complex than general-purpose operating systems. ā€¢ Strongly resemble embedded systems ā€“ These networks are typically deployed in a specific situation than a general purpose use ā€“ Need for low costs and low power dictates low-power microcontrollers and thus ruling out mechanisms such as virtual memory ā€¢ Embedded operating systems such as eCos or uC/OS could be used ā€¢ Tiny OS is one of the first operating systems specifically designed for wireless sensor networks. TinyOS has event driven programming rather than multi-threading 11/20/2015 Debasis Das debasis@ecdzone.com 26
  • 27. WSN OS ā€“ contā€™d ā€¢ TinyOS programs are composed of event handlers and tasks that run-to-completion. When an external event occurs, such as an incoming data packet or a sensor reading, TinyOS signals the appropriate event handler to handle the event. Event handlers can post tasks that are scheduled by the TinyOS kernel some time later. ā€¢ LiteOS is a more recent OS for wireless sensor networks, which provides UNIX-like abstraction and support for the C programming language. ā€¢ Contiki is an OS supports C and communication advances like the 6LowPAN and Protothreads 11/20/2015 Debasis Das debasis@ecdzone.com 27
  • 28. Online Collaborative Sensor Data Management Platforms ā€¢ Online collaborative sensor data management platforms are on-line database services that allow sensor owners to register and connect their devices to feed data into an online database for storage. ā€¢ Developers are able to access the database and build applications ā€¢ Xively and Wikisensing are examples ā€¢ These platforms simplify online collaboration between users over diverse data sets 11/20/2015 Debasis Das debasis@ecdzone.com 28
  • 29. Data Management Platforms-Contā€™d ā€¢ Datasets may range from energy and environment data to that collected from transport services. ā€¢ Other services include allowing developers to embed real-time graphs & widgets in websites; analyze and process historical data pulled from the data feeds; send real-time alerts from any data- stream to control scripts, devices and environments. ā€¢ The architecture of the Wikisensing lets users to include APIs and interfaces for online collaborators, a middleware containing the business logic needed for the sensor data management and processing and a storage model suitable for the efficient storage and retrieval of large volumes of data. 11/20/2015 Debasis Das debasis@ecdzone.com 29
  • 30. Xively-What It Can Do ā€¢ Create innovative connected objects using any software/hardware combination ā€¢ Free, open and supported libraries are provided along with tutorials and documentation to allow you to connect to Xively using the hardware you want and the languages you know. ā€¢ New hardware platforms are being added from a variety of vendors. ā€¢ The libraries leverage standards-based API over MQTT, WebSockets and HTTP to make connecting to the Internet of Things simple, intuitive and fast. 11/20/2015 Debasis Das debasis@ecdzone.com 30
  • 32. Xively Capabilities ā€¢ Connect ā€“ IoT connectivity needs to be fast, secure and scalable. Xively connects millions of devices ā€“ You can control access for every person, application, or thing trying to access your IoT data and plug directly into cloud-based services your business departments rely on for daily workflows. ā€¢ Manage ā€“ Allows capturing, managing and interpreting business information ā€“ Xively manages connected product business in one location by providing standard methods for defining and managing connected device users, employees, customers, partners and their data. 11/20/2015 Debasis Das debasis@ecdzone.com 32
  • 33. Xively Capabilities-Contā€™d ā€¢ Engage ā€“ IoT enabled devices are making support and engagement with customers more satisfying, efficient and instant ā€“ Xively provides a single interface for your real-time product deployment lifecycle as well as product usage and health ā€“ It is then possible for the sales and marketing teams to identify cross-sell and up-sell opportunities ā€“ Service teams can remotely access and fix connected products in real-time 11/20/2015 Debasis Das debasis@ecdzone.com 33
  • 34. Wikisensing ā€¢ WikiSensing is a sensor data management platform ā€¢ Developed by the Discovery Sciences Group, Department of computing, Imperial College, London ā€¢ WikiSensing runs on top of IC Cloud, the group's cloud computing infrastructure. 11/20/2015 Debasis Das debasis@ecdzone.com 34
  • 35. Wikisensing ā€“ API Capabilities ā€¢ A set of RESTful web services, and makes use of the POST, GET and DELETE methods of the HTTP protocol. ā€¢ A user first needs to register to the platform and get a unique service API key to be able to send data ā€¢ Then the user can register new sensors (and their metadata) and add data to sensors that are under his/her service key. ā€¢ To retrieve and query data a user must use service keys. Sensors that are public have their service key prefixed with Public_ and can be retrieved using the API ā€¢ Users can use the API to query the sensor data of a sensor to get the latest data, data submitted after a particular timestamp, and data that matches specific values in one or two fields. ā€¢ A user can delete their sensors and their data using the corresponding web service. 11/20/2015 Debasis Das debasis@ecdzone.com 35
  • 36. Wikisensing ā€“ contā€™d ā€¢ Sample Code is available for ā€“ Test suite source code in C# ā€“ Script for getting data from Wikisensing in Python ā€¢ Sample Application is available for ā€“ viewing a live deployment of a node sensor grid monitoring office temperature, humidity and lighting ā€¢ Data Formats ā€“ Wikisensing accepts data in XML or JSON formats. Sample for XML and JSON requests and responses for each function of the web service API is provided ā€“ The content of a request must match the required structure of the corresponding XML or JSON file. 11/20/2015 Debasis Das debasis@ecdzone.com 36
  • 37. Simulation of WSNs ā€¢ Agent-based modeling and simulation allows the simulation of complex behavior of wireless sensors (such as flocking) ā€¢ Network simulators like OPNET, NetSim and used to simulate a wireless sensor network ā€¢ Free source Cooja is another tool that lets a WSN be simulated 11/20/2015 Debasis Das debasis@ecdzone.com 37
  • 41. Raspberry Pi Options ā€¢ Standard models for use as development systems ā€¢ For developing embedded applications. Includes Compute IO board, compute module, display and camera adapter ā€¢ Customized boards in large scale can be ordered for production use 11/20/2015 Debasis Das debasis@ecdzone.com 41
  • 42. Arduino YUN (Arduino for IoT applications) 11/20/2015 Debasis Das debasis@ecdzone.com 42
  • 43. Arduino Options ā€¢ Free source hardware, can be replicated at will for production needs ā€¢ Can be combined with other boards to configure a system for specific use ā€¢ Free source software, Linux based ones, are available. 11/20/2015 Debasis Das debasis@ecdzone.com 43
  • 45. Galileo Options ā€¢ Offers a development kit ā€¢ Galileo development kit ā€¢ Grove sensor kit ā€¢ License to Wind River Intelligent device Platform XT ā€“ Software support for development, integration and deployment of IoT gateways ā€“ Provides connectivity, management and security 11/20/2015 Debasis Das debasis@ecdzone.com 45
  • 46. Connectivity ā€¢ A range of networking options that can save development time & cost ā€¢ Validated and flexible firmware provides an extensive network of connectivity choices. PAN, LAN, and WAN network accesses as well as a wide range of modem support 11/20/2015 Debasis Das debasis@ecdzone.com 46
  • 47. Management Features ā€¢ Platform customization capabilities available. Helps stretch the product life and uptime, helps reduce development time ā€¢ Long-term secure remote manageability features help simplify deployment, maintenance, and management of remote devices. 11/20/2015 Debasis Das debasis@ecdzone.com 47
  • 48. Security features ā€¢ Protection for critical data across your device network ā€¢ Secure image, data, and management is supported ā€¢ Encrypted communication is provided between the cloud-based console and devices. ā€¢ Device resources management limits exposure to untrusted applications. 11/20/2015 Debasis Das debasis@ecdzone.com 48
  • 49. Whole Range of Microprocessors ā€¢ 8 bit to 64 bit architectures ā€¢ Whole range of power consumption ratings ā€¢ Custom hardware design and development takes skills & experience 11/20/2015 Debasis Das debasis@ecdzone.com 49
  • 50. A Looming Problem ā€¢ Deployment of solutions using large number of connected devices, that uses this tiny processors is set to blow up ā€¢ A large number of skilled resources will be required ā€¢ Trying to take care of all the support functions that are fairly standard could a tough demand ā€¢ Itā€™ll be nice if things like GUIs, network connectivity, touch sensor and other device configurations could be taken care of by the development tools in the form of a platform 11/20/2015 Debasis Das debasis@ecdzone.com 50
  • 51. Mobile Development Scenario ā€¢ Developers are able to concentrate on the app logic and implementation, not the routine stuff like establishing a call etc. ā€¢ These apps are at a higher level and need not concern with hardware nitty gritty ā€¢ Microprocessor based development can take a page out of that scenario and get the development work done on platforms like the mobile situation ā€¢ This has started happening 11/20/2015 Debasis Das debasis@ecdzone.com 51
  • 52. Synergy Development Platform ā€¢ Synergy was released by Renesas in Oct this year ā€¢ Supports a family of processors, so that when an upgraded member is used, the firmware upgrade is minimal ā€¢ Developers need not be skilled in every specific device to be used. 11/20/2015 Debasis Das debasis@ecdzone.com 52
  • 54. SysDK Platform from Mentor Graphics ā€¢ Platform development solutions help close the gap between design complexity and available design talent ā€¢ Mentorā€™s customizable gateway is offered as the SysDK product that take care of end to end solution development ā€¢ Incudes a hardware reference design and associated software that support bidirectional wireless communication is offered ā€¢ Communicates with motes on one edge and the cloud on the other edge 11/20/2015 Debasis Das debasis@ecdzone.com 54
  • 55. SysDK Block Diagram (Courtesy mentor Graphics) 11/20/2015 Debasis Das debasis@ecdzone.com 55
  • 56. SysDK Resources ā€¢ Freescaleā€™s iMX6 (ARM Cortex-A9 based) processor ā€¢ Etherenet, 802.15.4, Wi-Fi, BLE ā€¢ Mentorā€™s Nucleus RTOS/ Mentorā€™s embedded Linux ā€¢ Security based on ARMā€™s ā€œTrustZoneā€ security architecture at the device level alongwith Icon Labā€™s Floodgate for McAfeeā€™s EPO (ePolicy Orchastrator) at the RTOS and Enterprise level 11/20/2015 Debasis Das debasis@ecdzone.com 56
  • 57. SysDK Hardware Reference Design 11/20/2015 Debasis Das debasis@ecdzone.com 57
  • 59. Intelā€™s IoT Platform ā€¢ Development support provided include ā€“ Security: Helps deliver trusted data with a tight integration of hardware- and software-based security ā€“ Interoperability: Utilize technologies that seamlessly communicate to one another, help accelerate time to market, and reduce the cost of deploying and maintaining IoT solutions. ā€“ Scalability: Whole range of processor capability provided to scale performance based on application need (Quark, Xeon and others) ā€“ Manageability: Helps adavnced data management and analytics from sensor to datacenter. 11/20/2015 Debasis Das debasis@ecdzone.com 59
  • 60. Wind River Edge Management ā€¢ It connects machines and devices ā€¢ Helps manage and collect machine generated data ā€¢ Customers can easily aggregate data off the edge ā€¢ Can help offer business intelligence ā€“ To protect investments ā€“ Generate new revenue streams ā€“ Maximize existing infrastructure ā€“ Improve business processes. 11/20/2015 Debasis Das debasis@ecdzone.com 60
  • 61. Communications (A review, reference DevNation, Jun 21-25, Boston, MA, USA IoT Protocols round-up- Brian Ashburn) 11/20/2015 Debasis Das debasis@ecdzone.com 61
  • 62. Type of Communications ā€¢ M2M or machine to machine ā€¢ Machine to server ā€¢ Server to server ā€¢ Humans to Machine 11/20/2015 Debasis Das debasis@ecdzone.com 62
  • 63. Protocols ā€¢ So you are going to need different kinds of protocols ā€¢ Attempt is to keep overheads down as much as possible ā€¢ Developers need to take a call on whatā€™s going to survive and become popular 11/20/2015 Debasis Das debasis@ecdzone.com 63
  • 64. An Example Protocol ā€¢ A MQTT message format has a fixed header of 2 bytes, ā€“ Byte 1defiunes message type and flags ā€“ Byte 2 contains information on the remaining message length ā€¢ A variable header may/may not be included after the fixed header ā€¢ The payload will contain application data or protocol specific information 11/20/2015 Debasis Das debasis@ecdzone.com 64
  • 65. HTTP/REST ā€¢ These protocols are based on HTTP/REST as the base on which they are built ā€¢ Many systems provide frameworks to support REST ā€¢ Language independent ā€¢ Obviously this support will preclude many full messaging support 11/20/2015 Debasis Das debasis@ecdzone.com 65
  • 66. Concern of users 11/20/2015 Debasis Das debasis@ecdzone.com 66 ā€¢ Communications makes sure the whole thing works! ā€¢ Best protocol is decided by ā€“ Available communication pathways ā€“ Processing power available on device ā€“ What server can support
  • 67. MQTT 11/20/2015 Debasis Das debasis@ecdzone.com 67 ā€¢ Open standard ā€¢ It is lightweight ā€¢ Good QoS definitions are available ā€¢ Persistent message store ā€¢ No labelling of content type is available
  • 68. MQTT-SN 11/20/2015 Debasis Das debasis@ecdzone.com 68 ā€¢ TCP-less protocol ā€¢ Intended for sensor networks ā€¢ Improvements over MQTT in terms of error messages and concise message header ā€¢ Complex connection mechanism is mandated (even if the network is just 2 nodes) ā€¢ Stateful endpoints need be used ā€¢ Handling of restarts by Brokers or clients not defined ā€¢ Few platforms support it yet
  • 69. CoAP 11/20/2015 Debasis Das debasis@ecdzone.com 69 ā€¢ Open standard based on HTTP/REST ā€¢ Suited for resource constrained devices ā€¢ Communication is based on UDP ā€¢ Primarily a point to point protocol
  • 70. AMQP 11/20/2015 Debasis Das debasis@ecdzone.com 70 ā€¢ Full featured message protocol ā€¢ Supports routing ā€¢ Data type encoding defined ā€¢ Supports queues and other message patterns ā€¢ Quite a heavyweight protocol and better suited to server to server communications
  • 71. Why Contiki ā€¢ Open Source software : can be used for commercial as well as non-commercial projects ā€¢ It runs on a range of low-power wireless devices ā€¢ Incorporates Internet standard communication protocols like the RPL, CoAP, 6LowPAN ā€¢ Rapid development: Writing software in standard C and the ability to emulate sensor network in Cooja makes for fast development ā€¢ Commercial as well as community support available 11/20/2015 Debasis Das debasis@ecdzone.com 71
  • 72. Contiki Features ā€¢ Designed for tiny system, allocates memory through multiple mechanisms ā€“ memb: memory block allocation, mmem: managed memory allocation and malloc: the standard C memory allocation method ā€¢ Full IPv6 networking support: UDP, TCP and HTTP as well as low power standards 6LowPAN, CoAP and RPL ā€¢ Power awareness: Has mechanisms for estimating power consumption and where the power gets spent 11/20/2015 Debasis Das debasis@ecdzone.com 72
  • 73. Features- Contā€™d ā€¢ Dynamic module loading and run-time linking ā€¢ Many programming example are provided ā€¢ Cooja: creates a simulation environment, helpful in development and debug situation ā€¢ Supports sleepy routers, routers or relay nodes ā€¢ Wide ranging hardware platforms supported that include 8051, MSP 430, AVR and ARM devices 11/20/2015 Debasis Das debasis@ecdzone.com 73
  • 74. Instant Contiki ā€¢ Entire development system that can be downloaded straight ā€¢ It is a UBUNTU Linux virtual machine, runs in VMWare player + development tools, compilers and simulators ā€¢ Download the instant version, install the VMWare player and boot up the instant Contiki 11/20/2015 Debasis Das debasis@ecdzone.com 74
  • 75. The Development Process 11/20/2015 Debasis Das debasis@ecdzone.com 75 Download Instant Contiki Install VM Player Boot Ubuntu Log-in Start Cooja Open a Terminal window Specify Application C source file Find Contiki Application Create new mote tupes Add motes In the simulation Set simulation options Create a simulation Start simulation Compile Contiki And application Create a Mote type Add the motes Add motes to simulation Simulation Done!
  • 76. Contiki on The Target Hardware ā€¢ Connect hardware (Zolertia Z1 mote) connected via USB of the development PC. Enable the mote through VMWare player (Removable Devices menu) ā€¢ Open a terminal and cd to ā€œexamplesā€ directory ā€¢ Compile Contiki + z1 example ā€“ make TARGET=z1 hello world ā€¢ make TARGET=z1 savetarget, saves the choice for future compilations ā€¢ make hello-world.upload will upload to code to the target ā€¢ Make the serial port on the mote ready to display output with ā€“ make login 11/20/2015 Debasis Das debasis@ecdzone.com 76
  • 77. Contiki on The Target Hardware ā€“ Contā€™d ā€¢ If you rest the button on the mote, you should see ā€“ Rime started with address 1.1 ā€“ MAC 01:01: 00:00:00:00:00:00 Contiki-2.6 started. Node id is set to 257. ā€“ CSMAContikiMAC, channel check rate 8 Hz, radio channel 26 ā€“ Starting ā€œHello world processā€ ā€“ Hello, world ā€¢ If you upload broadcast-example from contiki/examples/ipv6/simple-udp-rpl/ to two devices, it will be possible to observe them sending low-power IPv6/UDP message to each other 11/20/2015 Debasis Das debasis@ecdzone.com 77
  • 78. RIOT ā€¢ An OS designed specifically for the Internet of things ā€¢ Well suited for lightweight (1.5 KB RAM) sensor with 8 bit uC devices to 32 bit devices with sophisticated hardware ā€¢ Designed for hardware with minimal resources but easy to develop ā€¢ Programming in C, C++ ā€¢ Multi-threading and real-time features 11/20/2015 Debasis Das debasis@ecdzone.com 78
  • 79. RIOT Design Features of Interest ā€¢ RIOT enforces constant periods for kernel tasks (e.g., scheduler run, inter- process communication, timer operations) ā€¢ Static memory allocation in the kernel. Dynamic memory management is provided for applications. ā€¢ A scheduler that works without any periodic events. Whenever there are no pending tasks, RIOT will switch to the idle thread, which determines the deepest possible sleep mode ā€¢ Only interrupts (external or kernel generated) wake up the system ā€¢ Low complexity of kernel functions makes for energy efficiency of an OS. The duration and occurrence of context switching are minimized. Two cases: (i) a corresponding kernel operation itself is called, e.g., a mutex locking or creation of a new thread, or (ii) an interrupt causes a thread switch. 11/20/2015 Debasis Das debasis@ecdzone.com 79
  • 80. TinyOS ā€¢ Power efficient, Put microcontroller and radio to sleep ā€¢ Small memory footprint, Non-pre-emptable FIFO task scheduling ā€¢ Efficient modularity, Function call (event and command) interface between commands ā€¢ Application specific, WSN domain ā€¢ Concurrency-intensive operation, Event-driven architecture, No user/kernel boundary ā€¢ NesC for programming 11/20/2015 Debasis Das debasis@ecdzone.com 80
  • 81. Building Connected Devices ā€¢ Issues to focus on ā€“ Utilize existing IoT platform ā€¢ Developers need to understand programming languages, sensors, drivers, middleware, OS, project management, security and encryption, networking protocols, etc. An IoT platform can take care of many of these issues so that developers can focus on the application ā€“ Use third party software components ā€¢ Drivers and middleware development is time consuming. Better to go with components available for the complex micro-controllers of today 11/20/2015 Debasis Das debasis@ecdzone.com 81
  • 83. Building Connected Devices ā€“ contā€™d ā€“ Use proven communication standards only ā€¢ Things are fluid here. You could cover the bets by supporting everything. Building a product around a standard that may not be around in a few years time, is a risk designers cannot afford ā€“ Take care of security ā€¢ Span of the network increase by orders of magnitude. Security thereby becomes very important. ā€“ Leverage team strengths/optimize around that ā€¢ Strengthening weaknesses in a team is time-consuming thereby affecting time to market. It is better to work around by using component or consultants 11/20/2015 Debasis Das debasis@ecdzone.com 83
  • 84. References 1. Sensor Technologies: Healthcare, Wellness and Environmental Applications- McGrath, Michael; Ni Scanaill, Cliodhna, Apress. Kindle Edition. 2. Designing the Internet of Things- Adrian McEwen, Hakim Cassimally, Wiley, 2014 3. Getting Started with the Internet of Things Cuno Pfister 4. Getting Started with the Internet of Things: Connecting Sensors and Microcontrollers to the Cloud, Maker Media, Inc. Kindle Edition. 11/20/2015 Debasis Das debasis@ecdzone.com 84