Difference between revisions of "5inch HDMI LCD (H)"

From Waveshare Wiki
Jump to: navigation, search
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
+
<div class="wiki-pages jet-green-color">
 
{{Infobox item
 
{{Infobox item
 
|name=[[5inch HDMI LCD (H)]]
 
|name=[[5inch HDMI LCD (H)]]
 
|brief=Supports various systems
 
|brief=Supports various systems
|img=[[File:5inch-HDMI-LCD-H-1.jpg|300px|link=https://www.waveshare.com/5inch-hdmi-lcd-h.htm]]
+
|img=[[File:5inch-HDMI-LCD-H-1.jpg|300px|{{Amazon_nolink|default={{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}|url=link=https://www.waveshare.com/5inch-hdmi-lcd-h.htm}}]]
 
|caption=5 inch Capacitive Touch Screen LCD, HDMI interface, supports various systems
 
|caption=5 inch Capacitive Touch Screen LCD, HDMI interface, supports various systems
 
|platform=Supports various systems
 
|platform=Supports various systems
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]], [[:Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]], [[:Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
|brand=Waveshare
 
|brand=Waveshare
|{{#urlget:amazon|default}}=display
+
|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
|website_cn=[http://www.waveshare.net/shop/5inch-HDMI-LCD-H.htm 官方中文站点]
+
|website_cn=[http://www.waveshare.net/shop/5inch-HDMI-LCD-H.htm 5inch HDMI LCD (H)]
|website_en=[https://www.waveshare.com/5inch-hdmi-lcd-h.htm Waveshare website]
+
|website_en=[https://www.waveshare.com/5inch-hdmi-lcd-h.htm 5inch HDMI LCD (H)]
 
|interface1 =USB
 
|interface1 =USB
 
|interface2 =HDMI
 
|interface2 =HDMI
 
|related=
 
|related=
 +
{{Product List|Mini PC/Raspberry Pi/Displays}}
 
}}
 
}}
== Introduction ==
+
== '''Features''' ==
800x480, 5 inch Capacitive Touch Screen LCD, HDMI interface, supports various systems
+
* 5-inch capacitive touch screen with a hardware resolution of 800 × 480.
 
+
* 5-point capacitive touch control, tempered glass panel, hardness up to 6H.
{{Amazon|{{#urlget:amazon|default}}=display
+
* When works with Raspberry Pi, supports Raspberry Pi OS / Ubuntu / Kali and Retropie systems.
|More = [https://www.waveshare.com/5inch-hdmi-lcd-h.htm More]}}
+
* When working as a computer monitor, supports Windows 11/10/8.1/8/7, ten-point touch.
== Working with PC ==
+
* Multi-languages OSD menu, for power management, brightness/contrast adjustment, etc.
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 Window 7 OS, the touch screen supports single touch only.
+
* It has a 3.5mm audio jack and supports HDMI audio output.
 
+
* Supports VGA input <font color="#FF0000">([https://www.waveshare.com/Mini-HDMI-Male-to-VGA-Female-Cable.htm Mini HDMI to VGA Cable] is required and should be purchase separately)</font>
Turn on the "backlight" switch then connect the LCD to your PC (USB Port of LCD -> USB Port of PC; HDMI Port of LCD -> HDMI Port of PC. Please first connect the USB Ports then connect the HDMI Port). A new touch drive will be recognized by Windows and you can use the LCD as a human interface device. When multiple displays are detected by your PC, the LCD can only be used to control the cursor on main display. So it is proposed to set the LCD as the main display.
+
{{5inch HDMI LCD (H) user manual}}
{{Touch Setting on Win 10 PC}}
 
== Working with Raspberry Pi ==
 
For the Windows OS on PC, the resolution of the LCD is automatically identified. Hence, you do not need to make the relative settings. When working with Raspberry Pi, you should set the resolution of the LCD by yourself, or else the LCD screen will not work. For more detail information, please read the following section.
 
 
 
Turn on the "backlight" switch then connect the LCD to your Pi (HDMI Port of LCD -> HDMI Port of Pi; USB Port of LCD -> USB Port of Pi; 5V~2A power supply). Download the Raspbian image from [https://www.raspberrypi.org/downloads/ Raspberry Pi web site]. Write the image to a TF card and append the following lines to the config.txt file which is located in the root of your TF card:
 
<pre>
 
max_usb_current=1
 
hdmi_group=2
 
hdmi_mode=87
 
hdmi_cvt 800 480 60 6 0 0 0
 
hdmi_drive=1
 
</pre>
 
You must make sure that there are no spaces on either side of the equal sign.
 
 
 
Save and connect the TF card to your Pi then power up.
 
  
(Touch input working well means that the LED firmware is Rev2.1. If the LCD firmware is 1.1, see [[#About LCD revision]])
+
=='''Key Introduction'''==
 +
[[File:5inch HDMD LCD H 01.jpg|400px]]
  
'''Note: '''
+
* Power: Open or Close the LCD.
* Resolution of Ubuntu Mate OS or Windows 10 IoT Core OS can also be set properly by editing config.txt.
+
* Menu: Open OSD menu (It can also work as OK after entering the menu).
* 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.
+
* Up/Left: Direction button.
 +
* Down/Right: Direction button.
 +
* Exit: it can also work as Return after entering th.e menu.
 +
You can use the "Power" button to close the LCD to reduce consumption if it is idle for a long time.
  
{{Touch Rotating}}
+
Open the OSD menu by pressing the button Menu, use the "OK button" and "Direction button" to change the configuration, and then use the "Return button" to exit.
 +
==''' Working with Jetson Nano'''==
 +
: No additional software configuration is required for use with the Jetson Nano.
 +
:1) Connect the TOUCH port of the LCD to the USB port of the Jetson Nano.
 +
:2) Connect the HDMI port of the LCD to the HDMI port of Jetson Nano, and wait about 5 seconds to see the LCD normally. If audio output is required, you can connect 3.5mm headphones through the HP audio output port.
 +
:Note:
 +
:1)The LCD may flicker due to insufficient power supply from the USB port of Jetson Nano, generally, it can be used normally after accessing the external 5V/2A power supply through the DC port.
 +
:2)When using the HP audio interface, you may need to set the sound output settings in the system.
  
=== Buttons===
+
== '''Resource'''==
[[File:400px-5inch_HDMD_LCD_H_01.jpg |400px]]
+
=== Software ===
*Power: Open/Close the backlight
+
*[https://files.waveshare.com/upload/d/d7/Panasonic_SDFormatter.zip Panasonic SDFormatter]
*Menu: Open the Menu (work as OK as well)
+
*[https://files.waveshare.com/upload/7/76/Win32DiskImager.zip Win32DiskImager]
*Down/Right: Direction
+
*[https://files.waveshare.com/upload/5/56/Putty.zip PuTTY]
*Up/Left: Direction
 
*Exit: back
 
  
'''Note:''' If the LCD is idle for a long time, you can use the Power button to turn off backlight for reducing consumption
 
== Resource==
 
 
===Backlight Control===
 
===Backlight Control===
Note: We don't recommend you to do any hardware modification, which may demages LCD if you are not good at it. So be careful when you following this manual
+
Note: We don't recommend you do any hardware modification, which may damage the LCD if you are not good at it. So be careful when you follow this manual
*[[:File:PWM control backlight manual.pdf|PWM control brightness of LCD]]
+
*[https://files.waveshare.com/upload/5/56/PWM_control_backlight_manual.pdf PWM control brightness of LCD]
  
 
===3D file===
 
===3D file===
*[https://www.waveshare.com/w/upload/a/a3/5inch_HDMI_LCD_RTD2660.zip 3D file]
+
*[https://files.waveshare.com/upload/b/bf/5inch_HDMI_LCD_%28H%29_3D_Drawing.zip 5inch HDMI LCD (H)/(G) 3D drawing]
 +
*[https://files.waveshare.com/upload/6/61/5inch_HDMI_LCD_%28H%29_3D_Preview.zip 5inch HDMI LCD (H)/(G) 3D preview]
 +
=='''FAQ'''==
 +
{{RPI-HDMI-LCD-FAQ}}
 +
{{FAQ|Do I need an external power supply when I use a 5-inch HDMI LCD (H) connect to Raspberry Pi?
 +
|When the Raspberry Pi is powered by a 5V 2A power adapter and connects to a 5-inch 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.
 +
}}
 +
{{FAQ|How to use the touch function when connected to a Linux PC that is non-designated?
 +
|You can try to compile the universal touch driver "hid-multitouch" into the kernel, which generally can make the touch function work.
 +
}}
 +
{{FAQ|What is the working current for the 5inch HDMI LCD (H) when it works normally?
 +
|Using a 5V power supply, the working current is about 400mA.
 +
}}
 +
{{FAQ|How to use PWM to control backlight on 5inch HDMI LCD (H)?
 +
|
 +
As shown below, first remove the original soldered 22-ohm resistor, and then connect the upper pad to the Raspberry Pi P1 pin
 +
Execute the following command in the Raspberry Pi terminal:
 +
<pre>
 +
gpio -g pwm 18 0
 +
gpio -g mode 18 pwm (occupied pins are PWM pins)
 +
gpio pwmc 1000
 +
gpio -g pwm 18 X (X takes values between 0 and 1024), 0 is the brightest, 1024 is the darkest
 +
</pre>
 +
[[File:5inch HDMI LCD FAQ09.png]]
 +
||}}
  
 +
== '''Anti-Piracy''' ==
 +
{{RPi LCD Anti-Piracy}}
 +
== <font color=red>'''Beware of knock-offs'''</font> ==
 +
{{Beware of knock-offs}}
 
==Support==
 
==Support==
{{Service00}}
+
{{Servicebox1}}
  
 
[[Category:OLEDs / LCDs|OLEDs / LCDs]] [[Category:LCD|LCD]] [[Category:Raspberry Pi|Raspberry Pi]] [[Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
[[Category:OLEDs / LCDs|OLEDs / LCDs]] [[Category:LCD|LCD]] [[Category:Raspberry Pi|Raspberry Pi]] [[Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 +
</div>

Latest revision as of 02:40, 8 December 2023

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}}}

Features

  • 5-inch capacitive touch screen with a hardware resolution of 800 × 480.
  • 5-point capacitive touch control, tempered glass panel, hardness up to 6H.
  • When works with Raspberry Pi, supports Raspberry Pi OS / Ubuntu / Kali and Retropie systems.
  • When working as a computer monitor, supports Windows 11/10/8.1/8/7, ten-point touch.
  • 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 (Mini HDMI to VGA Cable is required and should be purchase separately)

Working with PC

This product supports Windows 11/10/8.1/8/7 OS.

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.About 10s later, you can see the LCD display properly.

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.

Working with Horizon Sunrise X3 Pi

Support Ubuntu20.04 system.
Please download the ubuntu20.04 image from here, and then program the system according to the user manual.

How to use:
1) Connect the Touch interface of the LCD to the USB connector of the X3 Pi.
2) Connect the HDMI interface of the LCD to the HDMI interface of the X3 Pi.
3) Provide 5V supply voltage for X3 Pi.

Note:

If you connect the LCD after booting X3 Pi, and there is no image on the LCD, you need to reboot the X3 Pi.

Working with Raspberry Pi

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, and 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  

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.


Key Introduction

5inch HDMD LCD H 01.jpg

  • Power: Open or Close the LCD.
  • 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 th.e menu.

You can use the "Power" button to close the LCD to reduce consumption if it is idle for a long time.

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

Working with Jetson Nano

No additional software configuration is required for use with the Jetson Nano.
1) Connect the TOUCH port of the LCD to the USB port of the Jetson Nano.
2) Connect the HDMI port of the LCD to the HDMI port of Jetson Nano, and wait about 5 seconds to see the LCD normally. If audio output is required, you can connect 3.5mm headphones through the HP audio output port.
Note:
1)The LCD may flicker due to insufficient power supply from the USB port of Jetson Nano, generally, it can be used normally after accessing the external 5V/2A power supply through the DC port.
2)When using the HP audio interface, you may need to set the sound output settings in the system.

Resource

Software

Backlight Control

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

3D file

FAQ

 Answer:

Add the following command to /boot/config.txt:

disable_splash=1
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:

Replace the custom image with the image in this directory /usr/share/plymouth/themes/pix/splash.png.

{{{3}}}
{{{4}}}

{{{5}}}


 Answer:

Test environment: 2022-04-04-raspios-bullseye-armhf 32-bit system
Supported models: Support Waveshare DSI LCD, DPI LCD, and HDMI LCD capacitive touch screen series.Only support 32bit system

Software Installation

wget https://files.waveshare.com/upload/1/18/Evdev-right-click-emulation.zip
unzip Evdev-right-click-emulation.zip
cd evdev-right-click-emulation
sudo apt install build-essential libevdev2 libevdev-dev
cd 'evdev-right-click-emulation'
sudo cp 'out/evdev-rce' '/usr/local/bin/'
sudo chmod +x '/usr/local/bin/evdev-rce'

Enter the command:

sudo evdev-rce

After running, you can touch and long press to realize the right-click function.

Set IP

sudo usermod -G 'input' -a pi
echo 'uinput' | sudo tee -a /etc/modules
sudo nano  /etc/udev/rules.d/99-uinput.rules

Add in 99-uinput.rules file.

KERNEL=="uinput", MODE="0660", GROUP="input"

save it and run it in the terminal.

sudo udevadm control --reload-rules
sudo udevadm trigger

Then reboot:

sudo reboot

Run after reboot (no sudo needed at this point).

evdev-rce

After running, you can touch and long press to realize the right-click function.

Set Startup

Enter the terminal:

sudo mkdir ~/.config/autostart
sudo nano ~/.config/autostart/right_click.desktop

Add the following in right_click.desktop.

[Desktop Entry]
Version=1.0
Type=Application
Name=evdev-rce
GenericName=Enable long-press-to-right-click gesture
Exec=env LONG_CLICK_INTERVAL=1000 LONG_CLICK_FUZZ=200  /usr/local/bin/evdev-rce
Terminal=true
StartupNotify=false

#If you want to modify the sensitivity, you can modify the size of the two parameters, LONG_CLICK_INTERVAL=1000 LONG_CLICK_FUZZ=200.

{{{5}}}



 Answer:

It depends on the system, if the system has hibernation, the screen will also be black. If it is the official system of Raspberry Pi, the default is about ten minutes without action to have hibernation.


 Answer:
When the Raspberry Pi is powered by a 5V 2A power adapter and connects to a 5-inch 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.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
You can try to compile the universal touch driver "hid-multitouch" into the kernel, which generally can make the touch function work.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Using a 5V power supply, the working current is about 400mA.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:

As shown below, first remove the original soldered 22-ohm resistor, and then connect the upper pad to the Raspberry Pi P1 pin Execute the following command in the Raspberry Pi terminal:

gpio -g pwm 18 0
gpio -g mode 18 pwm (occupied pins are PWM pins)
gpio pwmc 1000
gpio -g pwm 18 X (X takes values between 0 and 1024), 0 is the brightest, 1024 is the darkest

5inch HDMI LCD FAQ09.png

{{{5}}}


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



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)