Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
Seminar presentation on 5G
Next

1

Share

Introduction to Windows IoT Nov 2017

An updated version of my previous Windows IoT presentation

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Introduction to Windows IoT Nov 2017

  1. 1. Lee Richardson @lprichar http://www.leerichardson.com Introduction to Windows IoT via Raspberry Pi 3 Microsoft Maniacs Metup – January 19, 2017
  2. 2. Lee Richardson @lprichar www.leerichardson.com
  3. 3. Microsoft .NET I
  4. 4. WE BUILD AWESOME SOFTWARE.
  5. 5. http://xamarincodehour.com
  6. 6. sirenofshame.com
  7. 7. Microsoft .NETMaker 2 IoT =+
  8. 8. Overview • Part 1: What, Why • Part 2: How • Part 3: Connectivity • Part 4: GPIO • Part 5: Remote Controlled Car
  9. 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. 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. 11. • System On Chip • Operating System (Multitasking) • USB (Mouse, Keyboard) • HDMI / GPU • Internet Connected Arduino • Microcontroller • Single Program • ~$2 Raspberry Pi
  12. 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. 13. $1.3 trillionMarket for IoT by 2020 IDC 25 billionConnected “things” by 2020 Gartner
  14. 14. Part 2: How • Stuff You Need • Device Setup • Dev Environment Setup • Hello World
  15. 15. Ensure >= 2 Amp Output
  16. 16. https://developer.microsoft.com/en-us/windows/iot/win10/SupportedInterfaces.htm
  17. 17. Part 2: How • Stuff You Need • Device Setup • Dev Environment Setup • Hello World
  18. 18. 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 >
  19. 19. Plug In • Ethernet (optional) • Keyboard/Mouse • HDMI • Power Turn On
  20. 20. (optional) Set Up Wifi
  21. 21. Default Credentials Username: Administrator Password: [user provided]
  22. 22. Part 2: How • Stuff You Need • Device Setup • Dev Environment Setup • Hello World
  23. 23. 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
  24. 24. Demo Time – Hello World
  25. 25. Part 3: Connectivity • SignalR • Azure IoT • Alljoyn • Web Server
  26. 26. 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(); }
  27. 27. 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
  28. 28. AllJoyn • P2P, Discoverable • Open Source Standard • Core component in Windows 10 • https://allseenalliance.org/ AllJoyn Consumer Discoverability 2-way Communication AllJoyn Producer
  29. 29. Web Browser or Any App HTTP Web Server on Pi • P2P Communication • Headless • Also available via Node Background App
  30. 30. Part 4: GPIO
  31. 31. GPIODemo
  32. 32. 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]
  33. 33. PWM See Also: How to Fade an LED with PWM at http://blog.infernored.com or http://www.leerichardson.com
  34. 34. 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
  35. 35. 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
  36. 36. Resources • These slides: • http://www.slideshare.net/LeeRichardson13/introduction-to-windows- iot-via-raspberry-pi-3 • IotRcCar Source Code • https://github.com/lprichar/IotRcCar
  37. 37. http://themakermap.com/ Access To • 3D Printers • Laser Cutter • Arduino Classes • CNC Mill
  38. 38. TechShop http://techshop.ws 2110 Crystal Dr # B, Arlington, VA 22202
  39. 39. 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
  40. 40. Lee Richardson @lprichar http://www.leerichardson.com Introduction to Windows IoT via Raspberry Pi 3
  • RickWilliamsPhD

    Nov. 21, 2017

An updated version of my previous Windows IoT presentation

Views

Total views

537

On Slideshare

0

From embeds

0

Number of embeds

0

Actions

Downloads

0

Shares

0

Comments

0

Likes

1

×