7inch HDMI LCD (C)

From Waveshare Wiki
Revision as of 11:08, 31 May 2022 by Eng49 (talk | contribs)
Jump to: navigation, search
7inch HDMI LCD

{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Overview

7-inch HDMI display, with a resolution of 1024 × 600 and a capacitive touch panel, which supports Raspberry Pi and can also be used as a computer monitor.

More

Features

  • 7-inch IPS screen with a hardware resolution of 1024 × 600.
  • 5-points capacitive touch control.
  • When used with Raspberry Pi, supports Raspberry Pi OS / Ubuntu / Kali and Retropie
  • Use as a computer monitor, it supports Windows 11 / 10 / 8.1 / 8 / 7, five-point touch, no need to install any drivers.
  • Support backlight control, more power saving.

About the version

Rev4.1 version

  • Update the USB touch protocol to improve the compatibility.
  • Brightness is adjustable by USB interface.
  • Modify drive circuit for enhancing the anti-interference ability.
  • Change the touch panel color to black.

Rev3.1 version

  • The Rev3.1 version mainly changes the touch chip of the Rev2.2 version from GT811 to GT911. The touch effect is better, and the anti-interference ability is enhanced at the same time.
  • This version is fully compatible with Rev2.1 and Rev2.2, and users can replace it with confidence.

Rev2.2 version

  • Rev2.2 version mainly adds VCOM adjustable potentiometer and related circuits of electromagnetic compatibility on the basis of Rev2.1.
  • This version is fully compatible with the Rev2.1 version, and users can replace it with confidence.

Rev2.1 version:

  • Upgrade to IPS screen, with the larger viewing angle and the clearer display effect, I believe you will like it.
  • Use standard HID protocol, you can transplant your own system conveniently.
  • Using with Raspberry Pi, it supports Raspbian / Ubuntu / Kali / Retropie and WIN10 IoT, single touch, no need to install any drivers.
  • Using as a computer monitor, it supports Windows 10 / 8.1 / 8 / 7, five-point touch, no need to install any drivers.

Rev1.1 version:

  • Using private HID protocol, it is difficult to transplant to your own system
  • Using with Raspberry Pi, you need to install a driver when the display connects to Raspbian or Ubuntu systems. and it doesn't support Kali, Retropie, and Windows 10 IoT.

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.

How to use

This LCD can support Raspberry Pi OS / Ubuntu / Kali / Retropie systems. When the LCD works on systems such as Raspberry Pi OS, the resolution must be set manually, otherwise, it will cause an abnormal display.

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 1024 600 60 6 0 0 0
hdmi_drive=1

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】

  • On December 2, 2021, the Raspberry Pi OS was divided into two branches, the Buster branch, and the Bullseye branch. The Buster branch is a continuation of the old system and is more stable. The Bullseye branch added some new features, using open source libraries and new interfaces. Since the current Bullseye branch has just been released shortly, it is not stable yet. If you are an industrial user, it is strongly recommended to use the Buster branch.
  • If you use the Buster branch system, you can use it according to the above configuration. But if you are using the Bullseye branch system, you need to modify the default KMS driver to FKMS driver for displaying the system desktop normally.

Modification method: Open the config.txt file in the root directory of the TF card, find the following line:

dtoverlay=vc4-kms-v3d

change into

dtoverlay=vc4-fkms-v3d
  • If you need to use the CSI camera under the Bullseye branch system. Since this branch uses the libcamera camera library by default, the library doesn't support FKMS drivers.

So in addition to the above modification, you also need to install the Raspicam camera library.

The installation method is as follows:

cd ~
sudo apt install cmake
git clone https://github.com/raspberrypi/userland
cd userland
./buildme
sudo cp build/bin/* /bin/

Then execute the following command to shut down the system:

poweroff

Connect the Raspberry Pi camera to the CSI interface of the Raspberry Pi, power on the Raspberry Pi again, and after the system boots, execute the following command:

Take a picture:

raspistill -o image.jpg

Take a video:

raspivid -o video.h264 -t 10000

Backlight Adjustment

#Step 1: Download and enter the RPi-USB-Brightness folder
git clone https://github.com/waveshare/RPi-USB-Brightness
cd RPi-USB-Brightness

#Step 2: Enter uname -a in the terminal to view the number of system bits, v7+ is 32 bits, v8 is 64 bits
cd 32
#cd 64

#Step 3: Enter the corresponding system directory
#Desktop version Enter the desktop directory:
cd desktop
sudo ./install.sh
#After the installation is complete, you can open the program in the start menu - "Accessories - "Brightness for backlight adjustment, as shown below:

5inch-DSI-LCD-3.gif

#lite version Enter the lite directory:
#cd lite
#./Raspi_USB_Backlight_nogui -b X
# X range is 0~10, 0 is the darkest, 10 is the brightest.
#For example: ./Raspi_USB_Backlight_nogui -b 3

Note: Only the Rev4.1 version supports the USB dimming function.

Calibrate double-touchscreen in Pi 4

  • 1. Open the terminal and input command: xrandr to check HDMI-ID of the main monitor. (It is HDMI-1 most time);

Pi4-conf-touch-1.png

  • 2. Input command xinput in the terminal, and check the touch ID of the main monitor. (There should be two IDs, you can touch displays to check which is the main one);

Pi4-conf-touch-2.png

  • 3.Tun the command:xinput map-to-output <touch ID> <HDMI-ID>

(Don't forget to change the ID to the correct one just like: xinput map-to-output 7 HDMI-1)

Pi4-conf-touch-3.png

  • 4. You can set the command to auto-run while booting and make it affect all the time:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

Add the line to the file: xinput map-to-output 7 HDMI-1 (Don't forget to change the ID to the correct one), then reboot.

Pi4-auto-start-4.png

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

How to use

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.

Note:
1) When the computer is connected to multiple monitors at the same time, the touch effect of the 7inch LCD will be applied to the main screen by default. If you need to specify the touch to the secondary screen, see #Calibration touch on Win 10 PC
2) Some of PC cannot support the HDMI screen Hot Plug. In this case, restarting 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 the DC port.

Adjust the backlight on the Windows(for Rev4.1 version of the 7inch HDMI LCD(C))

1. Download the 7C_Rev4.1_Windows backlight adjustment file and unzip it to any directory on the computer.

2. Enter the corresponding directory, double-click to open the 7C_brightness_Windows.exe software, and drag the slider to adjust the backlight.

7C Brightness-1.png

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

FAQ

 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 LCD display normally.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Please add the following command to /boot/config.txt
dusable_splash=1
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
You can repalce the splash.png from the path /usr/share/plymouth/themes/pix/splash.png to yours.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
  • Edit the config.txt and add this line at the end of the config.txt file:
hdmi_drive=1
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Adjust the adjustable potentiometer on the back. After the desktop is displayed, adjust the potentiometer to the best display effect, and then leave the screen for a while and wait for the ghost to disappear (it may take several hours).

Potentiometer of 7C.jpg


 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:
The default brightness has been adjusted to the highest, you can reduce the screen brightness by increasing the resistance of these two resistors in the picture below.

The picture below shows the Rev3.1 version, which is similar to other versions.

7inch HDMI LCD FAQ02.jpg


 Answer:
Please run the following command to modify
sudo -E rpi-eeprom-config --edit

Change the DISABLE_HDMI value from 0 to 1, or add the line:

7inchC modification.png
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Using a 5V power supply, the working current of turning on the backlight is about 490mA, and the working current of turning off the backlight is about 90mA.
{{{3}}}
{{{4}}}

{{{5}}}


Support

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