SlideShare una empresa de Scribd logo
1 de 21
Windows 10 IoT Core
Jens Siebert (@jens_siebert)
dotnet Cologne 2017, 05. Mai 2017
https://www.slideshare.net/JensSiebert1/windows-10-iot-core-75703373
„One Windows“
Bild: Microsoft (https://winblogs.azureedge.net/win/2015/01/Windows-10_Product-Family.jpg)
Windows für eingebettete Systeme
Windows CE 1.0
(1996)
Windows CE 1.01
(1997)
Windows CE 2.0
(1997)
Windows CE 2.10
(1998)
Windows CE 2.11
(1998)
Windows CE 3.0
(2000)
Windows CE 4.0
(2001)
Windows CE 4.1
(2002)
Windows CE 4.2
(2003)
Windows CE 5.0
(2004)
Windows CE 6.0
(2006)
Windows CE 6R2
(2007)
Windows CE 6R3
(2009)
Windows Embedded 7
(2011)
Windows Embedded 8
(2013)
Windows 10 IoT Core
(2015)
Windows 10 IoT Pro
(2015)
Windows 10 IoT Core
• Windows 10 für eingebettete Systeme
• Kein Desktop, vorinstallierten Apps, kein ....
• Kein Echtzeitbetriebssystem
• Nur eine „Default“-App
• Mehrere Background-Apps
Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/iotcoredefaultapp/DefaultAppRpi2.png)
Raspberry Pi
• 1.2GHz Quad-Core ARMv8 (Broadcom BCM2837)
• 1 GB RAM
• Broadcom Video Core IV GPU
• 4x USB 2.0
• 802.11 b/g/n WiFi
• 10/100/1000 Mbit Ethernet
• Bluetooth 4.1/LE
• HDMI
• Camera Interface (CSI)
• Display Interface (DSI)
• 40 GPIO Pins
Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/devices/RPi3_0.png)
Raspberry Pi
• 24x GPIO
• 2x 5V
• 2x 3,3V
• 8x Ground (Masse)
• 1x I2C (Inter-Integrated Circuit Bus)
• 2x SPI (Serial Peripheral Interface)
• 1x UART (Universal Asynchronous Receiver Transmitter)
Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/PinMappings/RP2_Pinout.png)
Windows 10 IoT Core Setup
• Raspberry Pi (2 oder 3, kein RPi Zero/W)
• microSD-Card (16GB)
• PC mit
• Windows 10
• SD-Card Reader
• Windows 10 IoT Dashboard
Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/IoTDashboard/IoTDashboard_SetupPage.PNG)
Windows Device Portal
• Zugriff auf Windows 10 IoT Gerät über Web-Oberfläche
• URL: http://<devicename>:8080
• User: Administrator
• Passwort: aus IoT Dashboard
Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/deviceportal/deviceportal.png)
Universal Windows Platform
Bild: Microsoft (https://i-msdn.sec.s-msft.com/de-de/windows/uwp/get-started/images/universalapps-overview.png)
Was wird benötigt?
• Raspberry Pi 2 oder 3 mit Windows 10 IoT Core
• PC mit Windows 10
• Visual Studio 2015/2017 (Community reicht aus)
• Windows 10 SDK und Tools (passend zum installierten IoT Core)
• Für Elektronik-Basteleien:
• Breadboard
• Elektronik-Komponenten (Widerstände, LEDs, etc.)
• Sensoren (Temperatur, Luftdruck, Luftfeuchtigkeit, GPS, etc.)
• Ein gewisses Elektronik-Grundwissen ist von Vorteil!
Projekt-Setup (UWP-App)
LED ansteuern
GPIO-Pins nutzen
using Windows.Devices.Gpio;
[…]
// Hole Referenz auf GPIO Controller Objekt
var gpio = GpioController.GetDefault();
// Prüfe ob GPIO Controller vorhanden ist
if (gpio != null)
{
// Verbindung zum GPIO-Pin Nr. 5 öffnen
var pin = gpio.OpenPin(5);
// GPIO-Pin als Ausgabe-Pin konfigurieren
pin.SetDriveMode(GpioPinDriveMode.Output);
// GPIO Pin auf Wert «High» setzen
pin.Write(GpioPinValue.High);
}
Temperatur-/Luftdruck-Sensor
• Adafruit BMP180 Barometric Pressure/Temperature/Altitude Sensor
• Vin: 3 to 5V (DC)
• Logic: 3 to 5V compliant
• Pressure sensing range: 300-1100 hPa
• Up to 0.03hPa / 0.25m resolution
• -40 to +85°C operational range
• +-2°C temperature accuracy
• Uses I2C 7-bit address 0x77
Bild: Adafruit (https://cdn-shop.adafruit.com/970x728/1603-03.jpg)
I2C-Bus nutzen
using Windows.Devices.I2c;
[…]
// Hole Referenz auf I2C Controller Objekt
var controller = await I2cController.GetDefaultAsync();
// Prüfe ob I2C Controller vorhanden ist
if (controller != null)
{
// Verbindung zum Sensor mit der Adresse 0x77 herstellen
var connectionSettings = new I2cConnectionSettings(0x77);
device = controller.GetDevice(connectionSettings);
// Wert aus Sensor-Register mit Adresse 0xAA auslesen
var registerData = new byte[2];
device.WriteRead(new byte[] { 0xAA }, registerData);
}
„Internet of Things“
Bild: siliconANGLE (http://siliconangle.com/files/2016/02/network-782707_1280-1080x675.png)
Azure IoT Hub
Bild: Microsoft (https://acom.azurecomcdn.net/80C57D/cdn/mediahandler/docarticles/dpsmedia-prod/azure.microsoft.com/en-us/documentation/articles/iot-hub-what-is-iot-hub/20161003010117/hubarchitecture.png)
Azure IoT - Datenverarbeitung
Bilder (nachbearbeitet):
Microsoft (https://msdnshared.blob.core.windows.net/media/2016/10/image633.png)
Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/devices/RPi3_0.png)
Informationen & Links
• Source-Code: bitbucket.org/jenssiebert/dnugpbwindows10iotcore
• Windows 10 IoT Core: developer.microsoft.com/en-us/windows/iot
• Docs: developer.microsoft.com/en-us/windows/iot/Docs
• Samples: developer.microsoft.com/en-us/windows/iot/samples
• IoT Core Dashboard: developer.microsoft.com/en-us/windows/iot/docs/iotdashboard
• VS2017 Projektvorlagen (Background Apps):
https://marketplace.visualstudio.com/items?itemName=MicrosoftIoT.WindowsIoTCoreProject
TemplatesforVS15
• Raspberry Pi: raspberrypi.org
• Docs: raspberrypi.org/documentation
• Azure IoT Hub: azure.microsoft.com/de-de/services/iot-hub
• Docs: azure.microsoft.com/de-de/documentation/services/iot-hub
Literatur
Bilder:
Apress (https://images.springer.com/sgw/books/raw/9781484221075.tif)
Apress (https://images.springer.com/sgw/books/raw/9781484221426.tif)
Microsoft Press (https://www.microsoftpressstore.com/ShowCover.aspx?isbn=9781509302161)
Vielen Dank!
@jens_siebert

Más contenido relacionado

Similar a Windows 10 IoT Core

Infrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm Server
Infrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm ServerInfrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm Server
Infrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm ServerDidactum
 
SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)
SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)
SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)Christian Heindel
 
Android Entwicklung GTUG München 2009
Android Entwicklung GTUG München 2009Android Entwicklung GTUG München 2009
Android Entwicklung GTUG München 2009greenrobot
 
Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5
Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5
Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5Digicomp Academy AG
 
Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)
Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)
Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)greenrobot
 
Electron.NET: Cross-Platform Desktop Software mit ASP.NET Core
Electron.NET: Cross-Platform Desktop Software mit ASP.NET CoreElectron.NET: Cross-Platform Desktop Software mit ASP.NET Core
Electron.NET: Cross-Platform Desktop Software mit ASP.NET CoreGregor Biswanger
 
C / C++ Api for Beginners
C / C++ Api for BeginnersC / C++ Api for Beginners
C / C++ Api for BeginnersUlrich Krause
 
C API for Lotus Notes & Domino
C API for Lotus Notes & DominoC API for Lotus Notes & Domino
C API for Lotus Notes & DominoUlrich Krause
 
Das Android Open Source Project
Das Android Open Source ProjectDas Android Open Source Project
Das Android Open Source Projectinovex GmbH
 
GWAVACon - Lumia mit Windows Phone 8.1
GWAVACon - Lumia mit Windows Phone 8.1GWAVACon - Lumia mit Windows Phone 8.1
GWAVACon - Lumia mit Windows Phone 8.1GWAVA
 
AKCP sensorProbe8 Alarm Server
AKCP sensorProbe8 Alarm ServerAKCP sensorProbe8 Alarm Server
AKCP sensorProbe8 Alarm ServerDidactum
 
Smartphone Betriebssysteme Android
Smartphone Betriebssysteme AndroidSmartphone Betriebssysteme Android
Smartphone Betriebssysteme Androiddm-development
 
iOS: Einstieg und Ausblick
iOS: Einstieg und AusblickiOS: Einstieg und Ausblick
iOS: Einstieg und AusblickStefan Scheidt
 
CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...
CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...
CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...Gordon Breuer
 
Build your own IoT Cloud! [GER]
Build your own IoT Cloud! [GER]Build your own IoT Cloud! [GER]
Build your own IoT Cloud! [GER]Christian Götz
 
9. Direct Access Workshop - Marc Eggenberger
9. Direct Access Workshop - Marc Eggenberger9. Direct Access Workshop - Marc Eggenberger
9. Direct Access Workshop - Marc EggenbergerDigicomp Academy AG
 
SVA IoT - Splunk Industry Roundtable
SVA IoT - Splunk Industry RoundtableSVA IoT - Splunk Industry Roundtable
SVA IoT - Splunk Industry RoundtableSplunk
 
Programmierung von Mobiltelefonen mit Python
Programmierung von Mobiltelefonen mit PythonProgrammierung von Mobiltelefonen mit Python
Programmierung von Mobiltelefonen mit PythonAndreas Schreiber
 

Similar a Windows 10 IoT Core (20)

Was ist neu in .NET 4.5?
Was ist neu in .NET 4.5?Was ist neu in .NET 4.5?
Was ist neu in .NET 4.5?
 
Infrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm Server
Infrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm ServerInfrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm Server
Infrastruktur-Überwachung mit dem AKCP securityProbe 5E-X20 Alarm Server
 
SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)
SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)
SharePoint, HTML5 und mobile Geräte (SharePoint UserGroup Dresden 11/2011)
 
