SPS London 2015 - IoT and Room Reservation Cloud-Style

32
SharePoint and IoT: Room Reservation Cloud-Style Edin Kapić July 11 th , 2015 London

Transcript of SPS London 2015 - IoT and Room Reservation Cloud-Style

SharePoint and IoT: Room Reservation Cloud-Style

Edin KapićJuly 11th, 2015

London

Thanks to our Sponsors

About me

www.edinkapic.com

@ekapic

http://www.spsevents.org/city/Barcelona/Barcelona2015/

SharePoint, sun and beach (September 26th)

NOW OPEN FOR

REGISTRATION!!!

Agenda IoT Landscape Intel Galileo “Cloud Room Reservation System” DEMO Q&A

Internet of Things (IoT) Landscape

Real “things” with Internet connectivity

Sensory capabilities

Actuator capabilities

Smart wearables

Smart home

Smart city

Smart environment

Smart enterprise

Applications

IoT Platforms

PLATFORM PROCESSOR OS .NET SUPPORT

ARDUINO PIN

LAYOUT

ARDUINO Atmel AVR / ARM

Firmware No Yes

NETDUINO ARM NET Micro Framework Yes Yes

GADGETEER ARM NET Micro Framework Yes No

GALILEO Intel Quark LinuxWindows IoT

No Yes

RASPBERRY PI ARM LinuxWindows 10

Yes (Mono) Yes

“Standard” for IoT

Atmel AVR microcontroller

Analog and digital pins

“Shields” for additional hardware or sensors

Arduino

Programming Model

int led = 13;

void setup() {                  pinMode(led, OUTPUT);     }

void loop() {  digitalWrite(led, HIGH);  delay(1000);   digitalWrite(led, LOW);     delay(1000); }

Intel Galileo

Arduino-compatible board with Intel Pentium-class processor

Linux embedded image

Arduino software emulation

Arduino pin layout

Ethernet RJ45 socket

PCI card support

SD card for other OS images

Intel Galileo Features

Arduino sketches

Python

Node.js

Intel IOT SDK with XDE/Eclipse and Yocto (C, C++, JS)

Windows IoT Win32 subset (C++)

Programming the Galileo

C-like language

Uploaded via serial / USB port

Many examples and libraries available

Arduino Sketches

Cloud Room Reservation System

Use Galileo to supply real-time meeting room occupancy status for SharePoint to display on a site

“The Idea”

Overall Architecture

Azure Event Hub

Azure Stream Analytics

Office 365

Remote AppAzure Table Storage

Passive Infrared sensor detects differences in temperature caused by movement

Outputs HIGH when movement is detected

PIR Sensor

GND, 5V, OUTPUT

The physical layout

PIR sensor

Status LEDs

Digital pinsResistors

Ethernet to Azure

Breadboard

Part of Service Bus infrastructure

Massively scalable message input / output endpoints

Event Hubs

Galileo has built-in Ethernet connection

Arduino network libraries

Azure Storage REST API in C++ (“Casablanca”)

AMQP library in C++ for Service Bus

Galileo to Azure

Real-time message processing in Azure

Correlations, aggregations, pattern detection

SQL-like language

Massive throughput with parallel processing

Stream Analytics

Message processing

...2015-07-11 11:54:12, 02015-07-11 11:54:13, 02015-07-11 11:54:14, 12015-07-11 11:54:15, 02015-07-11 11:54:16, 02015-07-11 11:54:17, 0...

2015-07-11 11:53, 02015-07-11 11:54, 1

Queries Azure table storage

Displays the room availability

Provider-hosted MVC web application

Office 365 SharePoint App Add-in

Demo Time !

Organizational Azure accounts can output Stream Analytics data directly to Power BI

Alternative: Power BI Output

Summary

IoT + Azure + Office 365

Azure allows for no-hassle connection between IoT devices and the client applications

Office 365 is a perfect surface area for IoT-generated information

Thank you!

Don’t forget the SharePint

Sponsored by

Imperial College Union Bar6pm - 8pm Beit Quadrangle, Prince Consort RoadOne street up from SPS London

Don’t forget to get Beer Tokens….