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

From LCD wiki
Jump to: navigation, search
Line 63: Line 63:
  
  
== <font color="blue">'''树莓派LCD驱动安装说明(方法2: 离线安装)'''</font>  ==
+
== <font color="blue">'''Raspberry Pi LCD Driver installation instruction (method2: offline)'''</font>  ==
 
<font color=red>                                                         
 
<font color=red>                                                         
本文适用于全系列树莓派液晶屏,如客户已有LCD驱动安装光盘,可离线操作                     <br>
+
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>  
== <font color="deepskyblue">步骤1, 安装Raspbian官方镜像  </font>                ==                                                           
+
== <font color="deepskyblue">Step 1, Install Raspbian official image                                      </font>                ==                                                           
1)从官方下载最新Raspbian镜像 https://www.raspberrypi.org/downloads/          <br>
+
1) Download the latest Raspbian Image from the official website: https://www.raspberrypi.org/downloads/          <br>
2)使用SDFormatter格式化Micro SD卡                                                <br>
+
2) Format TF card by SDFormatter                                      <br>
3)使用Win32DiskImager把官方镜像烧录到Micro SD卡                                  <br>
+
3) Burn the official image into TF card by using Win32DiskImager
 +
==  <font color="deepskyblue">Step 2, obtain the LCD driver                              </font>   ==
 +
Extract from the companion CD or ask for it from the seller;
 +
Copy the LCD-show-160701.tar.gz drive to the Raspberry Pi system root directory (Suggestion: copy flash driver directly to TF card after completion of Step 1, or copy by SFTP or other methods for remote copy). Unzip and extract drive files as the following command:
  
==  <font color="deepskyblue">步骤2, 获取LCD驱动    </font>    ==
 
从配套光盘内提取或咨询卖家索取,将LCD-show.tar.gz驱动复制到树莓派系统根目录下
 
(推荐'''步骤1'''烧录完成后将驱动直接拷贝到SD卡,或使用SFTP等办法远程拷贝)执行以下操作命令解压驱动:
 
 
{{code|
 
{{code|
 
cd /boot
 
cd /boot
Line 80: Line 80:
 
cd LCD-show/                                          }}
 
cd LCD-show/                                          }}
  
==  <font color="deepskyblue">步骤3, 安装LCD驱动  </font>  ==
+
 
如使用2.4寸树莓派LCD则对应执行:
+
 
 +
==  <font color="deepskyblue">Step 3, install LCD driver                                                                </font>  ==
 +
the corresponding execution for the use of 2.4” LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./LCD24-show  }}
 
sudo ./LCD24-show  }}
如使用2.8寸树莓派LCD则对应执行:
+
the corresponding execution for the use of 2.8” LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./LCD28-show  }}
 
sudo ./LCD28-show  }}
如使用3.2寸树莓派LCD则对应执行:
+
the corresponding execution for the use of 3.2” LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./LCD32-show  }}
 
sudo ./LCD32-show  }}
如使用3.5寸树莓派LCD则对应执行:
+
the corresponding execution for the use of 3.5” LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./LCD35-show  }}
 
sudo ./LCD35-show  }}
如使用3.5寸树莓派MPI3508,则对应执行:
+
the corresponding execution for the use of 3.5” MPI3508 LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./MPI3508-show  }}
 
sudo ./MPI3508-show  }}
如使用3.97寸树莓派LCD则对应执行:
+
the corresponding execution for the use of 3.97” LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./LCD397-show  }}
 
sudo ./LCD397-show  }}
如使用4.3寸树莓派LCD则对应执行:
+
the corresponding execution for the use of 4.3” LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./LCD43-show  }}
 
sudo ./LCD43-show  }}
如使用5寸树莓派LCD则对应执行:
+
the corresponding execution for the use of 5.0” LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./LCD5-show    }}
 
sudo ./LCD5-show    }}
如使用5寸树莓派B款MPI5001,则对应执行:
+
the corresponding execution for the use of 5” MPI5001 LCD Raspberry Pi:
 
{{code|
 
{{code|
 
sudo ./MPI5001-show    }}
 
sudo ./MPI5001-show    }}
如使用7寸B款800X480则对应执行:
+
the corresponding execution for the use of 7.0” LCD version B 800*400:
 
{{code|
 
{{code|
 
sudo ./LCD7B-show  }}
 
sudo ./LCD7B-show  }}
如使用7寸C款1024X600则对应执行:
+
the corresponding execution for the use of 7.0” LCD version C 1024*600:
 
{{code|
 
{{code|
 
sudo ./LCD7C-show  }}
 
sudo ./LCD7C-show  }}
如需切换回传统HDMI显示器则对应执行:
+
the corresponding execution to switch back to Traditional HDMI display.
 
{{code|
 
{{code|
 
sudo ./LCD-hdmi  }}
 
sudo ./LCD-hdmi  }}
执行完上述命令后稍等片刻,即可使用对应的树莓派LCD。
+
Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD.

Revision as of 16:37, 28 May 2018


语言选择

Languages

➤中文
➤EN



Raspberry Pi LCD Driver installation instruction (method1: 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 TF card by SDFormatter
3) Burn the official image into TF card 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)

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

Step 3, install LCD driver

the corresponding execution for the use of 2.4” LCD Raspberry Pi:

sudo ./LCD24-show   

the corresponding execution for the use of 2.8” LCD Raspberry Pi:

sudo ./LCD28-show   

the corresponding execution for the use of 3.2” LCD Raspberry Pi:

sudo ./LCD32-show   

the corresponding execution for the use of 3.5” LCD Raspberry Pi:

sudo ./LCD35-show   

the corresponding execution for the use of 3.5” MPI3508 LCD Raspberry Pi:

sudo ./MPI3508-show   

the corresponding execution for the use of 3.97” LCD Raspberry Pi:

sudo ./LCD397-show  

the corresponding execution for the use of 4.3” LCD Raspberry Pi:

sudo ./LCD43-show   

the corresponding execution for the use of 5.0” LCD Raspberry Pi:

sudo ./LCD5-show    

the corresponding execution for the use of 5” MPI5001 LCD Raspberry Pi:

sudo ./MPI5001-show    

the corresponding execution for the use of 7.0” LCD version B 800*400:

sudo ./LCD7B-show   

the corresponding execution for the use of 7.0” LCD version C 1024*600:

sudo ./LCD7C-show   

the corresponding execution to switch back to Traditional HDMI display.

sudo ./LCD-hdmi   

Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD.


Raspberry Pi LCD Driver installation instruction (method2: 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 TF card by SDFormatter
3) Burn the official image into TF card 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-160701.tar.gz drive to the Raspberry Pi system root directory (Suggestion: copy flash driver directly to TF card 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 corresponding execution for the use of 2.4” LCD Raspberry Pi:

sudo ./LCD24-show   

the corresponding execution for the use of 2.8” LCD Raspberry Pi:

sudo ./LCD28-show   

the corresponding execution for the use of 3.2” LCD Raspberry Pi:

sudo ./LCD32-show   

the corresponding execution for the use of 3.5” LCD Raspberry Pi:

sudo ./LCD35-show   

the corresponding execution for the use of 3.5” MPI3508 LCD Raspberry Pi:

sudo ./MPI3508-show   

the corresponding execution for the use of 3.97” LCD Raspberry Pi:

sudo ./LCD397-show  

the corresponding execution for the use of 4.3” LCD Raspberry Pi:

sudo ./LCD43-show   

the corresponding execution for the use of 5.0” LCD Raspberry Pi:

sudo ./LCD5-show    

the corresponding execution for the use of 5” MPI5001 LCD Raspberry Pi:

sudo ./MPI5001-show    

the corresponding execution for the use of 7.0” LCD version B 800*400:

sudo ./LCD7B-show   

the corresponding execution for the use of 7.0” LCD version C 1024*600:

sudo ./LCD7C-show   

the corresponding execution to switch back to Traditional HDMI display.

sudo ./LCD-hdmi   

Wait for a moment after executing the above command, then you can use the corresponding raspberry LCD.