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

by NemesisC in Circuits > Raspberry Pi

35676 Views, 79 Favorites, 0 Comments

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

5820cf8c45bcebdb1c0008bb.jpeg
5820e06c67400c8e6b0000ed.jpeg

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

Accessing the Config File From Your Laptop

5820d02045bceb51cf000f5a.jpeg
5820d03667400c8e6b00009b.jpeg
findingConfig.png

  1. Place your micro SD card into it's adapter and stick it in your laptop
  2. Click on the boot image that appears on your desktop
  3. Click on the file named Config.txt

Accessing the Config File From Your Laptop (continued)

5820d51b50e1b675c50000ba.jpeg
5820d5834fbadee16c000201.jpeg
  1. Find the comment that says #Uncomment to force a specific HDMI Mode
  2. 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

Editing the Config File From the Pi's Terminal

5820d97915be4d1f47000373.jpeg
  1. Open the Pi's Terminal (via SSH , Monitor etc)
  2. 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

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

5820dd0b45bcebdb1c000914.jpeg
5820dd67deafa4556c0000b8.jpeg
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
hdmi_group=2
hdmi_mode =1 
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0

2. Save the file by pressing --> Control+X then Y and finally Enter

3. Type

cd

4. Finally check if it worked by rebooting your pi with:

sudo reboot