树莓派3B+ 启用LCD显示屏

本文介绍如何为树莓派3B+安装并启用LCD显示屏,包括准备工作、下载驱动及安装过程。适合没有显示屏显示树莓派运行状态的新手学习。

树莓派3B+ 启用LCD显示屏


对于新手来说,如果没有显示屏显示树莓派运行状态,会让他们满头雾水,不知道怎么操作。所以,就来学学怎么启用小型的LCD显示屏吧!

1.准备工作

1)安装好 raspbian 系统
2)连接上LCD显示屏
3)ssh连接上树莓派

2.下载LCD显示屏驱动

下载来源:
♦ 2.8inch RPi LCD (A)
♦ 3.2inch RPi LCD (B)
♦ 3.5inch RPi LCD (A)
♦ 3.5inch RPi LCD (B)
♦ 3.5inch HDMI LCD
♦ 4inch HDMI LCD
♦ 4inch RPi LCD (A)
♦ 4.3inch HDMI LCD
♦ 5inch HDMI LCD
♦ 5inch HDMI LCD (B)
♦ 7inch HDMI LCD
♦ 7inch HDMI LCD (B)
♦ 7inch HDMI LCD (C)
♦ 10.1inch HDMI LCD
♦ 10.1inch HDMI LCD (H)
♦ 10.1inch HDMI LCD (B)

备用下载连接:
http://download.youkuaiyun.com/download/kxwinxp/10104490

wget -O LCD-show.tar.gz http://www.waveshare.net/w/upload/0/00/LCD-show-170703.tar.gz

3.安装显示屏驱动

// 1) 如果你要安装2.8inch 的屏就直接复制下面的内容:

sudo tar zxvf LCD-show.tar.gz
cd LCD-show/
sudo ./LCD28-show

// 3)如果你要安装3.5 inch 的屏就直接复制下面的内容:
sudo tar zxvf LCD-show.tar.gz
cd LCD-show/
sudo ./LCD35-show

// **如果想切换回HDMI显示,直接复制下面的内容:
sudo tar zxvf LCD-show.tar.gz
cd LCD-show/
sudo ./LCD-hdmi

执行后会自动重启,稍等一下就可以看到界面了。

树莓派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.
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值