On Aug 17, 2016 I gave a “Getting Started with IoT” talk at the Milwaukee Azure group. In my talk I covered the basics of IoT Messaging Architecture and Azure IoT Suite (specifically IoT Hub and Stream Analytics), along with other Azure services such as Service Bus Queus, DocumentDB, and Azure Functions. No, IoT solution is complete with out an actual hardware device, so I showed what’s necessary to get started with Windows IoT development on a Raspberry Pi 2/3 along with an Adafruit BME280 Temp/Humidity/Pressure sensor and an LED wired up to the device.
Here’s my slides from the talk:
The Demo I gave included a Raspberry Pi 3 with Adafruit BME280 Temp/Humidity/Pressure sensor connected along with an LED. The temperature readings were streamed up to an Azure IoT Hub then on through Stream Analytics. The Stream Analytics job pushed the raw data into a DocumentDB database, along with only Temperature readings of 29 deg Celsius or higher on to an Azure Service Bus Queue. Then I had an Azure Function setup to be triggered by the Service Bus Queue that would then send a message to the device via IoT Hub (cloud-to-device messaging) telling it to turn on the LED for 1.5 seconds. The end result was the device turning on it’s LED when the temperature reached 29 deg Celsius or higher for 1.5, then turn off of no further message was received to turn on the LED.
This was a rather simple IoT demo, but it showed off the full circle of using the following Azure services to build a full IoT Solution:
- Azure IoT Hub
- Azure Stream Analytics
- Azure DocumentDB
- Azure Service Bus Queue
- Azure Functions
In addition to the above Azure services, the following stuff was used on the IoT Device to build out the Demo solution:
- Raspberry Pi 3
- Windows IoT Core
- Visual Studio 2015
- Universal Windows Platform (UWP) App
- Adafruit BME280 Temp/Humidity/Pressure Sensor
- Simple blue LED
This was a fun talk and demo to present at the August meeting of the Milwaukee Azure group. Thanks to all who attended!