Android Entwicklung GTUG München 2009
Android Entwicklung GTUG München 2009Android Entwicklung GTUG München 2009
Android Entwicklung GTUG München 2009
 
Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5
Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5
Fachreferat: Visual Studio 2012, Windows 8 und .NET 4.5
 
Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)
Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)
Android Entwicklung (App Entwickler Konferenz 2010 der Telekom)
 
Hotfix a
Hotfix aHotfix a
Hotfix a
 
Electron.NET: Cross-Platform Desktop Software mit ASP.NET Core
Electron.NET: Cross-Platform Desktop Software mit ASP.NET CoreElectron.NET: Cross-Platform Desktop Software mit ASP.NET Core
Electron.NET: Cross-Platform Desktop Software mit ASP.NET Core
 
C / C++ Api for Beginners
C / C++ Api for BeginnersC / C++ Api for Beginners
C / C++ Api for Beginners
 
C API for Lotus Notes & Domino
C API for Lotus Notes & DominoC API for Lotus Notes & Domino
C API for Lotus Notes & Domino
 
Das Android Open Source Project
Das Android Open Source ProjectDas Android Open Source Project
Das Android Open Source Project
 
GWAVACon - Lumia mit Windows Phone 8.1
GWAVACon - Lumia mit Windows Phone 8.1GWAVACon - Lumia mit Windows Phone 8.1
GWAVACon - Lumia mit Windows Phone 8.1
 
