5inch HDMI LCD (H)

From Waveshare Wiki
Jump to: navigation, search
5inch HDMI LCD (H)
Supports various systems
5inch-HDMI-LCD-H-1.jpg

5 inch Capacitive Touch Screen LCD, HDMI interface, supports various systems
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Primary Attribute
Category: OLEDs / LCDs, LCD, Raspberry Pi LCD
{{{userDefinedInfo}}}: {{{userdefinedvalue}}}
Brand: Waveshare
Website
International: 5inch HDMI LCD (H)
Chinese: 5inch HDMI LCD (H)
Onboard Interfaces
USB HDMI
Related Products

Introduction

5-inch Capacitive Touch Screen LCD, with a resolution of 800×480 and a capacitive touch panel, which supports Raspberry Pi and can also be used as a computer monitor.

More

Features

  • 800x480 hardware resolution, configurable by software. (up to 1920x1080)
  • Used with Raspberry Pi, supports Raspbian, Ubuntu, WIN 10 IoT, single touch, and driver free.
  • Multi-languages OSD menu, for power management, brightness/contrast adjustment, etc.
  • It has a 3.5mm audio jack and supports HDMI audio output.
  • Supports VGA input (specific cable is required and should be purchase separately)

Working with PC

This product supports Windows 10/8.1/8/7 OS. For the Windows 10/8.1/8 OS, the touch screen supports multi-touch up to 5 points. For some Windows 7 OS, the touch screen supports single touch only.

1. Connect the TOUCH interface of LCD to the USB interface of PC. Wait for a while, the windows will automatically recognize the touch function.
2. If you use HDMI, you need to connect the HDMI interface of LCD to the HDMI port of PC. About 10s later, you can see the LCD display properly. If you need the audio, you can insert a 3.5mm earphones to HP ports, or connect to the related speaker module through the speaker interface (such as 8 ohms 5-watt speaker).
3. If you use VGA, you need to connect the VGA interface of LCD to PC's VGA ports by Mini HDMI to VGA Cable.

Note:

  • 1) When the computer is connected to several different displays at the same time, only this LCD can be used to control the cursor on the main display, so we recommended to set this LCD as the main display.
  • 2) Some of PC cannot support HDMI screen Hot Plug. In this case, restart the PC can solve.
  • 3) Sometimes LCD will flicker because of undersupplying from USB cable of PC. You need to connect an external power supply (5V/2A) to DC port.
  • 4) HP audio output only works while using HDMI communication.

Calibration touch on Win 10 PC

Take the windows10 system as an example:

  • 1. Enter the Windows settings of the system, type in the search bar and click "Calibrate the screen for pen or touch input" (as shown in the picture below)

Win10 touch011.png

  • 2. Click "Setup" in the pop-up "Tablet PC Settings" interface:

Win10 touch02.png


  • 3. The following text prompt will appear on the screen. Please tap the touch screen with your finger, and the computer will recognize it as a touch screen.

【Note】If the touch screen is blank, press the "Enter" key, and the text prompt will switch to the touch screen. (The screen which displays the text prompt will be used as a touch screen!)

Win10 touch03.png

Working with Raspberry Pi

This LCD can support Raspbian / Ubuntu / Kali / Retropie and WIN10 IoT systems. When the LCD works on systems such as Raspberry Pi, the resolution must be set manually, otherwise, it will cause abnormal display. There is no such problem when the LCD works on the PC version of Windows.

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.exe software to format the TF card.

3) Open the Win32DiskImager.exe 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.

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

You must make sure that there are no spaces on either side of the equal sign.

5) Insert the TF card into the Raspberry Pi

6) Connect the Touch interface of the LCD to the USB interface of the Raspberry Pi.

7) Connect the HDMI interface of the LCD to the HDMI interface of the Raspberry Pi, power on the Raspberry Pi, and wait for a few seconds until the LCD displays normally.

Note:

  • Resolution of Ubuntu Mate OS or Windows 10 IoT Core OS can also be set properly by editing config.txt.
  • For Pi Zero / Zero W: if you've used an SD card on a Pi 3 and then attached the card to the Pi Zero, the touch screen often doesn't work. In such cases, you have to write a fresh system image to the SD card. The first boot up must be done on the Pi Zero but not Pi 3, due to initialization for a corresponding device.

