Difference between revisions of "How to install the LCD driver"

From LCD wiki
Jump to: navigation, search
(Step 2, obtain the LCD driver)
 
(15 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  
  
== <font color="blue">'''Raspberry Pi LCD Driver installation instruction (method1: online installation)'''</font>  ==
+
== <font color="blue">'''<big>Raspberry Pi LCD Driver installation instruction (method 1: online installation)</big>'''</font>  ==
<font color=red>This manual is applicable to all series of Raspberry Pi LCD, Raspberry Pi board should be connected to Internet during the installation.                  </font>                                                                  
+
<font color="red">This manual is applicable to all series of Raspberry Pi LCD, Raspberry Pi board should be connected to Internet during the installation.                  </font>
==  <font color="deepskyblue">Step 1, Install Raspbian official image  </font>                  ==    
+
 
 +
==  <font color="deepskyblue">Step 1, Install Raspbian official image  </font>                  ==
 
1) Download the latest Raspbian Image from the official website: https://www.raspberrypi.org/downloads/                      <br>
 
1) Download the latest Raspbian Image from the official website: https://www.raspberrypi.org/downloads/                      <br>
 
2) Format Micro SD card by SDFormatter                                                      <br>
 
2) Format Micro SD card by SDFormatter                                                      <br>
Line 16: Line 17:
 
==  <font color="deepskyblue">Step 2, obtain the LCD driver                          </font>    ==
 
==  <font color="deepskyblue">Step 2, obtain the LCD driver                          </font>    ==
 
Log onto the Raspberry Pi users system to command line (The initial user name: pi Password: raspberry)
 
Log onto the Raspberry Pi users system to command line (The initial user name: pi Password: raspberry)
Get the newest driver from GitHub(Raspberry Pi LCD should be connected to internet)
+
Get the newest driver from''' GitHub''' (Raspberry Pi LCD should be connected to internet)
 
