SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Windows 10 IoT
su Raspberry Pi 2
Nicolò Carandini
n.carandini@mahiz.it
blog.tpcware.com
@tpcware
Indice
• Windows 10 IoT Core Preview
• Raspberry Pi 2
• Setup
• Demo connessione
• Demo first app
• Oltre la siepe
• Riferimenti
• Question time
Windows Universal Platform
Windows Universal App device families
Family Extensions
• Sono delle API specifiche di una famiglia di device
• Le chiamate sono sempre definite, anche per le altre famiglie
• La compilazione va sempre a buon fine
• L’esecuzione su device non appartenenti alla famiglia dev’essere
evitata, perché genera un’eccezione.
Capabilities
• Niente più #IF
• La verifica viene fatta a Runtime, utilizzando:
ad esempio:
Headed e Headless device
Raspberry Pi 2
Release February 2015
Price US$35 (€ 45 su amazon.it)
Operating
system
Windows 10, FreeBSD, NetBSD,
Linux (Raspbian, Ubunto, ecc. ),
RISC OS, Plan 9, Inferno, AROS.
CPU 900 MHz quad-core
ARM Cortex-A7
Memory 1 GB RAM
Storage MicroSDHC slot
Graphics Broadcom VideoCore IV
Power 4.0 W
SoC: Broadcom BCM2836 (CPU, GPU, DSP, SDRAM, USB)
Connettori
4 porte USB
Alimentazione
HDMI
Camera serial interface
3,5 mm jack quadripolare
audio & video composito
Display Serial Interface
Micro SD
Connettore 40 Pin
Ethernet
Display Serial Interface (DSI)
Raspberry Pi Foundation 7 inch DSI screen (800 x 480) prototype
Camera Serial Interface (CSI)
3.5mm Audio/Video Jack
Connettore 40 Pin
SPI
Serial Peripheral Interface
I2C
Inter-Integrated Circuit
GPIO
General Purpose Input Output
Sensori
Attuatori
Device Setup
Lista della spesa:
• Windows 10 Insider Preview – dev’essere un device fisico (non una VM).
• Raspberry Pi 2.
• 5V micro USB power supply – con almeno 1,0A (meglio 1,5A).
• 8GB micro SD card - classe 10 o migliore.
• HDMI cable.
• Ethernet cable.
1. Scaricare l’immagine del S.O. e metterla nella scheda Micro SD.
2. Inserire la scheda nel lettore della Raspberry.
3. Connettere l’uscita HDMI al monitor.
4. Avviare la Raspberry connettendo l’alimentatore.
PC Setup
• Installare Visual Studio 2015 Preview
• Abilitare il developer mode:
• Installare WindowsDeveloperProgramForIoT.msi. Lo si può trovare in
ogni immagine di Windows 10 IoT Core Insider Preview.
Connessione dal PC al device
Con Windows IoT Core Watcher è possibile connettersi alla Raspberry
Pi 2 e utilizzare il Web Server per verificare le informazioni di base:
Demo: Board Web Management
Demo: Blinking Led (aka Hello World)
Altre schede utili
MinnowBoard Max (Intel Atom E38XX series SOC )
Board x86 per Windows 10 IoT Core preview
Arduino(Microcontroller ATmega328 )
Ovviamente Windows 10 non ci gira, ma
è ottimo per interfacciarsi con sensori e attuatori
Windows Remote Arduino
• Windows Remote Arduino usa il protocollo Firmata
Arduino Shield
• Arduino costa poco: US$ 10 ( € 21 su amazon.it)
• Ma la somma degli shield parecchio di più:
 Accelerometro: $29.95
 Riconoscimento vocale: $49.95
 Touch display: $59.95
• Senza considerare
Project Margherita
Windows 10 phone (Lumia 520, Lumia 635)
Riferimenti
Sviluppatori Windows Italia: www.facebook.com/groups/DevWinita
www.hackster.iodev.windows.com/it-it/iot
Question time

Weitere ähnliche Inhalte

Ähnlich wie Windows 10 IoT

Are you a Gadgeteer? - NetMF@Work
Are you a Gadgeteer? - NetMF@WorkAre you a Gadgeteer? - NetMF@Work
Are you a Gadgeteer? - NetMF@WorkMirco Vanini
 
Arduino prima spiegazione
Arduino  prima spiegazioneArduino  prima spiegazione
Arduino prima spiegazioneFlaviano Fior
 
Makers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry pi
Makers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry piMakers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry pi
Makers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry piRoberto Navoni
 
Delphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev OverviewDelphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev Overviewpietrobr
 
Retropie - il futuro nel passato
Retropie - il futuro nel passatoRetropie - il futuro nel passato
Retropie - il futuro nel passatoPaoloGuagnano1
 
CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
 CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions  CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions Davide Benvegnù
 
Introduzione a RaspBerry PI
Introduzione a RaspBerry PIIntroduzione a RaspBerry PI
Introduzione a RaspBerry PIPaolo Aliverti
 
Windows Embedded, Segreti E Misteri Delle Piattaforme
Windows Embedded, Segreti E Misteri Delle PiattaformeWindows Embedded, Segreti E Misteri Delle Piattaforme
Windows Embedded, Segreti E Misteri Delle PiattaformeXeDotNet
 
NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)
NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)
NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)Stefano Dall'Agata
 
Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...
Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...
Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...Codemotion
 
Codemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi Cluster
Codemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi ClusterCodemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi Cluster
Codemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi ClusterMatteo Baccan
 
Azure IoTHub - Roboval 2018
Azure IoTHub - Roboval 2018Azure IoTHub - Roboval 2018
Azure IoTHub - Roboval 2018Andrea Tosato
 
Arduino&raspberry pi - Un connubio vincente
Arduino&raspberry pi - Un connubio vincenteArduino&raspberry pi - Un connubio vincente
Arduino&raspberry pi - Un connubio vincenteMirco Sbrollini
 
Gam04 introduzione a-netduino_final
Gam04   introduzione a-netduino_finalGam04   introduzione a-netduino_final
Gam04 introduzione a-netduino_finalDotNetCampus
 
Webinar porting e ottimizzazione per x86
Webinar   porting e ottimizzazione per x86Webinar   porting e ottimizzazione per x86
Webinar porting e ottimizzazione per x86Massimiliano Torregiani
 

Ähnlich wie Windows 10 IoT (20)

Are you a Gadgeteer? - NetMF@Work
Are you a Gadgeteer? - NetMF@WorkAre you a Gadgeteer? - NetMF@Work
Are you a Gadgeteer? - NetMF@Work
 
Raspberry
RaspberryRaspberry
Raspberry
 
Arduino prima spiegazione
Arduino  prima spiegazioneArduino  prima spiegazione
Arduino prima spiegazione
 
Io, Android
Io, AndroidIo, Android
Io, Android
 
Makers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry pi
Makers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry piMakers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry pi
Makers Italy: VR Neuron la risposta italiana alla piattaforma Raspberry pi
 
Delphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev OverviewDelphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev Overview
 
Retropie - il futuro nel passato
Retropie - il futuro nel passatoRetropie - il futuro nel passato
Retropie - il futuro nel passato
 
CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
 CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions  CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
 
Lotus Foundations Start - Enzo Stanzione
Lotus Foundations Start - Enzo StanzioneLotus Foundations Start - Enzo Stanzione
Lotus Foundations Start - Enzo Stanzione
 
Introduzione a RaspBerry PI
Introduzione a RaspBerry PIIntroduzione a RaspBerry PI
Introduzione a RaspBerry PI
 
Arduino galileo edison_udoo
Arduino galileo edison_udooArduino galileo edison_udoo
Arduino galileo edison_udoo
 
Windows Embedded, Segreti E Misteri Delle Piattaforme
Windows Embedded, Segreti E Misteri Delle PiattaformeWindows Embedded, Segreti E Misteri Delle Piattaforme
Windows Embedded, Segreti E Misteri Delle Piattaforme
 
NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)
NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)
NON ESISTONO COMPUTER VECCHI (Da xp a linux - Treviso 15/4/2014)
 
Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...
Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...
Succo di lampone: come ottimizzare JAVA e PHP su un'architettura Raspberry Pi...
 
Codemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi Cluster
Codemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi ClusterCodemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi Cluster
Codemotion 2014 : ottimizzare JAVA e PHP su un’architettura Raspberry Pi Cluster
 
Azure IoTHub - Roboval 2018
Azure IoTHub - Roboval 2018Azure IoTHub - Roboval 2018
Azure IoTHub - Roboval 2018
 
Arduino&raspberry pi - Un connubio vincente
Arduino&raspberry pi - Un connubio vincenteArduino&raspberry pi - Un connubio vincente
Arduino&raspberry pi - Un connubio vincente
 
Gam04 introduzione a-netduino_final
Gam04   introduzione a-netduino_finalGam04   introduzione a-netduino_final
Gam04 introduzione a-netduino_final
 
Raspy Fi: Open source never sounded so good (by Michelangelo Guarise)
Raspy Fi: Open source never sounded so good (by Michelangelo Guarise)Raspy Fi: Open source never sounded so good (by Michelangelo Guarise)
Raspy Fi: Open source never sounded so good (by Michelangelo Guarise)
 
