DEV Community

Lillie Mae
Lillie Mae

Posted on

1

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

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay