DEV Community

Lillie Mae
Lillie Mae

Posted on

4 STEPS TO CREATE AN IOT HUB, ADD A DEVICE AND TEST THE DEVICE USING RASPBERRY PI SIMULATOR.

STEP 1 Search for IoT Hub in the search panel, click on create.
Image description

STEP 2 Choose any resource group you want, give the IoT hub a name. Your region can remain on default. Click on "review+create" then create.
Image description

STEP 3 Once deployment is complete, go to resource, click on "Add device" and give the device a name. Every other detail can remain on default, click on save. You have successfully added an IoT device.
Image description
Image description
Image description

STEP 4 Click on the device you just added, copy the "primary connection string" link.
Open "Azure IoT simulator" on your google, go to number 15 and replace the placeholder (your IoT hub device connection string) with the primary device string you copied and click on Run. It should begin sending messages if there is no error.
Image description
Image description

Top comments (0)