Webinar porting e ottimizzazione per x86
Webinar   porting e ottimizzazione per x86Webinar   porting e ottimizzazione per x86
Webinar porting e ottimizzazione per x86
 

Mehr von Nicolò Carandini

Wasm and Blazor CDays keynote
Wasm and Blazor CDays keynoteWasm and Blazor CDays keynote
Wasm and Blazor CDays keynoteNicolò Carandini
 
The absolute need of Secure Http
The absolute need of Secure HttpThe absolute need of Secure Http
The absolute need of Secure HttpNicolò Carandini
 
Christmas greetings cards with blazor
Christmas greetings cards with blazorChristmas greetings cards with blazor
Christmas greetings cards with blazorNicolò Carandini
 
Code review e pair programming con Visual Studio Live Share
Code review e pair programming con Visual Studio Live ShareCode review e pair programming con Visual Studio Live Share
Code review e pair programming con Visual Studio Live ShareNicolò Carandini
 
The Hitchhiker's Guide to the Azure Galaxy
The Hitchhiker's Guide to the Azure GalaxyThe Hitchhiker's Guide to the Azure Galaxy
The Hitchhiker's Guide to the Azure GalaxyNicolò Carandini
 
Web app slots and webapi versioning
Web app slots and webapi versioningWeb app slots and webapi versioning
Web app slots and webapi versioningNicolò Carandini
 
Mobile services multi-piattaforma con Xamarin
Mobile services multi-piattaforma con XamarinMobile services multi-piattaforma con Xamarin
Mobile services multi-piattaforma con XamarinNicolò Carandini
 
Universal Apps localization and globalization
Universal Apps localization and globalizationUniversal Apps localization and globalization
Universal Apps localization and globalizationNicolò Carandini
 
Applicazioni web con ASP.NET Owin e Katana
Applicazioni web con ASP.NET Owin e KatanaApplicazioni web con ASP.NET Owin e Katana
Applicazioni web con ASP.NET Owin e KatanaNicolò Carandini
 
Azure Mobile Services con il .NET Framework
Azure Mobile Services con il .NET FrameworkAzure Mobile Services con il .NET Framework
Azure Mobile Services con il .NET FrameworkNicolò Carandini
 

Mehr von Nicolò Carandini (20)

Wasm and Blazor CDays keynote
Wasm and Blazor CDays keynoteWasm and Blazor CDays keynote
Wasm and Blazor CDays keynote
 
The absolute need of Secure Http
The absolute need of Secure HttpThe absolute need of Secure Http
The absolute need of Secure Http
 
Christmas greetings cards with blazor
Christmas greetings cards with blazorChristmas greetings cards with blazor
Christmas greetings cards with blazor
 
Xamarin DevOps
Xamarin DevOpsXamarin DevOps
Xamarin DevOps
 
Code review e pair programming con Visual Studio Live Share
Code review e pair programming con Visual Studio Live ShareCode review e pair programming con Visual Studio Live Share
Code review e pair programming con Visual Studio Live Share
 
Azure dev ops meetup one
Azure dev ops meetup oneAzure dev ops meetup one
Azure dev ops meetup one
 
Spa with Blazor
Spa with BlazorSpa with Blazor
Spa with Blazor
 
The Hitchhiker's Guide to the Azure Galaxy
The Hitchhiker's Guide to the Azure GalaxyThe Hitchhiker's Guide to the Azure Galaxy
The Hitchhiker's Guide to the Azure Galaxy
 
Game matching with SignalR
Game matching with SignalRGame matching with SignalR
Game matching with SignalR
 
Swagger loves WebAPI
Swagger loves WebAPISwagger loves WebAPI
Swagger loves WebAPI
 
Xamarin Workbooks
Xamarin WorkbooksXamarin Workbooks
Xamarin Workbooks
 
Swagger per tutti
Swagger per tuttiSwagger per tutti
Swagger per tutti
 
Web app slots and webapi versioning
Web app slots and webapi versioningWeb app slots and webapi versioning
Web app slots and webapi versioning
 
Intro xamarin forms
Intro xamarin formsIntro xamarin forms
Intro xamarin forms
 
Swagger pertutti
Swagger pertuttiSwagger pertutti
Swagger pertutti
 
Windows 10 design
Windows 10 designWindows 10 design
Windows 10 design
 
Mobile services multi-piattaforma con Xamarin
Mobile services multi-piattaforma con XamarinMobile services multi-piattaforma con Xamarin
Mobile services multi-piattaforma con Xamarin
 
Universal Apps localization and globalization
Universal Apps localization and globalizationUniversal Apps localization and globalization
Universal Apps localization and globalization
 
Applicazioni web con ASP.NET Owin e Katana
Applicazioni web con ASP.NET Owin e KatanaApplicazioni web con ASP.NET Owin e Katana
Applicazioni web con ASP.NET Owin e Katana
 
