Azure Digital Twins

Azure Digital Twins is a cloud-based Internet of Things (IoT) solution that creates a digital representation of physical environments. It models relationships and interactions between people, places, and devices, enabling you to build next-generation IoT solutions.

What is Azure Digital Twins?

Azure Digital Twins allows you to create a dynamic digital model of your entire environment. This model can represent buildings, factories, farms, or any other physical space. By connecting this model to your IoT devices and other data sources, you can gain insights and drive business outcomes.

Key Concepts

Core Features

Getting Started

To get started with Azure Digital Twins, you'll need to:

  1. Create an Azure Digital Twins instance in the Azure portal.
  2. Define your data models using the Digital Twins Definition Language (DTDL).
  3. Ingest data from your IoT devices via Azure IoT Hub.
  4. Query your digital twin graph to gain insights and drive actions.

Example: Creating a Simple Model

Here's a basic DTDL v2 example for a "Thermostat" model:


{
  "@id": "dtmi:com:example:Thermostat;1",
  "@type": "Interface",
  "displayName": "Thermostat",
  "contents": [
    {
      "@type": "Property",
      "name": "temperature",
      "displayName": "Temperature",
      "schema": "double",
      "unit": "degreeCelsius"
    },
    {
      "@type": "Property",
      "name": "humidity",
      "displayName": "Humidity",
      "schema": "double",
      "unit": "percent"
    },
    {
      "@type": "Telemetry",
      "name": "temperatureUpdate",
      "displayName": "Temperature Update",
      "schema": "double"
    }
  ]
}
            

Use Cases

Learn More

Explore the official Azure Digital Twins documentation for detailed guides, tutorials, and API references.