SlideShare ist ein Scribd-Unternehmen logo
1 von 47
Lee Richardson
@lprichar
http://www.leerichardson.com
Introduction to
Windows IoT
via Raspberry Pi 3
Microsoft Maniacs Metup – January 19, 2017
Lee Richardson
@lprichar
www.leerichardson.com
Microsoft
.NET
I
WE BUILD AWESOME
SOFTWARE.
http://xamarincodehour.com
sirenofshame.com
Microsoft
.NETMaker
2
IoT
=+
Overview
• Part 1: What, Why
• Part 2: How
• Part 3: Connectivity
• Part 4: GPIO
• Part 5: Remote Controlled Car
Cost: $$
Updates: Deferrable
Cost: $
Updates Deferrable
Cost: Free
Updates Automatic
X86 or X64 or ARM
X86 or X64 or ARM
X86 or ARM
Raspberry Pi 3* Raspberry Pi 2 MinnowBoard
MAX
DragonBoard 410c Intel Joule
$35 $35 $99 $75 $315
Broadcom BCM2837 Broadcom
BCM2836
Intel Atom (x86) Qualcomm Snap
Dragon 410
Intel Atom (x86)
900MHz Quad-Core
ARM Cortex A53
900MHz Quad-Core
ARM Cortex A7
1.91GHz Atom
E3845
900MHz Quad-Core
ARM Cortex A7
1.7 GHz Quad-Core
Atom
On-board WiFi** &
Bluetooth**
Firmware TPM On-board WiFi* &
Bluetooth & GPS
WiFi
IoT Core Boards
• System On Chip
• Operating System (Multitasking)
• USB (Mouse, Keyboard)
• HDMI / GPU
• Internet Connected
Arduino
• Microcontroller
• Single Program
• ~$2
Raspberry Pi
Linux vs Windows IoT
• Automatic Updates
• Identity Protection
• Trusted Platform
Module (TPM)*
• Native UEFI*
• BitLocker*
• Enterprise Data
Protection
• Azure IoT Hub
• Azure Iot Suite
• SignalR
• AllJoyn
• Http
• Visual Studio
• UWP
• Remote Desktop
• Language Support
• C#
• Python
• JavaScript
• Arduino C + Arduino
Libraries
• Learning Curve
Security Connectivity Ecosystem
*Only on MinnowBoard Max and Qualcomm DragonBoard
$1.3 trillionMarket for IoT by 2020
IDC
25 billionConnected “things” by 2020
Gartner
Part 2: How
• Stuff You Need
• Device Setup
• Dev Environment Setup
• Hello World
Ensure
>= 2 Amp
Output
https://developer.microsoft.com/en-us/windows/iot/win10/SupportedInterfaces.htm
Part 2: How
• Stuff You Need
• Device Setup
• Dev Environment Setup
• Hello World
IoT Dashboard
http://ms-iot.github.io/content/en-US/win10/GetStartedManually.htm
Or Getting Started With Windows IoT And Raspberry PI 3 at http://blog.infernored.com or http://www.leerichardson.com
Basically:
1. Install IoT
Dashboard
2. Set up a new
device
3. Burn Image to
SD Card >
Plug In
• Ethernet (optional)
• Keyboard/Mouse
• HDMI
• Power
Turn On
(optional)
Set Up Wifi
Default Credentials
Username: Administrator
Password: [user provided]
Part 2: How
• Stuff You Need
• Device Setup
• Dev Environment Setup
• Hello World
Things To Install
• Visual Studio (Any Edition)
• Universal Windows App Development Tools
• Windows IoT Core Project Templates
• https://visualstudiogallery.msdn.microsoft.com/55b35
7e1-a533-43ad-82a5-a88ac4b01dec
• Enable Developer Mode
Demo Time – Hello World
Part 3: Connectivity
• SignalR
• Azure IoT
• Alljoyn
• Web Server
SignalR Demo
• Simple, Fast, Nuget download
• But on ARM
private async Task InitializeSignalR()
{
var cn = new HubConnection("http://mysite.com");
var proxy = cn.CreateHubProxy("MyHub");
proxy.On<string>("itHappened", OnItHappened);
await cn.Start();
}
Azure IoT Hub
Azure IoT Hub
Device Explorer
Device
Azure IoT
Hub
Prerequisites
• Visual Studio Extension
https://visualstudiogallery.msdn.microsoft.com/e254a3a5-d72e-488e-
9bd3-8fee8e0cd1d6
• Hub Device Explorer
https://github.com/Azure/azure-iot-sdks
Benefits
• Per-device authentication
• Secure connection
• Massively scales
AllJoyn
• P2P, Discoverable
• Open Source Standard
• Core component in Windows 10
• https://allseenalliance.org/
AllJoyn
Consumer
Discoverability
2-way Communication
AllJoyn
Producer
Web Browser
or Any App
HTTP
Web Server on Pi
• P2P Communication
• Headless
• Also available via Node
Background
App
Part 4: GPIO
GPIODemo
Web Server Demo
• Headless Background Task
• Open Firewall
• Log in with Powershell
http://ms-iot.github.io/content/en-US/win10/samples/PowerShell.htm
• netsh advfirewall firewall add rule name=[Any name
to identify rule] dir=in action=allow protocol=TCP
localport=[Port number]
PWM
See Also: How to Fade an LED with PWM at http://blog.infernored.com or http://www.leerichardson.com
1. Lightning Driver 
2. Lightning SDK (Microsoft.Iot.Lightning)
3. Permissions
xmlns:iot="http://schemas.microsoft.com/
appx/manifest/iot/windows10"
<iot:Capability Name="lowLevelDevices" />
<DeviceCapability Name="109b86ad-f53d-4b76-aa5f-821e2ddf2141"/>
if (LightningProvider.IsLightningEnabled) {
LowLevelDevicesController.DefaultProvider =
LightningProvider.GetAggregateProvider();
var pwmControllers =
await PwmController.GetControllersAsync(LightningPwmProvider.GetPwmProvider());
var pwmController = pwmControllers[1]; // use the on-device controller
pwmController.SetDesiredFrequency(50); // try to match 50Hz
_pin = pwmController.OpenPin(22);
_pin.SetActiveDutyCyclePercentage(.25);
_pin.Start();
}
4. Code
Part 5: RC Car
• Prototyped
• 3D Printed Components
• Custom PCB Board
• Designed with Eagle -
http://www.cadsoftusa.com/
• Printed at OSH Park -
https://oshpark.com/
• Plans on Github
• http://www.github.com/lprichar/IotRcCar
Resources
• These slides:
• http://www.slideshare.net/LeeRichardson13/introduction-to-windows-
iot-via-raspberry-pi-3
• IotRcCar Source Code
• https://github.com/lprichar/IotRcCar
http://themakermap.com/
Access To
• 3D Printers
• Laser Cutter
• Arduino Classes
• CNC Mill
TechShop
http://techshop.ws
2110 Crystal Dr # B,
Arlington, VA 22202
Next Up: Build Something
• Grilling - Temperature Controlled BBQ Fan
• Foosball – Workplace table monitor
• Safety - Smart smoke detector
• Drinking - Alcohol breathalyzer
• Gardening - Per-plant water monitor and drip
• Homeowner - Window/door temperature tracker
• Cigars - Humidity controlled humidor
• https://developer.microsoft.com/en-us/windows/iot
Lee Richardson
@lprichar
http://www.leerichardson.com
Introduction to
Windows IoT
via Raspberry Pi 3

