What is IoT Hub used for?

Matthew Ferrie 51 Reputation points
2021-08-24T20:26:10.847+00:00

Is IoT Hub used to remotely control devices over the Internet? If so, how do I set it up to control my Raspberry Pi?

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
403 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,218 questions
{count} vote

1 answer

Sort by: Most helpful
  1. QuantumCache 20,346 Reputation points
    2021-08-27T03:12:23.22+00:00

    Hello @Matthew Ferrie Welcome to this forum!

    What is IoT Hub used for?

    IoT Hub is a managed service hosted in the cloud that acts as a central message hub for communications in both directions between an IoT application and its attached devices. You can connect millions of devices and their backend solutions reliably and securely. Almost any device can be connected to an IoT Hub. More info at this link.

    Is IoT Hub used to remotely control devices over the Internet?

    Yes, Several messaging patterns are supported, including device-to-cloud telemetry, uploading files from devices, and request-reply methods to control your devices from the cloud.

    Cloud-to-device messaging

    126984-image.png

    IoT solution architecture

    127002-image.png

    how do I set it up to control my Raspberry Pi?

    IoT Hub Raspberry Pi 3 Client application
    This application receives Cloud-to-Device message from your IoT Hub, and takes actions according to the C2D command on your Raspberry Pi 3.

    Connect Raspberry Pi to Azure IoT Hub (Node.js)

    Create your first Raspberry Pi .NET Core C# IoT Application

    Learning Paths:

    Highly recommended learning path: IoT for Beginners - A Curriculum
    Jim Bennett-Senior Cloud Advocate-Microsoft-Videos
    Learn how to use Azure IoT Hub and Raspberry Pi's to deploy app updates
    Introduction to Azure IoT Hub

    Please comment in the below section for further help in this matter, happy to help you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.