-
Notifications
You must be signed in to change notification settings - Fork 274
Home
The MS Open Tech ConnectTheDots.io project illustrates how to connect sensors and devices to the Microsoft Azure Cloud, and use Microsoft Azure to analyze and visualize the resulting data streams.
In a typical topology, sensors connect directly (when they support the necessary network and security stacks) or through a local gateway to a data ingestion service (Azure Event Hubs in our case). Once in the cloud, the data streams are fed into analytics, big data, machine learning services and dashboards.
Microsoft Azure offers several such services like Event Hubs, Stream Analytics, HD Insight, Websites, Machine Learning designed with IoT scenarios in mind. The ConnectTheDots.IO project provides you with all the code and step-by-step instructions to build and deploy such an end-to-end solution. In this project, you will find several scenarios using various types of hardware, services and websites/apps that you can adapt to your needs.
##Software prerequisites
In order to reproduce one of the ConnectTheDots.io scenarios, you will need the following tools and subscriptions:
- Microsoft Azure subscription (free trial subscription is sufficient)
- Access to the Azure Streaming Analytics Preview
- Visual Studio 2013 – Community Edition or above
##Scenario 1: Temperature and Humidity monitoring
The first scenario we implemented is a simple temperature and humidity monitoring system using the following devices:
- Arduino boards with Weather Shield sensors attached to a Raspberry Pi gateway sending data to Azure Event Hubs
- .NET Micro Framework Gadgeteer board sending its sensors data directly to Azure Event Hubs. On the cloud side, we are showing how to use the near real-time analytics engine Azure Stream Analytics to generate temperature average and alerts across all devices. The real-time data streams, average, and alerts are then visualized in a Microsoft Azure Website, which can be viewed with any HTML5-capable browser. The high level architecture for this scenario is shown in the figure below.
If you want to try this scenario, you can follow the Step By Step guide.