SlideShare a Scribd company logo
1 of 56
+ Cincinnati + Louisville
+ Nashville + Columbus
+ Detroit + Indianapolis
David Buckingham – Practice Lead, Custom App Development
Mike Branstein – Director, Application Development
Internet of Things
(IoT)
Workshop
2
Welcome
3
• You rarely get the chance to practice for practice’s sake
• IoT and cloud architecture/development patterns can be
confusing and are frankly “new” to many of us
• It’s not what’s going to change, it’s when – and the answer is likely yesterday
• Today
• The Internet of Things (IoT)
• Cloud architecture
• See an end-to-end solution
• Hands-on practice
• Get excited or inspired
Practice Makes Perfect
4
IoT: The Internet of
Toasters Things
Source: Oxford Ditionary 5
Internet of things
noun
A proposed development of the
Internet in which everyday objects
have network connectivity, allowing
them to send and receive data.
What is the Internet of Things?
Source: Cisco & Internet World Stats, sourced and created by Nick Landry 10
How Big?
Source: Cisco, sourced and stats created by Nick Landry 11
You Want What? More?
Source: Nick Landry 12
The Enablers
13
The cool stuff.
14
Common IoT Devices & Platforms
Source: Nick Landry 19
• Full single-board computer with SoC
• Average cost: $30 to $45
• Model A, A+, B, B+ and Raspberry Pi 2 B, 3, Zero
• Runs Linux – flavor of Debian called Raspbian
• http://www.raspbian.org
• Huge accessory selection
• Programmable
• Python
• (Mono), etc.
• 5+ million units sold in 3 years of
manufacture, technically the largest
computer manufacturer in UK!
Raspberry Pi
• Prototype-to-production platform
• Wifi or Cellular enabled, low-voltage
• Remote management capabilities
• Cloud-based development environment
• $19
• Scale by starting with 1, move to
a PCB integrated platform, and
custom hardware when you get to
the 10,000’s
• http://particle.io
Particle Photon
Source: Nick Landry 21
• Windows 10 is on Raspberry Pi 2 and 3!
• http://windowsondevices.com
New Windows == More Fun!
22
Demo: Windows 10 IoT Core
23
The RPi can be powered
either by the USB cable
from the host PC or by
an external DC power
source (5V).
The RPi also has 5V,
3.3V and GND pins to
supply voltages to your
project components.
Raspberry Pi 2 Introduction
Source: Nick Landry
24
• General Purpose Input/Output
• Pin that can be controlled by the
user
• Can be set to input or output
• Input can be things like
temperature sensors, buttons, IR
etc
• Output can be LEDs, Motors,
LCDs etc
GPIO
Source: Nick Landry
25
• 40 pins total
• Pi Wedge organizes pins
• 17 GPIO
• 6x power
• 5x SPI (Serial Peripheral
Interface) serial comm.
• 2x UART, Tx (out) / Rx (in) serial
comm.
• 4x I2C (comm. Protocol,
master/slave)
Pi Wedge Pin Out
29
Breadboards offer a great
way to prototype circuits. The
provide a number of “buses”
for connecting both power
and components
Power buses run the entire
horizontal length
Component buses (vertical)
give you easy ways to
connect pins together
Breadboards
Source: Nick Landry
31
Lab 0 Introduction to your Lab Kit
32
Lab 1 Hello World
33
Lab 2 Momentary LED with Push Button
34
Lab 3 Temperature Sensor
35
• Analog Temp. Sensor
• Analog to Digital
Convertor (RPi 2 only
reads digital signals, so
we need a convertor from
Analog to Digital)
• Capacitor (to reduce line
noise)
Temperature Sensor Components
36
• Red are Power and GRD
• Analog/Digital
Convertor (1 set for
the analog
component, another
for the digital
component)
• Temperature Sensor
Powering the Circuit
Customer & KiZAN confidential 37
• Serial Communications
happen over 4 lines
• Yellow
• White
• Blue
• Green
• Yellow connects Temp
sensor to the Convertor
Communicating with the RPi
39
IoT Hub Placeholder
and Azure IoT Hub
Walkthrough
Source: Nick Landry 40
The Enablers
42
Cloud Overview: IaaS, PaaS, SaaS
Source: Nick Landry, Microsoft
43
• PaaS is where you “should” want to be
• Use the service, don’t do the plumbing
• We’ve been doing the plumbing for a long time
• Challenges
• Mapping exercise
• Architect the
PaaS way or the
highway
Moving to PaaS
44
Reference Cloud IoT Architecture
Source: Nick Landry, Microsoft
IoT Hub
{“device”:”kizan-pi-01”,
“tempC”:”25.5”,
“tempF”:”77.9”}
The Lab Cloud IoT Architecture
Stream Analytics
Service Bus
Topic
Subscribe to Average Temp
Topic
Power BI
{“avgTempC”:”24.3”,
“avgTempF”:”75.7”}
SQL Azure
Raw data
ETL temp avgs
Service Bus
ETL
temp
avgs
Source: Nick Landry 46
The Enablers
47
The Maker Movement
What’s fueling the fire?
48
Makers are Everywhere
49
“You’re a Great Builder and Maker”
50
52
53
Crowdsourced Funding
54
Since 2009!
$2.39B pledged
105,959 successfully
funded projects
10.9M total
backers
29.3M pledges3.4M repeat backers
Source: Kickstarter, May 2016
IoT Hub
{“device”:”kizan-pi-01”,
“tempC”:”25.5”,
“tempF”:”77.9”}
The Lab Cloud IoT Architecture
Stream Analytics
Service Bus
Topic
Subscribe to Average Temp
Topic
Power BI
{“avgTempC”:”24.3”,
“avgTempF”:”75.7”}
SQL Azure
Raw data
ETL temp avgs
Service Bus
ETL
temp
avgs
57
Stream Analytics
Standard Data Analysis
58
• Your data already exists – it’s
all from the past or
projections of the future
• You can aggregate everything
• Not real-time
• Batch processing
• Reactionary in nature
Data Analysis
Streaming Data Analysis
59
• Data arrives temporally
• You can’t aggregate data all at once
• Real-time
• Data is grouped into different
windows
Data Analysis
• What is a data window?
• What’s your data window?
• Concept: arriving data as an “event”
Tumbling Window Hopping Window
Source: MSDN and MSDN 60
• Tumbling Windows that overlap
• Timeunit (minutes, seconds, etc.)
• Windowsize (duration)
• Hopsize (skip duration)
• Series of fixed-size, non-
overlapping and contiguous
time windows
Temporal Windowing
Source: Microsoft 61
• Real-time stream processing in
the cloud
• Real-time cloud-based ETL
• Millions of events per second
• Scale dynamically
What is Azure Stream Analytics?
62
• Create Stream Analytics Job
• Configure 1 or more Inputs and Outputs
• Create Queries to ETL from Inputs to Outputs
• Use SQL-like language
Making Cloud ETL Easy
63
Demo Looking at a Stream Analytics Job
Any data, any way, anywhere
146.03K145.84K145.96K146.06K 40.08K38.84K39.99K40.33K
Live Query & Scheduled Data Refresh
Power BI overview
Customer & KiZAN confidential 72
Build a Dashboard

