SlideShare uma empresa Scribd logo
1 de 61
1
To be prepared for today’s Workshop, take a few minutes to review the
following pieces of information.
We will begin at 9:00 AM!
1. Open our OneNote: https://goo.gl/hMUCZU
• (this is CaSe SeNsItIvE)
2. Follow the Getting Ready instructions in
the OneNote Notebook
Welcome to the IoT Workshop
+ Cincinnati + Louisville
+ Nashville + Columbus
+ Detroit + Indianapolis
David Buckingham – Practice Lead, Custom App Development
Slava Trofimov – Practice Lead, SQL Data Platform & Analytics
Mike Branstein – Director, Application Development
Internet of Things
(IoT)
Workshop
3
Welcome
4
• 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
5
IoT: The Internet of
Toasters Things
Source: Oxford Ditionary 6
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?
8
The Origin Story
Kevin Ashton, 1999
Source: Kevin Ashton, “That ‘Internet of Things’ Thing: In the real world, things matter more than ideas”, RFID Journal, June 2009, sourced by Nick Landry 9
“If we had computers that knew everything there was to know
about things
—using data they gathered without any help from us—
we would be able to track and count everything, and greatly
reduce waste, loss and cost.
We would know when things needed replacing, repairing or recalling,
and whether they were fresh or past their best.”
IoT Origins
10
The Internet of Things
Traditional Internet Internet of Things
Source: Cisco & Internet World Stats, sourced and created by Nick Landry 11
How Big?
Source: Cisco, sourced and stats created by Nick Landry 12
You Want What? More?
Source: Nick Landry 13
The Enablers
15
Cloud Overview: IaaS, PaaS, SaaS
Source: Nick Landry, Microsoft
16
• 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
17
Reference Cloud IoT Architecture
Source: Nick Landry, Microsoft
18
The Maker Movement
What’s fueling the fire?
19
Makers are Everywhere
20
“You’re a Great Builder and Maker”
21
24
Crowdsourced Funding
25
Since 2009!
$2.39B pledged
105,959 successfully
funded projects
10.9M total
backers
29.3M pledges3.4M repeat backers
Source: Kickstarter, May 2016
Source: Nick Landry 26
The Enablers
27
The cool stuff.
28
Common IoT Devices & Platforms
Source: Nick Landry 33
• 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 35
• Windows 10 is on Raspberry Pi 2 and 3!
• http://windowsondevices.com
New Windows == More Fun!
36
Demo: Windows 10 IoT Core
37
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
38
• 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
39
• 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)
Raspberry Pin Out
Customer & KiZAN confidential 40
• LEDs are everywhere
• Light-emitting diode – converts
electrical energy to light
• The basic LED circuit is simple,
connect everything in serial
• The electricity flows through each
component, thus lighting the
bulb
• Direction manners
LED and Circuit Basics
43
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
44
Raspberry Pi and
Particle Photon Demos
45
Lab 0 Introduction to your Lab Kit
46
Lab 1 Hello World
47
Lab 2 Momentary LED with Push Button
48
Lab 3 Toggle LED with Push Button
49
Lab 4 Temperature Sensor
Note: Tear Down Your Previous Labs
50
• 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
51
• 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 52
• Serial Communications
happen over 4 lines
• Yellow
• White
• Blue
• Green
• Yellow connects Temp
sensor to the Convertor
Communicating with the RPi
53
Lab 4 Temperature Sensor
Note: Tear Down Your Previous Labs
54
IoT Hub Placeholder
and Azure IoT Hub
Walkthrough
55
Lab 5 Streaming Temperature Data to an IoT Hub
56
Stream Analytics
Standard Data Analysis
57
• 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
58
• 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 59
• 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 60
• Real-time stream processing in
the cloud
• Real-time cloud-based ETL
• Millions of events per second
• Scale dynamically
What is Azure Stream Analytics?
61
• 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
62
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 71
Build a Dashboard

Mais conteúdo relacionado

Mais procurados

Mais procurados (15)

Performance trends and alerts with ThingSpeak IoT
Performance trends and alerts with ThingSpeak IoTPerformance trends and alerts with ThingSpeak IoT
Performance trends and alerts with ThingSpeak IoT
 
IoT and Its Application
IoT and Its ApplicationIoT and Its Application
IoT and Its Application
 
City of San Diego Customer Presentation
City of San Diego Customer PresentationCity of San Diego Customer Presentation
City of San Diego Customer Presentation
 
