Book Image

The Azure IoT Handbook

By : Dan Clark
Book Image

The Azure IoT Handbook

By: Dan Clark

Overview of this book

With the rise of cloud-based computing, deploying IoT systems has become more cost-effective for businesses. This transformation has led to developers and architects shouldering the responsibility of creating, managing, and securing these systems, even if they are new to the IoT technology. The Azure IoT Handbook is a comprehensive introduction to quickly bring you up to speed in this rapidly evolving landscape. Starting with the basic building blocks of any IoT system, this book guides you through mobile device management and data collection using an IoT hub. You’ll explore essential tools for system security and monitoring. Following data collection, you’ll delve into real-time data analytics using Azure Stream Analytics and view real-time streaming on a Power BI dashboard. Packed with real-world examples, this book covers common IoT use as well. By the end of this IoT book, you’ll know how to design and develop IoT solutions leveraging intelligent edge-to-cloud technologies implemented on Azure.
Table of Contents (18 chapters)
1
Part 1: Capturing Data from Remote Devices
7
Part 2: Processing the Data
12
Part 3: Processing the Data

Lab – Creating a real-time streaming dashboard

In this lab, you will create a real-time data visual on a dashboard. You will be using a simulated sensor that sends data to Azure Analytics and from there to the dashboard. To complete this lab, make sure you have a Power BI Pro license (you can choose either a paid subscription or a free trial). So, let’s get started with the lab:

  1. Create a resource group, and add an Azure IoT Hub to the resource group.
  2. Add a device to the IoT Hub.
  3. Copy the connection string of the device.
  4. Using the simulator at https://azure-samples.github.io/raspberry-pi-web-simulator, add the connection string on line 15 and start the simulator.
  5. Check your IoT hub, and make sure it is getting signals.

Figure 10.10 – Checking the IoT Hub for signals received

  1. You can stop the simulator.
  2. Log in to Power BI and create a new workspace called streamingdemo.
  3. Select the https://app.powerbi...