techcamps - internet of things

74
TechCamp IoT Nürnberg | Pforzheim | Ulm | Frankfurt | St.Augustin/Bonn | Trier | Unterschleißheim/München

Upload: olivia-klose

Post on 04-Aug-2015

235 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TechCamps - Internet of Things

TechCamp IoT

Nürnberg | Pforzheim | Ulm | Frankfurt |

St.Augustin/Bonn | Trier | Unterschleißheim/München

Page 2: TechCamps - Internet of Things
Page 3: TechCamps - Internet of Things
Page 4: TechCamps - Internet of Things

Overview Internet of ThingsAzure IoT Services

Page 5: TechCamps - Internet of Things

2003

Page 6: TechCamps - Internet of Things

2010

Page 7: TechCamps - Internet of Things

2015

Page 8: TechCamps - Internet of Things

202050* Billion Things

Page 9: TechCamps - Internet of Things

Clemens Vasters, Architect, Microsoft Azure

Page 10: TechCamps - Internet of Things
Page 11: TechCamps - Internet of Things

Home Transportation Health Buildings Cities

Page 12: TechCamps - Internet of Things

Available

Parking Spots

Home Transportation Health Buildings Cities

Position

Page 13: TechCamps - Internet of Things

Starting the air

conditioner

Reserve a

working space

Start the

cleaning

Reducing the

temperature

Home Transportation Health Buildings Cities

Target

Page 14: TechCamps - Internet of Things

Monitors your

health

Recognises a

heart attack

Calls an

ambulance

Transmits an

early diagnosis

to the hospital

Transmits

optimal route to

the ambulance

Home Transportation Health Buildings Cities

Page 15: TechCamps - Internet of Things

Reduce

maintenance

duration Save time

Integrate

various

systems

Optimise

decision

making

process

Automate

processes

Page 16: TechCamps - Internet of Things
Page 17: TechCamps - Internet of Things
Page 18: TechCamps - Internet of Things
Page 19: TechCamps - Internet of Things

Smart Products

Grid

Renewables

Oil/Gas/Coal

Recovery and

Distribution

Points

of Sale

Restaurants

Hotels

Fuel

Stations

Patients

Clinics

Hospitals

Nursing

Homes

Mobile

Care

SafetySecurity

ComfortLighting

Automation

Manufacturing

Integration and

AutomationRemote

Servicing

Predictive and

Reactive

Maintenance

Water

Waste

Pollution

Control

Fire

Emergency

Public

Safety

Law

Enforcement

Letters

Packages

Containers

Tanks Bulkware

Games

Events

Sports

TelevisionStreaming

Traffic Buses

Cars

Trucks

Trains

Vessels

Aircraft

Bikes

Smart

Energy

Smart Pro

Services

Smart

Retail

Smart

Mobility

Smart

Logistics

Smart

Factory

Smart

Cities

Smart

Entertain-

ment

Smart

Health-

care

Smart

Building

Home

Page 20: TechCamps - Internet of Things

Field Gateway

Device

Connectivity & Management

Devic

es

RTO

S,

Linux,

Win

do

ws,

A

nd

roid

, iO

S

Cloud Gateway

Event Hubs

Field Gateway

Protocol Adaptation

Page 21: TechCamps - Internet of Things

Field Gateway

Device

Connectivity & Management

Analytics &

Operationalized Insights

Presentation &

Business Connectivity

Devic

es

RTO

S,

Linux,

Win

do

ws,

A

nd

roid

, iO

S

Protocol Adaptation

Batch Analytics & Visualizations

Azure HDInsight, AzureML, Power BI,

Azure Data Factory

Hot Path Analytics

Azure Stream Analytics, Azure HDInsight Storm

Presentation &

Business Connectivity

App Service, Websites

Dynamics, BizTalk Services, Notification Hubs

Hot Path Business Logic

Service Fabric & Actor Framework

Cloud Gateway

Event Hubs&IoT Hub

Field Gateway

Protocol Adaptation

Page 22: TechCamps - Internet of Things

Devices Device Connectivity Storage AnalyticsPresentation &

Action

Event Hubs SQL DatabaseMachine

LearningApp Service

Service BusTable/Blob

Storage

Stream

AnalyticsPower BI

External Data

SourcesDocumentDB HDInsight

Notification

Hubs

External Data

SourcesData Factory Mobile Services

BizTalk Services

{ }

Page 23: TechCamps - Internet of Things

DataIngest

CommandThat‘s easy …

Ingest rate

Storage

Security

That‘s not so easy …

Security

Latency

Analyse@ Scale

Big Data

Data in Motion

Page 24: TechCamps - Internet of Things

Telemetry

Ingest

6

machines

20

sensors / machine

X 120

sensors

/

productionline

=

Let‘s do the math …

Page 25: TechCamps - Internet of Things

Telemetry

Ingest

4

productionlines

/

plant

120

sensors /

productionline

X 480

sensors

/

plant

=

Let‘s do the math …

Page 26: TechCamps - Internet of Things

Telemetry

Ingest

480

sensors

/

plant

60

telemetryingests

/

minute

X 1,728,000

ingests

/

hour

=

Let‘s do the math …

Page 27: TechCamps - Internet of Things

Telemetry

Ingest

1,728,000

ingests

/

hour

50

e.g. customers

X 86,400,000

ingests

/

hour

=

On a 24/7 basis

Hyper Scale is needed

Let‘s do the math …

Page 28: TechCamps - Internet of Things

Service Bus

Relay

Queue

Topic

Notification

Event

Hub

Interactive Dashboard(s)Production Line(s)

Data Ingest – Service BusOverview

Page 29: TechCamps - Internet of Things

Service Bus

Interactive Dashboard(s)Production Line(s)

