Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to install 3.5-inch touchscreen driver for raspberry pie 3B

Shulou Source: shulou.com Published: 2022-06-01 23:00:59 10月27日 Update

Raspberry pie 3B how to install 3.5-inch touch screen driver, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a simpler and easier way.

The 3.5-inch touch screen I bought is as follows:

Please correspond to hardware.

Hardware installation:

Turn off the raspberry pie, power it off, and plug the screen into the port corresponding to the raspberry pie.

Install the driver

Download the driver to / boot file

Method 1:

Insert the SD card into your computer, then download this file and put it in the root directory of the SD card.

Raspberry pie LCD driver: 171219, suitable for 2017-03-02-raspbian-jessie and later versions of Raspbian.

So the file is located in the / boot directory

Method 2:

On raspberry pie, change to the / boot directory

Then download it directly to the local area using wget

Cd / bootsudo wget www.waveshare.net/w/upload/9/99/LCD-show-171219.tar.gz

Method 3:

An article mentioned that there are also driver files on git, which can be downloaded using git at https://github.com/goodtft/LCD-show

You can use:

Cd / bootsudo git https://github.com/goodtft/LCD-show.git

I didn't try this method because of the network problem. In theory, the latest drivers can be obtained.

Make sure that after downloading to the / boot directory, switch to / boot

Cd / boottar xzvf / boot/LCD-show-171219.tar.gzcd LCD-show/chmod + x LCD35-show./LCD35-show

If you download it through the git method, there is no need for tar decompression.

How to use it:

LCD/HDMI handoff

Cd LCD-show executes sudo. / LCD-hdmi

Cd LCD-show executes sudo. / LCD35-show

After installing the touch driver, you can change the rotation direction of the screen by running the following command.

§rotate 0 degrees:

1. Cd LCD-show/

2.. / LCD35-show 0

§rotate 90 degrees:

1. Cd LCD-show/

2.. / LCD35-show 90

§rotate 180 degrees:

1. Cd LCD-show/

2.. / LCD35-show 180

§rotate 270 degrees:

1. Cd LCD-show/

2.. / LCD35-show 270

Restart is generally OK, if there is a problem, try to restart under the power outage.

Possible problems:

When the driver decompresses, an error may be reported, as if the error does not affect the use.

At first, I found the driver somewhere else, which is basically similar to this one. After installation, I found that the display was fine, the touch did not work, and the x and y axes were upside down. Go to Yuexue's official website to find the driver, install it, and it's OK.

This is the answer to the question about how to install the 3.5-inch touch screen driver in Raspberry Pie 3B. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Tags: Drivers methods questions raspberries files directories touch screens switches screens more hardware try help solutions not working easy necessary almost easy to use method of use Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple Shulou Information MySQL Xiaomi