lcdwiki / LCD-show-ubuntu

3.2" 3.5" 5.0" 7.0" TFT LCD Ubuntu driver for the Raspberry PI and PI 2 and PI 3
106 stars 41 forks source link

LCD driver for the Raspberry PI Installation

Update:
v2.1-20200927
Update all driver for 20.04
Update:
v2.0-20200630
Update MPI4008 touch screen calibration parameters
Update:
v1.9-20181204
Update to support MHS40 & MHS32
Update:
v1.8-20180907
Update to support MHS35
Update:
v1.7-20180320
Update to support Raspbian Version:March 2018(Release date:2018-03-13)
Update:
v1.6-20170824
Update xserver to support Raspbian-2017-08-16
Update:
v1.5-20170706
Update to support Raspbian-2017-07-05,Raspbian-2017-06-21
Update:
v1.3-20170612
fixed to support Raspbian-2017-03-02,Raspbian-2017-04-10
Update:
v1.2-20170302
Add xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb to support Raspbian-2017-03-02
Update:
v1.1-20160815

1.)Step1, Install Ubuntu official mirror

a)Download Ubuntu official mirror:
https://ubuntu-mate.org/raspberry-pi/
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

Use SSH to connect the raspberry pi,
And Ensure that the raspberry pi is connected to the Internet before executing the following commands:

sudo rm -rf LCD-show-ubuntu
git clone https://github.com/lcdwiki/LCD-show-ubuntu.git
chmod -R 755 LCD-show-ubuntu
cd LCD-show-ubuntu/

3.)Step3, According to your LCD's type, excute:

In case of 2.4" RPi Display(MPI2401)
sudo ./LCD24-show

In case of 2.8" RPi Display(MPI2801)
sudo ./LCD28-show

In case of 3.2" RPi Display(MPI3201)
sudo ./LCD32-show

In case of 3.5inch RPi Display(MPI3501)
sudo ./LCD35-show

In case of 3.5" HDMI Display-B(MPI3508)
sudo ./MPI3508-show

In case of 3.2" High Speed display(MHS32)
sudo ./MHS32-show

In case of 3.5" High Speed display(MHS35)
sudo ./MHS35-show

In case of 4.0" High Speed display(MHS40)
sudo ./MHS40-show

In case of 4.0" HDMI Display(MPI4008)
sudo ./MPI4008-show

In case of 5inch HDMI Display-B(Capacitor touch)(MPI5001):
sudo ./MPI5001-show


In case of 5inch HDMI Display(Resistance touch)(MPI5008)
sudo ./LCD5-show

In case of 7inch HDMI Display-B-800X480(MPI7001)
sudo ./LCD7B-show

In case of 7inch HDMI Display-C-1024X600(MPI7002)
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.