{{code|
 
{{code|
 +
sudo rm -rf LCD-show
 
git clone https://github.com/goodtft/LCD-show.git
 
git clone https://github.com/goodtft/LCD-show.git
 
chmod -R 755 LCD-show
 
chmod -R 755 LCD-show
Line 23: Line 25:
  
 
==  <font color="deepskyblue">Step 3, install LCD driver                                                                </font>  ==
 
==  <font color="deepskyblue">Step 3, install LCD driver                                                                </font>  ==
In case of 2.4” RPi Display (MPI2401):
+
 
 +
* In case of 2.4” RPi Display (MPI2401):
 
{{code|
 
{{code|
 
sudo ./LCD24-show  }}
 
sudo ./LCD24-show  }}
In case of 2.8” RPi Display (MPI2801):
+
 
 +
* In case of 2.4” RPi Display For RPi 3A+ (MPI2411):
 +
{{code|
 +
sudo ./LCD24-3A+-show  }}
 +
 
 +
* In case of 2.8” RPi Display (MPI2801):
 
{{code|
 
{{code|
 
sudo ./LCD28-show  }}
 
sudo ./LCD28-show  }}
In case of 3.2” RPi Display (MPI3201):
+
 
 +
* In case of 3.2” RPi Display (MPI3201):
 
{{code|
 
{{code|
 
sudo ./LCD32-show  }}
 
sudo ./LCD32-show  }}
In case of 3.5” RPi Display(MPI3501):
+
 
 +
* In case of MHS-3.2” RPi Display (MHS3232):
 +
{{code|
 +
sudo ./MHS32-show  }}
 +
 
 +
* In case of 3.5” RPi Display(MPI3501):
 
{{code|
 
{{code|
 
sudo ./LCD35-show  }}
 
sudo ./LCD35-show  }}
In case of 3.5” HDMI Display-B(MPI3508):
+
 
 +
* In case of 3.5” HDMI Display-B(MPI3508):
 
{{code|
 
{{code|
 
sudo ./MPI3508-show  }}
 
sudo ./MPI3508-show  }}
In case of 4.0" HDMI Display(MPI4008):
+
 
 +
* In case of MHS-3.5” RPi Display(MHS3528):
 +
{{code|
 +
sudo ./MHS35-show  }}
 +
 
 +
* In case of 4.0" HDMI Display(MPI4008):
 
{{code|
 
{{code|
 
sudo ./MPI4008-show  }}
 
sudo ./MPI4008-show  }}
In case of 5.0” HDMI Display(Resistance touch)(MPI5008):
+
 
 +
* In case of MHS-4.0" HDMI Display-B(MHS4001):
 +
{{code|
 +
sudo ./MHS40-show  }}
 +
 
 +
* In case of 5.0” HDMI Display(Resistance touch)(MPI5008):
 
{{code|
 
{{code|
 
sudo ./LCD5-show    }}
 
sudo ./LCD5-show    }}
In case of 5inch HDMI Display-B(Capacitor touch)(MPI5001):
+
 
 +
* In case of 5inch HDMI Display-B(Capacitor touch)(MPI5001):
 
{{code|
 
{{code|
 
sudo ./MPI5001-show    }}
 
sudo ./MPI5001-show    }}
In case of 7inch HDMI Display-B-800X480(MPI7001):
+
 
 +
* In case of 7inch HDMI Display-B-800X480(MPI7001):
 
{{code|
 
{{code|
 
sudo ./LCD7B-show  }}
 
sudo ./LCD7B-show  }}
In case of 7inch HDMI Display-C-1024X600(MPI7002):
+
 
 +
* In case of 7inch HDMI Display-C-1024X600(MPI7002):
 
{{code|
 
{{code|
 
sudo ./LCD7C-show  }}
 
sudo ./LCD7C-show  }}
the corresponding execution to switch back to Traditional HDMI display.
 
{{code|
 
sudo ./LCD-hdmi  }}
 
Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD.
 
  
 +
* Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD.
  
 +
== <font color="blue">'''<big>Raspberry Pi LCD Driver installation instruction (method 2: offline)</big>'''</font>  ==
 +
<font color="red">                                                       
 +
This manual is applicable to all series of Raspberry Pi LCD; if you already have the driver installation CD, can just use it offline.                    <br>
 +
</font>
  
== <font color="blue">'''Raspberry Pi LCD Driver installation instruction (method2: offline)'''</font>  ==
 
<font color=red>                                                       
 
This manual is applicable to all series of Raspberry Pi LCD; if you already have the driver installation CD, can just use it offline.                    <br>
 
</font>
 
 
== <font color="deepskyblue">Step 1, Install Raspbian official image                                      </font>                ==                                                           
 
== <font color="deepskyblue">Step 1, Install Raspbian official image                                      </font>                ==                                                           
 
1) Download the latest Raspbian Image from the official website: https://www.raspberrypi.org/downloads/          <br>
 
1) Download the latest Raspbian Image from the official website: https://www.raspberrypi.org/downloads/          <br>
Line 70: Line 95:
 
==  <font color="deepskyblue">Step 2, obtain the LCD driver                              </font>    ==
 
==  <font color="deepskyblue">Step 2, obtain the LCD driver                              </font>    ==
 
Extract from the companion CD or ask for it from the seller;
 
Extract from the companion CD or ask for it from the seller;
Copy the '''LCD-show.tar.gz''' drive to the Raspberry Pi system root directory (Suggestion: copy flash driver directly to Micro SD car after completion of Step 1, or copy by SFTP or other methods for remote copy). Unzip and extract drive files as the following command:
+
Copy the [http://www.lcdwiki.com/res/RaspDriver/LCD-show.tar.gz LCD-show.tar.gz] drive to the Raspberry Pi system root directory (Suggestion: copy flash driver directly to Micro SD car after completion of Step 1, or copy by SFTP or other methods for remote copy). Unzip and extract drive files as the following command:
  
 
{{code|
 
{{code|
 
cd /boot
 
cd /boot
sudo tar LCD-show.tar.gz
+
sudo tar zxvf LCD-show.tar.gz
 
cd LCD-show/                                          }}
 
cd LCD-show/                                          }}
 
 
  
 
==  <font color="deepskyblue">Step 3, install LCD driver                                                                </font>  ==
 
==  <font color="deepskyblue">Step 3, install LCD driver                                                                </font>  ==
In case of 2.4” RPi Display (MPI2401):
+
The Same step as 【method1 Step3】.[[#Step 3, install LCD driver|BACK to Step3]]
{{code|
 
sudo ./LCD24-show  }}
 
In case of 2.8” RPi Display (MPI2801):
 
{{code|
 
sudo ./LCD28-show  }}
 
In case of 3.2” RPi Display (MPI3201):
 
{{code|
 
sudo ./LCD32-show  }}
 
In case of 3.5” RPi Display(MPI3501):
 
{{code|
 
sudo ./LCD35-show  }}
 
In case of 3.5” HDMI Display-B(MPI3508):
 
{{code|
 
sudo ./MPI3508-show  }}
 
In case of 4.0" HDMI Display(MPI4008):
 
{{code|
 
sudo ./MPI4008-show  }}
 
In case of 5.0” HDMI Display(Resistance touch)(MPI5008):
 
{{code|
 
sudo ./LCD5-show    }}
 
In case of 5inch HDMI Display-B(Capacitor touch)(MPI5001):
 
{{code|
 
sudo ./MPI5001-show    }}
 
In case of 7inch HDMI Display-B-800X480(MPI7001):
 
{{code|
 
sudo ./LCD7B-show  }}
 
In case of 7inch HDMI Display-C-1024X600(MPI7002):
 
{{code|
 
sudo ./LCD7C-show  }}
 
the corresponding execution to switch back to Traditional HDMI display.
 
{{code|
 
sudo ./LCD-hdmi  }}
 
Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD.
 

Latest revision as of 13:52, 10 October 2019


语言选择

Languages

➤中文
➤EN



Raspberry Pi LCD Driver installation instruction (method 1: online installation)

This manual is applicable to all series of Raspberry Pi LCD, Raspberry Pi board should be connected to Internet during the installation.

Step 1, Install Raspbian official image

1) Download the latest Raspbian Image from the official website: https://www.raspberrypi.org/downloads/
2) Format Micro SD card by SDFormatter
3) Burn the official image into Micro SD car by using Win32DiskImager

Step 2, obtain the LCD driver

Log onto the Raspberry Pi users system to command line (The initial user name: pi Password: raspberry) Get the newest driver from GitHub (Raspberry Pi LCD should be connected to internet)

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

Step 3, install LCD driver

  • In case of 2.4” RPi Display (MPI2401):
sudo ./LCD24-show   
  • In case of 2.4” RPi Display For RPi 3A+ (MPI2411):
sudo ./LCD24-3A+-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 MHS-3.2” RPi Display (MHS3232):
sudo ./MHS32-show   
  • In case of 3.5” RPi Display(MPI3501):
sudo ./LCD35-show   
  • In case of 3.5” HDMI Display-B(MPI3508):
sudo ./MPI3508-show   
  • In case of MHS-3.5” RPi Display(MHS3528):
sudo ./MHS35-show   
  • In case of 4.0" HDMI Display(MPI4008):
sudo ./MPI4008-show  
  • In case of MHS-4.0" HDMI Display-B(MHS4001):
sudo ./MHS40-show  
  • In case of 5.0” HDMI Display(Resistance touch)(MPI5008):
sudo ./LCD5-show    
  • In case of 5inch HDMI Display-B(Capacitor touch)(MPI5001):
sudo ./MPI5001-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   
  • Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD.

Raspberry Pi LCD Driver installation instruction (method 2: offline)

This manual is applicable to all series of Raspberry Pi LCD; if you already have the driver installation CD, can just use it offline.

Step 1, Install Raspbian official image

1) Download the latest Raspbian Image from the official website: https://www.raspberrypi.org/downloads/
2) Format Micro SD car by SDFormatter
3) Burn the official image into Micro SD car by using Win32DiskImager

Step 2, obtain the LCD driver

Extract from the companion CD or ask for it from the seller; Copy the LCD-show.tar.gz drive to the Raspberry Pi system root directory (Suggestion: copy flash driver directly to Micro SD car after completion of Step 1, or copy by SFTP or other methods for remote copy). Unzip and extract drive files as the following command:

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

Step 3, install LCD driver

The Same step as 【method1 Step3】.BACK to Step3