Windows 10 on Raspberry PI 2

21
mobile camp 05.06.2015 Windows 10 on Raspberry Pi 2 Mirco Vanini Microsoft® MVP Windows Embedded [email protected] @MircoVanini http://proxsoft.it

Transcript of Windows 10 on Raspberry PI 2

Page 1: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 on Raspberry Pi 2

Mirco Vanini

Microsoft® MVP Windows Embedded

[email protected]

@MircoVanini

http://proxsoft.it

Page 2: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows Universal App Platform

Windows 10 IoT Core Setup & Windows 10

Tools/SDKs/Emulators

My First Universal App

GPIO / SPI / I2C - Connect the World

Demo

Agenda

Page 3: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Platform Convergence Journey

ConvergedOS kernel

Convergedapp model Windows 10

Porting Tools

Page 4: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 for Industry Devices

On

e W

ind

ow

s P

latf

orm

Secu

re

Co

nn

ecte

d

One Windows core

scalable across

devices

One universal app

and driver platform

One management

and deployment

approach

Enterprise-grade

security

Advanced

Customization and

lockdown

capabilities

Continued

innovation and

support

Local

connectivity

Cloud

connectivity

Device

services

Windows 10 Enterprise for

industry devices

Windows 10 Mobile

Enterprise for industry devices

Windows 10 IoTCore

Page 5: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 Industry Editions

For Industry Devices

Desktop Shell, Win32 apps

1 GB RAM, 16 GB Storage

For Mobile Devices

Modern Shell

Mobile Chassis requirement

512 MB RAM, 4 GB storage

For Small Devices

Dedicated devices

No Shell/Store/MS Apps

256MB RAM, 2GB storage

Universal Apps

Windows Device Services

• On all Windows IoT clients

• Extends value of Windows for OEMs

• OS telemetry, update management,

interoperability

• Azure IoT-ready

Requires desktop or desktop apps– Win32,

.NET, WPF, etc. ?

Requires a Shell experience, multiple

applications, Windows first-party

applications, or mobile voice?

Otherwise

Page 6: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows Universal App Platform

• Converged APIs, write ONE Universal App and target all Windows 10 editions

• Scale and get higher ROI by selling same App to all Windows 10 editions OEMs/ODMSs

• Reuse existing development skills

Languages

• C++ /CX

• C#, VB

• JS

• Python

• Node.js

APIs

• WinRT

• Win32

• .NET

• Wiring

Deployment and

Execution

• APPX

• XCopy

• App Isolation

UI Frameworks

• HTML

• Xaml

• DirectX

Tools

• Visual Studio

• PowerShell

Page 7: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Building IoT Devices with UAP

“Embedded” Mode

• Extend UAP to IoT

capabilities on all Windows

10 editions

Access to system

settings

• APIs to change system

settings such as power state,

radio control and Bluetooth.

APIs to access busses

• GPIO, I2C, SPI and easy

access to custom hardware

Background Services

for long running tasks

• Full control for your device,

free of standard Process

Lifecycle Management

Page 8: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Porting Existing Apps/Drivers to Windows 10 IoT for Small

Devices

UAP/UD API surface is rich but smaller compared to Windows desktop

Use App Migration Tool to analyze compatibility of your apps

If you are using (not supported on Small Devices)

Instead use

App logic and code

Win32/Native Win32/Native in OneCore.lib(subset of Desktop API surface)

.NET libraries .NET libraries supported in UAP(subset of Desktop .NET APIs)

Graphic User Interface

GDI, MFC, WinForms, WPF XAML, DirectX, HTML

Page 9: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 Tools/SDKs/Emulators

Install latest Windows 10 OS insider.windows.com

Install VS 2015 RC w/ Universal Windows SDK & Tools

www.visualstudio.com

Build your first Universal Windows

App

Page 10: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 Tools/SDKs/Emulators

Select “Universal Windows App

Development Tools” using Custom setup

option

Page 11: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 IoT Core – Get Started

Page 12: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 IoT Core Setup

https://connect.microsoft.com/windowsembeddedIoT/Downloads/DownloadDetails.aspx?DownloadID=57782

http://ms-iot.github.io/content/win10/SetupRPI.htm

dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDriveN /SkipPlatformCheck

Page 13: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Install WindowsDeveloperProgramForIoT.msi

Windows 10 Tools/SDKs/Emulators

Page 14: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Windows 10 Tools/SDKs/Emulators

Page 15: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

demo

hello world !

Page 16: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Connect the World

AllJoynBluetoothGeolocationGpioHumanInterfaceDeviceI2cInputLightsMidiPointOfServicePowerPrintersRadiosSensorsSerialCommunicationSmartCardsSmsSpiUsbWiFiWiFiDirect

Page 17: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

SunFounder 37 modules Sensor Kit

Connect the World

Page 18: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

RPi2 pinout

Page 19: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

demo

Blinky

Tracking

Page 20: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

https://dev.windows.com/en-us/iot

http://ms-iot.github.io/content/win10/SetupRPI.htm

http://www.hanselman.com/blog/SettingUpWindows10ForIoTOnYourRaspberryPi2.aspx

http://ms-iot.github.io/content/win10/StartCoding.htm

https://github.com/ms-iot/samples

http://channel9.msdn.com/Events/Build/2015/2-724

Links

Page 21: Windows 10 on Raspberry PI 2

mobile camp 05.06.2015

Contact

feedback

10

Blog http://mircovanini.blogspot.com

Email [email protected]

Web www.proxsoft.it

Twitter @MircoVanini