Raspberry Pi 4 Metal Case with 3.5 Inch TFT Touch Screen Wiki - DFRobot

Introduction

This small 1.6”LCD display with backlight supports a resolution of 84 * 48 and is compatible with all series of Raspberry Pi. Through the internal programming of Raspberry Pi, the screen can present your Pi board running status at a glance, such as CPU and memory usage, IP address, CPU temperature, etc. The LCD display adopts a 26Pin GPIO compatible design, which makes it compatible with the full series of Raspberry Pi. Inserting the LCD into the Raspberry Pi, the LCD still leads to the occupied pin, which does not affect the secondary use. The LCD screen is equipped with backlight control. When the Raspberry Pi is used as a server application, the operating status of the motherboard can be seen clearly even in a dark environment. Besides, there is a backlight jumper on the back to allow you to control the backlight by program. Through programming, the LCD screen can also be used in experiments to display real-time data, such as ultrasonic distance measurement, temperature and humidity testing, etc.

Specification

Board Overview

Num Label Description
1, 17 3.3V Power positive (3.3V power input)
2, 4 5V Power positive (5V power input)
3, 5, 7, 8, 10, 12, 13, 15, 16 NC NC floating
6, 9, 14, 20, 25 GND Ground wire
11 TP_IRQ The touch panel is interrupted, and it is low when the touch panel is detected to be pressed
18 LCD_RS Instruction/data register selection, low level is instruction, high level is data
19 LCD_SI / TP_SI SPI data input for LCD display/touch panel
21 TP_SO SPI data output of touch panel
22 RST Reset signal, low level reset
23 LCD_SCK / TP_SCK SPI clock signal for LCD display/touch panel
24 LCD_CS LCD chip select signal, low level enable
26 TP_CS Touch panel chip select signal, low level enable

Used in Raspberry Pi Raspbian System

Step 1. Install the latest official mirror of various systems

(1) Download the latest Raspbian mirror from the official (2) Use SDFormatter to format the Micro SD card (3) Use Win32DiskImager or balenaEtcher to burn the official mirror to the Micro SD card.

Step 2. Connect with Raspberry Pi

As shown in the figure, align the LCD screen receptacle to the right and insert the pin header of the Raspberry Pi, insert the MicroSD card, connect the network cable, and connect the power supply.

Step 3. Install LCD driver on Raspberry Pi

(1) Log in to the Raspberry Pi terminal (2) Execute the following command to obtain the LCD driver and install it

1. sudo rm -rf LCD-show
2. git clone https://github.com/goodtft/LCD-show.git
3. chmod -R 755 LCD-show
4. cd LCD-show/
5. sudo ./MHS35-show

Step 4. Check whether the driver is installed successfully

After the LCD driver is installed, the system will automatically restart. After the startup is successful, the LCD can display and touch normally, indicating that the driver installation is successful.

How to rotate the display direction

Notice: This method is only for the display of the Raspberry Pi series, other displays are not applicable

1. sudo rm -rf LCD-show
2. git clone https://github.com/goodtft/LCD-show.git
3. chmod -R 755 LCD-show
4. cd LCD-show/
5. sudo ./XXX-show

After the execution is completed, the driver will be installed, the system will automatically restart, and then the screen will display and touch normally. ('XXX-show 'can be changed to the corresponding driver)

1. cd LCD-show/
2. sudo ./rotate.sh 90

After the execution is completed, the system will automatically restart, and then the display can be rotated 90 degrees and display and touch normally ('90 'can also be changed to 0, 90, 180, 270 and other values, respectively representing the rotation angle of 0 degrees, 90 degrees, 180 degrees, 270 degrees)

If you are prompted that rotate.sh cannot be found, please go back to the first step and install the latest driver

If the HDMI interface display uses Raspberry Pi 4, you need to comment out the dtoverlay=vc4-fkms-V3D in the config.txt file (the config.txt file is located in the root directory of the Micro SD card, ie /boot)

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum.

More Documents

DFshopping_car1.png Get Raspberry Pi 4 Metal Case with 3.5" 480x320 TFT Touch Screen from DFRobot Store or DFRobot Distributor.

Turn to the Top