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

From Waveshare Wiki
Jump to: navigation, search
m (Text replacement - "http://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
 
(12 intermediate revisions by 4 users not shown)
Line 30: Line 30:
 
=Resource=
 
=Resource=
 
==Documents==
 
==Documents==
*[https://www.waveshare.com/w/upload/c/cc/7inch_HDMI_LCD_%28C%29_User_Manual.pdf 7inch HDMI LCD (C) User Manual]
+
*[https://files.waveshare.com/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://files.waveshare.com/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/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://files.waveshare.com/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]
+
*[https://files.waveshare.com/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]
+
*[https://files.waveshare.com/upload/d/d7/Panasonic_SDFormatter.zip Panasonic SDFormatter]
*[http://www.waveshare.com/w/upload/7/76/Win32DiskImager.zip Win32DiskImager]
+
*[https://files.waveshare.com/upload/7/76/Win32DiskImager.zip Win32DiskImager]
*[http://www.waveshare.com/w/upload/5/56/Putty.zip PuTTY]
+
*[https://files.waveshare.com/upload/5/56/Putty.zip PuTTY]
=== 3D Drawings ===
+
== 3D Drawings ==
* [[:File:7inch_cad.zip|7inch HDMI LCD B/C Drawings]]
+
* [https://files.waveshare.com/upload/f/f4/7inch_cad.zip 7inch HDMI LCD B/C Drawings]
 
 
</div>
 
<div class="tabbertab" title="FAQ">
 
  
 
=FAQ=
 
=FAQ=
 +
{{7HP inch LCD 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 57: Line 56:
 
|Please add the following command to /boot/config.txt
 
|Please add the following command to /boot/config.txt
 
<pre>
 
<pre>
dusable_splash=1
+
disable_splash=1
 
</pre>
 
</pre>
 
}}
 
}}
Line 64: Line 63:
 
|You can repalce the splash.png from the path /usr/share/plymouth/themes/pix/splash.png to yours.
 
|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?
 
|  
 
|  
Line 98: Line 97:
 
{{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 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.
 
|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.
 +
}}
 +
 +
{{FAQ|How does 7inch HDMI LCD (C)Rev4.1 use PWM to control the backlight?| First remove the 0 ohm resistor here<br>
 +
[[File:7inch HDMI LCD (C)_PWM_1.png|800px]]<br>
 +
Then connect the PWM dimming signal pin to the reserved PWM GND pad<br>
 +
[[File:7inch HDMI LCD (C)_PWM_2.png|800px]]<br>
 +
When dimming, the dimming frequency must be greater than 1khz, the voltage is 3.3V, and the duty cycle is set according to customer needs
 
}}
 
}}
  
 
</div>
 
</div>
 
<div class="tabbertab" title="Support">
 
<div class="tabbertab" title="Support">
{{service00}}
+
=Support=
 +
{{Servicebox1}}
 
</div></div>
 
</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]]
 
</div>
 
</div>

Latest revision as of 06:55, 4 September 2023

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 compatibility.
  • Brightness is adjustable by the USB interface.
  • Modify the 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 a 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 a larger viewing angle and a 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 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, and 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 the FKMS driver for displaying the system desktop normally.

Modification method: Open the config.txt file in the root directory of the TF card, and 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

wget https://files.waveshare.com/upload/0/01/Brightness-HDMI.zip
unzip Brightness-HDMI.zip
cd Brightness-HDMI
sudo chmod +x install.sh
./install.sh

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

Resource

Documents

Software

3D Drawings

FAQ

 Answer:
Add the following command to /boot/config.txt:
disable_splash=1
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Replace the custom image with the image in this directory /usr/share/plymouth/themes/pix/splash.png.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:

Test environment: 2022-04-04-raspios-bullseye-armhf 32-bit system
Supported models: Support Waveshare DSI LCD, DPI LCD, and HDMI LCD capacitive touch screen series.

Software Installation

wget https://files.waveshare.com/upload/1/18/Evdev-right-click-emulation.zip
unzip Evdev-right-click-emulation.zip
cd evdev-right-click-emulation
sudo apt install build-essential libevdev2 libevdev-dev
cd 'evdev-right-click-emulation'
sudo cp 'out/evdev-rce' '/usr/local/bin/'
sudo chmod +x '/usr/local/bin/evdev-rce'

Enter the command:

sudo evdev-rce

After running, you can touch and long press to realize the right-click function.

Set IP

sudo usermod -G 'input' -a pi
echo 'uinput' | sudo tee -a /etc/modules
sudo nano  /etc/udev/rules.d/99-uinput.rules

Add in 99-uinput.rules file.

KERNEL=="uinput", MODE="0660", GROUP="input"

save it and run it in the terminal.

sudo udevadm control --reload-rules
sudo udevadm trigger

Then reboot:

sudo reboot

Run after reboot (no sudo needed at this point)

evdev-rce

After running, you can touch and long press to realize the right-click function.

Set Startup

Enter the terminal

sudo mkdir ~/.config/autostart
sudo nano ~/.config/autostart/right_click.desktop

Add the following in right_click.desktop.

[Desktop Entry]
Version=1.0
Type=Application
Name=evdev-rce
GenericName=Enable long-press-to-right-click gesture
Exec=env LONG_CLICK_INTERVAL=1000 LONG_CLICK_FUZZ=200  /usr/local/bin/evdev-rce
Terminal=true
StartupNotify=false

#If you want to modify the sensitivity, you can modify the size of the two parameters, LONG_CLICK_INTERVAL=1000 LONG_CLICK_FUZZ=200.

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


 Answer:
First remove the 0 ohm resistor here

7inch HDMI LCD (C) PWM 1.png
Then connect the PWM dimming signal pin to the reserved PWM GND pad
7inch HDMI LCD (C) PWM 2.png
When dimming, the dimming frequency must be greater than 1khz, the voltage is 3.3V, and the duty cycle is set according to customer needs

{{{3}}}
{{{4}}}

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 AM GMT+8 (Monday to Friday)