windows 10 iot core

21
Windows 10 IoT Core Blair Leduc Speaking at Canada's Technology Triangle .NET User Group December 9, 2015

Upload: canadas-technology-triangle-net-user-group

Post on 15-Apr-2017

803 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Windows 10 IoT Core

Windows 10 IoT CoreBlair LeducSpeaking at

Canada's Technology Triangle .NET User GroupDecember 9, 2015

Page 2: Windows 10 IoT Core

About me•My name is Blair Leduc• I work with the fine folks at ObjectSharp• I do everything that is furthest away from IoT

• I was trained as a Computer Engineer•Fiddling around with electronics is my hobby

Page 3: Windows 10 IoT Core

What is the Internet of Things?The Internet of Things (IoT) is the network of physical objects or "things" embedded with electronics, software, sensors, and network connectivity, which enables these objects to collect and exchange data.

-Wikipedia

Page 4: Windows 10 IoT Core

What is Windows 10 IoT Core?•A version of Windows 10 that is optimized for smaller

devices with or without a display•Utilizes the rich, extensible Universal Windows

Platform (UWP) API for building solutions•Available for ARM and x86 (400Mhz or faster)• 2GB Storage• Headless: 256MB RAM (128MB to OS)• Headed: 512MB RAM (256MB to OS)

Page 5: Windows 10 IoT Core

Raspberry Pi 2Price $35 USD

Processor 0.9 GHz Broadcom BCM2836Quad-Core ARMv7Cortex-A7 (32-bit)

GPU VideoCore IV (250 MHz)

RAM 1 GB

Video HDMI

Audio Analog (3.5 mm), HDMI

Storage MicroSD

USB 4 USB 2.0

Connectivity 10/100 Ethernet

I/O Interfaces UART, SPI, I2C, GPIOx13 (PWMx1)

I/O Power 3.3V

Power Requirements [email protected]

Page 6: Windows 10 IoT Core

DragonBoard 410cPrice $75 USDProcessor 1.2 GHz Snapdragon 410

Quad-Core ARMv8Cortex-A53 (64-bit)

GPU Ardreno 306 (450 Mhz)RAM 1 GBVideo HDMIAudio HDMI, BluetoothStorage MicroSD, 8 GB eMMCUSB 2 USB 2.0Connectivity WLAN 802.11a/b/g/n 2.4 GHz,

Bluetooth 4.1, GPSI/O Interfaces UARTx2, SPI, I2Cx2, GPIOx12I/O Power 1.8VPower Requirements 6.5V-18V (7W)

Page 7: Windows 10 IoT Core

MinnowBoard MAXPrice $140 USDProcessor 1.33 GHz Intel Atom E3825

Dual Core x86 64-bit

GPU 7th Gen Intel HD Graphics (533 Mhz)RAM 2 GBVideo Mini-HDMIAudio HDMIStorage MicroSD, SATA2 (3 Gb/s)USB 1 USB 2.0, 1 USB 3.0Connectivity 10/100/1000 EthernetI/O Interfaces UARTx2, SPI, I2C, GPIOx8 (PWMx2)I/O Power 3.3VPower Requirements [email protected]

Page 8: Windows 10 IoT Core

Comparison of BoardsRaspberry Pi 2 DragonBoard410c MinnowBoard MAX

Price $35 USD $75 USD $140 USDProcessor 0.9 GHz Broadcom BCM2836

Quad-Core ARMv7Cortex-A7 (32-bit)

1.2 GHz Snapdragon 410Quad-Core ARMv8Cortex-A53 (64-bit)

1.33 GHz Intel Atom E3825Dual Core x86 64-bit

GPU VideoCore IV (250 MHz) Ardreno 306 (450 Mhz) 7th Gen Intel HD Graphics (533 Mhz)

RAM 1 GB 1 GB 2 GBVideo HDMI HDMI Mini-HDMIAudio Analog (3.5 mm), HDMI HDMI, Bluetooth HDMIStorage MicroSD MicroSD, 8 GB eMMC MicroSD, SATA2 (3 Gb/s)

