7inch DPI LCD

From Waveshare Wiki
(Redirected from 7inch DPI LCD)
Jump to: navigation, search
7inch DPI LCD
7inch-LCD-for-Pi-1.jpg

1024 x 600, 7inch IPS Display for Raspberry Pi, DPI interface, no Touch
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Introduction

1024 x 600, 7inch IPS Display for Raspberry Pi, DPI interface, no Touch.


Features

  • 7-inch IPS screen with a hardware resolution of 1024 × 600.
  • Design based on Raspberry Pi 40pin GPIO interface.
  • Drive LCD via the DPI interface of Raspberry Pi.
  • Supports operating systems like Raspberry Pi OS/Ubuntu.
  • Backlight control to lower power consumption.
  • Compact size, suit for various projects.

【Note】This LCD can only be used for displaying, if you require a touchscreen, please purchase 7inch HDMI LCD(C)(capacitive) or 7inch HDMI LCD(resistive).

Working with Raspberry Pi

Hardware connection

1. Connect the RGB LCD HAT to the JP1 socket on RGB 50P TO 40/50P adapter with an FFC cable (white).
2. Connect the FPC cable (golden) on LCD to the JP2 socket on RGB 50P TO 40/50P adapter.

Note: When connecting, please open the black connector first, and then gently insert the cable. As shown below:
7inch-LCD-for-Pi-Manual01.png
7inch-lcd-for-pi-manual-1.jpg

Software settings

If you don't know the difference between the two branches of Raspberry Pi OS, you can check the following introduction #Introducing the Raspberry Pi OS fork

For Raspberry Pi OS Bookworm and Bullseye branch

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.

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-DPI-7inch
dtoverlay=waveshare-7dpi

5. Download the 7inch DPI LCD-KMS display file and put the two dtbo files in the /boot/overlays directory of the TF card, and eject the TF card safely.
6. Turn on the LCD backlight switch.
7. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for more than ten seconds to display normally.

For Raspberry Pi OS Buster branch and Ubuntu system

1. Open the config.txt file in the root directory of the TF card, add the following code at the end of config.txt, save and safely eject the TF card.

[pi4]
dpi_timings=1024 1 40 48 128 600 1 13 3 45 0 0 0 60 0 37000000 6

[all]
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f005
hdmi_cvt 1024 600 60 6 0 0 0
disable_overscan=1

2. Turn on the LCD backlight switch.
3. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for more than ten seconds to display normally.
Note: If the display is abnormal, please try to adjust the VCOM voltage, and be careful not to stay for more than 10 seconds when the display is abnormal. (subject to the actual display effect.)

Introducing the Raspberry Pi OS

On December 2, 2021, the Raspberry Pi OS for Raspberry Pi split into two branches, the Buster branch, and the Bullseye branch.

The Buster branch is a continuation of the old system, which is more stable and uses raspicam as the default camera subsystem.

The Bullseye branch adds some new features, including KMS as the default display driver and libcamera as the default camera subsystem.
Image download address
RASPBERRY-PI-OS-BUSTER-BULLSEYE-04-01.png
More detailed information can be found at:

Raspberry Pi Branch Details

Buster Release Notes

Bullseye Release Notes

Notes: The above information was updated on January 24, 2022. Due to the frequent update of the Raspberry Pi image, when you see this information, the relevant information may be out of date. The actual performance of the image shall prevail. This is for reference only.

Resources

Documentation

Software

General Tutorial Series

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:
Using 5V power supply, the working current is about 450mA when opening the blacklight, and the working current is about 60mA when closing the blacklight.
{{{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:
Depends on the system, if the system has hibernation, then the screen will also be black. If it's the official Raspberry Pi system, the default ten minutes or so without action is to have hibernation.

{{{5}}}



 Answer:
5V power supply, the on-backlight operating current is about 450mA and the off-backlight operating current is about 60mA.

{{{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 PM GMT+8 (Monday to Friday)