Written by 5:55 pm Fun, Hardware, Home, Microsoft, Microsoft Azure, PowerShell, Windows • 2 Comments

Connect the Adafruit 5″ LCD to the Raspberry Pi 2 running Windows 10 IoT Core

First I had connected my TV as an external display for my Raspberry Pi 2 running Windows 10 IoT Core. Since I need the little device for some demos, and I want to take it with me I got a Adafruit 5″ LCD display to connected to the device.

The setup with the display is very easy and just plug and play. Just connect the display to the Raspberry Pi 2 board.

Raspberry Pi 2 LCD Display

But by default the output of the Raspberry Pi 2 is Full HD and so the display setting is kind of wrong. But you change this by editing the config.txt file from the SD card.

Windows 10 IoT Display Config

Just open the SD card and add the folloing lines to the config.txt file. (Source)

Windows 10 IoT Display Config TXT

Now you get the perfect outputfor the 800×480 display. If you want to change the settings while the SD card is in the device it self, you can use PowerShell. Remote connect to the Raspberry Pi 2 using Powershell and navigate to C:\EFIESP and check out the config.txt

 
Get-Content config.txt

You can now set the content of the config.txt file

 
Set-Content config.txt "
gpu_mem=32 framebuffer_ignore_alpha=1
framebuffer_swap=1
disable_overscan=1
init_uart_clock=16000000
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
"

To have the changes active you have to restart the Windows 10 IoT Core device

 
shutdown /r /t 0

 

Tags: , , , , , , , , , , , , Last modified: September 2, 2018
Close Search Window
Close