Weitere ähnliche Inhalte

Was ist angesagt?

Amazon resource for bioinformatics
Amazon resource for bioinformaticsAmazon resource for bioinformatics
Amazon resource for bioinformaticsBrad Chapman
 
Getting started on IoT with AWS and NodeMCU for less than 5€
Getting started on IoT with AWS and NodeMCU for less than 5€Getting started on IoT with AWS and NodeMCU for less than 5€
Getting started on IoT with AWS and NodeMCU for less than 5€Stylight
 
Mob324 Windows IoT Core Dave Glover Microsoft Australia
Mob324 Windows IoT Core Dave Glover Microsoft AustraliaMob324 Windows IoT Core Dave Glover Microsoft Australia
Mob324 Windows IoT Core Dave Glover Microsoft AustraliaDave Glover
 
Up in the air serverless computing with azure functions
Up in the air   serverless computing with azure functionsUp in the air   serverless computing with azure functions
Up in the air serverless computing with azure functionsJan Fellien
 
HannaRaspberryPi
HannaRaspberryPiHannaRaspberryPi
HannaRaspberryPiAmber Hanna
 
Jupyterの機能を拡張してみた
Jupyterの機能を拡張してみたJupyterの機能を拡張してみた
Jupyterの機能を拡張してみたtaka400k
 
Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...
Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...
Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...George Spyrou
 