Closing Keynote
Closing KeynoteClosing Keynote
Closing Keynote
 
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
 
Visualization of IoT data 
with minecraft
Visualization of IoT data 
with minecraftVisualization of IoT data 
with minecraft
Visualization of IoT data 
with minecraft
 
IBM IoT Architecture and Capabilities at the Edge and Cloud
IBM IoT Architecture and Capabilities at the Edge and Cloud IBM IoT Architecture and Capabilities at the Edge and Cloud
IBM IoT Architecture and Capabilities at the Edge and Cloud
 
Complex event processing platform handling millions of users - Krzysztof Zarz...
Complex event processing platform handling millions of users - Krzysztof Zarz...Complex event processing platform handling millions of users - Krzysztof Zarz...
Complex event processing platform handling millions of users - Krzysztof Zarz...
 
Big Data Approaches to Cloud Security
Big Data Approaches to Cloud SecurityBig Data Approaches to Cloud Security
Big Data Approaches to Cloud Security
 
Harness the Power of Microsoft Azure
Harness the Power of Microsoft AzureHarness the Power of Microsoft Azure
Harness the Power of Microsoft Azure
 
ML-Based Data-Driven Software Development with InfluxDB 2.0
ML-Based Data-Driven Software Development with InfluxDB 2.0ML-Based Data-Driven Software Development with InfluxDB 2.0
ML-Based Data-Driven Software Development with InfluxDB 2.0
 
Windows for Raspberry Pi 2 Makers (and more!)
Windows for Raspberry Pi 2Makers (and more!)Windows for Raspberry Pi 2Makers (and more!)
Windows for Raspberry Pi 2 Makers (and more!)
 
SplunkLive! Stockholm 2015 - Klarna
SplunkLive! Stockholm 2015 - KlarnaSplunkLive! Stockholm 2015 - Klarna
SplunkLive! Stockholm 2015 - Klarna
 
Vmware Serengeti - Based on Infochimps Ironfan
Vmware Serengeti - Based on Infochimps IronfanVmware Serengeti - Based on Infochimps Ironfan
Vmware Serengeti - Based on Infochimps Ironfan
 
Why Gateways are Important in Your IoT Architecture
Why Gateways are Important in Your IoT ArchitectureWhy Gateways are Important in Your IoT Architecture
Why Gateways are Important in Your IoT Architecture
 

Destaque

The protection squad song
The protection squad   songThe protection squad   song
The protection squad song
Stuart Ritchie
 

Destaque (12)

Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Workshop de IoT e Inteligência na CPBR10 parte 1
Workshop de IoT  e Inteligência na CPBR10 parte 1Workshop de IoT  e Inteligência na CPBR10 parte 1
Workshop de IoT e Inteligência na CPBR10 parte 1
 
We have won - song
We have won - songWe have won - song
We have won - song
 
Breve analisi del 18 gennaio 2016
Breve analisi del 18 gennaio 2016Breve analisi del 18 gennaio 2016
Breve analisi del 18 gennaio 2016
 
Curriculum Vitae JHB
Curriculum Vitae JHBCurriculum Vitae JHB
Curriculum Vitae JHB
 
Particula de desgaste passo1
Particula de desgaste  passo1Particula de desgaste  passo1
Particula de desgaste passo1
 
The protection squad song
The protection squad   songThe protection squad   song
The protection squad song
 
PID Universidad escuela: Educación inclusiva y formación en la práctica. Inve...
PID Universidad escuela: Educación inclusiva y formación en la práctica. Inve...PID Universidad escuela: Educación inclusiva y formación en la práctica. Inve...
PID Universidad escuela: Educación inclusiva y formación en la práctica. Inve...
 
Micro array analysis
Micro array analysisMicro array analysis
Micro array analysis
 
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 1/2
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 1/2Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 1/2
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 1/2
 
IoT workshop live demo
IoT workshop live demoIoT workshop live demo
IoT workshop live demo
 
Internet of Things with Cloud Computing and M2M Communication
Internet of Things with Cloud Computing and M2M CommunicationInternet of Things with Cloud Computing and M2M Communication
Internet of Things with Cloud Computing and M2M Communication
 

Semelhante a Iot Workshop Columbus

ch7-Create an IoT Solution
ch7-Create an IoT Solutionch7-Create an IoT Solution
ch7-Create an IoT Solution
ssuser06ea42
 

