Hello UNO


This app demonstrates the use of Arduino sketches on a Raspberry Pi under Windows 10 IoT Core. The key steps are:

  • Build the app
  • Configure the driver
  • Run the app

Build the app

The basic default Arduino app will suffice for this introductory exercise

  • Launch Visual Studio from the Start menu

Hello UNO - Launch Visual Studio

  • From the menu bar, click the File command and drill-down to New and then Project

Hello UNO - New Project

  • In the New Project dialog box, on the left-pane, drill-down as follows: Installed ® Templates ® Visual C++ ® Windows ® Windows IoT Core
  • In the middle name of the same dialog box, select Arduino Wiring Application for Windows IoT Core
  • Enter a name for the application (this example exercise uses HelloUNO)

Hello UNO - Arduino Wiring Application

The Solution Explorer pane should resemble that shown below.

Hello UNO - Solution Explorer

  • Close the solution from the File menu

 Configure the driver

The Lightning driver enables the Raspberry Pi to run Arduino sketches with minimal modifications.

  •  Launch the Windows IoT Core Dashboard

Hello UNO - Windows IoT Core Dashboard

  • In the IoT Dashboard window, click on Open Windows Device Portal in browser in the lower section of the window

Hello UNO - IoT Dashboard

  • In the Microsoft Edge window, enter the credential and corresponding password for the access to the remote machine and click the OK button

Hello UNO - Microsoft Edge

  • In the Device Manager window, select Devices on the left pane
  • In the Default Controller Driver drop-down list, select Direct Memory Mapped Driver and click the Update Driver button

Hello UNO - Update Driver

  • In the This site says modal dialog box, click the OK button

Hello UNO - Driver changed

  • In the Device Manager toolbar, click the Restart button

Hello UNO - Restart

  • In the This site says modal dialog box, click the OK button

Hello UNO - Are you sure

Run the app

Open the HelloUNO solution in Visual Studio; from the Debug menu click on HelloUNO Properties

Hello UNO - Debug Properties

  • In the Configuration Properties pane, click on Debugging
  • In main pane, enter the Machine Name and ensure that the Authentication Type is set to Universal
  • Click the OK button

Hello UNO - Debug Properties Debugging

  • On the toolbar, click on Remote Machine

Hello UNO - Remote machine

<Insert video>

  • On the toolbar, click on the Stop button that is outlined in red color below

Hello UNO - Stop debugging










About charnumber

Still learning...
This entry was posted in IoT and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s