Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

29
Microsoft IoT Solutions with Azure Global Azure Boot Camp 2015-Chennai

Transcript of Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Page 1: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Microsoft IoT Solutions with AzureGlobal Azure Boot Camp 2015-Chennai

Page 2: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Who am I ?

Vinoth Rajagopalan

Project Lead – Windows Embedded Products & IoT

e-con systems India Pvt Ltd

MVP- Windows Embedded

Page 3: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Topics• Internet of Things – An Intro

• Why Cloud for IoT

• Azure IoT services

• IoT Protocols

• Microsoft OS for IoT

• Devices for IoT

• Demo

Page 4: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Internet of Things (IoT)

• Connecting Heterogeneous systems seamlessly in to information network to achieve business and social values

• 25 Billion Connected things on 2020 ( More than Human population in the world)

• IoT, M2M , Intelligent systems etc.. Converging the same

• Examples• Smart Home, Smart City, Smart Hospitals,

Smart …..

Page 5: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Evolution of IoT

• Earlier IoT systems• Expensive on installing and maintaining• Difficult implementation (No standard protocols, services etc..)

• Why IoT is booming?• Cheaper hardware (sensors, processor boards, RF devices etc..)• More standardization on Hardware platforms• M2M protocols and easy connectivity of Heterogeneous systems

Page 6: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Why Cloud (Azure) for IoT?• Cloud - Back bone of IoT

• Highly scalable • Connecting millions of devices

• Enormous storage, processing capacity

• Connecting Heterogeneous systems• PCs, Mobiles, bigger devices to smaller

devices running on various OS

• Data Analysis to create business value• (ex) Vending Machines

• Variety of cloud services

Page 7: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure
Page 8: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Azure Event hub

• Part of Azure Service Bus

• Handling Telemetry Messages from devices, Apps and websites

• Logging millions of events/second

• Connect millions of devices across platforms

• Time-based event buffering

• Elastic scale in order to accommodate variable load profiles

• Accessible through AMQP and HTTP protocols

Page 9: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Demo on Event hubs

Page 10: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Azure Stream Analytics

• Real-time stream processing in the cloud

• Processing Millions of Events / second

• Simple SQL-like language to define your stream processing logic

• No hardware to deploy

Page 11: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Demo on Stream Analytics

Page 12: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

IoT Communication Patterns

Telemetry

Information flowing

from a device to other

systems for conveying

status of device and

environment

Inquiries

Requests from devices

looking to gather

required information or

asking to initiate

activities

Commands

Commands from other

systems to a device or a

group of devices to

perform specific

activities

Notifications

Information flowing

from other systems to a

device/group for

conveying status

changes in the world

1:N 1:N

Page 13: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Popular IoT Protocols