IoT: Docker and Raspberry Pi for CamJam
IoT: Docker and Raspberry Pi for CamJamIoT: Docker and Raspberry Pi for CamJam
IoT: Docker and Raspberry Pi for CamJamAlex Ellis
 
All things open 2019 - Istio 1.3-new
All things open 2019 - Istio 1.3-newAll things open 2019 - Istio 1.3-new
All things open 2019 - Istio 1.3-newLin Sun
 
All things open 2019 crazy-sm-ecosystem
All things open 2019 crazy-sm-ecosystemAll things open 2019 crazy-sm-ecosystem
All things open 2019 crazy-sm-ecosystemLin Sun
 
FIWARE Developers Week_Kurent_exercises
FIWARE Developers Week_Kurent_exercisesFIWARE Developers Week_Kurent_exercises
FIWARE Developers Week_Kurent_exercisesFIWARE
 
Sponia with QingCloud
Sponia with QingCloudSponia with QingCloud
Sponia with QingCloudGong Haibing
 
Rapid Prototyping with AWS IoT and Mongoose OS on ESP32 Platform
Rapid Prototyping with AWS IoT and Mongoose OS on ESP32 PlatformRapid Prototyping with AWS IoT and Mongoose OS on ESP32 Platform
Rapid Prototyping with AWS IoT and Mongoose OS on ESP32 PlatformAmazon Web Services
 
サイボウズの開発を支える GitHub × CircleCI
サイボウズの開発を支える GitHub × CircleCIサイボウズの開発を支える GitHub × CircleCI
サイボウズの開発を支える GitHub × CircleCIJumpei Miyata
 
API 102: Programming with Meraki APIs
API 102: Programming with Meraki APIsAPI 102: Programming with Meraki APIs
API 102: Programming with Meraki APIsJoel W. King
 
What is serveless?
What is serveless? What is serveless?
What is serveless? Provectus
 
OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes Provectus
 
IoT + Docker - securing the datacenter, Peterborough
IoT + Docker - securing the datacenter, PeterboroughIoT + Docker - securing the datacenter, Peterborough
IoT + Docker - securing the datacenter, PeterboroughAlex Ellis
 

Was ist angesagt? (20)

Amazon resource for bioinformatics
Amazon resource for bioinformaticsAmazon resource for bioinformatics
Amazon resource for bioinformatics
 
Getting started on IoT with AWS and NodeMCU for less than 5€
Getting started on IoT with AWS and NodeMCU for less than 5€Getting started on IoT with AWS and NodeMCU for less than 5€
Getting started on IoT with AWS and NodeMCU for less than 5€
 
Mob324 Windows IoT Core Dave Glover Microsoft Australia
Mob324 Windows IoT Core Dave Glover Microsoft AustraliaMob324 Windows IoT Core Dave Glover Microsoft Australia
Mob324 Windows IoT Core Dave Glover Microsoft Australia
 
