树莓派4B—LCD触摸屏和硬件串口配置

1.LCD触摸屏直接下载官网驱动,这里选用的是3.5寸显示屏,解压后直接运行

sudo ./LCD35-show

然后重启。

注意:一定要先安装LCD驱动,因为安装驱动会修改/boot/config.txt文件,如果先设置串口,再安装LCD屏的话,串口的配置将被重置。

2.设置串口

sudo raspi-config
  • 选择外设,选择串口


    最后保存,自动重启
  • 设置/boot/config.txt文件
    在最后一行添加
dtoverlay=pi3-miniuart-bt

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
树莓派LCD驱动/2.8/3.2/3.5/3.97/4.3/5/7等! You can focus on the following GitHub web site, for the latest lcd drivers: https://github.com/goodtft/LCD-show =============================================================================================================== "LCD-show-170315.tar.gz" just for Raspbian (Release date:2017-03-02) or later, DO NOT use it for the Raspbian version before 2017-03-02. ================================================================================================================ "LCD-show-160701.tar.gz" support Raspbian version before Raspbian-2017-02-16,such as(2017-02-16,2017-01-11, 2016-11-25,2016-09-23,2016-05-27,2016-05-10,2016-03-18,or earlier). And This Driver also tesed on "kali-2.1.2" ,"ubuntu-mate-16.04-beta2" ================================================================================================================ How to Install: 1.)Step1, Install Raspbian official mirror a)Download Raspbian official mirror: https://www.raspberrypi.org/downloads/ b)Use“SDFormatter.exe”to Format your TF Card c)Use“Win32DiskImager.exe” Burning mirror to TF Card 2.) Step2, Clone my repo onto your pi git clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ 3.)Step3, According to your LCD's type, excute: In case of 2.8" LCD sudo ./LCD28-show In case of 3.2" LCD sudo ./LCD32-show In case of 3.5" LCD sudo ./LCD35-show In case of 3.97" LCD sudo ./LCD397-show In case of 4.3" LCD sudo ./LCD43-show In case of 5" LCD sudo ./LCD5-show In case of 7inch(B)-800X480 RPI LCD sudo ./LCD7B-show In case of 7inch(C)-1024X600 RPI LCD sudo ./LCD7C-show If you need to switch back to the traditional HDMI display sudo ./LCD-hdmi Wait a few minutes,the system will restart automaticall , enjoy with your LCD.
树莓派4B使用VNC可以通过以下步骤进行设置和连接: 1. 在树莓派上启用VNC服务器。你可以通过在树莓派终端中运行以下命令来启用VNC服务器: ``` sudo raspi-config ``` 在菜单中选择"Interfacing Options",然后选择"VNC"并启用。 2. 在Windows上下载并安装VNC Viewer。 3. 打开VNC Viewer,在"VNC Server"字段中输入树莓派的IP地址,格式为IP地址:5900。例如,如果树莓派的IP地址为192.168.1.77,则应在"VNC Server"字段中输入192.168.1.77:5900。 4. 在"Name"字段中为连接起一个名字。 5. 点击"OK",然后输入设置的VNC密码。 6. 这样就能实现VNC远程操控树莓派,你可以在Windows端的VNC Viewer上查看并控制树莓派。 <span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [树莓派4B上手教程 3.VNC远程桌面](https://blog.csdn.net/qq_40505381/article/details/126414236)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [树莓派Raspberry Pi 4B 安装VNC远程桌面服务](https://blog.csdn.net/luhengs/article/details/111881314)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值