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

From Waveshare Wiki
Jump to: navigation, search
(FAQ)
 
(7 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|brand=Waveshare
 
|brand=Waveshare
 
|{{#urlget:amazon|default}}=display
 
|{{#urlget:amazon|default}}=display
|website_cn=[http://www.waveshare.net/ 官方中文站点]
+
|website_cn=[https://www.waveshare.net/shop/5inch-HDMI-LCD-B.htm 5inch HDMI LCD (B)]
|website_en=[http://www.waveshare.com/ Waveshare website]
+
|website_en=[https://www.waveshare.com/5inch-hdmi-lcd-b.htm 5inch HDMI LCD (B)]
 
|interface1 =USB
 
|interface1 =USB
 
|interface2 =HDMI
 
|interface2 =HDMI
Line 16: Line 16:
 
{{Product List|Mini PC/Raspberry Pi/Displays}}
 
{{Product List|Mini PC/Raspberry Pi/Displays}}
 
}}
 
}}
== Introduction ==
+
== '''Introduction''' ==
5 inch Resistive Touch Screen LCD, HDMI interface, supports various systems
+
5 inch Resistive Touch Screen LCD, with a resolution of 800×480, which supports Raspberry Pi and can also be used as a computer monitor.
  
 
{{Amazon|{{#urlget:amazon|default}}=display
 
{{Amazon|{{#urlget:amazon|default}}=display
 
|More = [http://www.waveshare.com/5inch-HDMI-LCD-B.htm More]}}
 
|More = [http://www.waveshare.com/5inch-HDMI-LCD-B.htm More]}}
 +
 +
=='''Features'''==
 +
*800x480 hardware resolution.
 +
*Resistive touch control.
 +
*Using with Raspberry Pi, it supports Raspbian / Ubuntu / Kali / Retropie and WIN10 IoT, no need to install any drivers.
 +
*Using as a computer monitor, it supports Windows 10 / 8.1 / 8 / 7, single touch, no need to install any drivers.
 +
*Support backlight control, more power saving.
 
===Video===
 
===Video===
 
<youtube>
 
<youtube>
Line 27: Line 34:
 
{{5inch HDMI LCD (B) user manual}}
 
{{5inch HDMI LCD (B) user manual}}
 
{{5inch HDMI LCD (B) Resources}}
 
{{5inch HDMI LCD (B) Resources}}
==FAQ==
+
 
{{FAQ|What is consumption of 5inch HDMI LCD (B)?|
+
=='''FAQ'''==
With 5V power input, the working current is about 385mA when backlight is on, 195mA when backligh is off
+
{{FAQ| What should I do if I connect to the PC with LCD and it cannot display normally?
 +
|
 +
*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 PCs need to be restarted to make the 7inch HDMI LCD display normally.
 +
 
 +
Note: The PC must use windows system.
 +
}}
 +
{{FAQ|Do I need an external power supply when I use 5inch HDMI LCD (B) connect to Raspberry Pi?
 +
|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.
 +
}}
 +
{{FAQ|What can I do if the thin red lines appear on the edge of the screen?
 +
|
 +
*Edit the config.txt and add this line at the end of the config.txt file:
 +
<nowiki>hdmi_drive=1</nowiki>
 +
}}
 +
{{FAQ|How to use the touch function when connected to a Linux PC which 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 consumption of 5inch HDMI LCD (B)?|
 +
With 5V power input, the working current is about 385mA when the backlight is on, 195mA when the backlight is off.
 +
}}
 +
{{FAQ|Can the brightness of 5inch HDMI LCD (B) be adjusted by modifying the resistance?
 +
|The screen brightness can be changed by modifying the resistance of the resistor in the figure below, the default resistance is 2.7 ohms.
 +
 
 +
[[File:5inch HDMI LCDB FAQ2.png|400px]]
 
|||}}
 
|||}}
== Anti-Piracy ==
+
 
 +
== '''Anti-Piracy''' ==
 
{{RPi LCD Anti-Piracy}}
 
{{RPi LCD Anti-Piracy}}
== <font color=red>Beware of knock-offs</font> ==
+
== <font color=red>'''Beware of knock-offs'''</font> ==
 
{{Beware of knock-offs}}
 
{{Beware of knock-offs}}
==Support==
+
=='''Support'''==
{{Service00}}
+
{{Service02}}
  
 
[[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]]

Latest revision as of 09:55, 31 July 2020

5inch HDMI LCD (B)
Supports various systems
5inch-HDMI-LCD-B-intro.jpg

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

{{{name3}}}

{{{name4}}}

{{{name5}}}

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

Introduction

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

More

Features

  • 800x480 hardware resolution.
  • Resistive touch control.
  • Using with Raspberry Pi, it supports Raspbian / Ubuntu / Kali / Retropie and WIN10 IoT, no need to install any drivers.
  • Using as a computer monitor, it supports Windows 10 / 8.1 / 8 / 7, single touch, no need to install any drivers.
  • Support backlight control, more power saving.

Video

Working with PC

This LCD can support Windows 7/8 / 8.1 / 10 system.

1) Turn on the backlight switch on the back of the LCD.

2) Connect the Touch interface of the LCD to the USB interface of the PC. Wait for a while, the windows will automatically recognize the touch function.

3) Connect the HDMI interface of the LCD to the HDMI interface of the PC.

Normally you can see an interface similar to the following figure. (Some PCs may need to be restarted to display)

5inch-HDMI-LCD-B-Rev2.1-00.jpg

Note: 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.


Touch Settings on Win 10 PC

Some users want to connect more than one display to their PC. Here we talk about how to setting the touch to make the touchscreen control its screen separately.

  • Connect touchscreen to PC. Here we use a standard PC monitor and connect a 7inch HDMI LCD (C) for example. We make the monitor as the main screen and the touchscreen as a secondary screen.
  • By default, The touchscreen can only control the cursor on the main screen. Here we set it to control the secondary screen.
  • Open Control Panel and search Tablet PC setting on the control panel and open the tool.

Tablet PC Setting.jpg

  • Click button "Setup..." to set the touchscreen

Tablet PC Setting Setup.jpg

  • After clicking the setup you can find that it is prompt on your first screen with white color background and other screens are white.

LCD-PC-Touch.png

  • If we want the touch of the touchscreen to control the desktop of the touchscreen itself. Just press Enter key to pass the first screen. And the second screen, when you find that the black text is displayed on the touchscreen, just touch the center of the touchscreen to finish this setting.
  • After this setting, the touch on the screen will just control this touchscreen even though it is not the main screen.

Note:

1 If the first screen and the second screen are touchscreens as well, you can touch them when the text is displayed on the screens. Then you can find that all the touchscreen can work.

2 This method is just tested on win 10 PC.

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  
hdmi_drive=1

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) Turn on the backlight switch on the back of the LCD.

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

8) 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.

Calibration in Raspbian

If a latest Raspbian OS is in used, you should connect your Pi to the internet and install xserver-xorg-input-evdev.

sudo apt-get install xserver-xorg-input-evdev
  • Just be sure that evdev.conf has a higher number than 40-libinput.conf. For example, rename 10-evdev.conf to 45-evdev.conf. this forces evdev to load after libinput.
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
sudo reboot

This LCD can be calibrated using a program called xinput_calibrator and you should get and install the program manually with

sudo apt-get install -y xinput-calibrator

Enter the following commands for touch screen calibration:

sudo DISPLAY=:0.0 xinput_calibrator

or select Menu -> Preferences -> Calibrate Touchscreen.

After running these commands, there will be a prompt for four-point calibration shown in the LCD screen. Click the points one by one to finish the touch calibration. Then, the new calibration data will be displayed in the terminal, as shows below. Please get these data for future use.

Doing dynamic recalibration:
Setting new calibration data: 3919, 208, 236, 3913

Enter the following command to edit 99-calibration.conf:

sudo nano /etc/X11/xorg.conf.d/99-calibration.conf

Then, the old calibration data will be displayed in the terminal:

Section "InputClass"
Identifier	"calibration"
MatchProduct	"ADS7846 Touchscreen"
Option	"Calibration"	"160 3723 3896 181"
Option	"SwapAxes"	"1"
EndSection

Modify the calibration data to the new calibration data displayed in the step 2):

Section "InputClass"
Identifier	"calibration"
MatchProduct	"ADS7846 Touchscreen"
Option	"Calibration"	"3919 208 236 3913"
Option	"SwapAxes"	"1"
EndSection

Press the keys Ctrl+X, and select the option Y to save the modification.

The modification will be valid after rebooting the system. Enter the following command for system reboot:

sudo reboot

Resources

User Manual

Software

LCD Panel Dimension

3D drawing

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

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 PCs 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 (B) 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:
What can I do if the thin red lines appear on the edge of the screen?
Answer:
  • Edit the config.txt and add this line at the end of the config.txt file:
hdmi_drive=1


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 consumption of 5inch HDMI LCD (B)?
Answer:

With 5V power input, the working current is about 385mA when the backlight is on, 195mA when the backlight is off.


Question:
Can the brightness of 5inch HDMI LCD (B) be adjusted by modifying the resistance?
Answer:
The screen brightness can be changed by modifying the resistance of the resistor in the figure below, the default resistance is 2.7 ohms.

5inch HDMI LCDB FAQ2.png



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

Please contact us by Email/Skype/WeChat for technology support. Because of jet lag, our response may be late, you can just leave your questions, we will reply to you as soon as possible in working time.

Service email.png [email protected]
Service skype.png [email protected]
Service wechat.png Webchat Linzeru.png
Service time.png 09:00 - 18:00 (UTC+8 Monday to Staturday)