Up in the air serverless computing with azure functions
Up in the air   serverless computing with azure functionsUp in the air   serverless computing with azure functions
Up in the air serverless computing with azure functions
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
HannaRaspberryPi
HannaRaspberryPiHannaRaspberryPi
HannaRaspberryPi
 
Jupyterの機能を拡張してみた
Jupyterの機能を拡張してみたJupyterの機能を拡張してみた
Jupyterの機能を拡張してみた
 
Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...
Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...
Global Azure Bootcamp 2018 - Using Azure Functions and Microsoft Cognitive Se...
 
IoT: Docker and Raspberry Pi for CamJam
IoT: Docker and Raspberry Pi for CamJamIoT: Docker and Raspberry Pi for CamJam
IoT: Docker and Raspberry Pi for CamJam
 
All things open 2019 - Istio 1.3-new
All things open 2019 - Istio 1.3-newAll things open 2019 - Istio 1.3-new
All things open 2019 - Istio 1.3-new
 
All things open 2019 crazy-sm-ecosystem
All things open 2019 crazy-sm-ecosystemAll things open 2019 crazy-sm-ecosystem
All things open 2019 crazy-sm-ecosystem
 
FIWARE Developers Week_Kurent_exercises
FIWARE Developers Week_Kurent_exercisesFIWARE Developers Week_Kurent_exercises
FIWARE Developers Week_Kurent_exercises
 
Home Automation
Home AutomationHome Automation
Home Automation
 
Sponia with QingCloud
Sponia with QingCloudSponia with QingCloud
Sponia with QingCloud
 
Rapid Prototyping with AWS IoT and Mongoose OS on ESP32 Platform
Rapid Prototyping with AWS IoT and Mongoose OS on ESP32 PlatformRapid Prototyping with AWS IoT and Mongoose OS on ESP32 Platform
Rapid Prototyping with AWS IoT and Mongoose OS on ESP32 Platform
 
サイボウズの開発を支える GitHub × CircleCI
サイボウズの開発を支える GitHub × CircleCIサイボウズの開発を支える GitHub × CircleCI
サイボウズの開発を支える GitHub × CircleCI
 
API 102: Programming with Meraki APIs
API 102: Programming with Meraki APIsAPI 102: Programming with Meraki APIs
API 102: Programming with Meraki APIs
 
What is serveless?
What is serveless? What is serveless?
What is serveless?
 
OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes
 
IoT + Docker - securing the datacenter, Peterborough
IoT + Docker - securing the datacenter, PeterboroughIoT + Docker - securing the datacenter, Peterborough
IoT + Docker - securing the datacenter, Peterborough
 

Andere mochten auch

Internet of things (IoT)
Internet of things (IoT)Internet of things (IoT)
Internet of things (IoT)Ankur Pipara
 
5G Mobile Technology
5G Mobile Technology5G Mobile Technology
5G Mobile TechnologyIF Engineer 2
 
Create the Internet of Your Things with Microsoft Azure IoT
Create the Internet of Your Things with Microsoft Azure IoTCreate the Internet of Your Things with Microsoft Azure IoT
Create the Internet of Your Things with Microsoft Azure IoTStefano Tempesta
 
5G Concept
5G Concept5G Concept
5G ConceptEricsson
 
IoT Standards: The Next Generation
IoT Standards: The Next GenerationIoT Standards: The Next Generation
IoT Standards: The Next GenerationReadWrite
 
5G Services Story
5G Services Story5G Services Story
5G Services StoryEricsson
 
IoT Developer Survey 2016
IoT Developer Survey 2016IoT Developer Survey 2016
IoT Developer Survey 2016Ian Skerrett
 
Paving the path to Narrowband 5G with LTE IoT
Paving the path to Narrowband 5G with LTE IoTPaving the path to Narrowband 5G with LTE IoT
Paving the path to Narrowband 5G with LTE IoTQualcomm Research
 
Internet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An IcebergInternet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An IcebergDr. Mazlan Abbas
 
Internet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and ApplicationsInternet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and ApplicationsDr. Mazlan Abbas
 