More Related Content

What's hot

What's hot (9)

An open-source testbed for IoT systems
An open-source testbed for IoT systemsAn open-source testbed for IoT systems
An open-source testbed for IoT systems
 
Science DMZ as a Service: Creating Science Super- Facilities with GENI
Science DMZ as a Service: Creating Science Super- Facilities with GENIScience DMZ as a Service: Creating Science Super- Facilities with GENI
Science DMZ as a Service: Creating Science Super- Facilities with GENI
 
IoT Product Life Cycle and Security
IoT Product Life Cycle and SecurityIoT Product Life Cycle and Security
IoT Product Life Cycle and Security
 
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
 
IPv6: The New Internet Protocol
IPv6: The New Internet ProtocolIPv6: The New Internet Protocol
IPv6: The New Internet Protocol
 
Using bluemix predictive analytics service in Node-RED
Using bluemix predictive analytics service in Node-REDUsing bluemix predictive analytics service in Node-RED
Using bluemix predictive analytics service in Node-RED
 
IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...
IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...
IoT Slam Keynote: Harnessing the Flood of Data with Heterogeneous Computing a...
 
What's next in edge computing?
What's next in edge computing?What's next in edge computing?
What's next in edge computing?
 
Speaking at John Carrol University on the Internet of Things
Speaking at John Carrol University on the Internet of ThingsSpeaking at John Carrol University on the Internet of Things
Speaking at John Carrol University on the Internet of Things
 

