Difference between revisions of "7inch HDMI LCD (C)"

From Waveshare Wiki
Jump to: navigation, search
Line 81: Line 81:
 
=='''Working with Raspberry Pi'''==
 
=='''Working with Raspberry Pi'''==
 
==='''How to use'''===
 
==='''How to use'''===
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.
+
This LCD can support Raspberry Pi OS / 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.
  
 
Please download the latest version of the image on the [https://www.raspberrypi.org/downloads/ Raspberry Pi official website.]
 
Please download the latest version of the image on the [https://www.raspberrypi.org/downloads/ Raspberry Pi official website.]
Line 89: Line 89:
 
2) Connect the TF card to the PC, use SDFormatter.exe software to format the TF card.
 
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.
+
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.
 
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.
Line 107: Line 107:
 
【Note】  
 
【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.
+
*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 to display the system desktop normally
+
*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:
 
Modification method: Open the config.txt file in the root directory of the TF card, find the following line:
 +
<pre>
 +
dtoverlay=vc4-kms-v3d
 +
</pre>
  
dtoverlay=vc4-kms-v3d
 
 
change into
 
change into
  
dtoverlay=vc4-fkms-v3d
+
<pre>
 
+
dtoverlay=vc4-fkms-v3d
 +
</pre>
 
* 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.
 
* 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.
  
Line 123: Line 126:
  
 
The installation method is as follows:
 
The installation method is as follows:
cd ~
+
<pre>
sudo apt install cmake
+
cd ~
git clone https://github.com/raspberrypi/userland
+
sudo apt install cmake
cd userland
+
git clone https://github.com/raspberrypi/userland
./buildme
+
cd userland
sudo cp build/bin/* /bin/
+
./buildme
 +
sudo cp build/bin/* /bin/
 +
 
 +
</pre>
  
 
Then execute the following command to shut down the system:
 
Then execute the following command to shut down the system:
poweroff
+
<pre>
 +
poweroff
 +
</pre>
 +
 
 
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:
 
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:
 
Take a picture:
raspistill -o image.jpg
+
<pre>
 +
raspistill -o image.jpg
 +
</pre>
 +
 
 
Take a video:
 
Take a video:
raspivid -o video.h264 -t 10000
+
<pre>
 +
raspivid -o video.h264 -t 10000
 +
</pre>
  
 
==='''Adjust the backlight on the Raspberry Pi(for Rev4.1 version of the 7inch HDMI LCD(C))'''===
 
==='''Adjust the backlight on the Raspberry Pi(for Rev4.1 version of the 7inch HDMI LCD(C))'''===

Revision as of 03:07, 8 December 2021

7inch HDMI LCD (C)
7inch HDMI LCD (C)
7inch HDMI LCD (C) (bicolor version

{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

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.
  • Use with Raspberry Pi, it supports Raspbian / Ubuntu / Kali / Retropie and WIN10 IoT, no need to install any drivers.
  • 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.

Working with PC

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

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

Working with Raspberry Pi

How to use

This LCD can support Raspberry Pi OS / 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.

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

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

  • Method 1

Download the file through the network, open the Raspberry Pi system terminal, and enter the following commands:

wget https://www.waveshare.com/w/upload/0/06/7C_brightness_Raspi.zip
sudo unzip 7C_brightness_Raspi.zip -d ./7C_brightness_Raspi/
cd 7C_brightness_Raspi
sudo chmod +x 7C_brightness_Raspi     
sudo ./7C_brightness_Raspi -b  X   # X range is 0~10, 0 is the darkest, 10 is the brightest
For example:sudo ./7C_brightness_Raspi -b  10
  • Method 2

Download 7C_Rev4.1_Raspberry Pi to adjust the backlight file via PC, and unzip it to any directory of Raspberry Pi. Enter the Raspberry Pi terminal and enter the following commands:

cd 7C_brightness_Raspi
sudo chmod +x 7C_brightness_Raspi     
sudo ./7C_brightness_Raspi -b  X   # X range is 0~10, 0 is the darkest, 10 is the brightest
For example:sudo ./7C_brightness_Raspi -b  10

7C Brightness.png

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.

Resources

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 Drawings

LCD Panel Dimension

Certification

Assembly tutorial

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:
  • 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:
Using 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}}}


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