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.

Windows 10 IoT Core, a real sample

1,732 views

Published on

Tips & tricks about a Windows 10 IoT Core real sample device

Published in: Technology
  • Be the first to comment

Windows 10 IoT Core, a real sample

  1. 1. www.xedotnet.org XeIdentityDevice - Windows 10 IoT Core, a "real case" Mirco Vanini Microsoft® MVP Windows Hardware Engineering (IoT, Mobile, and Desktop)
  2. 2. Platform Convergence Windows 10 for Industry Devices Windows Universal App Platform The hardware parts Put all together 04/04/16 2 Agenda
  3. 3. 04/04/16 3 Platform Convergence Journey
  4. 4. 04/04/16 4 Windows 10 for Industry Devices
  5. 5. 04/04/16 5 Windows 10 Industry Editions
  6. 6. 04/04/16 6 Windows Universal App Platform
  7. 7. 04/04/16 7 Building IoT Devices with UAP
  8. 8. 04/04/16 8 Porting Existing Apps/Drivers to Windows 10 IoT for Small Devices
  9. 9. A 900MHz quad-core ARM Cortex-A7 CPU 1GB RAM 4 USB ports 40 GPIO pins Full HDMI port Ethernet port Combined 3.5mm audio jack and composite video Camera interface (CSI) Display interface (DSI) Micro SD card slot VideoCore IV 3D graphics core 04/04/16 9 Raspberry PI 2 Model B
  10. 10. Interfaces: PS2, RS-232, USB-HID, USB Virtual COM, WAND, OPOS, JPOS BarCode (1D): UPC/EAN/JAN, UPC-A & UPC-E, EAN-8 & EAN-13, JAN-8 & JAN-13, ISBN/ISSN, Code 39, Codabar, Code 128 & EAN 128, Code 93, ITF 2 of 5, IATA Code, MSI, China Postal Code, Code 32, Industrial 2 of 5, Standard 2 of 5, JAP, Code 11, GS1 DataBar, GS1 DataBar Limited, GS1 DataBar Expanded 04/04/16 10 AXON – CS2200
  11. 11. NFC Forum device requirements V1.3 compliant for all modes Integrated communication protocols to support Read/Write, Peer-to-Peer, and Card Emulation mode Supports NFC Forum Type 1/2/3/4/5 Tags Drivers for easy integration into Linux, Android and Windows IoT based systems NCI over I²C host interface PN7120 NFC Controller Board: Main board including a PN7120 NFC controller, an integrated antenna, an option for custom antennas as well as unified connectors to the interface boards 04/04/16 11 NXP - PN7120 NFC Controller SBC
  12. 12. USB Wireless N 150Mbps Seamlessly compatible with 802.11b/g/n products Advanced Security: Supports WEP, WPA/WPA2, WPA-PSK/WPA2-PSK 04/04/16 12 TP-LINK TL-WN725N
  13. 13. 04/04/16 13 Barcode scanner issues Barcode Reader HID doesn't works ! (PointOfService API) Windows-universal-samples - Barcode scanner sample “you can use barcode scanners from various manufacturers that adhere to the USB HID POS Scanner specification.”
  14. 14. 04/04/16 14 Barcode scanner workaround Win 10 IoT Core: Raspberry Pi 2 Peripherals – Connected Devices: USB HID Peripherals
  15. 15. 04/04/16 15 USB – Serial Device Driver Installing the FTDI D2XX drivers on the Raspberry PI 1. go to [device-name]c$windowssystem32 , login with username: [device- name]administrator and the administrator password 2. copy ftdi.d2xx.winrt.cat and FTDI.D2xx.WinRT.inf from libD2xx WinRT 1.0.2driver to the folder above 3. start a remote powershell (as administrator) session to the Raspberry PI: ◦start the remote service: net start WinRM a) add the Raspberry PI to the TrustedHosts if you haven't already: set-Item WSMan:localhostClientTrustedHosts -Value [device-name] b) start the session with: enter-pssession -computername [device-name] -credential [device- name]administrator this can take up to 30 seconds or more, so be patient 4. type cd c:windowssystem32 to go to the folder where the drivers are located 5. install the FTDI D2XX driver using the following command: devcon.exe dp_add FTDI.D2xx.WinRT.inf 6. reboot the device: shutdown /r /t 0 7. when rebooted reconnect again using last part of step 3
  16. 16. 04/04/16 16 SerialDevice – Discover var deviceQuery = SerialDevice.GetDeviceSelectorFromUsbVidPid(vid, pid); var deviceInfo = await DeviceInformation.FindAllAsync(deviceQuery); var currentDeviceInfo = deviceInfo.FirstOrDefault(); serialDevice = await SerialDevice.FromIdAsync(currentDeviceInfo.Id); <Capabilities> <Capability Name="allJoyn" /> <Capability Name="internetClient" /> <Capability Name="internetClientServer" /> <DeviceCapability Name="proximity" /> <DeviceCapability Name="serialcommunication"> <Device Id="any"> <Function Type="name:serialPort" /> </Device> </DeviceCapability> </Capabilities> <Device Id="vidpid:24EA 0187">
  17. 17. 04/04/16 17 NXP OM5577 NFC board driver issues OM5577 Raspberry Pi Win10 IoT demo image PN7120 Windows IoT Porting Guidelines PN7120 on Windows IoT ID : ACPIPN71202&DABA3FF&0 StatusCode : 25175040 ProblemCode : 28 Code 28 The drivers for this device are not installed. (Code 28)
  18. 18. 04/04/16 18 NXP OM5577 NFC board driver workaround “there was a regression in the OS that prevents devcon.exe from installing the driver on 10586” NXP OM5577 NFC board driver broken on 10586 NFC / NDEF Library for Proximity APIs Extension library to the NFC / NDEF library
  19. 19. DEMO 22/02/16 19
  20. 20. 04/04/16 20 Who I am www.adamfactory.com mirco.vanini@adamfactory.com @MircoVanini Mirco Vanini Microsoft® MVP Windows Hardware Engineering (IoT, Mobile, and Desktop)
  21. 21. 04/04/16 21 Feedback http://goo.gl/forms/zEvkGxYde1
  22. 22. 04/04/16 22 A special thanks… The event was sponsored by http://www.tustena.com/it

×