SlideShare a Scribd company logo
Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018
Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018
Let’s start:
IoT
What IoT means?
IoT scenarios
Windows 10 IoT Core
.NET Core on Linux
.NET Core 3
Azure Sphere
IoT Solution Architecture
on Azure
IoT Solution Architecture
IoT Solution Architecture
Connect devices
Device Identity, Provisioning and Store
Data processing and analytics
Storage
UX e App Backend
UX e App Backend
Business Integration
IoT + Azure = ❤
Azure IoT Suite
Securely connect
millions of devices
Over a secure
Internet connection
To Microsoft Azure – build with
security from the ground up
Device Security Connection Security Connection SecurityCloud Security
X.509/TSL-Based
Handshake and Encryption
Device provisioning
And Authorization
Azure Active Directory
Key Vault
Policy-Based Access Control
Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018
Checklist
GPIO Scheme on Raspberry Pi
Connection scheme on Raspberry Pi
Azure Cognitive Services
Azure LUIS
Visual Studio: new UWP solution
MainPage.xaml.cs
private void InitGPIO()
{
var gpio = GpioController.GetDefault();
pinGreen = gpio.OpenPin(LED_GREEN_PIN);
pinYellow = gpio.OpenPin(LED_YELLOW_PIN);
pinGreen.SetDriveMode(GpioPinDriveMode.Output);
pinYellow.SetDriveMode(GpioPinDriveMode.Output);
}
MainPage.xaml.cs
private GpioPin[] SelectedPin(Entity entity)
{
var result = new List<GpioPin>();
switch (entity)
{
case Entity.Green:
LightAccess(result, entity, pinGreen);
break;
case Entity.Yellow:
LightAccess(result, entity, pinYellow);
break;
case Entity.AllLights:
LightAccess(result, Entity.Green, pinGreen);
LightAccess(result, Entity.Yellow, pinYellow);
break;
default:
break;
}
Analyzer.cs public class Analyzer
{
public Intent Intent { get; set; }
public Entity Entity { get; set; }
}
public enum Entity
{
Green,
Yellow,
AllLights
}
public enum Intent
{
LightOn,
LightOff,
None
}
WebClinetLuis.cs
... switch (entityLight)
{
case "AllLight":
result.Entity = Entity.AllLights;
break;
case "Green":
result.Entity = Entity.Green;
break;
case "Yellow":
result.Entity = Entity.Yellow;
break;
default:
break;
}
JsonObject obj = JsonObject.Parse(resultJson);
... switch (intent)
{
case "LightOn":
result.Intent = Intent.LightOn;
break;
case "LightOff":
result.Intent = Intent.LightOff;
break;
default:
break;
}
private const string LuisUrl = " YOUR_KEY "
https://<region>.api.cognitive.microsoft.com/luis/v2.0/apps/<appID>
?subscription-key=<YOUR-KEY>&q=<user-utterance>
Setup LUIS
Setup LUIS: new app
Setup LUIS: new app
Setup LUIS: new intent
Setup LUIS: new intent
Setup LUIS: new intent
Setup LUIS: new entity
Setup LUIS: new entity
Setup LUIS: new entity
Setup LUIS: let’s train and test the model
Setup LUIS: let’s train and test the model
Setup LUIS: final steps
LUIS: JSON response structure
{
"query": "switch off all lights",
"topScoringIntent": {
"intent": "HomeAutomation.TurnOff",
"score": 0.97520715
},
"intents": [
{
"intent": "HomeAutomation.TurnOff",
"score": 0.97520715
},
{
"intent": "HomeAutomation.TurnOn",
"score": 0.04457553
},
{
"intent": "None",
"score": 0.00627107872
} ],
"entities": [
{
"entity": "all",
"type": "AllLights",
"startIndex": 11,
"endIndex": 13,
"score": 0.6425568
},
{
"entity": "lights",
"type": "AllLights",
"startIndex": 15,
"endIndex": 20,
"score": 0.7956683
},
{
"entity": "off",
"type":
"HomeAutomation.Operation",
"startIndex": 7,
"endIndex": 9,
"score": 0.613482
}
],
"compositeEntities": [
{
"parentType": "AllLights",
"value": "all",
"children": []
},
{
"parentType": "AllLights",
"value": "lights",
"children": []
} ] }
Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018
Contact details & recap
Resources & Links
https://developer.microsoft.com/en-us/windows/iot
https://azure.microsoft.com/en-us/overview/iot/
https://www.microsoft.com/en-us/azure-sphere/
https://azure.microsoft.com/en-us/services/cognitive-services/
https://www.luis.ai/
https://docs.microsoft.com/en-us/windows/iot-core/manage-your-device/deviceportal
Resources & Links
http://aka.ms/iotrefarchpdf
https://channel9.msdn.com/Events/Build/2016/B815
https://channel9.msdn.com/Events/Build/2016/B844
https://myignite.microsoft.com/videos/2905
http://aka.ms/iotSuiteDoc
https://www.azureiotsuite.com
Resources & Links
http://angelusgi.azurewebsites.net/2018/09/14/dotnet-
conf-2018-internet-of-everything-lets-talk-about-iot-
and-azure/
https://channel9.msdn.com/Events/dotnetConf/2018/S
308
That’s all!
Q&A

More Related Content

DOCX
Inventory program in mca p1
PPTX
Eddystone Beacons - Physical Web - Giving a URL to All Objects
PPTX
Beacons, Raspberry Pi & Node.js
PDF
How To Electrocute Yourself using the Internet
PPTX
Understanding angular meteor
PPTX
IoT on Raspberry PI v1.2
PPTX
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...
PPTX
IoT on Raspberry Pi
Inventory program in mca p1
Eddystone Beacons - Physical Web - Giving a URL to All Objects
Beacons, Raspberry Pi & Node.js
How To Electrocute Yourself using the Internet
Understanding angular meteor
IoT on Raspberry PI v1.2
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...
IoT on Raspberry Pi

Similar to Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018 (20)

PPTX
Mini project final presentation
PPTX
Easy2park - A smarter way to find a parking lot
PDF
Scaling IoT: Telemetry, Command & Control, Analytics and the Cloud
PDF
Create The Internet of Your Things example of a real system - Laurent Ellerbach
PPTX
[University] Capstone Design Project 2 (SAIOT)
PDF
IoT Story: From Edge to HDP
PDF
2014 Technology_Disruption_Forum_SmartThings
PPTX
Lecture-6: Azure and Iot hub lecture.pptx
PPTX
SMART SIMINAR HALL.pptx
PDF
Road to RIoT 2017 Medan
PDF
Things.NET Presentation
PPTX
Building IoT Solutions using Windows IoT Core
PPTX
Industrial Pioneers Days - Machine Learning
PPTX
EU-IoT Training Workshops Series: AIoT and Edge Machine Learning 2021_Jens Ha...
DOCX
smart street light system using IOT
PDF
Iot vupico-damien-contreras-2018-05-17-light-v3
PPTX
Generating cross platform .NET based azure IoTdevice
PDF
IoT White Paper
PPTX
Azure Internet of Things
PPTX
IoT Week 2021_Jens Hagemeyer presentation
Mini project final presentation
Easy2park - A smarter way to find a parking lot
Scaling IoT: Telemetry, Command & Control, Analytics and the Cloud
Create The Internet of Your Things example of a real system - Laurent Ellerbach
[University] Capstone Design Project 2 (SAIOT)
IoT Story: From Edge to HDP
2014 Technology_Disruption_Forum_SmartThings
Lecture-6: Azure and Iot hub lecture.pptx
SMART SIMINAR HALL.pptx
Road to RIoT 2017 Medan
Things.NET Presentation
Building IoT Solutions using Windows IoT Core
Industrial Pioneers Days - Machine Learning
EU-IoT Training Workshops Series: AIoT and Edge Machine Learning 2021_Jens Ha...
smart street light system using IOT
Iot vupico-damien-contreras-2018-05-17-light-v3
Generating cross platform .NET based azure IoTdevice
IoT White Paper
Azure Internet of Things
IoT Week 2021_Jens Hagemeyer presentation
Ad

More from Angelo Gino Varrati (20)

PPTX
Progressive web app PWA - il futuro del web
PPSX
Eskills4change by Fondazione Mondo Digitale
PPTX
Azure for gaming
PPTX
Un caso di studio sui big data - Campus Connestions Summit 2018 - #CCS18
PPTX
Internet of things: dai sensori al cloud - Global Azure Bootcamp - GABRome18
PPTX
4th industrial revolution and cloud computing
PPTX
Hour of Code Minecraft
PPTX
Introduction to Xamarin and Xamarin Forms
PPSX
Microsoft Hololens (Novembre 2015)
PPTX
Microsoft azure for dream spark
PPTX
Introduzione al cloud computing e microsoft azure
PPTX
Iniziative e opportunità per gli studenti
PPTX
Microsoft Hololens @Sharper2015
PPTX
L'Aquila Student @Gocce di Nuvola Rosa
PPTX
Arduino to build a temperature graph on Azure
PPTX
Azure to build a real time chat in 15 minutes
PPTX
Word e PowerPoint per testi di laurea
PPTX
Microsoft Edge and Windows Hosted Web Apps
PPTX
Windows AppStudio, app without code
PPTX
Azure for DreamSpark: student's benefits and how to create a blog hosted by W...
Progressive web app PWA - il futuro del web
Eskills4change by Fondazione Mondo Digitale
Azure for gaming
Un caso di studio sui big data - Campus Connestions Summit 2018 - #CCS18
Internet of things: dai sensori al cloud - Global Azure Bootcamp - GABRome18
4th industrial revolution and cloud computing
Hour of Code Minecraft
Introduction to Xamarin and Xamarin Forms
Microsoft Hololens (Novembre 2015)
Microsoft azure for dream spark
Introduzione al cloud computing e microsoft azure
Iniziative e opportunità per gli studenti
Microsoft Hololens @Sharper2015
L'Aquila Student @Gocce di Nuvola Rosa
Arduino to build a temperature graph on Azure
Azure to build a real time chat in 15 minutes
Word e PowerPoint per testi di laurea
Microsoft Edge and Windows Hosted Web Apps
Windows AppStudio, app without code
Azure for DreamSpark: student's benefits and how to create a blog hosted by W...
Ad

Recently uploaded (20)

PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
WebRTC in SignalWire - troubleshooting media negotiation
DOCX
Unit-3 cyber security network security of internet system
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
Digital Literacy And Online Safety on internet
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
innovation process that make everything different.pptx
PPTX
Introduction to Information and Communication Technology
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
artificial intelligence overview of it and more
PPT
Ethics in Information System - Management Information System
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
522797556-Unit-2-Temperature-measurement-1-1.pptx
WebRTC in SignalWire - troubleshooting media negotiation
Unit-3 cyber security network security of internet system
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Digital Literacy And Online Safety on internet
Introuction about WHO-FIC in ICD-10.pptx
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
innovation process that make everything different.pptx
Introduction to Information and Communication Technology
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
Cloud-Scale Log Monitoring _ Datadog.pdf
Introuction about ICD -10 and ICD-11 PPT.pptx
presentation_pfe-universite-molay-seltan.pptx
Mathew Digital SEO Checklist Guidlines 2025
SAP Ariba Sourcing PPT for learning material
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
artificial intelligence overview of it and more
Ethics in Information System - Management Information System
Decoding a Decade: 10 Years of Applied CTI Discipline

Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018

Editor's Notes

  • #3: Use of the internet is now common-place, with bits flowing all day long.  Let’s review the use of Azure cloud technologies and how we can use those services with all of the gadgets, appliances, and mobile devices available to us.  We’ll learn how to use Azure services with some of these devices and how Internet of Things (IoT) services can be managed.
  • #30: It provides and example of Languge understand for automation in iot scenarios
  • #47: La reference architecture fornisce linee guida che debbono essere adattate allo scenario specifico. La componibilità dei servizi offerti da Azure (anche di terze parti) è la carta vincente per implementare soluzioni che si evolvono nel tempo. Azure IoT Suite è un ottimo modo per capire e sperimentare una soluzione IoT chiavi in mano che può essere facilmente adattata ad una soluzione reale.