AKCP sensorProbe8 Alarm Server
AKCP sensorProbe8 Alarm ServerAKCP sensorProbe8 Alarm Server
AKCP sensorProbe8 Alarm Server
 
Smartphone Betriebssysteme Android
Smartphone Betriebssysteme AndroidSmartphone Betriebssysteme Android
Smartphone Betriebssysteme Android
 
iOS: Einstieg und Ausblick
iOS: Einstieg und AusblickiOS: Einstieg und Ausblick
iOS: Einstieg und Ausblick
 
CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...
CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...
CSI: WP - Dem Windows Phone auf der Spur, Internetspecial: SDK & Development-...
 
Build your own IoT Cloud! [GER]
Build your own IoT Cloud! [GER]Build your own IoT Cloud! [GER]
Build your own IoT Cloud! [GER]
 
9. Direct Access Workshop - Marc Eggenberger
9. Direct Access Workshop - Marc Eggenberger9. Direct Access Workshop - Marc Eggenberger
9. Direct Access Workshop - Marc Eggenberger
 
SVA IoT - Splunk Industry Roundtable
SVA IoT - Splunk Industry RoundtableSVA IoT - Splunk Industry Roundtable
SVA IoT - Splunk Industry Roundtable
 
Programmierung von Mobiltelefonen mit Python
Programmierung von Mobiltelefonen mit PythonProgrammierung von Mobiltelefonen mit Python
Programmierung von Mobiltelefonen mit Python
 

