Google Chat: email@example.com
#Step 1: Download and enter the Waveshare-DSI-LCD driver folder. git clone https://github.com/waveshare/Waveshare-DSI-LCD cd Waveshare-DSI-LCD #Step 2: Enter uname -a in the terminal to check the kernel version and type cd to the corresponding file directory #For 5.15.61, run the following command. cd 5.15.61 #Step 3: Please check the system bits you are currently using, the 32 directory is for a 32-bit system, the 64 directory is for a 64-bit system. cd 32 #cd 64 #Step 4: Enter your corresponding model command to install the driver, pay attention to the I2C dip switch selection #3.4inch DSI LCD 800×800 driver. sudo bash . /WS_xinchDSI_MAIN.sh 34 I2C0 #Step 5: Wait for a few seconds, when the driver installation is finished and there is no error, reboot to load the DSI driver for normal use. sudo reboot
#Note: The above steps need to ensure that the Raspberry Pi can be connected to the Internet properly.
In the start menu, select: Preferences->Screen Configuration->Configure->Screens->DSI-1->Orientation, select the corresponding angle in it, click "√", select Yes, and restart.
sudo nano /boot/cmdline.txt #Add a command to display the rotation angle at the beginning of the cmdline.txt file, save and reboot to take effect. #Display rotates 90 degrees video=DSI-1:800x800M@60,rotate=90 #Display rotates 180 degrees video=DSI-1:800x800M@60,rotate=180 #Display rotates 270 degrees video=DSI-1:800x800M@60,rotate=270
sudo nano /boot/config.txt #Modify the instruction of touch rotation angle at the end of the config.txt file and take effect after reboot (default instruction of 0° touch direction exists) #90°： dtoverlay=WS_xinchDSI_Touch,invertedx,invertedy #180°： dtoverlay=WS_xinchDSI_Touch,invertedy,swappedxy #270°： dtoverlay=WS_xinchDSI_Touch #0°： dtoverlay=WS_xinchDSI_Touch,invertedx,swappedxy
Using the application provided by Waveshare:
cd Waveshare-DSI-LCD #Determine the kernel version currently in use, e.g. 5.15.61 kernel, and run the following command: cd 5.15.61 #Check the bits of the system, the 32-bit system enters 32 directory, and the 64-bit system enters 64 directory cd 32 #cd 64 cd Backlight sudo ./install.sh
After the installation is complete, you can open the program in the Start menu - > Accessories - > Brightness, as shown below:
To adjust the system command of the lite version, after entering the root privilege, execute the following command on the Raspberry Pi terminal:
echo X > /sys/waveshare/rpi_backlight/brightness
(X value in the range of 0~255.)
sudo su root echo 100 > /sys/waveshare/rpi_backlight/brightness
sudo apt-get update sudo apt-get full-upgrade
After updating, some driver files installed before may be covered, and you need to reinstall the driver so that it can display normally.
If the driver was originally installed on Raspberry Pi 4 Model B and the user replaces the board, such as modifying it to Raspberry Pi 3 Model B+, it will cause the display to not display properly.
Because Pi4 and Pi3 need to load different driver files, you need to reinstall the driver on the new board according to the #software settings before the display can be displayed properly.
Dear Customers, There may be a lag of several hours before we could process your order, depending on the time difference between your location and ours. Sincerely hoping your understanding!