Let’s do some IoT stuff… with an Arduino board and Azure Stream Analytics Internet of Things.

Slides:



Advertisements
Similar presentations
Connecting IoT Andy Cross, Director Elastacloud Ltd Windows Azure MVP Da zee zij
Advertisements

Running Hadoop-as-a-Service in the Cloud
Protecting your online and on premises assets "Cloud Style" Mike Martin Architect / Microsoft Azure MVP.
| Basel Discovering Windows Azure Mobile Services and Media Services Ken Casada
Eric Nelson Developer Evangelist Microsoft UK | Lap around.
INTEGRATION DAY 2015 Sam Vanhoutte Azure Event Hubs, Stream Analytics & Power BI.
© Sogeti Sogeti-Microsoft Alliance Getting Started with Windows Azure Development.
Mingfei Yan Program manager Windows Azure Media Services.
How* to Win the #BestMicrosoftHack Shahed Chowdhuri Sr. Technical WakeUpAndCode.com *Hint: Use the Cloud.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
WINDOWS AZURE MOBILE SERVICES AN INTRODUCTION Bret Stateham Technical Evangelist
Kevin Francis Azure Media Services Architecture Deep Dive CLD31 2.
Windows Azure Web Sites Second-generation PaaS Boston Cloud Meetup 14-January-2014 (00:30) Boston Azure User Group
Internet of Things Connecting Physical Devices to the Cloud Doug Seven Director | Partner Catalyst | Microsoft
Big Data Analytics with Excel Peter Myers Bitwise Solutions.
Event-Driven Stream Processing with Microsoft StreamInsight Roman Schindlauer.
Andy Roberts Data Architect
Getting to know U-SQL Azhagappan Arunachalam.  Sr Database Architect 
Azure Machine Learning My first Data Science experiment Using Azure Machine Learning.
How do I compare the two And how do I choose
Getting to know U-SQL Azhagappan Arunachalam.  Sr Applications Database Architect 
Your app Intelligent apps learn and adapt to deliver more powerful experiences.
What our kit offers Software Introduction Hands-On Experience.
Microsoft Build /28/2017 6:34 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
TOUR ,000,000,000 1,000,000, ,000,000 10,000,000 1,000, ,000 10,000 1,000 Transistors Moore’s Law Metcalf‘s Law.
This document and the information contained herein is confidential and proprietary to Allegient LLC and shall not be duplicated, used or disclosed in whole.
This document and the information contained herein is confidential and proprietary to Allegient LLC and shall not be duplicated, used or disclosed in whole.
Azure Stream Analytics
Connected Infrastructure
WPC042 - Data ON THE ROAD: the IoT architecture
IoT 101 with Raspberry Pi and Azure
Connected Living Connected Living What to look for Architecture
Examine information management in Cortana Intelligence
Welcome! Power BI User Group (PUG)
Real Time Data with Azure and Power BI
Data-driven serverless apps with Azure functions
Data-driven serverless apps with Azure functions
BRK3288-Discover data-driven apps that learn and adapt
Melbourne Azure Meetup
What has Azure to offer to IoT Developers?
Azure IoT / RPI / Windows Core 10
Developing apps for the Internet of Things
Optimizing Edge-Cloud IoT Applications for Performance and Cost
Connected Living Connected Living What to look for Architecture
7/18/2018 8:55 PM Migracija IoT rešenja na Azure PaaS model ili: Kako sam prestao da brinem o IT infrastrukturi i zavoleo Azure Nebojša Stojanović © Microsoft.
Microsoft Ignite /22/2018 3:27 PM BRK2121
Azure Streaming Analytics
Connected Infrastructure
Stream Analytics Coolest and Exciting
9/11/2018 1:44 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Remote Monitoring solution
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Mikael Hakansson IoT – Common patterns and practices Integration MVP
Introduction to Azure Streaming Analytics
Azure IoT End-to-End Martin Abbott.
Dive into Predictive Maintenance using Cortana Intelligence Suite
Smart Buildings – Connecting Buildings to the Cloud
Near Real Time ETLs with Azure Serverless Architecture
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
Getting started with Windows Azure
2/19/2019 9:06 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Virtual Reality with Azure and Unity
Storing and Processing Sensor Networks Data in Public Clouds
Azure Stream Analytics
Introduction to Azure Streaming Analytics
Introduction to Azure Streaming Analytics
Microsoft Azure Services Platform
IoT Security and Privacy
Presentation transcript:

Let’s do some IoT stuff… with an Arduino board and Azure Stream Analytics Internet of Things

Merci à nos sponsors…

Session Logistics Speaker : Florian Eiden SQL Server MVP/ Data English or French? Recorded, but you are here, so you are the important ones! Content : 20% slide deck, 80% demo Some code : C, Python; on Linux and Mac OS… But Azure and Power BI! Yes you can leave now, no offence taken ;) Cellenza 156, bd Haussmann Paris, France

Internet of Things What’s the point? International Business Times : Connected CattleConnected Cattle By David GilbertDavid Gilbert

Internet of Things What’s the point? 4 different scenarios (Clemens Vasters – MSDN)Clemens Vasters – MSDN Telemetry : my device streams data from sensors Inquiries : my device asks for stuff for its process to complete Commands : I order my device to do something Notifications : I notify my device so that it can do stuff if it wants to

Complete Picture Event Hub Stream Analytics PowerBI.com Azure SQL DB IP compatible device (Windows/Linux) Sensors http

Arduino.cc (Genuino)

Arduino.cc (Genuino)

Arduino Yun = Base + Linux + Wifi & Ethernet Base System : Circuit board + pseudo C Yun Linux : Linux… so Python in my case :) (Because Azure SDK in Python!) Pseudo C Python

Event Hub : a broker, with retention, in PaaS Event Hub http

Arduino : C Let’s go have a look ;)

Arduino : Python Let’s go have a look ;) First on the Mac Then on the Arduino by ssh Then see

So now that we have data coming in, lets play with it!

14 (Stream Analytics) Data at Rest SELECT count(*) FROM ParkingLot WHERE type = 'Auto' AND color = 'Red' Question “How many red cars are in the parking lot?” Answering with a relational database Walk out to the parking lot Count vehicles that are: Red, Car

15 (Stream Analytics) Data in Motion Different Question “How many red cars have passed exit 18A on A-10 in the last hour?” Answering with a relational database Pull over, park all vehicles in a lot, keep them there for an hour Count vehicles in the lot Not a great solution…

16 Stream Analytics SELECT count(*) FROM A-10 WHERE Type = ‘Car’ and Color = ‘Red’ GROUP BY TumblingWindow(hour, 1) Different Question “How many red cars have passed exit 18A on A-10 in the last hour?”

17 Temporal aggregation, in T- SQL TumblingWindow(minute,5) HoppingWindow(minute, 10, 5) SlidingWindow(minute, 3)

18 End-to-End Architecture Data SourceCollectProcessDeliver Event Inputs -Event Hubs -Azure Storage Blobs Transform -Temporal joins -Filter -Aggregates -Projections -Windows -etc. Enrich -Join with reference data Prepare -Output to storage for further processing Outputs -Azure SQL DB -Azure Storage Blobs -Event Hubs -Power BI -… Azure Storage Temporal Semantics Guaranteed delivery Guaranteed up time Azure Stream Analytics Reference Data -Azure Storage Blobs -…

Power BI (powerbi.com, the yellow one)powerbi.com NB : you need the “Pro” one (10$/month) for real time stuff

To go further Arduino.cc : Starter Kit (Genuino) / Arduino Yun (Linux+Wifi) Arduino.cc Arduino + Event Hub Ola Loogman (Kloud) : The IoT with Arduino, Event Hubs and the Azure Python SDK (blog)blog Event Hub et Stream Analytics Dipanjan Banik – Stream Analytics Hands on Lab : TollApp (download)download Visual Studio Community Edition (download)download Azure 1 free month offer (activate)activate Power BI : PowerBI.comPowerBI.com

t