O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
+ Cincinnati + Louisville
+ Nashville + Columbus
+ Detroit + Indianapolis
Mike Branstein – Director, Application Developme...
2
Welcome
@mikebranstein
@kizantech
#iot
mikeb@kizan.com
3
• You rarely get the chance to practice for practice’s sake
• IoT and cloud architecture/development patterns can be
con...
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 n...
Source: Cisco & Internet World Stats, sourced and created by Nick Landry 10
How Big is Big?
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...
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 ha...
24
• General Purpose Input/Output
• Pin that can be controlled by the
user
• Can be set to input or output
• Input can be ...
25
• 40 pins total
• Pi Wedge organizes pins
• 17 GPIO
• 6x power
• 5x SPI (Serial Peripheral
Interface) serial comm.
• 2x...
29
Breadboards offer a great
way to prototype circuits. The
provide a number of “buses”
for connecting both power
and comp...
IoT Hub
{“device”:”kizan-pi-01”,
“tempC”:”25.5”,
“tempF”:”77.9”}
The Lab Cloud IoT Architecture
Stream Analytics
Service B...
35
Lab 3 Temperature Sensor
36
• Analog Temp. Sensor
• Analog to Digital
Convertor (RPi 2 only
reads digital signals, so
we need a convertor from
Anal...
37
• Red are Power and GRD
• Analog/Digital
Convertor (1 set for
the analog
component, another
for the digital
component)
...
Customer & KiZAN confidential 38
• Serial Communications
happen over 4 lines
• Yellow
• White
• Blue
• Green
• Yellow conn...
40
IoT Hub Placeholder
and Azure IoT Hub
Walkthrough
Source: Nick Landry 41
The Enablers
43
Cloud Overview: IaaS, PaaS, SaaS
Source: Nick Landry, Microsoft
44
• PaaS is where you “should” want to be
• Use the service, don’t do the plumbing
• We’ve been doing the plumbing for a ...
45
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 B...
IoT Hub
{“device”:”kizan-pi-01”,
“tempC”:”25.5”,
“tempF”:”77.9”}
The Lab Cloud IoT Architecture
Stream Analytics
Service B...
58
Stream Analytics
Standard Data Analysis
59
• Your data already exists – it’s
all from the past or
projections of the future
• You can aggre...
Streaming Data Analysis
60
• Data arrives temporally
• You can’t aggregate data all at once
• Real-time
• Data is grouped ...
Tumbling Window Hopping Window
Source: MSDN and MSDN 61
• Tumbling Windows that overlap
• Timeunit (minutes, seconds, etc....
Source: Microsoft 62
• Real-time stream processing in
the cloud
• Real-time cloud-based ETL
• Millions of events per secon...
63
• Create Stream Analytics Job
• Configure 1 or more Inputs and Outputs
• Create Queries to ETL from Inputs to Outputs
•...
64
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 73
Build a Dashboard
Stream Data into the Cloud with Raspberry Pi and Windows 10 IoT Core
Stream Data into the Cloud with Raspberry Pi and Windows 10 IoT Core
Stream Data into the Cloud with Raspberry Pi and Windows 10 IoT Core
Stream Data into the Cloud with Raspberry Pi and Windows 10 IoT Core
Próximos SlideShares
Carregando em…5
×

Stream Data into the Cloud with Raspberry Pi and Windows 10 IoT Core

686 visualizações

Publicada em

KiZAN will bring 25 Raspberry Pi starter kits that run Windows 10 IoT Core. This will enable participants to build a really compelling IoT/Azure/Power BI story in a single day! Interet of Things (IoT) Raspberry Pi starter kit

We’ll start off the day with an introduction to IoT and build IoT devices (hands on). Next, we’ll build a simple temperature sensor, collecting ambient temperature readings, and stream the data to an Azure IoT Hub.

Once the data is in Azure, we’ll analyze it with Azure Stream Analytics, and ship it to an Azure SQL Database.

Finally, we’ll report on the data and build dashboards of our temperature readings using Power BI.

Publicada em: Tecnologia
  • Very nice tips on this. In case you need help on any kind of academic writing visit website ⇒ www.HelpWriting.net ⇐ and place your order
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • You can ask here for a help. They helped me a lot an i`m highly satisfied with quality of work done. I can promise you 100% un-plagiarized text and good experts there. Use with pleasure! ⇒ www.WritePaper.info ⇐
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • I couldn’t decide which car I wanted as there was so many but this Ford was a great deal. ✱✱✱ https://url.cn/krOAnJTk
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • I went to three of the auctions you guys provided, and I bought this Chevy that I'm going to sell and make some extra $$$ ✱✱✱ https://w.url.cn/s/AFqTUhi
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui

Stream Data into the Cloud with Raspberry Pi and Windows 10 IoT Core

  1. 1. + Cincinnati + Louisville + Nashville + Columbus + Detroit + Indianapolis Mike Branstein – Director, Application Development @mikebranstein mikeb@kizan.com Internet of Things (IoT) Workshop
  2. 2. 2 Welcome @mikebranstein @kizantech #iot mikeb@kizan.com
  3. 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. 4 IoT: The Internet of Toasters Things
  5. 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. 6. Source: Cisco & Internet World Stats, sourced and created by Nick Landry 10 How Big is Big?
  7. 7. 13 The cool stuff.
  8. 8. 14 Common IoT Devices & Platforms
  9. 9. 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
  10. 10. Source: Nick Landry 21 • Windows 10 is on Raspberry Pi 2 and 3! • http://windowsondevices.com New Windows == More Fun!
  11. 11. 22 Demo: Windows 10 IoT Core
  12. 12. 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
  13. 13. 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
  14. 14. 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
  15. 15. 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
  16. 16. 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
  17. 17. 35 Lab 3 Temperature Sensor
  18. 18. 36 • 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
  19. 19. 37 • Red are Power and GRD • Analog/Digital Convertor (1 set for the analog component, another for the digital component) • Temperature Sensor Powering the Circuit
  20. 20. Customer & KiZAN confidential 38 • Serial Communications happen over 4 lines • Yellow • White • Blue • Green • Yellow connects Temp sensor to the Convertor Communicating with the RPi
  21. 21. 40 IoT Hub Placeholder and Azure IoT Hub Walkthrough
  22. 22. Source: Nick Landry 41 The Enablers
  23. 23. 43 Cloud Overview: IaaS, PaaS, SaaS Source: Nick Landry, Microsoft
  24. 24. 44 • 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
  25. 25. 45 Reference Cloud IoT Architecture Source: Nick Landry, Microsoft
  26. 26. 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
  27. 27. 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
  28. 28. 58 Stream Analytics
  29. 29. Standard Data Analysis 59 • 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
  30. 30. Streaming Data Analysis 60 • 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”
  31. 31. Tumbling Window Hopping Window Source: MSDN and MSDN 61 • 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
  32. 32. Source: Microsoft 62 • Real-time stream processing in the cloud • Real-time cloud-based ETL • Millions of events per second • Scale dynamically What is Azure Stream Analytics?
  33. 33. 63 • 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
  34. 34. 64 Demo Looking at a Stream Analytics Job
  35. 35. Any data, any way, anywhere
  36. 36. 146.03K145.84K145.96K146.06K 40.08K38.84K39.99K40.33K
  37. 37. Live Query & Scheduled Data Refresh
  38. 38. Power BI overview
  39. 39. Customer & KiZAN confidential 73 Build a Dashboard

×