0. Introduction - great-lakes/lean-iot GitHub Wiki

Overview

Welcome to the Microsoft Internet of Things (IoT) Workshop! In this hands-on lab and the ones that follow, you will build a comprehensive IoT solution that demonstrates some of the very best features Microsoft Azure has to offer. The solution you build today will culminate into an Air-Traffic Control (ATC) app that shows simulated aircraft flying through an ATC sector and warns users when aircraft get too close to each other.

A user interface for an Air Traffic Control Application with dots and heading information overlaid on a geographical map.  Also includes summary statistics for all flights shown on the map, as well as attitude information for selected airplanes.

The Air-Traffic Control application

You will be the pilot of one of these aircraft. And to do the flying, you will use hardware provided to you for this event. The MXChip is an Arduino-based device that is ideal for prototyping IoT solutions. It features an array of sensors, including an accelerometer, a gyrometer, and temperature and humidity sensors, and it includes built-in WiFi so it can transmit data to Azure IoT Hubs wirelessly. It also features a micro-USB port by which you can connect it to your laptop, upload software, and power the hardware. You will control your aircraft by tilting the MXChip backward and forward to go up and down, and rotating it left and right to turn.

A Micro USB cable placed next to an Azure MXChip IoT Development Board

IoT development board

  • Lab 1 - Attendees setup and program an MXCHIP to see how data is collected from its different sensors.
  • Lab 2 - Attendees create an Azure IoT Hub and program an MXCHIP to send accelerometer data to it.
    • Attendees create an Azure Event Hub. Then they connect a UWP client app to the Event Hub and use their MXChip to fly a simulated airplane.
  • Lab 3 - Attendees create an Azure Function that transforms accelerometer data input to the IoT Hub into "flight data" denoting the disposition on an airplane and transmits it to an Azure Event Hub. They will also modify the app to transmit warning messages back to the MXChip when their aircraft are within two miles of another (The instructor creates a pair of Event Hubs and deploys a Stream Analytics job that analyzes all the air traffic in the room for aircraft that are within two miles of each another. He or she also deploys a UWP app that shows all the air traffic)

Next Steps: Setup

Let's ensure we have all the setup required for this lab.