Viewers also liked (6)

Temperatura
TemperaturaTemperatura
Temperatura
 
Boletín informativo mundial mayores astana
Boletín informativo mundial mayores astanaBoletín informativo mundial mayores astana
Boletín informativo mundial mayores astana
 
MD_IRFAN_680
MD_IRFAN_680MD_IRFAN_680
MD_IRFAN_680
 
3. Sejarah PMI
3. Sejarah PMI3. Sejarah PMI
3. Sejarah PMI
 
L11 ap global hub cities
L11 ap global hub citiesL11 ap global hub cities
L11 ap global hub cities
 
Presentation essential summarizer
Presentation essential summarizerPresentation essential summarizer
Presentation essential summarizer
 

Similar to IoT Workshop - Waukesha

ch7-Create an IoT Solution
ch7-Create an IoT Solutionch7-Create an IoT Solution
ch7-Create an IoT Solution
ssuser06ea42
 
The world is the computer and the programmer is you
The world is the computer and the programmer is youThe world is the computer and the programmer is you
The world is the computer and the programmer is you
Davide Carboni
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywhere
ssuser06ea42
 

Similar to IoT Workshop - Waukesha (20)

IoT Workshop Louisville
IoT Workshop LouisvilleIoT Workshop Louisville
IoT Workshop Louisville
 
Continuum Analytics and Python
Continuum Analytics and PythonContinuum Analytics and Python
Continuum Analytics and Python
 
SDN :: Software Defined Networking –2017 Executive Overview
SDN :: Software Defined Networking –2017 Executive OverviewSDN :: Software Defined Networking –2017 Executive Overview
SDN :: Software Defined Networking –2017 Executive Overview
 
CHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshopCHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshop
 
ch7-Create an IoT Solution
ch7-Create an IoT Solutionch7-Create an IoT Solution
ch7-Create an IoT Solution
 
Hacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT CoreHacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT Core
 
Implementing AI: Running AI at the Edge: ClickCV – Providing high-performance...
Implementing AI: Running AI at the Edge: ClickCV – Providing high-performance...Implementing AI: Running AI at the Edge: ClickCV – Providing high-performance...
Implementing AI: Running AI at the Edge: ClickCV – Providing high-performance...
 
Kickstarting Hull's Smart City
Kickstarting Hull's Smart CityKickstarting Hull's Smart City
Kickstarting Hull's Smart City
 
Bringing an AI Ecosystem to the Domain Expert and Enterprise AI Developer wit...
Bringing an AI Ecosystem to the Domain Expert and Enterprise AI Developer wit...Bringing an AI Ecosystem to the Domain Expert and Enterprise AI Developer wit...
Bringing an AI Ecosystem to the Domain Expert and Enterprise AI Developer wit...
 
The world is the computer and the programmer is you
The world is the computer and the programmer is youThe world is the computer and the programmer is you
The world is the computer and the programmer is you
 
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
 
IoT Introduction Architecture and Applications
IoT Introduction Architecture and ApplicationsIoT Introduction Architecture and Applications
IoT Introduction Architecture and Applications
 
lec01.pdf
lec01.pdflec01.pdf
lec01.pdf
 
CloudCamp Chicago - Big Data & Cloud May 2015 - All Slides
CloudCamp Chicago - Big Data & Cloud May 2015 - All SlidesCloudCamp Chicago - Big Data & Cloud May 2015 - All Slides
CloudCamp Chicago - Big Data & Cloud May 2015 - All Slides
 
IoT: Docker and Raspberry Pi for CamJam
IoT: Docker and Raspberry Pi for CamJamIoT: Docker and Raspberry Pi for CamJam
IoT: Docker and Raspberry Pi for CamJam
 