Azure Mobile Services con il .NET Framework
Azure Mobile Services con il .NET FrameworkAzure Mobile Services con il .NET Framework
Azure Mobile Services con il .NET Framework
 

Windows 10 IoT

  • 1. Windows 10 IoT su Raspberry Pi 2 Nicolò Carandini n.carandini@mahiz.it blog.tpcware.com @tpcware
  • 2. Indice • Windows 10 IoT Core Preview • Raspberry Pi 2 • Setup • Demo connessione • Demo first app • Oltre la siepe • Riferimenti • Question time
  • 4. Windows Universal App device families
  • 5. Family Extensions • Sono delle API specifiche di una famiglia di device • Le chiamate sono sempre definite, anche per le altre famiglie • La compilazione va sempre a buon fine • L’esecuzione su device non appartenenti alla famiglia dev’essere evitata, perché genera un’eccezione.
  • 6. Capabilities • Niente più #IF • La verifica viene fatta a Runtime, utilizzando: ad esempio:
  • 8. Raspberry Pi 2 Release February 2015 Price US$35 (€ 45 su amazon.it) Operating system Windows 10, FreeBSD, NetBSD, Linux (Raspbian, Ubunto, ecc. ), RISC OS, Plan 9, Inferno, AROS. CPU 900 MHz quad-core ARM Cortex-A7 Memory 1 GB RAM Storage MicroSDHC slot Graphics Broadcom VideoCore IV Power 4.0 W SoC: Broadcom BCM2836 (CPU, GPU, DSP, SDRAM, USB)
  • 9. Connettori 4 porte USB Alimentazione HDMI Camera serial interface 3,5 mm jack quadripolare audio & video composito Display Serial Interface Micro SD Connettore 40 Pin Ethernet
  • 10. Display Serial Interface (DSI) Raspberry Pi Foundation 7 inch DSI screen (800 x 480) prototype
  • 13. Connettore 40 Pin SPI Serial Peripheral Interface I2C Inter-Integrated Circuit GPIO General Purpose Input Output
  • 16. Device Setup Lista della spesa: • Windows 10 Insider Preview – dev’essere un device fisico (non una VM). • Raspberry Pi 2. • 5V micro USB power supply – con almeno 1,0A (meglio 1,5A). • 8GB micro SD card - classe 10 o migliore. • HDMI cable. • Ethernet cable. 1. Scaricare l’immagine del S.O. e metterla nella scheda Micro SD. 2. Inserire la scheda nel lettore della Raspberry. 3. Connettere l’uscita HDMI al monitor. 4. Avviare la Raspberry connettendo l’alimentatore.
  • 17. PC Setup • Installare Visual Studio 2015 Preview • Abilitare il developer mode: • Installare WindowsDeveloperProgramForIoT.msi. Lo si può trovare in ogni immagine di Windows 10 IoT Core Insider Preview.
  • 18. Connessione dal PC al device Con Windows IoT Core Watcher è possibile connettersi alla Raspberry Pi 2 e utilizzare il Web Server per verificare le informazioni di base:
  • 19. Demo: Board Web Management
  • 20. Demo: Blinking Led (aka Hello World)
  • 21. Altre schede utili MinnowBoard Max (Intel Atom E38XX series SOC ) Board x86 per Windows 10 IoT Core preview Arduino(Microcontroller ATmega328 ) Ovviamente Windows 10 non ci gira, ma è ottimo per interfacciarsi con sensori e attuatori
  • 22. Windows Remote Arduino • Windows Remote Arduino usa il protocollo Firmata
  • 23. Arduino Shield • Arduino costa poco: US$ 10 ( € 21 su amazon.it) • Ma la somma degli shield parecchio di più:  Accelerometro: $29.95  Riconoscimento vocale: $49.95  Touch display: $59.95 • Senza considerare
  • 24. Project Margherita Windows 10 phone (Lumia 520, Lumia 635)
  • 25. Riferimenti Sviluppatori Windows Italia: www.facebook.com/groups/DevWinita www.hackster.iodev.windows.com/it-it/iot

Hinweis der Redaktion

  1. Windows 10 IoT Core Insider Preview supports both headed and headless device configurations. Headed devices have a video display and uses the Windows Video subsystem & drivers to address it. Headed devices have what would be recognized as a “typical” consumer display as you might see on a laptop or tablet that in industry space would be things like ATMs, kiosks, digital signs and many others. 3 Headless devices have no display and do not require the Windows Video subsystem or drivers. Headed vs Headless boot mode is controlled by configuration settings (read at boot time.) See the section on Shell configuration for more detail.
  2. Display Interface Specifications | MIPI Alliance Pilotato direttamente dalla GPU