Setting Up an 800X480 5inch HDMI LCD for Raspberry Pi

When using the 800X480 5inch HDMI LCD for the first time with the Raspberry Pi the display does not cover the entire 5 inch display. This tutorial will show you how to get rid of the black border on the display .

I will show 2 ways :One editing a file by sticking the micro SD card onto your laptop, the second how to change the file via the Pi's Terminal.

Questions,Concerns, Compliments or Comments all welcome :

@NemesisContrer8

Step 1: Accessing the Config File From Your Laptop

Place your micro SD card into it's adapter and stick it in your laptop

Click on the boot image that appears on your desktop

Click on the file named Config.txt

Step 2: Accessing the Config File From Your Laptop (continued)

Find the comment that says #Uncomment to force a specific HDMI Mode

Add the following lines bellow the comment :

hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0

3. Press Control+S to save the file

4. Close the page

5. Right Click in your boot image again and select "Eject Volume"

6. Pop the card back into your Raspberry Pi

Step 3: Editing the Config File From the Pi's Terminal

Open the Pi's Terminal (via SSH , Monitor etc)

We need to access a folder named boot which is hidden so type:

cd /boot

3. If you would like to see the files inside the boot folder list them by typing :

ls

4. We need to access a file named config.txt to be able to edit this file type:

sudo nano config.txt

Step 4: Editing the Config File From the Pi's Terminal (continued)

When the config.txt file opens look for the comment saying #Uncomment to force a specific HDMI Mode

1. Right bellow that line should copy and paste or type the following- we will force the resolution of our screen out