* 1 Mio Producers* 1 GB/sec aggregated

per Event Hub

Event Hub

Reader 1

Reader 2

Reader 3

….

Consumer Group

Throughput Units 1 GB/s writes

2 GB/s reads

Event Hub

Page 30: TechCamps - Internet of Things

Demo Time

How to create an Event Hub

Page 31: TechCamps - Internet of Things
Page 32: TechCamps - Internet of Things

Ingest

Egress

Page 33: TechCamps - Internet of Things

Service BusProduction Line(s)

Telemetry

Event HubTrend

Calculation

Alarm

Engine

Eg

ress

/

Transf

orm

atio

n Storage Dashboard(s)

Data in Motion Data at Rest Data in Motion

Page 34: TechCamps - Internet of Things

Service BusEvent Hub

Stream Analytics

Transform• Temporal Joins

• Filter

• Aggregates

• Projections

• Time Windows

Enrich / Correlate• Other Streams

• Data at Rest

Production Line(s)

Telemetry

Service BusEvent Hub

Storage

Page 35: TechCamps - Internet of Things

Demo

• Stream Analytics

Page 36: TechCamps - Internet of Things

Our toll station has multiple toll booths, where a sensor placed on top of the booth scans an RFID card affixed to the windshield of the vehicles as they pass the toll booth.

The passage of vehicles through these toll stations can be modelled as event streams over which interesting operations can be performed.

Toll Id EntryTime LicensePlate State Make Model Vehicle TypeVehicle

WeightToll Tag

1 2014-09-10 12:01:00.000 JNB 7001 NY Honda CRV 1 1535 7

2 2014-09-10 12:02:00.000 YXZ 1001 NY Toyota Camry 1 1399 4 123456789

Toll Id ExitTime LicensePlate

1 2014-09-10T12:03:00.0000000Z JNB 7001

2 2014-09-10T12:03:00.0000000Z YXZ 1001

LicensePlate RegistrationId Expired

SVT 6023 285429838 1

XLZ 3463 362715656 0

BAC 1005 876133137 1

RIV 8632 992711956 0

SNY 7188 592133890 0

ELH 9896 678427724 1

Page 37: TechCamps - Internet of Things

AzureToll Station

Even

tHu

bAzure

Stream

Analytics

Even

tHu

b

<To

llO

utp

ut>

AMQPCSV

<enter, exit>

entryStream<JSON>

outputStream<JSON>

Web-Service

EventHub

consumer

exitStream<JSON>

Page 38: TechCamps - Internet of Things
Page 39: TechCamps - Internet of Things

Ingest

Egress

Analytics

Page 40: TechCamps - Internet of Things

Interactive Dashboard(s)Production Line(s)

Commands

1:1; 1:n; n:m

Secure & Low Latency

Command & Control

Page 41: TechCamps - Internet of Things

Production Line(s)Dashboard(s)

Command

Open Port

Public IP / Dynamic DNS

Command & Control

Page 42: TechCamps - Internet of Things

Command & Control

Production Line(s)Dashboard(s)

VPN

Command

Page 43: TechCamps - Internet of Things

Production Line(s)Dashboard(s)Cloud

CommandOutbound ConnectionService

Gateway

No active listening (unlike VPN)

Device initiated, outbound connections (like VPN)

Automatic Port Mapping (like VPN)

No open inbound ports; minimized attack surface

Public address

Full defendable

Server platform

Page 44: TechCamps - Internet of Things

Command & ControlService Assisted Communication

Page 45: TechCamps - Internet of Things

http://crossbar.io/iotcookbook/

Page 46: TechCamps - Internet of Things
Page 47: TechCamps - Internet of Things

Devices

Page 48: TechCamps - Internet of Things
Page 49: TechCamps - Internet of Things
Page 50: TechCamps - Internet of Things

tessel.io/start

Page 51: TechCamps - Internet of Things
Page 52: TechCamps - Internet of Things
Page 53: TechCamps - Internet of Things
Page 54: TechCamps - Internet of Things

arduino.cc/en/Guide/Windows

Page 55: TechCamps - Internet of Things

arduino.cc/en/Guide/ArduinoYun

Page 56: TechCamps - Internet of Things
Page 57: TechCamps - Internet of Things
Page 58: TechCamps - Internet of Things
Page 59: TechCamps - Internet of Things
Page 60: TechCamps - Internet of Things
Page 61: TechCamps - Internet of Things
Page 62: TechCamps - Internet of Things
Page 63: TechCamps - Internet of Things
Page 64: TechCamps - Internet of Things

Camera

(CSI)

4 USB Ports

Ethernet port

40 GPIO Pins

HDMI PortCombined audio jack

and composite videoPower

Display

(DSI)

Page 65: TechCamps - Internet of Things

Micro SD

card slot

Page 66: TechCamps - Internet of Things
Page 67: TechCamps - Internet of Things
Page 68: TechCamps - Internet of Things
Page 69: TechCamps - Internet of Things

http://oliviaklose.com/hello-blinky

Page 70: TechCamps - Internet of Things

http://www.hanselman.com/blog/SettingUpWindows10ForIoTOnYourRaspberryPi2.aspx

Page 71: TechCamps - Internet of Things

Resources

Page 72: TechCamps - Internet of Things

http://www.arduino.cc/en/Guide/ArduinoYun

http://start.tessel.io/install

http://oliviaklose.com/hello-blinky/

Page 73: TechCamps - Internet of Things

microsoft.hackster.io

github.com/ms-iot

github.com/dx-ted-emea/iot-labs

github.com/RobertEichenseer/IoT_MasterClass

github.com/dx-ted-emea/azure-tessel

http://www.connectthedots.io

Page 74: TechCamps - Internet of Things

http://oliviaklose.com/iot-cheat-sheet/