Azure Digital Twins Tutorial -Getting Started With Azure Digital Twins [ A Step-by-Step Guide]

Azure Digital Twins Tutorial - This is a Step-by-Step guide to getting started with azure digital twins using a raspberry pi that sends sensor data to update the digital twin.
❗Important Update: You can now access a hosted version of Azure Digital Twins Explorer if you don't want to download it onto your machine. Here's the link to it: lnkd.in/dfA994M
🚀 If you enjoyed this video you will also find my free newsletter valuable. Join 2500+ subscribers to get weekly actionable tips on the architecture and development of IIoT solutions.
→ SUBSCRIBE HERE: www.industry40.tv
Let's Connect on LinkedIn
/ kudzaimanditereza
-----------------------
EPISODE LINKS
Digital Twin Definition Language (DTDL)Specification: github.com/Azure/opendigitalt...
Demo Factory Digital Twin Model: github.com/Azure/opendigitalt...
Azure Digital Twins Explorer: docs.microsoft.com/en-us/samp...
Azure Function App demo Code : drive.google.com/file/d/1OhV0...
Azure Digital Twin Device Simulator Code:
github.com/Azure-Samples/digi...
Raspberry Pi Demo C# UWP Code: drive.google.com/file/d/1osHI...
Digital Twin Definition Language Ontologies for Smart Cities: github.com/Azure/opendigitalt...
EPISODE SPONSORS
Please support this channel by checking out our sponsors:
HiveMQ: www.hivemq.com/mqtt-cloud-bro...
VIDEO OUTLINE
0:00​ - Introduction
1:07 - How a Digital Twin Works
3:08 - Fundamentals of Digital Twins Definition Language (DTDL)
6:05 - Creating a Digital twin Model for Demo Factory Using DTDL
9:10 - Creating Azure Digital Twins Instance on Azure Cloud
11:59 - Introduction to Azure Digital Twins Explorer
13:20 - Downloading and Running Azure Digital twins Explorer.
15:49 - Connecting azure Digital Explorer to Azure Digital Twins Instance
16:40​ - Uploading Model to Azure Using Azure Digital Twins Explorer.
17:13 - Creating Digital Twin Using Azure Digital Twins Explorer.
19:26 - Creating IoT Hub for updating Digital twin
21:44​ - Developing Azure Function App for Ingesting data into Azure Digital Twin
32:44​ - Connecting Azure IoT Hub to Function App
36:25​ - Updating Digital Twin with Real Sensor Data from Raspberry Pi.
PODCAST INFO:
Apple Podcasts: podcasts.apple.com/za/podcast...
Spotify: open.spotify.com/show/6uTgBCL...
RSS: feed.podbean.com/industry40tv...
Podcast website: www.industry40.tv/podcast/​​
Full episodes playlist: • The Fourth Generation ...

