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

From Waveshare Wiki
Jump to: navigation, search
(One intermediate revision by the same user not shown)
Line 21: Line 21:
 
{{Amazon|{{#urlget:amazon|default}}=display
 
{{Amazon|{{#urlget:amazon|default}}=display
 
|More = [https://www.waveshare.com/5inch-hdmi-lcd-g.htm More]}}
 
|More = [https://www.waveshare.com/5inch-hdmi-lcd-g.htm More]}}
=== Documents===
+
{{5inch HDMI LCD (G) user manual}}
 +
== Resources ==
 
* [https://www.waveshare.com/w/upload/a/a9/5inch_HDMI_LCD_G_User_Manual_en.pdf User Manual]
 
* [https://www.waveshare.com/w/upload/a/a9/5inch_HDMI_LCD_G_User_Manual_en.pdf User Manual]
 
+
===External guides===
=== Resources ===
+
*[https://www.waveshare.com/w/upload/1/1f/Working_with_Volumio.pdf  Woring with Volumio]
 +
===3D  file===
 
*[https://www.waveshare.com/w/upload/a/a3/5inch_HDMI_LCD_RTD2660.zip 3D file]
 
*[https://www.waveshare.com/w/upload/a/a3/5inch_HDMI_LCD_RTD2660.zip 3D file]
 
===Backlight Control===
 
===Backlight Control===
Line 30: Line 32:
 
*[[:File:PWM control backlight manual.pdf|PWM control brightness of LCD]]
 
*[[:File:PWM control backlight manual.pdf|PWM control brightness of LCD]]
  
<!--
 
== 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 Window 7 OS, the touch screen supports single touch only.
 
 
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.
 
{{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]])
 
 
'''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.
 
 
{{Touch Rotating}}
 
 
=== Buttons===
 
[[File:400px-5inch_HDMD_LCD_H_01.jpg |400px]]
 
*Power: Open/Close the backlight
 
*Menu: Open the Menu (work as OK as well)
 
*Down/Right: Direction
 
*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
 
-->
 
  
 
==Support==
 
==Support==

Revision as of 10:23, 31 July 2019

5inch HDMI LCD (H)
Supports various systems
5inch-HDMI-LCD-G-1.jpg

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

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

800x480, 5 inch Resistive Touch Screen LCD, HDMI interface, supports various systems

More

Working with PC

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

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. After about 10 seconds, you can see the LCD display normally.

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

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


  • 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 Raspberry Pi OS / Ubuntu / Kali / Retropie systems.

Please download the latest version of the image from the Raspberry Pi official website.

1. Download the compressed file to the PC, and extract the img file.
2. Connect the TF card to the PC and use SDFormatter to format the TF card.
3. Open the Win32DiskImager software, select the system image prepared in step 1, and click write to burn the system image.
4. After the programming is completed, open the config.txt file in the root directory of the TF card, add the following code at the end of config.txt and save it.

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

You must ensure that there are no spaces around the equal sign.
5. Insert the TF card into the Raspberry Pi and turn on the backlight switch on the back of the LCD.
6. Connect the Touch port of the LCD to the USB port of the Raspberry Pi.
7. Connect the HDMI port of the LCD to the HDMI port of the Raspberry Pi, power on the Raspberry Pi, and wait for a few seconds to display normally.

Calibration in Raspbian

Install related software:

sudo apt-get install xinput-calibrator
sudo apt-get install xserver-xorg-input-evdev
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
sudo reboot
  • There will be an additional Calibrate Touchscreen in Menu -> Preferences, run the program to calibrate.
  • Perform touch calibration according to the displayed prompt. After calibration, there should be a good touch effect (if the error is relatively large, you can re-run the calibration procedure).
  • If you want to save these touch values, you need to create a new 99-calibration.conf file in the following path.
/etc/X11/xorg.conf.d/99-calibration.conf
  • Save the following information to 99-calibration.conf.

5inch HDMI LCD FAQ1.jpg

Resources

External guides

3D file

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


Support

Support

If you require technical support, please go to the Support page and open a ticket.