Semelhante a Iot Workshop Columbus (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
 
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
 
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
 
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
 
Kickstarting Hull's Smart City
Kickstarting Hull's Smart CityKickstarting Hull's Smart City
Kickstarting Hull's Smart City
 
Games Industry Analytics Forum 2 - Plumbee
Games Industry Analytics Forum 2 - PlumbeeGames Industry Analytics Forum 2 - Plumbee
Games Industry Analytics Forum 2 - Plumbee
 
Asynchronous design with Spring and RTI: 1M events per second
Asynchronous design with Spring and RTI: 1M events per secondAsynchronous design with Spring and RTI: 1M events per second
Asynchronous design with Spring and RTI: 1M events per second
 
Development of Cloud-Agnostic IoT Solutions
Development of Cloud-Agnostic IoT SolutionsDevelopment of Cloud-Agnostic IoT Solutions
Development of Cloud-Agnostic IoT Solutions
 
Raspberry pi overview
Raspberry pi overview Raspberry pi overview
Raspberry pi overview
 
Introduction to Cloud computing and Big Data-Hadoop
Introduction to Cloud computing and  Big Data-HadoopIntroduction to Cloud computing and  Big Data-Hadoop
Introduction to Cloud computing and Big Data-Hadoop
 
DevOps for Data Engineers - Automate Your Data Science Pipeline with Ansible,...
DevOps for Data Engineers - Automate Your Data Science Pipeline with Ansible,...DevOps for Data Engineers - Automate Your Data Science Pipeline with Ansible,...
DevOps for Data Engineers - Automate Your Data Science Pipeline with Ansible,...
 
Jack S (linkcabin) - Becoming The Quiz Master: Thanks RE.
Jack S (linkcabin) - Becoming The Quiz Master: Thanks RE.Jack S (linkcabin) - Becoming The Quiz Master: Thanks RE.
Jack S (linkcabin) - Becoming The Quiz Master: Thanks RE.
 
Using R for the internet of things
Using R for the internet of thingsUsing R for the internet of things
Using R for the internet of things
 
C* Summit 2013: Real-time Analytics using Cassandra, Spark and Shark by Evan ...
C* Summit 2013: Real-time Analytics using Cassandra, Spark and Shark by Evan ...C* Summit 2013: Real-time Analytics using Cassandra, Spark and Shark by Evan ...
C* Summit 2013: Real-time Analytics using Cassandra, Spark and Shark by Evan ...
 
MongoDB .local London 2019: Nationwide Building Society: Building Mobile Appl...
MongoDB .local London 2019: Nationwide Building Society: Building Mobile Appl...MongoDB .local London 2019: Nationwide Building Society: Building Mobile Appl...
MongoDB .local London 2019: Nationwide Building Society: Building Mobile Appl...
 
Business Transformation with IoT
Business Transformation with IoTBusiness Transformation with IoT
Business Transformation with IoT
 
Infrastructure API Lightning Talk by Jeremy Pollard of box.com
Infrastructure API Lightning Talk by Jeremy Pollard of box.comInfrastructure API Lightning Talk by Jeremy Pollard of box.com
Infrastructure API Lightning Talk by Jeremy Pollard of box.com
 
IoT Introduction Architecture and Applications
IoT Introduction Architecture and ApplicationsIoT Introduction Architecture and Applications
IoT Introduction Architecture and Applications
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

Iot Workshop Columbus

  • 1. 1 To be prepared for today’s Workshop, take a few minutes to review the following pieces of information. We will begin at 9:00 AM! 1. Open our OneNote: https://goo.gl/hMUCZU • (this is CaSe SeNsItIvE) 2. Follow the Getting Ready instructions in the OneNote Notebook Welcome to the IoT Workshop
  • 2. + Cincinnati + Louisville + Nashville + Columbus + Detroit + Indianapolis David Buckingham – Practice Lead, Custom App Development Slava Trofimov – Practice Lead, SQL Data Platform & Analytics Mike Branstein – Director, Application Development Internet of Things (IoT) Workshop
  • 4. 4 • 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
  • 5. 5 IoT: The Internet of Toasters Things
  • 6. Source: Oxford Ditionary 6 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?
  • 8. Source: Kevin Ashton, “That ‘Internet of Things’ Thing: In the real world, things matter more than ideas”, RFID Journal, June 2009, sourced by Nick Landry 9 “If we had computers that knew everything there was to know about things —using data they gathered without any help from us— we would be able to track and count everything, and greatly reduce waste, loss and cost. We would know when things needed replacing, repairing or recalling, and whether they were fresh or past their best.” IoT Origins
  • 9. 10 The Internet of Things Traditional Internet Internet of Things
  • 10. Source: Cisco & Internet World Stats, sourced and created by Nick Landry 11 How Big?
  • 11. Source: Cisco, sourced and stats created by Nick Landry 12 You Want What? More?
  • 12. Source: Nick Landry 13 The Enablers
  • 13. 15 Cloud Overview: IaaS, PaaS, SaaS Source: Nick Landry, Microsoft
  • 14. 16 • 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
  • 15. 17 Reference Cloud IoT Architecture Source: Nick Landry, Microsoft
  • 16. 18 The Maker Movement What’s fueling the fire?
  • 18. 20 “You’re a Great Builder and Maker”
  • 19. 21
  • 21. 25 Since 2009! $2.39B pledged 105,959 successfully funded projects 10.9M total backers 29.3M pledges3.4M repeat backers Source: Kickstarter, May 2016
  • 22. Source: Nick Landry 26 The Enablers
  • 24. 28 Common IoT Devices & Platforms
  • 25. Source: Nick Landry 33 • 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
  • 26. • 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
  • 27. Source: Nick Landry 35 • Windows 10 is on Raspberry Pi 2 and 3! • http://windowsondevices.com New Windows == More Fun!
  • 29. 37 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
  • 30. 38 • 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
  • 31. 39 • 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) Raspberry Pin Out
  • 32. Customer & KiZAN confidential 40 • LEDs are everywhere • Light-emitting diode – converts electrical energy to light • The basic LED circuit is simple, connect everything in serial • The electricity flows through each component, thus lighting the bulb • Direction manners LED and Circuit Basics
  • 33. 43 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
  • 35. 45 Lab 0 Introduction to your Lab Kit
  • 36. 46 Lab 1 Hello World
  • 37. 47 Lab 2 Momentary LED with Push Button
  • 38. 48 Lab 3 Toggle LED with Push Button
  • 39. 49 Lab 4 Temperature Sensor Note: Tear Down Your Previous Labs
  • 40. 50 • 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
  • 41. 51 • Red are Power and GRD • Analog/Digital Convertor (1 set for the analog component, another for the digital component) • Temperature Sensor Powering the Circuit
  • 42. Customer & KiZAN confidential 52 • Serial Communications happen over 4 lines • Yellow • White • Blue • Green • Yellow connects Temp sensor to the Convertor Communicating with the RPi
  • 43. 53 Lab 4 Temperature Sensor Note: Tear Down Your Previous Labs
  • 44. 54 IoT Hub Placeholder and Azure IoT Hub Walkthrough
  • 45. 55 Lab 5 Streaming Temperature Data to an IoT Hub
  • 47. Standard Data Analysis 57 • 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
  • 48. Streaming Data Analysis 58 • 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”
  • 49. Tumbling Window Hopping Window Source: MSDN and MSDN 59 • 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
  • 50. Source: Microsoft 60 • Real-time stream processing in the cloud • Real-time cloud-based ETL • Millions of events per second • Scale dynamically What is Azure Stream Analytics?
  • 51. 61 • 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
  • 52. 62 Demo Looking at a Stream Analytics Job
  • 53.
  • 54. Any data, any way, anywhere
  • 56.
  • 57.
  • 58.
  • 59. Live Query & Scheduled Data Refresh
  • 61. Customer & KiZAN confidential 71 Build a Dashboard

Notas do Editor

  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. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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?
  16. 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.
  17. 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.
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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
  23. 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:
  24. Talking Points There’s no damage if you plug this in backwards, it’s just not going to work
  25. Talking Points Each LED is rated for a specific amount of voltage. If you give it too much, it’ll pop.
  26. Talking Points The power buses are divided
  27. Another demo? Blinky flashing light of what IoT code is going to look like most of the time.
  28. Talking Points We’re going to turn an LED on with 3.3v to Ground Insert Pi Wedge into Bread board
  29. Talking Points - Now that we have data flowing into the cloud, what’s next?
  30. Talking Notes Stream Analytics Job Inputs Outputs Queries Watch the Stream Processing – SQL Mgmt Studio or VS 2015 connect to SQL Server
  31. 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.
  32. 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.
  33. Stay connected from any device Power BI mobile apps are available for iPhone, iPad, Android Phone, and Windows 8.1.
  34. 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.
  35. 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.
  36. 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.
  37. 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.