5G MOBILE TECHNOLOGY PPT
5G MOBILE TECHNOLOGY PPT5G MOBILE TECHNOLOGY PPT
5G MOBILE TECHNOLOGY PPTpriyanka reddy
 
Introduction to IOT & Smart City
Introduction to IOT & Smart CityIntroduction to IOT & Smart City
Introduction to IOT & Smart CityDr. Mazlan Abbas
 
IoT - IT 423 ppt
IoT - IT 423 pptIoT - IT 423 ppt
IoT - IT 423 pptMhae Lyn
 
Generations of network 1 g, 2g, 3g, 4g, 5g
Generations of network 1 g, 2g, 3g, 4g, 5gGenerations of network 1 g, 2g, 3g, 4g, 5g
Generations of network 1 g, 2g, 3g, 4g, 5gNoor Mohammad's Faltoos
 

Andere mochten auch (19)

Internet of things (IoT)
Internet of things (IoT)Internet of things (IoT)
Internet of things (IoT)
 
5G Mobile Technology
5G Mobile Technology5G Mobile Technology
5G Mobile Technology
 
Create the Internet of Your Things with Microsoft Azure IoT
Create the Internet of Your Things with Microsoft Azure IoTCreate the Internet of Your Things with Microsoft Azure IoT
Create the Internet of Your Things with Microsoft Azure IoT
 
5G Concept
5G Concept5G Concept
5G Concept
 
IoT Standards: The Next Generation
IoT Standards: The Next GenerationIoT Standards: The Next Generation
IoT Standards: The Next Generation
 
Seminar presentation on 5G
Seminar presentation on 5GSeminar presentation on 5G
Seminar presentation on 5G
 
5G Services Story
5G Services Story5G Services Story
5G Services Story
 
5G PPT
5G PPT5G PPT
5G PPT
 
IoT Developer Survey 2016
IoT Developer Survey 2016IoT Developer Survey 2016
IoT Developer Survey 2016
 
Paving the path to Narrowband 5G with LTE IoT
Paving the path to Narrowband 5G with LTE IoTPaving the path to Narrowband 5G with LTE IoT
Paving the path to Narrowband 5G with LTE IoT
 
5G: Your Questions Answered
5G: Your Questions Answered5G: Your Questions Answered
5G: Your Questions Answered
 
Internet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An IcebergInternet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An Iceberg
 
Internet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and ApplicationsInternet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and Applications
 
5G MOBILE TECHNOLOGY PPT
5G MOBILE TECHNOLOGY PPT5G MOBILE TECHNOLOGY PPT
5G MOBILE TECHNOLOGY PPT
 
Introduction to IOT & Smart City
Introduction to IOT & Smart CityIntroduction to IOT & Smart City
Introduction to IOT & Smart City
 
5G tecnology
5G tecnology5G tecnology
5G tecnology
 
IoT - IT 423 ppt
IoT - IT 423 pptIoT - IT 423 ppt
IoT - IT 423 ppt
 
Generations of network 1 g, 2g, 3g, 4g, 5g
Generations of network 1 g, 2g, 3g, 4g, 5gGenerations of network 1 g, 2g, 3g, 4g, 5g
Generations of network 1 g, 2g, 3g, 4g, 5g
 
IoT architecture
IoT architectureIoT architecture
IoT architecture
 

Ähnlich wie Introduction to Windows IoT Nov 2017

Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3Lee Richardson
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Peter Gallagher
 
The Next Leap in JavaScript Performance
The Next Leap in JavaScript PerformanceThe Next Leap in JavaScript Performance
The Next Leap in JavaScript PerformanceIntel® Software
 
Internet of Things & Co.
Internet of Things & Co.Internet of Things & Co.
Internet of Things & Co.Damir Dobric
 
Welcome to hello real world
Welcome to hello real worldWelcome to hello real world
Welcome to hello real worldAkihiko Kigure
 