Más de Jens Siebert

Microservices mit Rust
Microservices mit RustMicroservices mit Rust
Microservices mit RustJens Siebert
 
Backend-Services mit Rust
Backend-Services mit RustBackend-Services mit Rust
Backend-Services mit RustJens Siebert
 
TinyML – Machine Learning für eingebettete Systeme
TinyML – Machine Learning für eingebettete SystemeTinyML – Machine Learning für eingebettete Systeme
TinyML – Machine Learning für eingebettete SystemeJens Siebert
 
Deep Learning mit TensorFlow.js
Deep Learning mit TensorFlow.jsDeep Learning mit TensorFlow.js
Deep Learning mit TensorFlow.jsJens Siebert
 
Chatbots bauen mit dem Microsoft Bot Framework
Chatbots bauen mit dem Microsoft Bot FrameworkChatbots bauen mit dem Microsoft Bot Framework
Chatbots bauen mit dem Microsoft Bot FrameworkJens Siebert
 
Integrating The Things Network Applications with Azure IoT Services
Integrating The Things Network Applications with Azure IoT ServicesIntegrating The Things Network Applications with Azure IoT Services
Integrating The Things Network Applications with Azure IoT ServicesJens Siebert
 
Embedded JavaScript
Embedded JavaScriptEmbedded JavaScript
Embedded JavaScriptJens Siebert
 
Microsoft Bot Framework (Node.js Edition)
Microsoft Bot Framework (Node.js Edition)Microsoft Bot Framework (Node.js Edition)
Microsoft Bot Framework (Node.js Edition)Jens Siebert
 
Microsoft Bot Framework (.NET Edition)
Microsoft Bot Framework (.NET Edition)Microsoft Bot Framework (.NET Edition)
Microsoft Bot Framework (.NET Edition)Jens Siebert
 

Más de Jens Siebert (17)

WebAssembly
WebAssemblyWebAssembly
WebAssembly
 
Embedded Rust
Embedded RustEmbedded Rust
Embedded Rust
 
Embedded Rust
Embedded RustEmbedded Rust
Embedded Rust
 
Microservices mit Rust
Microservices mit RustMicroservices mit Rust
Microservices mit Rust
 
Backend-Services mit Rust
Backend-Services mit RustBackend-Services mit Rust
Backend-Services mit Rust
 
TinyML – Machine Learning für eingebettete Systeme
TinyML – Machine Learning für eingebettete SystemeTinyML – Machine Learning für eingebettete Systeme
TinyML – Machine Learning für eingebettete Systeme
 
Deep Learning mit TensorFlow.js
Deep Learning mit TensorFlow.jsDeep Learning mit TensorFlow.js
Deep Learning mit TensorFlow.js
 
