Designing a sample application
In this section, we are going to build a sample application using the Azure IoT suite.
Solution
The solution we are going to build is going to be similar to the one from Chapter 4, AWS IoT. We are going to connect a DHT11 sensor to Raspberry Pi 3, transmit the data over to the Azure IoT hub using MQTTS, then take that data and pass it onto Power BI to build the visualization.
In the next section, we are going to look at the overall architecture of the solution.
Architecture
The following diagram explains the architecture of the IoT solution:

As illustrated in the previous diagram, a typical IoT solution consists of three main pieces:
- Device connectivity
- Data processing and analytics
- Presentation
In our implementation of the Azure IoT suite, we are going to work with all three. We are going to use existing IoT devices, such as a Raspberry Pi 3 with a DHT11 sensor, and then connect it to the IoT hub or, as illustrated in the previous diagram, the IoT device gateway.
Then...