Skip to content

TFT5 Screen HDMI (EN)

Yann Morere edited this page Mar 28, 2019 · 11 revisions

Recalbox version : any

Configure your 5" HDMI TFT screen

You can find this screen at : http://www.banggood.com/5-Inch-800-x-480-HDMI-TFT-LCD-Touch-Screen-For-Raspberry-PI-2-Model-B-B-A-B-p-1023438.html

It is the equivalent of the Adafruit device : https://learn.adafruit.com/adafruit-5-800x480-tft-hdmi-monitor-touchscreen-backpack/overview

You can make it work on Recalbox by configuring the /boot/config.txt file

Remember, the TFP401 driver does not have a video scaler! If you don't feed it exactly 800×480 pixels the image will not stretch/shrink to fit! So we need to configure the resolution in the config.txt

Connect to your Pi (either SSH -> https://github.com/recalbox/recalbox-os/wiki/Root-access-on-terminal-%28EN%29 or on a local tty).

Make /boot writable to edit the required file :

mount -o remount, rw /boot

Edit the /boot/config.txt file with nano or vim and add :

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
 
# uncomment to force a specific HDMI mode (here we are forcing 800x480!)
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0
 
max_usb_current=1

The line max_usb_current=1 increases the Pi max USB output current. This way your pi will supply enough power to your screen. Be sure that the main power supply is powerful enough for all your devices

If the image has not the good resolution during emulation, you'll need to edit the file recalbox.conf and change the global.videomode variable :

global.videomode=default

to use the default configuration from the config.txt. Check this post to see this with pictures https://forum.recalbox.com/topic/4539/how-to-config-portable-5-inch-screen-pics-inside

Configure your 7" HDMI TFT screen

You can find some for a correct price : https://www.waveshare.com/7inch-HDMI-LCD-C.htm https://www.waveshare.com/wiki/7inch_HDMI_LCD_(C)

You can make it work on Recalbox by configuring the /boot/config.txt file

Remember, the TFP401 driver does not have a video scaler! If you don't feed it exactly 800×480 pixels the image will not stretch/shrink to fit! So we need to configure the resolution in the config.txt

Connect to your Pi (either SSH -> https://github.com/recalbox/recalbox-os/wiki/Root-access-on-terminal-%28EN%29 or on a local tty).

Make /boot writable to edit the required file :

mount -o remount, rw /boot

Edit the /boot/config.txt file with nano or vim and add :

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
config_hdmi_boost=7
hdmi_max_current=1
# uncomment to force a specific HDMI mode (here we are forcing 2014x600!)
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt=1024 600 60 6 0 0 0
display_rotate=0
max_usb_current=1
hdmi_drive=1
hdmi_ignore_edid=0xa5000080

The line max_usb_current=1 increases the Pi max USB output current if your screen is powered on usb. Use hdmi_max_current=1 if the screen is powered by hdmi. This way your pi will supply enough power to your screen. Be sure that the main power supply is powerful enough for all your devices (5v 3A). For larger screen '=(10" and larger), be sure to use an external power supply.

If the image has not the good resolution during emulation, you'll need to edit the file recalbox.conf and change the global.videomode variable :

global.videomode=default

You can tune the custom mode thanks to this page https://www.raspberrypi.org/documentation/configuration/config-txt/video.md

hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace> <rb>

Value 	Default 	Description
width 	(required) 	width in pixels
height 	(required) 	height in pixels
framerate 	(required) 	framerate in Hz
aspect 	3 	aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9
margins 	0 	0=margins disabled, 1=margins enabled
interlace 	0 	0=progressive, 1=interlaced
rb 	0 	0=normal, 1=reduced blanking

English

Basic

Advanced


Français

Basique

Avancée


Deutsch

Basic

Fortgeschritten


Español

Basic

Avanzado


Português

Básico

Avançado


Italiano

Di base

Avanzate

Clone this wiki locally
You can’t perform that action at this time.