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

From Waveshare Wiki
Jump to: navigation, search
Line 1: Line 1:
 
+
<div class="tabber">
 +
<div class="tabbertab" title="Introduction">
 
{{Infobox item
 
{{Infobox item
 
|img=<div class="tabber"><div class="tabbertab" title="Standard Version">
 
|img=<div class="tabber"><div class="tabbertab" title="Standard Version">
Line 6: Line 7:
 
</div>
 
</div>
 
</div>
 
</div>
<!--
 
|name=[[7inch HDMI LCD (C)]]
 
|name2=7inch HDMI LCD (C) (with bicolor case)
 
|brief=Supports various systems
 
|img=[[File:7inch-HDMI-LCD-C_l.jpg|300px|link=http://www.waveshare.com/7inch-HDMI-LCD-C.htm]]
 
|img2=[[File:7inch-HDMI-LCD-Bicolor-Holder-2.jpg|300px|link=http://www.waveshare.com/7inch-hdmi-lcd-c-with-bicolor-case.htm]]
 
|caption=7 inch Capacitive Touch Screen LCD, HDMI interface, supports various systems
 
|caption2=7inch HDMI LCD (C) + Bicolor case
 
-->
 
 
|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]]
Line 27: Line 19:
 
{{Product List| Mini PC/Raspberry Pi/Displays}}
 
{{Product List| Mini PC/Raspberry Pi/Displays}}
 
}}
 
}}
<!--
+
{{7inch HDMI LCD C Spec}}
<big><font color=#FF0000> '''Note: Some users may find that if they didn't set the config file for the first time, then after modifying it and reboot their pi, the LCD will flicker and has a ghost problem. In this case, please power off the LCD and put it aside for several hours.(wait for the flickering and ghost disappear), and test it again. (please make sure you have set the corresponding resolution as the guide below before using). And you can also adjust the potentiometer on the backside for properly display</font></big>
+
</div>
-->
+
<div class="tabbertab" title="Raspberry Pi Guides">
== '''Introduction''' ==
+
{{7inch HDMI LCD C Pi Guides}}
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.
+
</div>
{{Amazon|{{#urlget:amazon|default}}=display
+
<div class="tabbertab" title="Windows Guides">
|More = [http://www.waveshare.com/7inch-HDMI-LCD-C.htm More]}}
+
{{7inch HDMI LCD C Windows Guides}}
== '''Features''' ==
+
</div>
*7-inch IPS screen with a hardware resolution of 1024×600.
+
<div class="tabbertab" title="Resources">
*5-points capacitive touch control.
+
==Documents==
*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 [https://www.waveshare.com/w/upload/e/e9/7C_brightness_Windows.zip 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.
 
:[[File:7C_Brightness-1.png|600px]]
 
 
 
=='''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)
 
 
 
[[File:win10_touch011.png|700px]]
 
 
 
*2. Click "Setup" in the pop-up "Tablet PC Settings" interface:
 
 
 
[[File:win10_touch02.png|400px]]
 
 
 
 
 
*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.
 
 
 
<font color=red>【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!) </font>
 
 
 
[[File:win10_touch03.png|800px]]
 
=='''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 [https://www.raspberrypi.org/downloads/ 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:
 
<pre>
 
dtoverlay=vc4-kms-v3d
 
</pre>
 
 
 
change into
 
 
 
<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.
 
 
 
So in addition to the above modification, you also need to install the Raspicam camera library.
 
 
 
The installation method is as follows:
 
<pre>
 
cd ~
 
sudo apt install cmake
 
git clone https://github.com/raspberrypi/userland
 
cd userland
 
./buildme
 
sudo cp build/bin/* /bin/
 
 
 
</pre>
 
 
 
Then execute the following command to shut down the system:
 
<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:
 
 
 
Take a picture:
 
<pre>
 
raspistill -o image.jpg
 
</pre>
 
 
 
Take a video:
 
<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))'''===
 
*Method 1
 
 
 
Download the file through the network, open the Raspberry Pi system terminal, and enter the following commands:
 
<pre>
 
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
 
</pre>
 
 
 
*Method 2
 
 
 
Download [https://www.waveshare.com/w/upload/0/06/7C_brightness_Raspi.zip 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:
 
<pre>
 
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
 
</pre>
 
[[File:7C_Brightness.png|800px]]
 
<!--
 
== '''Rotation'''(Working with Raspberry Pi) ==
 
 
 
'''Display Rotating'''
 
 
 
Add this statement in the config.txt file (the config file is located in the root directory of the TF card, which is named /boot):
 
display_rotate=1 #1:90;2: 180; 3: 270
 
<font color=red>Note: For Raspberry Pi 4, you need to comment out dtoverlay=vc4-fkms-V3D.
 
#dtoverlay=vc4-fkms-V3D.</font>
 
 
 
And then restart the Raspberry Pi after saving.
 
sudo reboot
 
'''Touch Rotating'''
 
 
 
After the display is rotated, the position of touch is incorrect because the touch doesn’t change with the display angle. So the touch also needs to be modified.
 
 
 
1.Install libinput.
 
sudo apt-get install xserver-xorg-input-libinput
 
 
 
If the system you installed is Ubuntu or Jetson Nano. The installation code is:
 
sudo apt install xserver-xorg-input-synaptics
 
 
 
2.Create the xorg.conf.d directory under /etc/X11/  (if the directory already exists, proceed directly to step 3).
 
sudo mkdir /etc/X11/xorg.conf.d
 
 
 
3.Copy the 40-libinput-conf file to the directory you created just now.
 
sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/
 
4.Edit this file.
 
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
 
 
 
Find the part of the touchscreen, add the following statement inside, and then save the file.
 
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
 
 
 
Similar to the picture below:
 
 
 
[[File:touch roate.jpg]]<br />
 
 
 
5. Restart the Raspberry Pi.
 
sudo reboot
 
 
 
'''Note:'''
 
 
 
90 degree rotation: Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
 
 
 
180 degree rotation: Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
 
 
 
270 degree rotation: Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
 
-->
 
 
 
== '''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''' ==
 
 
*[https://www.waveshare.com/w/upload/c/cc/7inch_HDMI_LCD_%28C%29_User_Manual.pdf 7inch HDMI LCD (C) User Manual]
 
*[https://www.waveshare.com/w/upload/c/cc/7inch_HDMI_LCD_%28C%29_User_Manual.pdf 7inch HDMI LCD (C) User Manual]
 +
*[http://www.waveshare.com/w/upload/3/33/7inch-hdmi-lcd-c-panel-dimension.pdf 7inch HDMI LCD (C) panel dimension]
 +
*[https://www.waveshare.com/img/devkit/accessories/7inch-HDMI-LCD-Bicolor-Holder/7inch-HDMI-LCD-C-assemble.jpg Assembly tutorial with 7inch HDMI LCD (C) (with bicolor case)]
 +
*[https://www.waveshare.com/w/upload/1/1f/Working_with_Volumio.pdf  Woring with Volumio]
 +
*[https://www.waveshare.com/w/upload/a/a5/7inch_HDMI_LCD_%28C%29_Certification.rar CE RoHS]
 
=== Software ===
 
=== Software ===
 
*[http://www.waveshare.com/w/upload/d/d7/Panasonic_SDFormatter.zip Panasonic SDFormatter]
 
*[http://www.waveshare.com/w/upload/d/d7/Panasonic_SDFormatter.zip Panasonic SDFormatter]
 
*[http://www.waveshare.com/w/upload/7/76/Win32DiskImager.zip Win32DiskImager]
 
*[http://www.waveshare.com/w/upload/7/76/Win32DiskImager.zip Win32DiskImager]
 
*[http://www.waveshare.com/w/upload/5/56/Putty.zip PuTTY]
 
*[http://www.waveshare.com/w/upload/5/56/Putty.zip PuTTY]
===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
 
*[[:File:PWM control backlight manual.pdf|PWM control brightness of LCD]]
 
===External guides===
 
*[https://www.waveshare.com/w/upload/1/1f/Working_with_Volumio.pdf  Woring with Volumio]
 
 
=== 3D Drawings ===
 
=== 3D Drawings ===
 
* [[:File:7inch_cad.zip|7inch HDMI LCD B/C Drawings]]
 
* [[:File:7inch_cad.zip|7inch HDMI LCD B/C Drawings]]
=== LCD Panel Dimension ===
 
* [http://www.waveshare.com/w/upload/3/33/7inch-hdmi-lcd-c-panel-dimension.pdf 7inch HDMI LCD (C) panel dimension]
 
===Certification===
 
*[https://www.waveshare.com/w/upload/a/a5/7inch_HDMI_LCD_%28C%29_Certification.rar CE RoHS]
 
===Assembly tutorial===
 
*[https://www.waveshare.com/img/devkit/accessories/7inch-HDMI-LCD-Bicolor-Holder/7inch-HDMI-LCD-C-assemble.jpg Assembly tutorial with 7inch HDMI LCD (C) (with bicolor case)]
 
  
== '''FAQ'''==
+
</div>
 +
<div class="tabbertab" title="FAQ">
 +
==FAQ==
 
{{FAQ| What should I do if I connect to the PC with LCD and it cannot display normally?
 
{{FAQ| What should I do if I connect to the PC with LCD and it cannot display normally?
 
|
 
|
Line 278: Line 51:
 
*Some PC need to be restarted to make the LCD display normally.
 
*Some PC need to be restarted to make the LCD display normally.
 
}}
 
}}
 +
 +
{{FAQ|How could I disable the rainbow screen?
 +
|Please add the following command to /boot/config.txt
 +
<pre>
 +
dusable_splash=1
 +
</pre>
 +
}}
 +
 +
{{FAQ|How to change the splash screen of Pi?
 +
|You can repalce the splash.png from the path /usr/share/plymouth/themes/pix/splash.png to yours.
 +
}}
 +
 
{{FAQ|What can I do if the thin red lines appear on the edge of the screen?
 
{{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:
 
*Edit the config.txt and add this line at the end of the config.txt file:
<nowiki>hdmi_drive=1</nowiki>
+
<pre>hdmi_drive=1</pre>
 
}}
 
}}
 +
 
{{FAQ|What should I do if the screen has the ghosting problem?
 
{{FAQ|What should I do if the screen has the ghosting problem?
 
|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).
 
|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).
 
[[File:Potentiometer of 7C.jpg|200px]]
 
[[File:Potentiometer of 7C.jpg|200px]]
 
|||}}
 
|||}}
 +
 
{{FAQ|How to use the touch function when connected to a Linux PC which is non-designated?
 
{{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.
 
|You can try to compile the universal touch driver "hid-multitouch" into the kernel, which generally can make the touch function work.
 
}}
 
}}
 +
 
{{FAQ|Can the brightness of the 7inch HDMI LCD (C) be adjusted by modifying the resistance?
 
{{FAQ|Can the brightness of the 7inch HDMI LCD (C) be adjusted by modifying the resistance?
|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 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.<br />
 +
The picture below shows the Rev3.1 version, which is similar to other versions.<br />
 +
:[[File:7inch HDMI LCD FAQ02.jpg|400px]]
 +
|||}}
  
The picture below shows the Rev3.1 version, which is similar to other versions.
+
{{FAQ| How to disable the bootloader message while booting if it displays abnormally?
 +
:[[File:7inchC ghost.png|400px]]
 +
|Please run the following command to modify
 +
<pre>
 +
sudo -E rpi-eeprom-config --edit
 +
</pre>
 +
Change the DISABLE_HDMI value from 0 to 1, or add the line:
 +
:[[File:7inchC modification.png|400px]]
 +
}}
  
[[File:7inch HDMI LCD FAQ02.jpg|400px]]
 
|||}}
 
 
{{FAQ|What is the working current for the 7inch HDMI LCD (C) when it works normally?
 
{{FAQ|What is the working current for the 7inch HDMI LCD (C) when it works normally?
|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.
+
|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.
 
}}
 
}}
  
== '''Anti-Piracy''' ==
+
</div>
{{RPi LCD Anti-Piracy}}
+
<div class="tabbertab" title="Support">
== <font color=red>Beware of knock-offs</font> ==
 
{{Beware of knock-offs}}
 
== '''Support''' ==
 
 
{{Service02}}
 
{{Service02}}
 
+
</div></div>
 
[[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]]

Revision as of 03:46, 8 December 2021

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

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

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

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

7C Brightness.png

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