5inch DPI LCD
| ||
Introduction
800 x 480, 5inch IPS Display for Raspberry Pi, DPI interface, no Touch
More |
Features
- 5-inch IPS screen, hardware resolution is 800 × 480.
- Design based on Raspberry Pi 40pin GPIO interface.
- Drive LCD via 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 5inch HDMI LCD (H)(capacitive) or 5inch HDMI LCD (G)(resistive).
How to use
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 JP3 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:
Software settings
If you don't know the difference between the two branches of Raspberry Pi OS, you can check the following introduction #Raspberry Pi OS Introduction
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-5inch dtoverlay=waveshare-5dpi
5. Download the 5inch 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=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 26000000 6 [all] dtoverlay=dpi24 enable_dpi_lcd=1 display_default_lcd=1 dpi_group=2 dpi_mode=87 dpi_output_format=0x6f005 hdmi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 32000000 6 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.
Raspberry Pi OS Introduction
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
More detailed information can be found at:
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
FAQ
disable_splash=1
{{{5}}}
{{{5}}}
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}}}
{{{5}}}
{{{5}}}
{{{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)