5inch DSI LCD (C)

From Waveshare Wiki
Revision as of 09:02, 25 March 2025 by Wvshare-1267 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
5inch DSI LCD (C)
5inch DSI LCD (C).jpg

5inch Capacitive Touch Screen LCD
Raspberry Pi, DSI Interface
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Features

  • 5inch DSI touch screen, five-point capacitive touch control
  • IPS display panel with hardware resolution of 1024×600
  • Toughened glass capacitive touch panel, hardness up to 6H
  • Support Pi5/4B/CM4/3B+/3A+/3B/CM3+/CM3
  • Directly drive the LCD by the DSI interface on the Raspberry Pi, with up to 60Hz refreshing rate
  • When used with Raspberry Pi, it supports Bookworm/Bullseye/Buster systems
  • Supports software control of backlight brightness

Hardware Connection

Working with Pi4B/3B+/3B/3A+

Connect the DSI interface of the display to the DSI interface of the Raspberry Pi board using a 15PIN FPC cable

The installation effect is as follows:
5inch-DSI-LCD-C-details-5.jpg

Working with Pi5/CM4/CM3+/CM3

Connect the DSI interface of the display to the 22PIN DSI1 interface of the Raspberry Pi board using the "DSI Cable-12cm" cable

The installation effect is as follows:
5inch-DSI-LCD-C-details-3.jpg

Software Settings

For Bookworm System

Method 1: Use Raspberry Pi Imager to Flash Latest Official Image

  • 1. Connect the TF card to the PC, download and use Raspberry Pi Imager to flash the corresponding system image.

800x480-DSI-LCD-0.png

  • 2. After the image flashing is completed, open the config.txt file in the root directory of the TF card, add the following code at the end of the config.txt, save and safely eject the TF card.
Note: Since Pi5/CM4/CM3+/CM3 has two mipi DSI interfaces, please note that the correct DSI interfaces and commands are used, DSI1 is recommended by default. 
dtoverlay=vc4-kms-v3d
#DSI1 Use
dtoverlay=vc4-kms-dsi-waveshare-panel,7_0_inchC
#DSI0 Use
#dtoverlay=vc4-kms-dsi-waveshare-panel,7_0_inchC,dsi0
  • 3. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for a few seconds normally to enter the display. After the system starts, it can be touched normally.

Method 2: Flash the Pre-installed Image

1. Select your corresponding Raspberry Pi version image, download and unzip it as .img file.
Raspberry Pi 5/4B/CM4 Version Download: 5inch DSI LCD (C)-Pi5 pre-installed image
2. Connect the TF card to the PC, format the TF card with SDFormatter software.
3. Open the Win32DiskImager software, select the system image prepared in step 1, and click Write to flash the system image.
4. After the image flashing is completed, connect the TF card to the Raspberry Pi, start the Raspberry Pi, and wait for about 30 seconds for it to be displayed and touched normally.

For Bullseye and Buster Systems

Adjust Backlight Brightness

  • 1. Open the "Screen Configuration" application;

Pi5-mipiDSI-Brightness-0.png

  • 2. Go to "Screen" -> "DSI-2" -> "Brightness", check the backlight brightness you need to set, and finally click "Apply" to complete the backlight setting.

Pi5-mipiDSI-Brightness.png

Waveshare also provides a corresponding demo (the demo is only used for Bookworm and Bullseye systems), users can download, install and use in the following way:

wget https://files.waveshare.com/wiki/common/Brightness.zip
unzip Brightness.zip
cd Brightness
sudo chmod +x install.sh
./install.sh

After the installation is completed, you can open the demo in the Start Menu -> Accessories -> Brightness, as shown below:

43H-800480-IPS-CT-details-13.gif

In addition, you can also control the brightness of the backlight by entering the following command on the terminal:

echo X | sudo tee /sys/class/backlight/*/brightness

Where X represents any number from 0 to 255. 0 means the darkest backlight, and 255 means the brightest backlight. For example:

echo 100 | sudo tee /sys/class/backlight/*/brightness
echo 0 | sudo tee /sys/class/backlight/*/brightness
echo 255 | sudo tee /sys/class/backlight/*/brightness

Bookworm Touch Screen Rotation

  • 1. Open the Screen Configuration application;

600px-DSI-LCD-Bookworm-Rotate-01.png

  • 2. Go to Screen - > DSI-1 - > Touchscreen and check 10-0014 Goodix Capacitive TouchScreen;

600px-4DSI-test-3.png

  • 3.Click Apply, then close the current window, and reboot according to the pop-up prompts to complete the specified touch screen;

DSI-LCD-Bookworm-Rotate-03.png
DSI-LCD-Bookworm-Rotate-05.png

  • 4.Go to Screen > DSI-1 - - > Orientation, check the direction you need to rotate, and finally click Apply to complete the display and touch synchronous rotation.

DSI-LCD-Bookworm-Rotate-04.png
Note: Only the Bookworm system supports the above synchronization rotation method. For the Bullseye and Butser systems, manual separate settings for touch rotation are required after displaying the rotation.

Bullseye/Buster Display Rotation

  • 1. Open the "Screen Configuration" application;

DSI-LCD-Bullseye-Rotate-02.png

  • 2. Go to Screen > DSI-1 - - > Orientation, check the direction you need to rotate, and finally click Apply to complete the display rotation.

DSI-LCD-Bullseye-Rotate-03.pngDSI-LCD-Bullseye-Rotate-04.png

Bullseye/Buster Touch Rotation

sudo nano /boot/config.txt
# The command to modify the touch rotation angle at the end of the config.txt file will take effect after restarting (the command with 0° touch direction exists by default)
#90°:
dtoverlay=WS_xinchDSI_Touch,invertedx,swappedxy,I2C_bus=10
#180°:
dtoverlay=WS_xinchDSI_Touch,invertedx,invertedy,I2C_bus=10
#270°:
dtoverlay=WS_xinchDSI_Touch,invertedy,swappedxy,I2C_bus=10
#0°:
dtoverlay=WS_xinchDSI_Touch,I2C_bus=10

lite Version Display Rotation

sudo nano /boot/cmdline.txt
#Add a command to display the rotation angle at the beginning of the cmdline.txt file, and save it to take effect after restarting
#Display rotation 90 degrees
video=DSI-1:1024x600M@60,rotate=90
#Display rotation 180 degrees
video=DSI-1:1024x600M@60,rotate=180
#Display rotation 270 degrees
video=DSI-1:1024x600M@60,rotate=270

Screen Sleep

Run the following command on the Raspberry Pi terminal and the screen will go to sleep:

xset dpms force off

Disable Touch

At the end of the config.txt file, add the following command corresponding to disabling touch (the config file is located in the root directory of the TF card, which can also be accessed by the command: sudo nano /boot/config.txt):

disable_touchscreen=1

Note: After adding a command, it needs to be restarted to take effect.

Resources

FAQ

 Answer:

① Press the following button to increase the screen backlight brightness;
5DSI-C-backlight-0.png
② Run the following command to set the system software brightness;

echo 128 | sudo tee /sys/class/backlight/*/brightness


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)