| PIN | 标志 |
|---|---|
| 1 | GND |
| 2 | DSI1_DN1 |
| 3 | DSI1_DP1 |
| 4 | GND |
| 5 | DSI1_CN |
| 6 | DSI1_CP |
| 7 | GND |
| 8 | DSI1_DN0 |
| 9 | DSI1_DP0 |
| 10 | GND |
| 11 | SCL0 |
| 12 | SDA0 |
| 13 | GND |
| 14 | 3V3 |
| 15 | 3V3 |
在组装时,请在屏幕与主板之间垫上配件包内的短铜柱,再用螺丝固定,如下图所示:
在组装时,请在屏幕与主板之间垫上配件包内的短铜柱,再用螺丝固定,如下图所示:

display_auto_detect=0
disable_splash=1
display_auto_detect = 1
dtoverlay=vc4-kms-dsi-generic,hactive=640,hfp=48,hsync=32,hbp=80,vactive=480,vfp=3,vsync=4,vbp=13
dtoverlay=waveshare_35DSI以下步骤以Trixie系统为例:



sudo nano /boot/firmware/cmdline.txt
#在cmdline.txt文件开头添加对应显示屏的分辨率和旋转角度指令,保存重启后生效
#例如DSI-1显示屏720x1280分辨率,显示旋转90度
video=DSI-1:720x1280e,rotate=90
#例如DSI-1显示屏720x1280分辨率,显示旋转180度
video=DSI-1:720x1280e,rotate=180
#例如DSI-1显示屏720x1280分辨率,显示旋转270度
video=DSI-1:720x1280e,rotate=270注意:
sudo apt-get update sudo apt-get install unzip -y sudo apt-get install cmake -y sudo apt-get install raspberrypi-kernel-headers sudo wget https://www.waveshare.net/w/upload/4/45/Waveshare_35DSI.dtbo sudo wget https://www.waveshare.net/w/upload/8/84/Vc4-kms-dsi-generic.dtbo sudo wget https://www.waveshare.net/w/upload/7/78/3inch5_DSI_E_Drives_Bullseye.zip sudo cp Waveshare_35DSI.dtbo /boot/overlays/ sudo cp Vc4-kms-dsi-generic.dtbo /boot/overlays/ sudo unzip ./3inch5_DSI_E_Drives_Bullseye.zip cd 3inch5_DSI_E_Drives_Bullseye
sudo nano /boot/config.txt
在 [all] 末尾加入:
display_auto_detect=0 disable_splash=1 display_auto_detect = 1 dtoverlay=vc4-kms-dsi-generic,hactive=640,hfp=48,hsync=32,hbp=80,vactive=480,vfp=3,vsync=4,vbp=13 dtoverlay=Waveshare_35DSI
先不要重启树莓派。
uname -r
将会看到以下两种之一:
请根据对应内核版本的步骤操作
cd ~/3inch5_DSI_E-RPi3_6.1.21-v7+/panel_simple-ko sudo make sudo xz panel-simple.ko sudo cp panel-simple.ko.xz /lib/modules/6.1.21-v7+/kernel/drivers/gpu/drm/panel/
cd ~/3inch5_DSI_E-RPi3_6.1.21-v7+/goodix_gt911-ko sudo make sudo xz goodix_ts.ko sudo cp goodix_ts.ko.xz /lib/modules/6.1.21-v7+/kernel/drivers/input/touchscreen/ sudo depmod -a
sudo reboot重启后屏幕即可正常显示触摸
cd ~/3inch5_DSI_E-RPi4_6.1.21-v8+/panel_simple-ko sudo cp panel-simple.ko.xz /lib/modules/6.1.21-v8+/kernel/drivers/gpu/drm/panel/
cd .. cd ~/3inch5_DSI_E-RPi4_6.1.21-v8+/goodix_gt911-ko sudo cp goodix_ts.ko.xz /lib/modules/6.1.21-v8+/kernel/drivers/input/touchscreen/ sudo depmod -a
sudo reboot重启后屏幕即可正常显示触摸
GUI 界面旋转



lite版本显示旋转
sudo nano /boot/cmdline.txt
video=DSI-1:800x480M@60,rotate=90
通过将rotate值更改为 90、180 或 270 来更改显示旋转的角度。
sudo reboot
部分系统显示旋转后,触摸方向不一致,需要按下文操作进行触摸旋转:
1. 安装libinput
sudo apt-get install xserver-xorg-input-libinput
sudo apt install xserver-xorg-input-synaptics
2. 在/etc/X11/下创建xorg.conf.d目录 (如果该目录已存在,这直接进行第3步)
sudo mkdir /etc/X11/xorg.conf.d
3. 复制40-libinput-conf 文件到刚刚创建的目录下
sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/
4. 编辑该文件
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
#找到 touchscreen的部分,在里面添加对应的旋转角度指令,然后保存即可 #90°Right触摸旋转: Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1" #180° Inverted触摸旋转: #Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1" #270° Left旋转: #Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1" 类似下图位置:

5. 重启树莓派
sudo reboot
完成以上步骤后触摸将会进行旋转。
180cd/m²
3.3V 150mA
目前不支持。
取决于系统,如果系统有休眠,那屏幕也会黑屏。
在使用 Wayland 环境(如 Raspberry Pi OS Trixie 或 Bookworm)时,可通过 wlr-randr 命令来控制屏幕显示状态。
#关闭屏幕 wlr-randr --output DSI-2 --off #打开屏幕 wlr-randr --output DSI-2 --on
周一-周五(9:30-6:30)周六(9:30-5:30)
手机:13434470212
邮箱:services04@spotpear.cn
QQ:202004841
