Connect PI Simulator to IoT Hub

IoT Hub

Connect a Simulator to your IoT Hub and stream data.

In this lab you will

Create a Device

Go To your IoT Hub in the portal and click on IoT Devices

Resource Group

Click on + Add and enter a Device ID and click Save.

Resource Group

Click on the device and copy the primary key connection string.

Resource Group

Click on the link below to go to the PI Simulator

PI Simulator

Replace the connection string with the primary key connection string copied in the previous steps

Resource Group

After you copy the connection string should look like below

Resource Group

Click Run and start sending messages. LED will start blinking

Resource Group

Messages will start flowing into IoT Hub

Resource Group

You will work with Labs in the Next Module to Visualize the Data flowing into IoT Hub