title | description | author | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|
include file |
include file |
timlt |
iot-develop |
include |
05/17/2021 |
timlt |
include file |
There are several ways to connect devices to Azure IoT. In this section, you learn how to connect a device by using Azure IoT Central. IoT Central is an IoT application platform that reduces the cost and complexity of creating and managing IoT solutions.
To create a new application:
-
From Azure IoT Central portal, select Build on the side navigation menu.
[!NOTE] If you have an existing IoT Central application, you can use it to complete the steps in this article rather than create a new application. In this case, we recommend that you either create a new device or delete and recreate the device if you want to use an existing device ID.
-
Select Create app in the Custom app tile.
:::image type="content" source="media/iot-develop-embedded-create-central-app-with-device/iot-central-select-custom.png" alt-text="Screenshot of create a custom app in Azure IoT Central":::
-
Add Application Name and a URL.
-
Choose the Free Pricing plan to activate a 7-day trial.
:::image type="content" source="media/iot-develop-embedded-create-central-app-with-device/iot-central-create-custom.png" alt-text="Screenshot of entering information for the new app in Azure IoT Central":::
-
Select Create. After IoT Central provisions the application, it redirects you automatically to the new application dashboard.
In this section, you use the IoT Central application dashboard to create a new device. You will use the connection information for the newly created device to securely connect your physical device in a later section.
To create a device:
-
From the application dashboard, select Devices on the side navigation menu.
-
Select Create a device from the All devices pane to open the Create a new device window. (If you're reusing an existing application that already has one or more devices, select + New to open the window.)
-
Leave Device template as Unassigned.
-
Fill in the desired Device name and Device ID.
:::image type="content" source="media/iot-develop-embedded-create-central-app-with-device/iot-central-create-device.png" alt-text="Screenshot of entering information for a new device in Azure IoT Central":::
-
Select the Create button.
-
The newly created device will appear in the All devices list. Select on the device name to show details.
-
Select Connect in the top right menu bar to display the connection information used to configure the device in the next section.
:::image type="content" source="media/iot-develop-embedded-create-central-app-with-device/iot-central-device-connection-info.png" alt-text="Screenshot of device connection details in Azure IoT Central":::
-
Note the connection values for the following connection string parameters displayed in Connect dialog. You'll add these values to a configuration file in the next step:
ID scope
Device ID
Primary key