Chatbots bauen mit dem Microsoft Bot Framework
Chatbots bauen mit dem Microsoft Bot FrameworkChatbots bauen mit dem Microsoft Bot Framework
Chatbots bauen mit dem Microsoft Bot Framework
 
Integrating The Things Network Applications with Azure IoT Services
Integrating The Things Network Applications with Azure IoT ServicesIntegrating The Things Network Applications with Azure IoT Services
Integrating The Things Network Applications with Azure IoT Services
 
GraphQL
GraphQLGraphQL
GraphQL
 
Embedded JavaScript
Embedded JavaScriptEmbedded JavaScript
Embedded JavaScript
 
Microsoft Bot Framework (Node.js Edition)
Microsoft Bot Framework (Node.js Edition)Microsoft Bot Framework (Node.js Edition)
Microsoft Bot Framework (Node.js Edition)
 
Microsoft Bot Framework (.NET Edition)
Microsoft Bot Framework (.NET Edition)Microsoft Bot Framework (.NET Edition)
Microsoft Bot Framework (.NET Edition)
 
Electron
ElectronElectron
Electron
 
Physical Web
Physical WebPhysical Web
Physical Web
 
TypeScript
TypeScriptTypeScript
TypeScript
 
TypeScript
TypeScriptTypeScript
TypeScript
 

