iot-walkthrough icon indicating copy to clipboard operation
iot-walkthrough copied to clipboard

Windows 10 IOTCore Walkthrough

Windows 10 IoTCore Walkthrough

Introduction

This project's goal is to demonstrate guidelines for creating a Windows 10 IoTCore based product and walk through the creation of an IoT device, from implementation to final deployment.

The project has two applications:

  • One background application to receive sensor data and send it to the Azure cloud. Receiving sensor data and analyzing it are important tasks in IoT and a device will often operate in "headless" mode for monitoring; thus, we separate these tasks in an independent app. It also receives application keys securely and saves user settings to Azure.
  • One foreground application for user interaction. This application shows local weather (read by the background app), information from the internet (news and regional weather) and interacts with the user (playing media or showing a slideshow). A settings page is also available to change settings.

App communication

The applications are written using Universal Windows Platform (UWP); thus, the same foreground app can be run on both IoT and Desktop.

Guides

Steps from implementation of apps to deployment are documented with an end-to-end solution. Each tutorial shows small code snippets and then links to the code running in the walkthrough project.

Sections

  1. About the project
    • Software components
    • Wiring of weather shield to DragonBoard 410c
  2. Background application
    • Installing IoT templates and deploying a background app
    • Collecting sensor data through I2C
  3. Foreground application
    • Creating a foreground application
    • Usage of text-to-speech
    • Receiving voice commands
    • Playing media
  4. Inter-application communication
    • Creating an app service
    • Communication between applications
    • Showing local weather data
  5. Connecting to the Azure cloud
    • Connecting to an Azure IoT Hub using the Preconfigured Remote Monitoring solution
    • Saving application keys on Azure
    • Synchronizing settings with Azure
  6. Integration with third-party services
    • Integration with OpenWeatherMap
    • Integration with Bing news
    • Associating the app with the Windows Store
    • OneDrive picture slideshow
  7. Preparing for deployment
    • Enabling Secure Boot, BitLocker and ConfigCI
    • Saving Azure keys to the TPM module and connecting with tokens
    • IoT image creation
  8. Deployment
    • Creating a retail OEM image

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.