DIYGadgets

Build | Fix | Re-use

Setting up a 7-inch Touchscreen on a Pi 2 with Windows IoT Core

This article gives credit to Falafel Software and expects that you already have a Raspberry Pi 2 and that it is running the Windows IoT Core operating system. If you don’t currently have this setup it is quite easy to begin by going to the Windows on Devices website.

 

Disclaimer: Windows IoT Core Insider preview is not an officially released product. Expect some changes as the product matures and is released, it may not be perfect! This is my experience setting up this display. I am noting that while the touch aspect is working, it seems to have some difficulty identifying the “click”, like when attempting to shut down the Raspberry Pi.

 

Equipment used:

 

Setting up and calibrating the decoder

First download and install the AR1100 Configuration Utility linked above. The download is in the form of a zip file. Unzip the files to your desired location, and run the install program.

Next, connect the 40 pin ribbon from the monitor to the decoder board. Insert an HDMI cable from the decoder board into your PC. Finally, insert a micro-USB cable from the decoder board, and plug it into a USB slot in your computer (ensure you are using a data cable!). Windows will identify the device and install files, this may take a few minutes to complete.

 

 

Once identified, go into your display settings and setup your screen as the secondary monitor.

 

 

Now we are ready to start configuration. Run the AR Configuration Utility. We will begin by setting up some preferences. Click on the Exit button.

 

 

Now click on the Options item.

 

 

Select to configure the secondary monitor, as well as using the USB Mouse communication for the AR1100. Click on the Verify Communication, to establish that there are no errors. Close the options window, and exit the application.

 

 

Re-open the Configuration Utility once more, this time we will select AR1100 USB Mouse, 4-wire and 9-Points from the manual setup. Once selected click the “Use these settings” button.

UPDATE 06/20/2015 : I’ve recently updated the calibration to the 25 point setting. More calibration points means more accuracy.

 

 

You will now be able to configure your touchpoints on the screen. Use a stylus for accuracy.

 

 

Once completed, the application will register the test points. You can now exit the configuration utility and disconnect it from the computer.

Setting up the Raspberry Pi 2 for the Display

In order to use this board and screen, we will need to make some changes to how the Raspberry Pi 2 is configured for display. To do this we will be editing a configuration file on your operating system image (on the microSD card). Put the OS card into a card reader in your windows machine, then in the root, open the config.txt file in your favorite text editor. Add the following lines to the configuration:

 

 

Once this is completed, save the file, and re-insert your OS into the Raspberry Pi 2. Hook the USB cable from the Raspberry Pi 2 to the decoder board, as well as connect the HDMI ports using an HDMI cable. Once these are all connected, insert your Ethernet cable and power up the Raspberry Pi 2.

 

 

 

Leave a Reply