• Alljoyn (https://allseenalliance.org/)• Open source framework for IoT

• Initiated by Qualcomm and now it is growing bigger (Maintained by AllseenAlliance)

• SDKs available for Windows/WEC, Linux, Android, iOS, • .net MicroFramework (Available soon)

• SDK types• Standard SDK

• Thin client SDK – for resource constrained devices

• Microsoft adopting this as a service in Windows 10 (various versions)

Page 14: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Popular IoT Protocols

• MQTT (http://mqtt.org/) • Available in the industry for more than 10 Year

• Open standard by IBM and adopted by many org

• Extremely lightweight publish/subscribe messaging transport

• Support for Windows/WEC, .net Micro framework, Linux, Android, iOS,

• Broker (server)/ Client Mechanism

• https://m2mqtt.codeplex.com/ - .net code for MQTT

Page 15: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Windows IoT AllJoyn Device Network

Internet/Cloud

Windows can bridge AllJoyn to other proximal networks and remote device networks via the cloud

Proximal Network

AllJoyn Node

Other ProximalDevices

Windows IoTAllJoyn Cloud Bridge

3rd party device cloud

AllJoyn Thin Client

Page 16: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Azure for IoT future roadmap

• Azure IoT suite• Evolution of Azure Intelligent systems services• Based on Azure service bus• Device Repository, Event storage, Set Alerts, Commands and perform

Analytics

• Device Gateway – Reykjavik project• IoT Gateway in the Cloud• Based on Service Bus

• Queues• Topics/Subscriptions• Event Hubs

• Released as open source on GitHub• Access using HTTP, AMQP, MQTT, CoAP and custom protocol gateway

Page 17: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Device Gateway – Core Architectural Concepts1. Custom Protocol

Gateway

2. Telemetry Pump and Adapters

3. Command Gateway

4. Provisioning Service and Metadata Store

Windows Azure Service Bus Messaging

Custom Protocol Gateway Host

MQTT CoAP … …

Telemetry/Request

RouterNotification/Command Router

Adapters Command API Host

Provisioning

Service

Device

Metadata

and Key

Store

HD

Insi

gh

t

Biz

Talk

Sv/S

r

Orl

ean

s

Azu

re S

tora

ge

SQ

L

SB

HTTP

HTTP

Devices

AMQP

1

2 3

4

Configs

Page 18: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Microsoft OS for IoT• Windows Embedded Compact

• Used to build any X86 and ARM core based devices (earlier version support MIPS Arch)

• Extremely customized

• OS foot print on MBs (<100MB)

• Suitable for devices with low power, low processing core(300 MHz to 1GHz and above) and RAM (64 MB to ~3 GBs) and minimum ~64MB and above

• Native Win32 and .Net CF

• Broader range of connectivity support

• Windows Embedded Handheld• Earlier WEH is based on Windows Embedded compact based kernel

• Latest versions are based on Windows Phone 8.1 Kernel

• License provided selected OEM

Page 19: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Microsoft OS for IoT ( Cont..)

• Windows Embedded Standard/Industry• X86 based devices• Customized version of Windows PC operating systems• Image foot prints are larger and similar to PC but it is componentised

• .NET Micro Framework• Open source OS• ARM Architecture (ARM7, ARM9 and ARM Cortex M)• Suitable for resource constrained devices (256 KB of Flash and 64KB of RAM)• C# Managed code ( A sub set of .net base class libraries)• https://amqpnetlite.codeplex.com/ - AMQP for accessing Service Bus ( Event

hubs)

Page 20: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Windows Embedded Family

Portable media Consumer Thin Client

IndustrialAutomation Telematics Robotics

Entertainment MedicalIndustrial

Automation Thin Client

Point of Service

Kiosks Entertainment

Server appliances

Kiosks

Page 21: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Windows 10 IoT Editions

For Industry Devices

Desktop Shell, Win32 apps

1 GB RAM, 16 GB Storage

For Mobile Devices

Modern Shell

Mobile Chassis requirement

512 MB RAM, 4 GB storage

For Small Devices

Dedicated devices

No Shell/Store/MS Apps

256MB RAM, 2GB storage

Universal Apps

Windows Device Services

• On all Windows IoT clients

• Extends value of Windows for OEMs

• OS telemetry, update management, interoperability

• Azure IoT-ready

Requires desktop or desktop apps–

Win32, .NET, WPF, etc. ?

Requires a Shell experience, multiple

applications, Windows first-party

applications, or mobile voice?

Otherwise

Page 22: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Windows 10 – For Small devices

Sharks Cove• Intel ® Atom™ Processor Z3735G, 2M Cache, 4 Core,

1.33GHz up to 1.88GHz

• Supports Connected Standby

MinnowBoard MAX• Intel® Atom™ E3800 processor

• Open Hardware Platform (Gerbers & Layout)

Qualcomm DragonBoard™ 410C• Qualcomm Snapdragon 410 (APQ8016)

• 1GB LPDDR3, 4GB eMMC

Page 23: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Raspberry Pi 2

Bringing the power of Windows to the Maker community

Hardware specs:

• Broadcom 2836 900MHz quad-core ARM Cortex-A7 CPU

• 1GB LPDDR2 SDRAM

• MicroSD, Ethernet, USB, HDMI

• GPIO, I2C, I2S, SPI

• www.windowsondevices.com

Page 24: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Arduino• What is Arduino?

• Arduino is an open-source electronics platform • Based on easy-to-use hardware and software. • It's intended for anyone making innovative projects.• Boards, Off-The-Shelf Shields, IJW Software, Kits• http://www.arduino.cc/

• Hardware• Variety of Implementations

• All implement the same hardware interface (or superset), same physical pin locations

• Arduino (various) ARM ATmega328 etc MPU• .NET MF: Netduino• Intel Galileo (Runs Headless version of Win 8.1)• 86Duino (x86 Like Galileo but support Windows Embedded Compact)

Page 25: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Arduino Boards

netduino plus 2 86Duino ZERO Intel Galileo

Page 26: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

• Headers on both sides of board will mount a shield plug directly in• Meant to be stackable

• IO Hardware physically implemented to plug into Arduino sockets

• Standard Drivers• Same driver source will run shield on all variants of Arduino

• Sensors, Network, WiFi, Sensors, Actuators etc

• Shield List• http://shieldlist.org/

Page 27: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Connect The Dots

• Connect tiny devices to Microsoft Azure services to build IoT solutions

• www.connectthedots.io

• Open source project by Microsoft Open Technologies

• Multiple client platforms• Windows• Linux• .NET microframework• Arduino

• Azure-based services and front-end

Page 28: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Demo

Page 29: Global Azure boot camp 2015 - Microsoft IoT Solutions with Azure

Thank you

[email protected]@VinothRajagopal

vinoth-vinothblog.blogspot.com