USB 4 USB 2.0 2 USB 2.0 1 USB 2.0, 1 USB 3.0Connectivity 10/100 Ethernet WLAN 802.11a/b/g/n 2.4 GHz,

Bluetooth 4.1, GPS10/100/1000 Ethernet

I/O Interfaces UART, SPI, I2C, GPIOx13 (PWMx1) UARTx2, SPI, I2Cx2, GPIOx12 UARTx2, SPI, I2C, GPIOx8 (PWMx2)I/O Power 3.3V 1.8V 3.3VPower Requirements [email protected] 6.5V-18V (7W) [email protected]

Page 9: Windows 10 IoT Core

Set up your PC• Windows 10 is required

• Check your version by running winver.exe• 10.0.10240 or later is required• Also, you will need to enable developer mode

• Visual Studio 2015 Update 1 is needed for development• Can be Community, Professional or Enterprise• You must do a custom install of Professional and Enterprise

• Check Universal Windows Development Tools > Tools and Windows SDK• Check your version, Help > About Microsoft Visual Studio

• Visual Studio: 14.0.24720.00 Update 1• UWP Tools: 14.0.24720.00

• Install Windows 10 IoT Core Project Templates

Page 10: Windows 10 IoT Core

Windows 10 IoT Core Dashboard• You can use the Dashboard if you are setting up:• Raspberry Pi 2• MinnowBoard MAX

• For a DragonBoard 410c• Need to use the method on

the next slide

• Nice one step process

Page 11: Windows 10 IoT Core

Windows IoT Image Helper• You can use the Image Helper if you are setting up:• Raspberry Pi 2• DragonBoard 410c• MinnowBoard MAX

• You must download the Windows 10 IoT Coreimages manually• Only way to setup the DragonBoard 410c

Page 12: Windows 10 IoT Core

Configuration with the Device Portal• Windows 10 IoT Core’s default app exposes a device portal• You can:• Change admin password, device name• Time zone• Load, start and stop apps• Monitor process, performance• View devices and networking• And more…

Page 13: Windows 10 IoT Core

Configuration with PowerShell• Common commands for setup:• net start WinRM• Set-Item WSMan:\localhost\Client\TrustedHosts

–value “minwinpc”• Enter-PSSession -ComputerName winminpc

-Credentials winminpc\Administrator• net user Administrator <new_password>• tzutil /s “Eastern Standard Time”• setcomputername <new_name>• shutdown /r /t 0

Page 14: Windows 10 IoT Core

Ten-Minute Break

Page 15: Windows 10 IoT Core

Computer Languages:• Managed: C# and VB• C++• Node (Javascript)• Python• Arduino Wiring

C++

Page 16: Windows 10 IoT Core

AdaFruit

Microsoft IoT Pack For Raspberry Pi 2

• URL: http://adafruit.com• Kits and tutorials

Page 17: Windows 10 IoT Core

SparkFun• URL: http://sparkfun.com• Parts and resources

Page 18: Windows 10 IoT Core

GHI Electronics• URL: http://ghielectronics.com• .NET Gadgeteer supplier, great if you want to avoid soldering

Page 19: Windows 10 IoT Core

Ohm, Kirchhoff, and LEDs

V=IR

Page 20: Windows 10 IoT Core

Connecting the Things• Azure IoT Hub• A communications hub where you can connect a large number of data

producers to consumers (message hub, no storage)• Free tier limited to 8K messages/unit/day

• data.sparkfun.com• Free service that will store your data• Each stream can store 50MB, limited to 100 pushes every 15 minutes

• Build your own website• You can write your own data collection API and host it locally or in the cloud

Page 21: Windows 10 IoT Core

Thank-you and Q&ABlog: http://www.blairleduc.com

Info: http://about.me/blairleduc

…or just google or bing me. ?