This article is followed by a ' Windows IoT core official first experience ', which focuses on how to manipulate Windows IoT core using SSH and PowerShell or web, and give Windows IoT core software development.
Remote connection
**ssh Way * *
guaranteed personal PC and Raspberry Pi 2 in a network segment, using putty can be directly connected to the server, the default user name administrator
, password [email protected]
.
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Putty_config.png "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px; Line-height:1.42857143;background-color:rgb (255,255,255); "alt=" Putty_config.png "/>
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Putty_console.png "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px; Line-height:1.42857143;background-color:rgb (255,255,255); "alt=" Putty_console.png "/>
Detailed command-line commands can be viewed from here
**powershell Way * *
Ensure that the personal PC and Raspberry Pi 2 are open in a network segment, using PowerShell administrator mode, and make the following settings (assuming that the IP address of the Raspberry Pi 2 is 192.168.0.100)
Open WinRM
Service: Execute commandnet start WinRM
Set Trusted host: Execute commandSet-Item WSMan:\localhost\Client\TrustedHosts -Value 192.168.0.100
Connect Host: Execute command ' enter-pssession-computername 192.168.0.100-credential 192.168.0.100\administrator (password: [email protected])
The first connection may take a little longer, about 30 seconds or so.
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Powershell.png "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px; Line-height:1.42857143;background-color:rgb (255,255,255); "alt=" Powershell.png "/>
**web Way * *
find apps windows IoT Core Watcher
, you can refresh the existing host, right-click menu web Way to open
such as
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Web.png "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px;line-height : 1.42857143;background-color:rgb (255,255,255); "alt=" web.png "/> ' 650" this.width=650; "class=" Img-responsive img-thumbnail "src=" Http://blog.huangchaosuper.cn/resources/windows/browser.png "style=" border:1px Solid RGB (221,221,221); Vertical-align:middle;height:auto;padding:4px;line-height:1.42857143;background-color: RGB (255,255,255); "alt=" Browser.png "/>
Application development
First development example with Win10iot-mounted Raspberry Pi control LED light flashing
Materials include
1, LED light-emitting diode
2, 220 ohm resistor
3. Bread plate and wire
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Material.jpg "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px;line-height : 1.42857143;background-color:rgb (255,255,255); "alt=" material.jpg "/>
Connection methods such as
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Connection.jpg "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px; Line-height:1.42857143;background-color:rgb (255,255,255); "alt=" connection.jpg "/>
Here is the program section
Create a UWP project using VS2015led
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Create-project.png "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px; Line-height:1.42857143;background-color:rgb (255,255,255); "alt=" Create-project.png "/>
and add references window IoT Extension SDK
, in summary code see attachment
select release
mode, compile schema arm
, Debug environment remote Machine
, all successful, you can see the effect of LED lights flashing.
650) this.width=650; "class=" img-responsive img-thumbnail "src=" http://blog.huangchaosuper.cn/resources/windows/ Led.gif "style=" border:1px solid rgb (221,221,221); vertical-align:middle;height:auto;padding:4px;line-height : 1.42857143;background-color:rgb (255,255,255); "alt=" Led.gif "/>
This article is from "Okay, it's Me" blog, make sure to keep this source http://huangchaosuper.blog.51cto.com/5221102/1684911
Windows IoT Core Official Advanced Experience