Skip to content

stevebus/AzureIoTHandsOnLabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure IoT Hands On Labs

Overview

This hands-on lab demonstrates what is involved in connecting a physical custom device up to the Azure IoT Remote Monitoring pre-configured solution, to both display the telemetry data sent from the device, but also demonstrate management of the device through that portal. Additionally, we show you how to do simple "real time analytics" with Azure Stream Analytics to sense high temperatures and 'act' upon the high temperature alert by sending a command to light a warning light on the device. The idea is to show how straightforward it is to 'round trip' data from a device, to Azure, through Stream Analytics, and back to the device

There are two different available methods for connecting the device to IoTHub, which can be used to demonstrate "smart devices" that are capable of talking directly to IoTHub, or "dumb" devices that communicate to the gateway through Azure IoT's Gateway SDK (http://github.com/azure/azure-iot-gateway-sdk).

In this workshop you will:

  • Generate an instance of the Azure IoT Remote Monitoring solution
  • Connect a temperature/humidity sensor to a Raspberry PI running Linux
    • optionally connect the sensor to an arduino device that emulates a "dumb" device and leverages the Raspberry Pi as a gateway
  • Used the Azure IoT Python SDK to connect the Pi to Azure IotHub
    • Including the new device management features
  • Used Azure Stream Analytics to look for “high temperature” alerts
  • Leveraged an Azure Function to send a command back to the alerting device

Hardware

For the lab hardware, you need at a minimum, a RaspberryPi (2, 3, or ZeroW), a DHT22 temperature and humidity sensor, LED, resistors, breadboard and wires. If you don't already have hardware, you can buy the kits from the links below (among many other places)

Modules

Prerequisites

Useful Resources

Azure IoT Reference Architecture

The reference architecture provides guidance for building secure and scalable, device-centric solutions for connecting devices, conducting analysis, and integrating with back-end systems.

http://download.microsoft.com/download/A/4/D/A4DAD253-BC21-41D3-B9D9-87D2AE6F0719/Microsoft_Azure_IoT_Reference_Architecture.pdf

Azure IoT Preconfigured Solutions

The Azure IoT Suite preconfigured solutions are implementations of common IoT solution patterns that you can deploy to Azure using your subscription. You can use the preconfigured solutions: As a starting point for your own IoT solutions. To learn about common patterns in IoT solution design and development.

https://azure.microsoft.com/en-us/documentation/articles/iot-suite-what-are-preconfigured-solutions/

https://github.com/Azure/azure-iot-remote-monitoring

SDKs

https://github.com/Azure/azure-iot-sdks - device sdk

https://github.com/azure/azure-iot-gateway-sdk - device gateway sdk

https://github.com/Azure/azure-iot-protocol-gateway/blob/master/README.md - protocol gateway

Security

Securing Your Internet of Things from the Ground Up

How enterprises can enable IoT security

Other Services

Azure Functions

Azure Stream Analytic

Azure App services

Azure logic app

Azure HDInsight

Azure Machine Learning

PowerBi

SignalR

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.9%
  • JavaScript 38.1%