Пікірлер: 119

  • @industry40tvonline
    @industry40tvonline6 ай бұрын

    If you enjoyed this video you will also find my free newsletter valuable. Join 2500+ subscribers to get weekly actionable tips on the architecture and development of IIoT solutions. → SUBSCRIBE HERE: www.industry40.tv

  • @keiarraortiz-cedeno9285
    @keiarraortiz-cedeno92853 жыл бұрын

    This is BY FAR the best, most in depth video that I have seen on Digital Twins with Microsoft so far.

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thank you for the feedback, Keiarra. I'm glad you found the video useful.

  • @FREEFIREGAMER-iv8dx

    @FREEFIREGAMER-iv8dx

    Жыл бұрын

    Sir please keep video to create uwp application c ,ur last video is different and now u have azure iothub cs file and and 2 cs files how to create them please say

  • @prashkd7684
    @prashkd768411 ай бұрын

    Thanks for your efforts mate. Very well structured and explained video.

  • @thatboyzachary
    @thatboyzachary3 жыл бұрын

    Best youtube demo and education I have seen yet :)

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thank you for the feedback, thatboyzchary. It means a lot.

  • @pritamchatterjee1193
    @pritamchatterjee11933 жыл бұрын

    Excellent video on digital twin. Thanks for posting.

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thank you, Pritam. I'm glad you found the video useful.

  • @murugans1672
    @murugans16723 жыл бұрын

    Very Informative and end to end implementation of Digital Twin. Impressive Demo . Keep it up .

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    I'm glad you found the video helpful. Thank you for the feedback.

  • @nourhenezaiter952
    @nourhenezaiter9522 жыл бұрын

    Thank you for this demo, a very helpful video.

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    I'm glad you found it helpful, Nourhene. Your feedback is appreciated.

  • @sashidareddy9357
    @sashidareddy93573 жыл бұрын

    Great presentation - well done.

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thanks, Sashi. I'm glad you found the video useful.

  • @mariappanpalanivelu3426
    @mariappanpalanivelu34262 жыл бұрын

    Nicely explained.Great work

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Glad it was helpful, Mariappan.

  • @Retic_01
    @Retic_012 жыл бұрын

    I see ZAR, you are also In South Africa! great video. Much appreciated!

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Thank you, Retic.

  • @saersaer8890
    @saersaer88902 жыл бұрын

    Thank you very much. Both video and author are awesome!!

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Thank you for your kind words, Saer. Much appreciated.

  • @mehmetsensoy96
    @mehmetsensoy963 жыл бұрын

    You produce very good content. Greetings from Turkey

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thank you for watching and for your feedback, Mehmet.

  • @kesavprakash9580
    @kesavprakash95802 жыл бұрын

    Thanks for making this video, very useful to understand the DT concepts.

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Thank you, Kedav. I'm glad you found the video useful.

  • @veerendrareddypeketi6979
    @veerendrareddypeketi69792 жыл бұрын

    Great demo

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Thank you, Veerendra.

  • @johng5295
    @johng5295 Жыл бұрын

    Thanks in a million! Very well explained. This is the nth time that I am watching this again. Great content. Awesome. Grade: A++ 💥

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Thank you so much for the feedback, John. I appreciate it.

  • @industry40tvonline
    @industry40tvonline2 жыл бұрын

    UPDATE: You can now access a hosted version of Azure Digital Twins Explorer if you don't want to download it onto your machine. Here's the link to it: lnkd.in/dfA994M

  • @garthmcdonald6983

    @garthmcdonald6983

    2 жыл бұрын

    Excellent end to end demo. Very generous of you. Does the DTML definition flow through to time series insights?

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    @@garthmcdonald6983 Thank you. Yes, you can integrate Azure Time Series Insights as the destination of your Azure Digital Twins Service's output.

  • @azizjuraboev

    @azizjuraboev

    2 жыл бұрын

    unfortunately it gives error with the hosted version of Azure DT.

  • @FREEFIREGAMER-iv8dx

    @FREEFIREGAMER-iv8dx

    Жыл бұрын

    Sir how to create c# application on raspberry Pi in visual studio u didn't say that pls say

  • @muhammadyousufeisa3982

    @muhammadyousufeisa3982

    Жыл бұрын

    ​@@industry40tvonlinewhich programming language is used for azure function

  • @seanpitcher8957
    @seanpitcher8957 Жыл бұрын

    Exceedingly good work. Thank you!

  • @BigBassGhost
    @BigBassGhost2 жыл бұрын

    Great video!

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Glad you enjoyed it, Robin.

  • @rohitavadhani6995
    @rohitavadhani6995 Жыл бұрын

    This is incredible

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Thank you, Rohit. Glad you found it useful!

  • @lozetchells9164
    @lozetchells91642 жыл бұрын

    Very helpful, thanks

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Glad it was helpful!

  • @poornimabontha
    @poornimabontha2 жыл бұрын

    It's super helpful.

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Glad it was helpful!

  • @amirrrez
    @amirrrez Жыл бұрын

    This is an incredible video. I learned a lot. Thanks @Industry40tv.

  • @AxelAngeli
    @AxelAngeli Жыл бұрын

    Thanks!

  • @User-fi9zf
    @User-fi9zf2 жыл бұрын

    AMAZINGGGGGG . THX 🙏

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    You're welcome 😊

  • @gurumoorthyk6098
    @gurumoorthyk60982 жыл бұрын

    nice tutorial

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Thank you. I'm glad you like it.

  • @jospinanogo2417
    @jospinanogo24172 жыл бұрын

    Thanks for the demo. Can we have a digital twin only in the raspberry using containers? Can we have a digital twin only in the raspberry using containers? one container to collect data from the sensor and send this data to the other container which will display it with the description of the environment?

  • @pedzisanimoyo3717
    @pedzisanimoyo37173 жыл бұрын

    Geat vid, lots of possibilities. Does the DT influence the plant or it runs only as a model, the only interaction being data transfer from plant to DT?

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    You can have the DT autonomously provide feedback into the plant, but maybe as a start, you'd want to have the DT suggest actions to a human being instead. Thanks for the feedback Moyo.

  • @manishapal9223
    @manishapal92232 жыл бұрын

    Thank you for making this video. I am following the steps but getting error messages in the code saying "JObject not recognized". Any guidance on this?

  • @Deekudla
    @Deekudla3 жыл бұрын

    Very informative and great presentation. Hello from India. Keep rocking. Can you please create a video on security aspects around digital twin architecture? second, I don't find device twin explorer in Github, could you please update the link

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thank you, Deepak. The link seems to be working okay. You can try it here: github.com/Azure-Samples/digital-twins-explorer/tree/main/

  • @basantkumar4900
    @basantkumar49002 жыл бұрын

    Hi, first of all wonderful video. Secondly can you guide me how to use rest API. Actually i have to update the telemetry data (6 fields) around 30 thousand every minute so i am thinking to use patch but looks like it cannot help. Can u guide how to achieve it.

  • @yongchanghe5576
    @yongchanghe5576 Жыл бұрын

    Hello sir, I recommend you create your IoT Hub by selecting an F1: Free tier. Because this tier should be free for us to use. You can find it in IoT hub > Management > Scale tier and units > Pricing and scale tier > F1: Free tier.

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Noted! Thanks for your feedback, Yongchang.

  • @Hell0mynameisCathy
    @Hell0mynameisCathy2 жыл бұрын

    How did you set up the raspberry pi? What hardware are you using to connect the sensor to the raspberry pi?

  • @govthamreddy
    @govthamreddy3 жыл бұрын

    Thanks for the demo. Can you explain where we can see Telemetry data in explorer, and also how we can send telemetry data to digital twin. Also can we use JSON object as property type in twin model?

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thanks for the comment, Gowtham. It's not possible to see telemetry data on explorer as it requires backing storage. You can only see telemetry when you forward it to platforms like Time Series Insights. There are many ways of sending telemetry data to digital twin including the one I showed in the video which uses IoT Hub and Azure Functions.

  • @koushalyas9555
    @koushalyas955511 ай бұрын

    Digital twin technology in health care analysis can u put one video

  • @MarcGoekce
    @MarcGoekce3 ай бұрын

    When I send data to the IoT-Hub, I don't see the data update in the explorer. How can I check if the data is properly formatted, is send to the right place and is picked up by Digital Twins ?

  • @2SIlverBalls
    @2SIlverBalls3 жыл бұрын

    Good demo. The link to the Raspberry Pi Demo C# UWP Code appears to be broke though.

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    I've updated the link, you should be able to download it now. Thank you

  • @bim4u-getbimbenefitswithou924
    @bim4u-getbimbenefitswithou9242 ай бұрын

    Thanks for a brilliant tutorial. In my own learning, I've run the DeviceSimulator (as per the MS tutorial) which generates data in the IoT hub, as expected. The DT is also recording published events. Nevertheless, when I run the simulation, for some reason, the twin properties in the ADT Explorer aren't updating in the way that you showed. Any ideas?

  • @jatinshukla7009

    @jatinshukla7009

    24 күн бұрын

    u get the zip file for digital twin explorer??

  • @bim4u-getbimbenefitswithou924

    @bim4u-getbimbenefitswithou924

    24 күн бұрын

    @@jatinshukla7009thanks. The problem was a bug in the code for the IoTHubtoTwins function. I’ve now fixed that issue and the IoT data is now being transferred into the Azure Digital Twin

  • @moiensiddikie423
    @moiensiddikie423 Жыл бұрын

    Hello I am new to the Digital Twin World can you Please tell me what Learning path I should follow to learn ADT and DTDL and from where I can Learn those skills .

  • @12456hehe
    @12456hehe Жыл бұрын

    May i ask if your digital twin is able to predict the future state of your set up?

  • @BountyMouse
    @BountyMouse5 ай бұрын

    Hi there, how do i edit the codes for the last part of updating digital twin with real sensor data if im using a BME280 sensor instead of DHT11?

  • @judithnjoku7729
    @judithnjoku7729 Жыл бұрын

    Great content, but if only I can get past the errors i get when trying to run the digital twin explorer on local host

  • @battleroyalec
    @battleroyalec Жыл бұрын

    Does either c# or c++ work with digital twin development, or do I specifically need to learn JSON?

  • @Cons2911
    @Cons2911 Жыл бұрын

    If I have a web service for example to send inputs to my digital twin, what should I use (instead of iOt hub)?

  • @somasekharmamidi-vi7jp
    @somasekharmamidi-vi7jp3 ай бұрын

    sir ,I can not understand last 5 minutes videos ,which is after connecting the raspberry pi. Can you please help me to getting the information on how to do.

  • @betterd9160
    @betterd9160 Жыл бұрын

    The concept of digital twin was first, in my opinion, used in the movie 2001 Space Odyssey. In the 90s I thought Bluetooth would be used for this type of function but I was wrong.

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Thanks for your comment.

  • @larajk_bts2399
    @larajk_bts2399 Жыл бұрын

    Sir can i create a digital twin for a patient using the tools that u used?

  • @jamesanderson8562
    @jamesanderson85622 жыл бұрын

    thanks very nice demo. Is basic coding skills say of python is enough to use and apply digital twin tech or will I need advanced programing skills?

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Thanks for watching, James. Basic coding skills are enough. What is more important is to know how to identify and bring together pre-built services to achieve a Digital Twin Solution.

  • @jamesanderson8562

    @jamesanderson8562

    2 жыл бұрын

    @@industry40tvonline thanks for ur kind reply

  • @narasimhamakireddi8723
    @narasimhamakireddi87233 ай бұрын

    good morning sir, while npm run start in command prompt can not working. Please suggest me what should i do?

  • @rlmn9468
    @rlmn9468 Жыл бұрын

    Is it possible to place a 3d model made in blender/inventor on the Azure Digital Twins Explorer platform? I would like instead to see a node (factory-pink) I would like to see a 3d animated model, is it possible?

  • @selvansenthil1
    @selvansenthil12 жыл бұрын

    Data streams from physical device to digital copy and we use that data for modelling.. anyhow the source of the data is physical device and we can model the data directly received from physical device. What is the need of digital device here?

  • @muhammadyousufeisa3982
    @muhammadyousufeisa3982 Жыл бұрын

    Which programming language is used in Azure function and raspberry pi code. What changes will occur if we use esp 32 instead of raspberry pi

  • @goncalofelicio6738
    @goncalofelicio67382 жыл бұрын

    Hi, great video! What if I already have a data file, in a time series forma. How do I send this data to the DT?

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Thanks for the feedback, Goncalo. Just curious to find out why you'd want to send time-series data to a digital twin. If anything, data should be moving from DT to your time-series DB. And maybe only use time-series data for contextualising real-time information that is being sent to DT.

  • @goncalofelicio6738

    @goncalofelicio6738

    2 жыл бұрын

    @@industry40tvonline well, the context is that I have timeseries data from a device, but not in real-time, only in datafile and I want to demo a DT of the device with this data to see it in the DT explorer or connect to the TSInsights and see it there

  • @anumusman4332
    @anumusman4332 Жыл бұрын

    Sir I wanted to create an instance on the azure digital explorer but I am facing difficulties...

  • @sameertikuu
    @sameertikuu2 жыл бұрын

    All good till paste the URL of my azure instance , even thogh i downloaded node js and powershell it generates error - NO MSI CREDENTIAL, AZURE CLI Not found, do i need to install AZURE CLI as well

  • @thurawin4996
    @thurawin4996 Жыл бұрын

    at Azure Function stage, public async static void Run(..... showing the error on Run, why? How can I fix, Please?

  • @RubyZagan
    @RubyZagan9 ай бұрын

    could you update this project file with the more recent library includes? Thank so much

  • @marciovenanciobatista
    @marciovenanciobatista2 жыл бұрын

    Thank you for your video.. I could replicate your solution.

  • @industry40tvonline

    @industry40tvonline

    2 жыл бұрын

    Thank you for the feedback, Márcio. I'm glad to hear that.

  • @faroukelgohary7825
    @faroukelgohary7825 Жыл бұрын

    when i run npm install it keeps telling me 'npm' is not recognized as an internal or external command, operable program or batch file. what should i do?

  • @praveenb-xr
    @praveenb-xr2 жыл бұрын

    Hi! I am a 3D Generalist, I came across DTDL. I am new to the programming Language. Can I learn directly the DTDL or is there any prerequisites needed before learning the json you told?

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    You can learn directly. Thanks, Praveen.

  • @larajk_bts2399
    @larajk_bts2399 Жыл бұрын

    Sir i want to do digital twin for a code using solidity could u tell me how to do that plz

  • @betterd9160
    @betterd9160 Жыл бұрын

    Hi what are your thoughts on fetch ai?

  • @olaplassen1736
    @olaplassen17363 жыл бұрын

    What changes do you have to make to get this setup working with an BME280 sensor? Is it only the Rasberry Pi script that needs to changed? Great tutorial!

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    Thank you, Ola. The idea is to publish the data to the IoT Hub connected to your function. It doesn't have to be a Raspberry pi, as long as your sensor has the capability to publish data to Azure IoT Hub it will work. So all you need to do is to repurpose the RPI script for your BME280 sensor.

  • @lidiyajose5510
    @lidiyajose551011 ай бұрын

    Hello, i am a civil engineer and cale across DTDL.I am new to DTDL.can i learn more about it?

  • @prsairahul9555
    @prsairahul9555 Жыл бұрын

    Can we develop human organs like heart using this Azure digital twin ?

  • @hera-12
    @hera-122 жыл бұрын

    I am getting authentication error while I am opening azure digital twins explorer

  • @atlaysencersolmaz6636
    @atlaysencersolmaz66363 жыл бұрын

    Thank you but the link to the Raspberry Pi Demo C# UWP Code appears to be broke though.

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    I've updated the link, you should be able to download it now. Thank you

  • @RubyZagan
    @RubyZagan9 ай бұрын

    having public async static void Run gives an error

  • @sconnell194
    @sconnell1943 жыл бұрын

    👍

  • @industry40tvonline

    @industry40tvonline

    3 жыл бұрын

    I'm glad you like the video sconnell194

  • @naimaware
    @naimaware2 жыл бұрын

    Can you do this with arduino too?

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Thank you for the suggestion. Will do.

  • @RaghavRawat98
    @RaghavRawat982 жыл бұрын

    19:14

  • @bhushanbadhe56
    @bhushanbadhe562 жыл бұрын

    Azure digital twin data owner can delete resource group?

  • @fabianestrada4357
    @fabianestrada4357 Жыл бұрын

    que gonorrea!

  • @industry40tvonline

    @industry40tvonline

    Жыл бұрын

    Thank you

  • @pravinsabaribalass7751
    @pravinsabaribalass77519 ай бұрын

    I'm getting this error, how to fix it? npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! digital-twins-explorer@0.1.0 preinstall: `npx npm-force-resolutions` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the digital-twins-explorer@0.1.0 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\pravi\AppData\Roaming pm-cache\_logs\2023-09-10T14_43_13_615Z-debug.log