Mozilla chirimen firefox os dwika v5
Mozilla chirimen firefox os dwika v5Mozilla chirimen firefox os dwika v5
Mozilla chirimen firefox os dwika v5Dwika Sudrajat
 
Edge computing in practice using IoT, Tensorflow and Google Cloud
Edge computing in practice using IoT, Tensorflow and Google CloudEdge computing in practice using IoT, Tensorflow and Google Cloud
Edge computing in practice using IoT, Tensorflow and Google CloudAlvaro Viebrantz
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura
 
NET core 2 e i fratelli
NET core 2 e i fratelliNET core 2 e i fratelli
NET core 2 e i fratelliAndrea Tosato
 
Community works for muli core embedded image processing
Community works for muli core embedded image processingCommunity works for muli core embedded image processing
Community works for muli core embedded image processingJeongpyo Kong
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 OverviewTokyo Azure Meetup
 
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamQuick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamMif Masterz
 
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...mCloud
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywheressuser06ea42
 

Ähnlich wie Introduction to Windows IoT Nov 2017 (20)

Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3
 
Windows 10 IoT Core
Windows 10 IoT CoreWindows 10 IoT Core
Windows 10 IoT Core
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
 
The Next Leap in JavaScript Performance
The Next Leap in JavaScript PerformanceThe Next Leap in JavaScript Performance
The Next Leap in JavaScript Performance
 
Internet of Things & Co.
Internet of Things & Co.Internet of Things & Co.
Internet of Things & Co.
 
Developers Safari into the Internet of Things (IoT) with Pi
Developers Safari into the Internet of Things (IoT) with PiDevelopers Safari into the Internet of Things (IoT) with Pi
Developers Safari into the Internet of Things (IoT) with Pi
 
IoT-javascript-2019-fosdem
IoT-javascript-2019-fosdemIoT-javascript-2019-fosdem
IoT-javascript-2019-fosdem
 
Welcome to hello real world
Welcome to hello real worldWelcome to hello real world
Welcome to hello real world
 
Mozilla chirimen firefox os dwika v5
Mozilla chirimen firefox os dwika v5Mozilla chirimen firefox os dwika v5
Mozilla chirimen firefox os dwika v5
 
Edge computing in practice using IoT, Tensorflow and Google Cloud
Edge computing in practice using IoT, Tensorflow and Google CloudEdge computing in practice using IoT, Tensorflow and Google Cloud
Edge computing in practice using IoT, Tensorflow and Google Cloud
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura Shoot a-pi
Eclipse Kura Shoot a-pi
 
NET core 2 e i fratelli
NET core 2 e i fratelliNET core 2 e i fratelli
NET core 2 e i fratelli
 
Community works for muli core embedded image processing
Community works for muli core embedded image processingCommunity works for muli core embedded image processing
Community works for muli core embedded image processing
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 Overview
 
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamQuick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
 
IoT on Azure
IoT on AzureIoT on Azure
IoT on Azure
 
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywhere
 
Kivy report
Kivy reportKivy report
Kivy report
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 