Rotation(Working with Raspberry Pi)

Display Rotating

Add this statement in the config.txt file (the config file is located in the root directory of the TF card, which is named /boot):

display_rotate=1 #1:90;2: 180; 3: 270

Note: For Raspberry Pi 4, you need to comment out dtoverlay=vc4-fkms-V3D.

#dtoverlay=vc4-fkms-V3D.

And then restart the Raspberry Pi after saving.

sudo reboot

Touch Rotating

After the display is rotated, the position of touch is incorrect because the touch doesn’t change with the display angle. So the touch also needs to be modified.

1.Install libinput.

sudo apt-get install xserver-xorg-input-libinput

If the system you installed is Ubuntu or Jetson Nano. The installation code is:

sudo apt install xserver-xorg-input-synaptics

2.Create the xorg.conf.d directory under /etc/X11/ (if the directory already exists, proceed directly to step 3).

sudo mkdir /etc/X11/xorg.conf.d

3.Copy the 40-libinput-conf file to the directory you created just now.

sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/

4.Edit this file.

sudo nano /etc/X11/xorg.conf.d/40-libinput.conf

Find the part of the touchscreen, add the following statement inside, and then save the file.

Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"

Similar to the picture below:

Touch roate.jpg
5. save and reboot your Pi

sudo reboot

After completing these steps. The LCD could rotate 90 degrees both display and touch function.

Note:

90 degree: Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"

180 degree: Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"

270 degree: Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"

Demo video about rotating

Key Introduction

5inch HDMD LCD H 01.jpg

  • Power: Open or Close LCD display
  • Menu: Open OSD menu (It can also work as OK after entering the menu )
  • Up/Left: Direction button
  • Down/Right: Direction button
  • Exit: it can also work as Return after entering the menu

You can use the "Power" button to close the LCD display for reducing consumption if it will be idle for a long time.

Open OSD menu by press button Menu, use "OK button" and "Direction button" to change the configuration, and then use "Return button" to exit.

Resource

User Manual

Software

Backlight Control

Note: We don't recommend you to do any hardware modification, which may damage LCD if you are not good at it. So be careful when you following this manual

External guides

3D file

FAQ

Question:
What should I do if I connect to the PC with LCD and it cannot display normally?
Answer:
  • Make sure that the HDMI interface of the PC can output normally.
  • The PC only connects to this LCD as a monitor without others.
  • You should connect the touch cable first and then the HDMI cable.
  • Some PC need to be restarted to make the 7inch HDMI LCD display normally.

Note: The PC must use windows system.


Question:
Do I need an external power supply when I use 5inch HDMI LCD (H) connect to Raspberry Pi?
Answer:
When the Raspberry Pi is powered by a 5V 2A power adapter and connects to 5inch HDMI LCD (H), it doesn’t require an external power supply by default. However, if the user uses the Raspberry Pi to drive other high-power devices at the same time, the USB interface on the Raspberry Pi may be insufficiently powered, at this time an external power supply is required.


Question:
How to use the touch function when connected to a Linux PC which is non-designated?
Answer:
You can try to compile the universal touch driver "hid-multitouch" into the kernel, which generally can make the touch function work.


Question:
What is the working current for the 5inch HDMI LCD (H) when it works normally?
Answer:
Using 5V power supply, the working current is about 400mA.



Anti-Piracy

Since the first-generation Raspberry Pi released, Waveshare has been working on designing, developing, and producing various fantastic touch LCDs for the Pi. Unfortunately, there are quite a few pirated/knock-off products in the market. They're usually some poor copies of our early hardware revisions, and comes with none support service.

To avoid becoming a victim of pirated products, please pay attention to the following features when purchasing:

RPi-LCD-Anti-Piracy.jpg

(Click to enlarge)

Beware of knock-offs

Please note that we've found some poor copies of this item in the market. They are usually made of inferior materials and shipped without any testing.

You might be wondering if the one you're watching or you've purchased in other non-official stores is original, feel free to contact us.

Support

If you require technical support, please go to the Support page and post a tickets.