Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Telemetry with Windows 10 IoT Core : from Raspberry Pi2 to Event Hubs

9,574 views

Published on

Session for the Mobile Camp 2015 in Naples focused on Windows 10 IoT Core on Raspberry Pi 2 and the telemetry scenario to Microsoft Azure Event Hubs.

Published in: Technology
  • There is a useful site for you that will help you to write a perfect and valuable essay and so on. Check out, please ⇒ www.HelpWriting.net ⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • 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, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • 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, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • I have always found it hard to meet the requirements of being a student. Ever since my years of high school, I really have no idea what professors are looking for to give good grades. After some google searching, I found this service ⇒ www.WritePaper.info ⇐ who helped me write my research paper. The final result was amazing, and I highly recommend ⇒ www.WritePaper.info ⇐ to anyone in the same mindset as me.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • 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, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Telemetry with Windows 10 IoT Core : from Raspberry Pi2 to Event Hubs

  1. 1. Telemetry with Windows 10 IoT : from Raspberry Pi2 to Event Hubs Paolo Patierno Microsoft MVP Windows Embedded / IoT ppatierno@live.com @ppatierno
  2. 2. Who am I ? Contacts • Senior Software Engineer (Leonardo Ricerche S.r.l.) • Microsoft MVP Windows Embedded / IoT ”... constantly moving between the devices and the cloud ...” • Microsoft Azure Advisor • «DotNetCampania» member – https://paolopatierno.wordpress.com • «Embedded101» board of director member – http://www.embedded101.com/Blogs/PaoloPatierno.aspx • «TinyCLR.it» member – http://www.tinyclr.it • Linkedin http://it.linkedin.com/in/paolopatierno • AllSeen Alliance «sponsored» member for AllJoin project • Eclipse «committer» for Paho project / M2Mqtt library owner
  3. 3. Agenda • Windows 10 IoT • Raspberry Pi 2 : what is it ? • Developing, tools ... and app model • Interfacing peripheral : GPIO, I2C & SPI • Pi2 & Windows 10 IoT Core management • Event Hubs : telemetry in the cloud • Demo time !!
  4. 4. Embedded platforms to IoT * Windows Embedded Compact will not evolve into Windows 10; porting tools available The Windows Embedded metro line 
  5. 5. Windows 10 IoT Editions Windows 10 IoT for industry devices Desktop Shell, Win32 apps, Universal apps and drivers Minimum: 1 GB RAM, 16 GB storage X86/x64 Windows 10 IoT for mobile devices Modern Shell, Mobile apps, Universal apps and drivers Minimum: 512 MB RAM, 4 GB storage ARM Windows 10 IoT Core Universal Apps and Drivers No shell or MS apps Minimum: 256MB RAM, 2GB storage X86/x64 or ARM
  6. 6. One  Secure  Connected Pay attention !! No real time !!
  7. 7. Windows 10 IoT Core boards • Windows 10 IoT Core preview available for Minnowboard Max and Raspberry Pi 2
  8. 8. Raspberry Pi 2 : what is it ? • Quad-core ARM Cortex A7 900 Mhz • 1 GB RAM • 4 USB ports • Full HDMI port • Ethernet port • MicroSD card slot • Camera interface (CSI) • Display interface (DSI)
  9. 9. Raspberry Pi 2 : what is it ? • 40 pins • Available – GPIO – I2C – SPI – UART ** • Not available – ADC – PWM ** not supported by Windows 10 IoT Core
  10. 10. Developing & Tools • Latest Windows 10 build • Visual Studio 2015 RC – Universal Windows App Development Tools
  11. 11. Developing & Tools • Windows IoT Extension SDK – Windows.Devices.Gpio – Windows.Devices.I2c – Windows.Device.Spi • Deploy – ARM architecture
  12. 12. Windows 10 IoT Core app model • Only one app with UI (headed) in foreground (as Windows Phone) – Developed as UWP app with its own process • More apps without UI (headless) as BackgroundTask – Developed as UWP app and hosted in BACKGROUNDTASKHOST.EXE process (one for each task) – No triggers, specific “startup” task type
  13. 13. GPIO : General Purpose Input/Output • Digital pin (high/low value) • Input or Output direction • Read or Write operation • ValueChanged event (as an “interrupt”) • Useful for LEDs, switches, relays, very simple sensors
  14. 14. I2C : Inter-Integrated Circuit • Synchronous (clock) communication bus for connecting an MCU/CPU to devices (as sensors) • Low speed (100 Khz to 400 Khz) • Only two wires (clock and data) • Slave addressed • Half-duplex
  15. 15. SPI : Serial Peripheral Interface • Synchronous (clock) communication bus for connecting an MCU/CPU to devices (as sensors) • High speed (up to 10 Mhz and more) • Four wires (clock, data in, data out, chip select) • Slave enabled • Full-duplex
  16. 16. Management • PowerShell & Web interface
  17. 17. Features missing from current preview • No IIS • No WCF hosting • No RDP, use PowerShell • No graphic hardware acceleration support • Few USB devices supported (no WiFi or BLE dongle)
  18. 18. Telemetry • Information flowing from a device to other systems for conveying status of device and environment • Unidirectional • Data frequency can be different based on applications/conditions
  19. 19. Event Hubs & Stream Analytics • Event Hubs – Ingestion system (million events/sec) – Telemetry from devices, apps, websites – Partition consumer pattern – SAS based security, per publisher token • Stream Analytics – Real time analytics for IoT – Stream with million events/sec – SQL-Like language for developing – Low latency
  20. 20. Azure Event Hubs
  21. 21. Windows 10 IoT Core to Event Hubs • Official Microsoft Azure Service Bus Nuget package (https://www.nuget.org/packages/WindowsAzure.ServiceBus/) – It’s only for the .Net Framework full – It doesn’t work with UWP apps (and 8.1 apps) – Full features
  22. 22. Windows 10 IoT Core to Event Hubs • Azure SB Lite (http://azuresblite.codeplex.com/) – wrapper around AMQP .Net Lite – exposes (part of) official package APIs – porting your code is very easily – support for all .Net platforms (full, compact and micro) and WinRT. Of course UWP apps.
  23. 23. Pi2 to Event Hubs
  24. 24. Resources • Windows Dev Center (IoT) : https://dev.windows.com/en-US/iot • IoT Core Get Started : http://ms- iot.github.io/content/en-US/GetStarted.htm • Universal Windows Samples : https://github.com/Microsoft/Windows- universal-samples
  25. 25. Resources • Event Hubs : http://azure.microsoft.com/en- us/services/event-hubs/ • Stream Analytics : http://azure.microsoft.com/en- us/services/stream-analytics/ • Azure SB Lite : http://azuresblite.codeplex.com/ • ConnectTheDots : https://github.com/MSOpenTech/connectthe dots

×