5inch HDMI LCD - Waveshare Wiki
configuration écran 5 pouces HDMI Raspberry
--------------------------------
Software Setting
This LCD can support Raspberry Pi OS / Ubuntu / Kali / Retropie systems.
Please download the latest version of the image on the Raspberry Pi official website.
1) Download the compressed file to the PC, and unzip it to get the .img file.
2) Connect the TF card to the PC, use SDFormatter software to format the TF card.
3) Open the Win32DiskImager software, select the system image downloaded in step 1, and click ‘Write’ to write the system image.
4) After the image has finished writing, open the config.txt file in the root directory of the TF card, add the following code at the end of config.txt, then save and quit the TF card safely.
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
5) Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for more than 10 seconds to display normally. But the touch is abnormal at that time, and the touch needs to be calibrated as the following steps.
Wed 01 Jan 2020 01:49:10 PM UTC - permalink -
-
https://www.waveshare.com/wiki/5inch_HDMI_LCD