Sinfonier Storm Builder for Security Intelligence
Sinfonier Storm Builder for Security IntelligenceSinfonier Storm Builder for Security Intelligence
Sinfonier Storm Builder for Security Intelligence
 
Totten presidio presentation feb 20 2015 pdf
Totten presidio presentation feb 20 2015 pdfTotten presidio presentation feb 20 2015 pdf
Totten presidio presentation feb 20 2015 pdf
 
Arduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things LandscapeArduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things Landscape
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywhere
 
BLE Localiser (Full) for iOS Dev Scout
BLE Localiser (Full) for iOS Dev ScoutBLE Localiser (Full) for iOS Dev Scout
BLE Localiser (Full) for iOS Dev Scout
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 

IoT Workshop - Waukesha

  • 1. + Cincinnati + Louisville + Nashville + Columbus + Detroit + Indianapolis David Buckingham – Practice Lead, Custom App Development Mike Branstein – Director, Application Development Internet of Things (IoT) Workshop
  • 3. 3 • You rarely get the chance to practice for practice’s sake • IoT and cloud architecture/development patterns can be confusing and are frankly “new” to many of us • It’s not what’s going to change, it’s when – and the answer is likely yesterday • Today • The Internet of Things (IoT) • Cloud architecture • See an end-to-end solution • Hands-on practice • Get excited or inspired Practice Makes Perfect
  • 4. 4 IoT: The Internet of Toasters Things
  • 5. Source: Oxford Ditionary 5 Internet of things noun A proposed development of the Internet in which everyday objects have network connectivity, allowing them to send and receive data. What is the Internet of Things?
  • 6. Source: Cisco & Internet World Stats, sourced and created by Nick Landry 10 How Big?
  • 7. Source: Cisco, sourced and stats created by Nick Landry 11 You Want What? More?
  • 8. Source: Nick Landry 12 The Enablers
  • 10. 14 Common IoT Devices & Platforms
  • 11. Source: Nick Landry 19 • Full single-board computer with SoC • Average cost: $30 to $45 • Model A, A+, B, B+ and Raspberry Pi 2 B, 3, Zero • Runs Linux – flavor of Debian called Raspbian • http://www.raspbian.org • Huge accessory selection • Programmable • Python • (Mono), etc. • 5+ million units sold in 3 years of manufacture, technically the largest computer manufacturer in UK! Raspberry Pi
  • 12. • Prototype-to-production platform • Wifi or Cellular enabled, low-voltage • Remote management capabilities • Cloud-based development environment • $19 • Scale by starting with 1, move to a PCB integrated platform, and custom hardware when you get to the 10,000’s • http://particle.io Particle Photon
  • 13. Source: Nick Landry 21 • Windows 10 is on Raspberry Pi 2 and 3! • http://windowsondevices.com New Windows == More Fun!
  • 15. 23 The RPi can be powered either by the USB cable from the host PC or by an external DC power source (5V). The RPi also has 5V, 3.3V and GND pins to supply voltages to your project components. Raspberry Pi 2 Introduction Source: Nick Landry
  • 16. 24 • General Purpose Input/Output • Pin that can be controlled by the user • Can be set to input or output • Input can be things like temperature sensors, buttons, IR etc • Output can be LEDs, Motors, LCDs etc GPIO Source: Nick Landry
  • 17. 25 • 40 pins total • Pi Wedge organizes pins • 17 GPIO • 6x power • 5x SPI (Serial Peripheral Interface) serial comm. • 2x UART, Tx (out) / Rx (in) serial comm. • 4x I2C (comm. Protocol, master/slave) Pi Wedge Pin Out
  • 18. 29 Breadboards offer a great way to prototype circuits. The provide a number of “buses” for connecting both power and components Power buses run the entire horizontal length Component buses (vertical) give you easy ways to connect pins together Breadboards Source: Nick Landry
  • 19. 31 Lab 0 Introduction to your Lab Kit
  • 20. 32 Lab 1 Hello World
  • 21. 33 Lab 2 Momentary LED with Push Button
  • 23. 35 • Analog Temp. Sensor • Analog to Digital Convertor (RPi 2 only reads digital signals, so we need a convertor from Analog to Digital) • Capacitor (to reduce line noise) Temperature Sensor Components
  • 24. 36 • Red are Power and GRD • Analog/Digital Convertor (1 set for the analog component, another for the digital component) • Temperature Sensor Powering the Circuit
  • 25. Customer & KiZAN confidential 37 • Serial Communications happen over 4 lines • Yellow • White • Blue • Green • Yellow connects Temp sensor to the Convertor Communicating with the RPi
  • 26. 39 IoT Hub Placeholder and Azure IoT Hub Walkthrough
  • 27. Source: Nick Landry 40 The Enablers
  • 28. 42 Cloud Overview: IaaS, PaaS, SaaS Source: Nick Landry, Microsoft
  • 29. 43 • PaaS is where you “should” want to be • Use the service, don’t do the plumbing • We’ve been doing the plumbing for a long time • Challenges • Mapping exercise • Architect the PaaS way or the highway Moving to PaaS
  • 30. 44 Reference Cloud IoT Architecture Source: Nick Landry, Microsoft
  • 31. IoT Hub {“device”:”kizan-pi-01”, “tempC”:”25.5”, “tempF”:”77.9”} The Lab Cloud IoT Architecture Stream Analytics Service Bus Topic Subscribe to Average Temp Topic Power BI {“avgTempC”:”24.3”, “avgTempF”:”75.7”} SQL Azure Raw data ETL temp avgs Service Bus ETL temp avgs
  • 32. Source: Nick Landry 46 The Enablers
  • 33. 47 The Maker Movement What’s fueling the fire?
  • 35. 49 “You’re a Great Builder and Maker”
  • 36. 50
  • 37. 52
  • 39. 54 Since 2009! $2.39B pledged 105,959 successfully funded projects 10.9M total backers 29.3M pledges3.4M repeat backers Source: Kickstarter, May 2016
  • 40. IoT Hub {“device”:”kizan-pi-01”, “tempC”:”25.5”, “tempF”:”77.9”} The Lab Cloud IoT Architecture Stream Analytics Service Bus Topic Subscribe to Average Temp Topic Power BI {“avgTempC”:”24.3”, “avgTempF”:”75.7”} SQL Azure Raw data ETL temp avgs Service Bus ETL temp avgs
  • 42. Standard Data Analysis 58 • Your data already exists – it’s all from the past or projections of the future • You can aggregate everything • Not real-time • Batch processing • Reactionary in nature Data Analysis
  • 43. Streaming Data Analysis 59 • Data arrives temporally • You can’t aggregate data all at once • Real-time • Data is grouped into different windows Data Analysis • What is a data window? • What’s your data window? • Concept: arriving data as an “event”
  • 44. Tumbling Window Hopping Window Source: MSDN and MSDN 60 • Tumbling Windows that overlap • Timeunit (minutes, seconds, etc.) • Windowsize (duration) • Hopsize (skip duration) • Series of fixed-size, non- overlapping and contiguous time windows Temporal Windowing
  • 45. Source: Microsoft 61 • Real-time stream processing in the cloud • Real-time cloud-based ETL • Millions of events per second • Scale dynamically What is Azure Stream Analytics?
  • 46. 62 • Create Stream Analytics Job • Configure 1 or more Inputs and Outputs • Create Queries to ETL from Inputs to Outputs • Use SQL-like language Making Cloud ETL Easy
  • 47. 63 Demo Looking at a Stream Analytics Job
  • 48.
  • 49. Any data, any way, anywhere
  • 51.
  • 52.
  • 53.
  • 54. Live Query & Scheduled Data Refresh
  • 56. Customer & KiZAN confidential 72 Build a Dashboard