Kürzlich hochgeladen

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Introduction to Windows IoT Nov 2017

  • 1. Lee Richardson @lprichar http://www.leerichardson.com Introduction to Windows IoT via Raspberry Pi 3 Microsoft Maniacs Metup – January 19, 2017
  • 8. Overview • Part 1: What, Why • Part 2: How • Part 3: Connectivity • Part 4: GPIO • Part 5: Remote Controlled Car
  • 9. Cost: $$ Updates: Deferrable Cost: $ Updates Deferrable Cost: Free Updates Automatic X86 or X64 or ARM X86 or X64 or ARM X86 or ARM
  • 10. Raspberry Pi 3* Raspberry Pi 2 MinnowBoard MAX DragonBoard 410c Intel Joule $35 $35 $99 $75 $315 Broadcom BCM2837 Broadcom BCM2836 Intel Atom (x86) Qualcomm Snap Dragon 410 Intel Atom (x86) 900MHz Quad-Core ARM Cortex A53 900MHz Quad-Core ARM Cortex A7 1.91GHz Atom E3845 900MHz Quad-Core ARM Cortex A7 1.7 GHz Quad-Core Atom On-board WiFi** & Bluetooth** Firmware TPM On-board WiFi* & Bluetooth & GPS WiFi IoT Core Boards
  • 11. • System On Chip • Operating System (Multitasking) • USB (Mouse, Keyboard) • HDMI / GPU • Internet Connected Arduino • Microcontroller • Single Program • ~$2 Raspberry Pi
  • 12. Linux vs Windows IoT • Automatic Updates • Identity Protection • Trusted Platform Module (TPM)* • Native UEFI* • BitLocker* • Enterprise Data Protection • Azure IoT Hub • Azure Iot Suite • SignalR • AllJoyn • Http • Visual Studio • UWP • Remote Desktop • Language Support • C# • Python • JavaScript • Arduino C + Arduino Libraries • Learning Curve Security Connectivity Ecosystem *Only on MinnowBoard Max and Qualcomm DragonBoard
  • 13. $1.3 trillionMarket for IoT by 2020 IDC 25 billionConnected “things” by 2020 Gartner
  • 14. Part 2: How • Stuff You Need • Device Setup • Dev Environment Setup • Hello World
  • 16.
  • 17.
  • 19.
  • 20. Part 2: How • Stuff You Need • Device Setup • Dev Environment Setup • Hello World
  • 21. IoT Dashboard http://ms-iot.github.io/content/en-US/win10/GetStartedManually.htm Or Getting Started With Windows IoT And Raspberry PI 3 at http://blog.infernored.com or http://www.leerichardson.com Basically: 1. Install IoT Dashboard 2. Set up a new device 3. Burn Image to SD Card >
  • 22. Plug In • Ethernet (optional) • Keyboard/Mouse • HDMI • Power Turn On
  • 25.
  • 26. Part 2: How • Stuff You Need • Device Setup • Dev Environment Setup • Hello World
  • 27. Things To Install • Visual Studio (Any Edition) • Universal Windows App Development Tools • Windows IoT Core Project Templates • https://visualstudiogallery.msdn.microsoft.com/55b35 7e1-a533-43ad-82a5-a88ac4b01dec • Enable Developer Mode
  • 28. Demo Time – Hello World
  • 29. Part 3: Connectivity • SignalR • Azure IoT • Alljoyn • Web Server
  • 30. SignalR Demo • Simple, Fast, Nuget download • But on ARM private async Task InitializeSignalR() { var cn = new HubConnection("http://mysite.com"); var proxy = cn.CreateHubProxy("MyHub"); proxy.On<string>("itHappened", OnItHappened); await cn.Start(); }
  • 31. Azure IoT Hub Azure IoT Hub Device Explorer Device Azure IoT Hub Prerequisites • Visual Studio Extension https://visualstudiogallery.msdn.microsoft.com/e254a3a5-d72e-488e- 9bd3-8fee8e0cd1d6 • Hub Device Explorer https://github.com/Azure/azure-iot-sdks Benefits • Per-device authentication • Secure connection • Massively scales
  • 32.
  • 33. AllJoyn • P2P, Discoverable • Open Source Standard • Core component in Windows 10 • https://allseenalliance.org/ AllJoyn Consumer Discoverability 2-way Communication AllJoyn Producer
  • 34. Web Browser or Any App HTTP Web Server on Pi • P2P Communication • Headless • Also available via Node Background App
  • 37. Web Server Demo • Headless Background Task • Open Firewall • Log in with Powershell http://ms-iot.github.io/content/en-US/win10/samples/PowerShell.htm • netsh advfirewall firewall add rule name=[Any name to identify rule] dir=in action=allow protocol=TCP localport=[Port number]
  • 38. PWM See Also: How to Fade an LED with PWM at http://blog.infernored.com or http://www.leerichardson.com
  • 39. 1. Lightning Driver  2. Lightning SDK (Microsoft.Iot.Lightning) 3. Permissions xmlns:iot="http://schemas.microsoft.com/ appx/manifest/iot/windows10" <iot:Capability Name="lowLevelDevices" /> <DeviceCapability Name="109b86ad-f53d-4b76-aa5f-821e2ddf2141"/> if (LightningProvider.IsLightningEnabled) { LowLevelDevicesController.DefaultProvider = LightningProvider.GetAggregateProvider(); var pwmControllers = await PwmController.GetControllersAsync(LightningPwmProvider.GetPwmProvider()); var pwmController = pwmControllers[1]; // use the on-device controller pwmController.SetDesiredFrequency(50); // try to match 50Hz _pin = pwmController.OpenPin(22); _pin.SetActiveDutyCyclePercentage(.25); _pin.Start(); } 4. Code
  • 40. Part 5: RC Car • Prototyped • 3D Printed Components • Custom PCB Board • Designed with Eagle - http://www.cadsoftusa.com/ • Printed at OSH Park - https://oshpark.com/ • Plans on Github • http://www.github.com/lprichar/IotRcCar
  • 41.
  • 42.
  • 43. Resources • These slides: • http://www.slideshare.net/LeeRichardson13/introduction-to-windows- iot-via-raspberry-pi-3 • IotRcCar Source Code • https://github.com/lprichar/IotRcCar
  • 44. http://themakermap.com/ Access To • 3D Printers • Laser Cutter • Arduino Classes • CNC Mill
  • 46. Next Up: Build Something • Grilling - Temperature Controlled BBQ Fan • Foosball – Workplace table monitor • Safety - Smart smoke detector • Drinking - Alcohol breathalyzer • Gardening - Per-plant water monitor and drip • Homeowner - Window/door temperature tracker • Cigars - Humidity controlled humidor • https://developer.microsoft.com/en-us/windows/iot

Hinweis der Redaktion

  1. Hi, I’m Lee Richardson. I’ve been developing and consulting in the DC area for nearly 2 decades now. I’m going to open with a secret.
  2. I love .Net. I’ve been developing with it since it was released in 2001 and have been watching with pride as it has grown and gotten more and more awesome. As much as I like TypeScript and F# .Net is my first love.
  3. Which is why I love my day job which is consulting for Inferno Red, writing cross platform iOS and Androids apps in Xamarin. I get to work from home and annually they pay to send the entire company to Build. It’s a great company, they’re a gold sponsor, and they’re always looking for great talent. However, I’m also a maker. That’s my second love. In my spare time I like to fiddle with things that interact with the real world. For instance I make and sell sirens.
  4. You connect them up to your build server, and when the build breaks the lights flash and the speaker goes: wah wah wah. That’s Siren of Shame and it’s powered by an Atmel chip which is what runs Arduinos.
  5. And this is what I love about Windows IoT. It combines two things that don’t traditionally work very well together. The motor shown here, btw they showed at build this year. It’s a closed loop motor that will increase power to maintain RPM’s. It’s written in Windows IoT and .Net, which is really cool.
  6. Windows IoT is an operating system. It comes in 3 editions ^. The one most people will care about is Iot Core because it’s free. Cost: you’re probably thinking it’s free right up until you start making money or something. Not so, you can So if you aren’t being forced to, why would you pay money? The better shell; and Deferrable updates
  7. I’ve highlighted some of the reasons you might want to use different boards. You may notice there’s one board conspicuously absent. Where’s the Arduino?
  8. Windows IoT doesn’t run on Arduino because Arduino doesn’t run an operating system.
  9. You can get a case if you want to, but …
  10. Because if you can’t laugh at yourself, then that just means people are laughing at you.
  11. The latest Windows IoT bits do not have a driver for Raspberry Pi 3’s built in wifi or Bluetooth. They promise they will soon.
  12. Hi, I’m Lee Richardson. I’ve been developing and consulting in the DC area for nearly 2 decades now. I’m going to open with a secret.