Windows 10 IoT Core

  • 1. Windows 10 IoT Core Jens Siebert (@jens_siebert) dotnet Cologne 2017, 05. Mai 2017 https://www.slideshare.net/JensSiebert1/windows-10-iot-core-75703373
  • 2. „One Windows“ Bild: Microsoft (https://winblogs.azureedge.net/win/2015/01/Windows-10_Product-Family.jpg)
  • 3. Windows für eingebettete Systeme Windows CE 1.0 (1996) Windows CE 1.01 (1997) Windows CE 2.0 (1997) Windows CE 2.10 (1998) Windows CE 2.11 (1998) Windows CE 3.0 (2000) Windows CE 4.0 (2001) Windows CE 4.1 (2002) Windows CE 4.2 (2003) Windows CE 5.0 (2004) Windows CE 6.0 (2006) Windows CE 6R2 (2007) Windows CE 6R3 (2009) Windows Embedded 7 (2011) Windows Embedded 8 (2013) Windows 10 IoT Core (2015) Windows 10 IoT Pro (2015)
  • 4. Windows 10 IoT Core • Windows 10 für eingebettete Systeme • Kein Desktop, vorinstallierten Apps, kein .... • Kein Echtzeitbetriebssystem • Nur eine „Default“-App • Mehrere Background-Apps Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/iotcoredefaultapp/DefaultAppRpi2.png)
  • 5. Raspberry Pi • 1.2GHz Quad-Core ARMv8 (Broadcom BCM2837) • 1 GB RAM • Broadcom Video Core IV GPU • 4x USB 2.0 • 802.11 b/g/n WiFi • 10/100/1000 Mbit Ethernet • Bluetooth 4.1/LE • HDMI • Camera Interface (CSI) • Display Interface (DSI) • 40 GPIO Pins Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/devices/RPi3_0.png)
  • 6. Raspberry Pi • 24x GPIO • 2x 5V • 2x 3,3V • 8x Ground (Masse) • 1x I2C (Inter-Integrated Circuit Bus) • 2x SPI (Serial Peripheral Interface) • 1x UART (Universal Asynchronous Receiver Transmitter) Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/PinMappings/RP2_Pinout.png)
  • 7. Windows 10 IoT Core Setup • Raspberry Pi (2 oder 3, kein RPi Zero/W) • microSD-Card (16GB) • PC mit • Windows 10 • SD-Card Reader • Windows 10 IoT Dashboard Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/IoTDashboard/IoTDashboard_SetupPage.PNG)
  • 8. Windows Device Portal • Zugriff auf Windows 10 IoT Gerät über Web-Oberfläche • URL: http://<devicename>:8080 • User: Administrator • Passwort: aus IoT Dashboard Bild: Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/deviceportal/deviceportal.png)
  • 9. Universal Windows Platform Bild: Microsoft (https://i-msdn.sec.s-msft.com/de-de/windows/uwp/get-started/images/universalapps-overview.png)
  • 10. Was wird benötigt? • Raspberry Pi 2 oder 3 mit Windows 10 IoT Core • PC mit Windows 10 • Visual Studio 2015/2017 (Community reicht aus) • Windows 10 SDK und Tools (passend zum installierten IoT Core) • Für Elektronik-Basteleien: • Breadboard • Elektronik-Komponenten (Widerstände, LEDs, etc.) • Sensoren (Temperatur, Luftdruck, Luftfeuchtigkeit, GPS, etc.) • Ein gewisses Elektronik-Grundwissen ist von Vorteil!
  • 13. GPIO-Pins nutzen using Windows.Devices.Gpio; […] // Hole Referenz auf GPIO Controller Objekt var gpio = GpioController.GetDefault(); // Prüfe ob GPIO Controller vorhanden ist if (gpio != null) { // Verbindung zum GPIO-Pin Nr. 5 öffnen var pin = gpio.OpenPin(5); // GPIO-Pin als Ausgabe-Pin konfigurieren pin.SetDriveMode(GpioPinDriveMode.Output); // GPIO Pin auf Wert «High» setzen pin.Write(GpioPinValue.High); }
  • 14. Temperatur-/Luftdruck-Sensor • Adafruit BMP180 Barometric Pressure/Temperature/Altitude Sensor • Vin: 3 to 5V (DC) • Logic: 3 to 5V compliant • Pressure sensing range: 300-1100 hPa • Up to 0.03hPa / 0.25m resolution • -40 to +85°C operational range • +-2°C temperature accuracy • Uses I2C 7-bit address 0x77 Bild: Adafruit (https://cdn-shop.adafruit.com/970x728/1603-03.jpg)
  • 15. I2C-Bus nutzen using Windows.Devices.I2c; […] // Hole Referenz auf I2C Controller Objekt var controller = await I2cController.GetDefaultAsync(); // Prüfe ob I2C Controller vorhanden ist if (controller != null) { // Verbindung zum Sensor mit der Adresse 0x77 herstellen var connectionSettings = new I2cConnectionSettings(0x77); device = controller.GetDevice(connectionSettings); // Wert aus Sensor-Register mit Adresse 0xAA auslesen var registerData = new byte[2]; device.WriteRead(new byte[] { 0xAA }, registerData); }
  • 16. „Internet of Things“ Bild: siliconANGLE (http://siliconangle.com/files/2016/02/network-782707_1280-1080x675.png)
  • 17. Azure IoT Hub Bild: Microsoft (https://acom.azurecomcdn.net/80C57D/cdn/mediahandler/docarticles/dpsmedia-prod/azure.microsoft.com/en-us/documentation/articles/iot-hub-what-is-iot-hub/20161003010117/hubarchitecture.png)
  • 18. Azure IoT - Datenverarbeitung Bilder (nachbearbeitet): Microsoft (https://msdnshared.blob.core.windows.net/media/2016/10/image633.png) Microsoft (https://az835927.vo.msecnd.net/sites/iot/Resources/images/devices/RPi3_0.png)
  • 19. Informationen & Links • Source-Code: bitbucket.org/jenssiebert/dnugpbwindows10iotcore • Windows 10 IoT Core: developer.microsoft.com/en-us/windows/iot • Docs: developer.microsoft.com/en-us/windows/iot/Docs • Samples: developer.microsoft.com/en-us/windows/iot/samples • IoT Core Dashboard: developer.microsoft.com/en-us/windows/iot/docs/iotdashboard • VS2017 Projektvorlagen (Background Apps): https://marketplace.visualstudio.com/items?itemName=MicrosoftIoT.WindowsIoTCoreProject TemplatesforVS15 • Raspberry Pi: raspberrypi.org • Docs: raspberrypi.org/documentation • Azure IoT Hub: azure.microsoft.com/de-de/services/iot-hub • Docs: azure.microsoft.com/de-de/documentation/services/iot-hub