Editor's Notes

  1. Talking Points I want to welcome everyone to our workshop on the Internet of Things. Today is going be an exciting day. You’ll get to work hands-on with a Raspberry Pi, building several simple circuits. You’ll get to see Windows 10 running on the Raspberry Pi and see how it can be a simple development platform for IoT devices. You’ll see how to interact with Windows Azure as a scalable platform for data transmission and IoT device management. We’ll then use Azure’s Stream Analytics service to analyze our data streams in real-time, prepping them for reporting. Finally, we’ll round-out the day by looking at Power BI, a reporting tool that we will use to build and share visualizations based upon the data we analyzed with Stream Analytics.
  2. Talking Points Aside from learning about the different technologies available to you, we’ve found that you rarely get the opportunity to practice developing or experimenting. So, what do you need to be successful today? The pre-requisites – if you haven’t looked at them yet, please do. We’ll also be sharing an Azure subscription today, but everything you see here today can be done with either an Azure trial or the Azure credits you may have with MSDN. Finally, we want you to have fun. We built this workshop because we enjoy the content, we’re passionate about building and making.
  3. Let’s dive in. I’ve said IoT or the Internet of Things several times, but what is IoT? I could launch into a lengthy explanation, but I think Joseph Sirosh from Microsoft said it really well, when he talked about the power of data, internet connectivity, and cows.
  4. Talking Points When you think of IoT, you’re most familiar with consumer or hobbyist hardware: Fitbit, Garmin, lightbulbs, the Nest, etc. But as Joseph Sirosh said, imagine what can happen in industry, or farming. There are immense applications of what we can do with IoT acorss multiple industries. As we’re exploring today, keep thinking how IoT could help transform your businesses, either by creating new streams of revenue, decreasing costs, or by streamlining processes. So what is the internet of things. It’s about sending and receiving data. To illustrate this – think of Fitbit – it is passive, Nest is passive monitoring and receiving. Two-way communication.
  5. Essentially, what Kevin was saying is that the internet emerged becaue of our social and technological need t communicate more easily, but this was driven by interpersnall communication needs. However, the IoT is driven by the need for devices to communicate with each other, on behalf of us.
  6. Talking Points We’ve mentioned how IoT si about device communication and data. Let me give you an idea of how far we’ve come, and the size of where we’re going. The blue dots are world population. The orange are the number of connected devices. Back in 2008, we had more connected devices than people, but by 2020 – in 4 years, it’s estimated that we’ll have over 50 billion connected devices. This pattern of growth is truly gargantuan. And we’re just starting to talk about how these connected devices can help us out.
  7. Talking Points: What I find truly interesting is not the shear amount of data these device generate, but that even though we have 10 Billion devices connected, that’s only a fraction of a percent. So, stop and think for a moment. How many connected devices do you interact with each day. How many do you own?
  8. Talking Points Why is IoT exploding? I’d suggest there are a number of factors leading to the explosion in IoT. One of the strongest motivators driving IoT is the cloud.
  9. There are a variety of IoT devices that may have heard of. I’m not going to look at each one, perhaps if we had the time, we could demo each; however, they are all fairly similar. They run a version of linux, you can program them in C++ like languages and/or Python. But I will touch on the Arduino – it rose out of an open source hardware platform. It’s cross-platform, affordable, and has a large community behind it.
  10. Talking Points The purpose of creating the Raspberry pi was to provide low-cost computers for educational purposes around the world. They designed and built a single-board computer with a system-on-a-chip. The relatively low cost and variety of models helped to sell 5+ million units, making it the largest computer manufacturer in the UK.
  11. Talking points It looks big here, but it’s tiny. The Particle photon is a favorite of mine actually,. It’s so small, inexpensive, and powerful, that it just makes me giddy whenever I can pull it out of my bag and show someone. The core advantages of the photon are price, built-in wireless, a cloud-based dev platform, and the manufacturing capabilities behind the company. As a prototype board, it’s meant to be purchased in single-unit counts, but quickly scale up by allowing you to submit and create PCBs based upon your prototype designs. This can scale up to the 10’s of thousands.
  12. With a new OS, comes new platforms that support the OS. Check out windowsondevices.com for more information, but you can insall and run Windows 10 on a raspberry pi.
  13. It’s beneficial to show this. I don’t need to go into every tab. You understand the operating system and GUIs. Demonstrate the Remote client
  14. LEDs are all around us: In our phones, our cars and even our homes. Any time something electronic lights up, there’s a good chance that an LED is behind it. They come in a huge variety of sizes, shapes, and colors. LEDs (that’s “ell-ee-dees”) are a particular type of diode that convert electrical energy into light. In fact, LED stands for “Light Emitting Diode.” The basic template for an LED circuit is pretty simple, just connect your battery, resistor and LED in series. Like this:
  15. Talking Points There’s no damage if you plug this in backwards, it’s just not going to work
  16. Talking Points Each LED is rated for a specific amount of voltage. If you give it too much, it’ll pop.
  17. Talking Points The power buses are divided
  18. Another demo? Blinky flashing light of what IoT code is going to look like most of the time.
  19. Talking Points We’re going to turn an LED on with 3.3v to Ground Insert Pi Wedge into Bread board
  20. Talking Points Why is IoT exploding? I’d suggest there are a number of factors leading to the explosion in IoT. One of the strongest motivators driving IoT is the cloud.
  21. Talking Points Why is IoT exploding? I’d suggest there are a number of factors leading to the explosion in IoT. One of the strongest motivators driving IoT is the cloud.
  22. Talking Points: Coupled with IoT is a movement to return to getting our hands dirty, tearing apart devices, finding out how things work. We’ve gotten accustomed to buying pre-made devices, like phones, laptops. But now it’s cool again to tinker and build.
  23. Talking Points: From conferences, like maker con, weekend festivals like Maker faire, start-up maker spaces, and magazines like Make: magazine, dedicated to making and building, we’re encouraging the community to get together and share their ideas and talents, and at the same time teaching the next generation of kids that technology isn’t just snapping Instagram Photos or an iPhone or playing Angry Birds or Candy Crush Saga.
  24. Talking Points: For me, it’s a little more personal. From building lego pirate ships, iPad apps with text-to-speech sound boards, and now circuits with a breadboard. I’m raising my kids as builders and makers. We’re experimenting, building some cool contraptions, and learning that failure is ok.
  25. Talking Points: Something else fueling the Maker Movement has been 3D printing and the concept of additive manufacturing. Historically, manufacturing has been subtractive. Give me a solid block of metal, and I’ll use a CNC machine to mill it down to the right shape and size. The rise of consumer-priced, desktop 3D printers has exploded. It may not be tomorrow or even in 10 years, but the day when you can print a replacement part for your broken appliance is coming. 3D printing is bigger than just a hobbyist activity. There are real applications for prototyping, because it allows you to quickly do a POC. Once you’ve prototyped, 3D printing can replace traditional hardware manufacturing. Right now, there are dozens of companies in the 3D printing arena. And it’s a race to the bottom. Who can make the least expensive, fastest 3D printer, with the highest resolution. Competition is thriving with different technology and materials.
  26. Talking Points This is back from 2014, but it shows all of the companies involved in 3D printing. By now, there are dozens more, with a race to the bottom. Who can make the least expensive, fastest 3D printer, with the highest resolution. Competition is thriving with different technology and materials.
  27. Talking Points And one of the coolest applciations of 3D printing was with SpaceX and their SuperDraco engine. They’re building and flying additive manufacturing rocket engines into space.
  28. Talking Points Another significant contributor to the Maker and IoT Movement is the rise of crowdsourced funding options. Who here has supported a crowdsourced effort?
  29. Talking Points The most popular of these services is Kickstarter, with almost $2.4 Billion pledged to date. KickStarter and other crowdsourced funding companies are helping companies innovate, and launch products that may not have seen the light of day in the past. You’ll often see startups using KickStarter to launch their business, but also well-established companies using KickStarter to try out a new product, raise awareness, and market a product that may have never made it out of the R&D phase. KickStarter is actually being used as a pre-order system for many businesses, although, it’s not a pre-order system. You can still lose your money.
  30. Talking Points There are many other factors leading to the explosion in IoT. We won’t dive deep into them all, but may touch on a few. At the top, a combination of more powerful processors running at reduced speeds, while getting smaller allows us to build and create devices that are usable now. Remember the Cell Phone that was the size of a laptop? That was unusable. In the middle, standardization on hardware platforms has dirven prices down, and making IoT even more compelling. Coupled with a reasonably-priced mechanism to communicating with millions of devices, cloud computing seems to have come around just in time.
  31. Talking Points - Now that we have data flowing into the cloud, what’s next?
  32. Talking Notes Stream Analytics Job Inputs Outputs Queries Watch the Stream Processing – SQL Mgmt Studio or VS 2015 connect to SQL Server
  33. Talking Points Power BI is a cloud-based business analytics service that enables anyone to visualize and analyze data with greater speed, efficiency, and understanding. It connects users to a broad range of live data through easy-to-use dashboards, provides interactive reports, and delivers compelling visualizations that bring data to life.
  34. Power BI dashboards With updates to Power BI customers can now see all their data through a single pane of glass. Live Power BI dashboards show visualizations and KPIs from data that reside both on-premises and in the cloud, providing a consolidated view across their business regardless of where their data lives. Simplifying how you interact with data, natural language query is built into the dashboard allowing users to type questions and receive answers from data in the form of interactive visualizations. You can then explore their data further by drilling through the dashboard into the underlying reports, discovering new insights that they can pin back to the dashboard to monitor performance going forward.
  35. Stay connected from any device Power BI mobile apps are available for iPhone, iPad, Android Phone, and Windows 8.1.
  36. Power BI makes it easy for users to visualize and analyze their data in minutes, providing pre-built solutions for popular services as part of the Power BI experience. A subscriber to a supported service can quickly connect to their account from Power BI and see their data through live dashboards and interactive reports that have been pre-built for them.  We have released content packs for 16 popular services such as Salesforce.com, Marketo, and Quickbooks Online. We have announced that over the coming months we will extend this support to include content packs and integrations for Adobe Analytics, comScore, Azure Mobile Engagement, Sage, SpaceCurve, tyGraph, CircuitID, Sumo Logic, SQL Sentry, Zuora, Planview, Insightly, Troux, Inkling, and others.
  37. Power BI Desktop – currently known in preview as the Power BI Designer – is a powerful new visual data exploration and interactive reporting tool available for free at PowerBI.com. It provides a free-form canvas for drag-and-drop exploration of your data and an extensive library of interactive visualizations, while streamlining report creation and publishing to the Power BI service.
  38. Connect live to on-premises Analysis Services models Realize the benefits of a cloud based BI solution without having to move your data. With the new Power BI connector for Analysis Services you can create a secure connection to SQL Server Analysis Services from Power BI. When users view and explore dashboards and reports the system will interactively query the on-premises cube to fetch the data using the user’s credentials. With this hybrid solution, you can continue to manage and secure your data on-premises, removing the need to have data reside in the cloud. FAQ: How does security work with the new SQL Server Analysis Service connector? Power BI customers can now benefit from the role level security in SQL Server Analysis Services. The Power BI user name is passed through to on-premises Analysis Services and appropriate role-based security. Analysis Services resolves the user name to an authorized user via Azure Active Directory (more info:: http://support.powerbi.com/knowledgebase/articles/505323-why-you-need-dirsync-to-connect-to-on-premises-ana) and then applies appropriate role-based security to restricted access.   How does data transfer work between Power BI and SQL Server Analysis Services? Data is transferred between on-premises Analysis Services and Power BI through the Service Bus (which uses a secure SSL channel). Does the Power BI connector for Analysis Services add security risk by opening a port on the firewall? Service Bus (which is the underlying transport/relay service used in this scenario) only uses an outbound port  -- it does not require an inbound port to be opened on the on-premises firewall. It uses a shared secret mechanism to create a secure channel between cloud and on-prem. Will the SQL Server Analysis Service connector work in IaaS as well? Yes, as long as the IaaS VM is domain-joined and Azure Active Directory DirSync is set up.
  39. Power BI is a cloud based business analytics service for pulling together live views across all your data. Connecting to data that resides on premises in SQL Server Analysis Services, data from Microsoft Cloud properties like Dyanmics and Office 365 or from Azure data services like SQL DB, Azure Stream Analytics or from a partner solution hosted on Azure.