7inch DSI LCD (C)

From Waveshare Wiki
Jump to: navigation, search

7inch DSI LCD (C)
7inch DSI LCD (C)

7inch capacitive Touch Screen LCD for Raspberry Pi
DSI Interface, 1024 x 600 resolution
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Overview

Features

  • 7-inch DSI display with 5-point capacitive touch.
  • IPS panel with a hardware resolution of 1024×600.
  • Toughened glass capacitive touch panel with 6H hardness.
  • Support Pi5/4B/CM4/3B+/3A+/3B/CM3+/CM3.
  • Drive the LCD directly through the DSI interface of the Raspberry Pi, with a refreshing rate of up to 60Hz.
  • When working with the Raspberry Pi, it supports Bookworm/Bullseye/Buster.
  • Brightness is adjustable by software.

Hardware Connection

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

1. Connect the DSI interface of the LCD to the DSI interface of the Raspberry Pi with a 15PIN FPC cable.
2. Install the Raspberry Pi with its back facing down onto the base board of the LCD screen, and connect it to 5V power supply and I2C1 communication using 4-pin DuPont cables.
The final connection is shown below:
7inch DSI LCD C Wiring.jpg
7inch-DSI-LCD-C-5.jpg

Working with Pi5/CM4/CM3+/CM3

1. Use the "DSI-Cable-12cm" ribbon cable to connect the DSI interface of the LCD to the 22PIN DSI1 interface of the Raspberry Pi.
2. Connect it to the 5V power supply and the I2C1 communication of the Raspberry Pi using a 4-pin cable.
The final connection is shown below:
7inch DSI LCD (C) Pi5.jpg

Software Setting

For Bookworm and Bullseye System

  • 1. Insert the TF card into the PC, download and use Raspberry Pi Imager to program the corresponding image.

Pan-Tilt Camera WRITEIMAGE01.png

  • 2. After programming the image, open the "config.txt" file located in the root directory of the TF card. Add the following code at the end of config.txt, save the file, and safely eject the TF card.
Note: As Pi 5/CM4/CM3+/CM3 has two MIPI DSI interfaces, please ensure to use the correct DSI interface and command. DSI1 is recommended by default.
dtoverlay=vc4-kms-v3d
#DSI1 Use
dtoverlay=vc4-kms-dsi-waveshare-panel,7_0_inchC,i2c1
#DSI0 Use
#dtoverlay=vc4-kms-dsi-waveshare-panel,7_0_inchC,i2c1,dsi0
  • 3. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for a few seconds for the display. Once the system boots up, you should be able to interact with it normally, including touchscreen functionality.

For Buster System

Backlight Control

WaveShare provides the corresponding demo for the application (only supports Bookworm and Bullseye systems). Users can install it by the following commands:

wget https://files.waveshare.com/upload/f/f4/Brightness.zip
unzip Brightness.zip
cd Brightness
sudo chmod +x install.sh
./install.sh

After installation, you can open it: Menu -》Accessories -》Brightness:

43H-800480-IPS07.GIF

In addition, you can also input the following commands to control the backlight brightness in the terminal:

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

X indicates any number from 0 to 255. 0 means the backlight is the darkest, and 255 means the backlight is the brightest. 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 Display Rotation

GUI interface rotation

  • 1. Open the "Screen Configuration" application;

DSI-LCD-Bookworm-Rotate-01.png

  • 2. Go to "Screen" - > "DSI-1" - > "Touchscreen" and check "6-0038 generic ft5x06(79)"

DSI-LCD-Bookworm-Rotate-02.png

  • 3. Click "Apply" and close the current window. Restart according to the pop-up prompt, and then touch screen select Done.

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.

lite version display rotation

  • 1. Need to modify the /boot/cmdline.txt file:
sudo nano /boot/cmdline.txt
  • 2. At the beginning of the cmdline.txt file, add the command for displaying the rotation angle: (Please note, this command needs to be on the same line, with each command separated by a space.)
video=DSI-1:800x480M@60,rotate=90

Change the display rotation angle by modifying the rotate value to 90, 180, or 270.

  • 3. Save and restart
sudo reboot

Bullseye/Buster Display Rotation

  • 1. Open "Screen Configuration" application.

DSI-LCD-Bullseye-Rotate-02.png

  • 2. Enter "Screen"->"DSI-1"->"Orientation", select the rotation direction, and then click on "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
#Change the command for the touch rotation angle at the end of the config.txt file, reboot it to take effect (the command for 0° touch direction exists by default) 
#90°:
dtoverlay=WS_xinchDSI_Touch,invertedx,swappedxy,I2C_bus=1
#180°:
dtoverlay=WS_xinchDSI_Touch,invertedx,invertedy,I2C_bus=1
#270°:
dtoverlay=WS_xinchDSI_Touch,invertedy,swappedxy,I2C_bus=1
#0°:
dtoverlay=WS_xinchDSI_Touch,I2C_bus=1

lite Version Rotation

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

Sleep Mode

Run the following commands on the Raspberry PI terminal to enter the sleep mode:

xset dpms force off

Disable Touch

At the end of the "config.txt" file, add the following commands to disable touching (the config file is located in the TF card root directory, or you can find it using command "sudo nano /boot/config.txt"):

disable_touchscreen=1

Note: this command takes effect after rebooting.

Resources

Pre-built image

Software

3D drawing

FAQ

 Answer:

When powered by 5V, the operating current of the backlight on is about 500mA, and the operating current of the backlight off is about 100mA.

{{{5}}}


 Answer:

Execute the following commands:
sudo raspi-config -> Advanced Options -> Glamor -> Yes (Enabled) -> Ok -> Finish -> Yes (Reboot)


 Answer:
  • 1. Weld two resistors in the figure below with 0-ohm resistance.

7inch DSI LCD C FAQ 1.png

  • 2. Modify the end of the /boot/config.txt file.
I2C_bus=1 changed to I2C_bus=10

After the above modification, the original I2C1 wiring (GPIO3 and GPIO5 of RPi) needs to be disconnected.


 Answer:

The 1.2R shown in the diagram is a backlight resistor, and increasing its value can reduce the backlight.
7inch DSI LCD (C)-FAQ.png

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