The internet of things (IoT) is a network of physical devices that connect to and exchange data with other devices over the internet or other network. Anything that can be embedded with necessary sensors and software can be connected over the internet.
- on the Azure portal search and open IoT HUB, you would be shown this page>
click on create by the top left side of you screen.
- On The next page input the required details. .subscription, Resource group, Regions, Tier and daily message limit.
click on review and create to proceed.
3.After your deployment is complete click on "Go to Resources"
4.click on devices and Add device.
5.name the device you want to connect and click on save.
. for the purpose of this demonstration am naming my device "chriscctv", and am using a Raspberry pi simulator as my device.
6.open the device you named and copy the primary connection string.
- I proceed to open my raspberry Pi simulator and paste the primary connection string in the place holder meant for "connection string" in line 15, and clicked on Run.
- under RUN/RESET you can see messages being sent to Azure IoT HUB.
- Here is the confirmation of the communication between my IoT HUB and the Device (Raspberry pi simulator)'
Top comments (0)