Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report