Difference between revisions of "4inch DPI LCD (B)"

From Waveshare Wiki
Jump to: navigation, search
Line 57: Line 57:
 
5)Download the [[File:4DPIB_DTBO.zip|4inch DPI LCD (B) DTBO file]] and extract 3 dtbo files. Copy these three files to the overlays directory (/boot/overlays/), as shown in the following figure:
 
5)Download the [[File:4DPIB_DTBO.zip|4inch DPI LCD (B) DTBO file]] and extract 3 dtbo files. Copy these three files to the overlays directory (/boot/overlays/), as shown in the following figure:
  
[[Flie:4inch-DPI-LCD-B-Manual01.jpg|400px]]
+
[[File:4inch-DPI-LCD-B-Manual01.jpg|400px]]
  
 
6) Save and quit the TF card safely, and insert the TF card into the Raspberry Pi.
 
6) Save and quit the TF card safely, and insert the TF card into the Raspberry Pi.
  
 
7) Insert the 4inch DPI LCD (B) into the 40PIN GPIO interface of the Raspberry Pi, power on the Raspberry Pi, and wait for about ten seconds to display normally.
 
7) Insert the 4inch DPI LCD (B) into the 40PIN GPIO interface of the Raspberry Pi, power on the Raspberry Pi, and wait for about ten seconds to display normally.

Revision as of 08:02, 8 August 2020

4inch DPI LCD (B)
4inch-DPI-LCD-B-1.jpg

480x800, 4inch IPS Display for Raspberry Pi, DPI interface, 5-points Touch.
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

480x800, 4inch IPS Display for Raspberry Pi, DPI interface, 5-points capacitive touch control.

Features

  • 4inch IPS Display with a hardware resolution of 480×800.
  • Designed for Raspberry Pi, based on Raspberry Pi 40pin GPIO interface.
  • Using DPI666 interface of Raspberry Pi to drive LCD, refresh rate up to 60Hz.
  • Drive capacitive touch through I2C interface of Raspberry Pi, 5-points touch, toughened glass panel, hardness up to 6H.
  • Supports Raspbian and Kali systems.
  • With high-fidelity speakers and 3.5mm audio output. (Note: Pi4B doesn’t support audio output temporarily)
  • Two spin buttons, for backlight brightness and sound level adjustment.

How to use

This LCD can support Raspbian and Kali systems.

Please download the latest version of the image on the Raspberry Pi official website.

1) Download the compressed file to the PC, and unzip it to get the .img file.

2) Connect the TF card to the PC, use SDFormatter.exe software to format the TF card.

3) Open the Win32DiskImager.exe software, select the system image downloaded in step 1, and click‘Write’ to write the system image.

4) After the image has finished writing, open the config.txt file in the root directory of the TF card(/boot/), add the following code at the end of config.txt, then save and quit the TF card safely.

gpio=0-9=a2
gpio=12-17=a2
gpio=20-25-=a2
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
extra_transpose_buffer=2
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 40 48 128 800 0 13 3 15 0 0 0 60 0 41000000 6
dtoverlay=waveshare-4dpib-3b-4b
dtoverlay=waveshare-4dpib-3b
dtoverlay=waveshare-4dpib-4b

Note: For Raspberry Pi 4, you need to comment out dtoverlay=vc4-fkms-V3D.

5)Download the File:4DPIB DTBO.zip and extract 3 dtbo files. Copy these three files to the overlays directory (/boot/overlays/), as shown in the following figure:

4inch-DPI-LCD-B-Manual01.jpg

6) Save and quit the TF card safely, and insert the TF card into the Raspberry Pi.

7) Insert the 4inch DPI LCD (B) into the 40PIN GPIO interface of the Raspberry Pi, power on the Raspberry Pi, and wait for about ten seconds to display normally.