Difference between revisions of "5inch LCD for Pi"

From Waveshare Wiki
Jump to: navigation, search
m (Text replace - "Service02" to "Service00")
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<div class="wiki-pages jet-green-color">
 +
{{DISPLAYTITLE:5inch DPI LCD}}
 
{{Infobox item
 
{{Infobox item
|img=[[File:5inch-LCD-for-Pi-13.jpg|300px|link=http://www.waveshare.com/5inch-lcd-for-pi.htm]]
+
|name=5inch DPI LCD
|caption=800x480, 5inch IPS Display for Raspberry Pi, DPI interface, no Touch
+
|img=[[File:5inch-LCD-for-Pi-13.jpg|5inch DPI LCD|300px|{{Amazon_nolink|default={{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}|url=link=http://www.waveshare.com/5inch-lcd-for-pi.htm?amazon}}]]
 +
|caption=800 x 480, 5inch IPS Display for Raspberry Pi, DPI interface, no Touch
 
|platform=Raspberry Pi
 
|platform=Raspberry Pi
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]], [[:Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]], [[:Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
|brand=Waveshare
 
|brand=Waveshare
|{{#urlget:amazon|default}}=display
+
|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|website_cn=[https://www.waveshare.net/shop/5inch-LCD-for-Pi.htm 5inch DPI LCD]
 
|website_cn=[https://www.waveshare.net/shop/5inch-LCD-for-Pi.htm 5inch DPI LCD]
|website_en=[https://www.waveshare.com/5inch-lcd-for-pi.htm 5inch DPI LCD]
+
|website_en=[https://www.waveshare.com/5inch-lcd-for-pi.htm?amazon 5inch DPI LCD]
|interface1=RPi I/Os
+
|interface1=DPI
|interface2=DPI
 
 
|related=
 
|related=
 
{{Product List|Mini PC/Raspberry Pi/Displays}}
 
{{Product List|Mini PC/Raspberry Pi/Displays}}
 
}}
 
}}
 
== '''Introduction''' ==
 
== '''Introduction''' ==
800x480, 5inch IPS Display for Raspberry Pi, DPI interface, no Touch
+
800 x 480, 5inch IPS Display for Raspberry Pi, DPI interface, no Touch
  
{{Amazon|{{#urlget:amazon|default}}=display
+
{{Amazon|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|More = [http://www.waveshare.com/5inch-lcd-for-pi.htm More]}}
 
|More = [http://www.waveshare.com/5inch-lcd-for-pi.htm More]}}
 
== '''Features''' ==
 
== '''Features''' ==
* 5-inch IPS screen, hardware resolution is 800×480
+
* 5-inch IPS screen, hardware resolution is 800 × 480.
* Design based on Raspberry Pi 40pin GPIO interface
+
* Design based on Raspberry Pi 40pin GPIO interface.
* Drive LCD via DPI interface of Raspberry Pi
+
* Drive LCD via DPI interface of Raspberry Pi.
* Supports operating systems like Raspberry Pi OS/Ubuntu
+
* Supports operating systems like Raspberry Pi OS/Ubuntu.
* Backlight control to lower power consumption
+
* Backlight control to lower power consumption.
* Compact size, suit for various projects
+
* Compact size, suit for various projects.
【Note】This LCD can only be used for displaying, if you require a touchscreen, please purchase [https://www.waveshare.com/5inch-hdmi-lcd-h.htm 5inch HDMI LCD (H)](capacitive) or [https://www.waveshare.com/5inch-hdmi-lcd-g.htm 5inch HDMI LCD (G)](resistive)
+
【Note】This LCD can only be used for displaying, if you require a touchscreen, please purchase [https://www.waveshare.com/5inch-hdmi-lcd-h.htm 5inch HDMI LCD (H)](capacitive) or [https://www.waveshare.com/5inch-hdmi-lcd-g.htm 5inch HDMI LCD (G)](resistive).
  
 
== '''How to use''' ==
 
== '''How to use''' ==
Line 35: Line 37:
  
 
=== Software settings ===
 
=== Software settings ===
If you don't know the difference between the two branches of Raspberry Pi OS, you can check the following introduction [[#Introducing the Raspberry Pi OS fork]]
+
If you don't know the difference between the two branches of Raspberry Pi OS, you can check the following introduction [[#Raspberry Pi OS Introduction]]
 
==== For Raspberry Pi OS Bullseye branch ====
 
==== For Raspberry Pi OS Bullseye branch ====
 
Please download the latest version of the image from the [https://www.raspberrypi.com/software/operating-systems/ Raspberry Pi official website].
 
Please download the latest version of the image from the [https://www.raspberrypi.com/software/operating-systems/ Raspberry Pi official website].
Line 70: Line 72:
 
3. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for more than ten seconds to display normally.
 
3. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for more than ten seconds to display normally.
  
===Introducing the Raspberry Pi OS fork===
+
===Raspberry Pi OS Introduction===
 
On December 2, 2021, the Raspberry Pi OS for Raspberry Pi split into two branches, the Buster branch and the Bullseye branch.<br />
 
On December 2, 2021, the Raspberry Pi OS for Raspberry Pi split into two branches, the Buster branch and the Bullseye branch.<br />
  
Line 76: Line 78:
  
 
The Bullseye branch adds some new features, including KMS as the default display driver and libcamera as the default camera subsystem.<br />
 
The Bullseye branch adds some new features, including KMS as the default display driver and libcamera as the default camera subsystem.<br />
[https://www.raspberrypi.com/software/operating-systems/ Image download address]
+
[https://www.raspberrypi.com/software/operating-systems/ Image download address]<br />
 
[[File:RASPBERRY-PI-OS-BUSTER-BULLSEYE-04-01.png|800px]]<br />
 
[[File:RASPBERRY-PI-OS-BUSTER-BULLSEYE-04-01.png|800px]]<br />
 
More detailed information can be found at:<br />
 
More detailed information can be found at:<br />
Line 98: Line 100:
 
*[http://www.waveshare.com/w/upload/7/76/Win32DiskImager.zip Win32DiskImager]
 
*[http://www.waveshare.com/w/upload/7/76/Win32DiskImager.zip Win32DiskImager]
 
*[http://www.waveshare.com/w/upload/5/56/Putty.zip PuTTY]
 
*[http://www.waveshare.com/w/upload/5/56/Putty.zip PuTTY]
 
== '''Anti-Piracy''' ==
 
{{RPi LCD Anti-Piracy}}
 
== <font color=red>'''Beware of knock-offs'''</font> ==
 
{{Beware of knock-offs}}
 
  
 
=='''FAQ'''==
 
=='''FAQ'''==
Line 114: Line 111:
 
|Replace the custom image with the image in this directory /usr/share/plymouth/themes/pix/splash.png
 
|Replace the custom image with the image in this directory /usr/share/plymouth/themes/pix/splash.png
 
}}
 
}}
== '''Support''' ==
+
 
 
{{Service00}}
 
{{Service00}}
  
 
[[Category:OLEDs / LCDs|OLEDs / LCDs]] [[Category:LCD|LCD]] [[Category:Raspberry Pi|Raspberry Pi]] [[Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
[[Category:OLEDs / LCDs|OLEDs / LCDs]] [[Category:LCD|LCD]] [[Category:Raspberry Pi|Raspberry Pi]] [[Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 +
</div>

Latest revision as of 06:51, 10 August 2022

5inch DPI LCD
5inch DPI LCD

800 x 480, 5inch IPS Display for Raspberry Pi, DPI interface, no Touch
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

800 x 480, 5inch IPS Display for Raspberry Pi, DPI interface, no Touch

More

Features

  • 5-inch IPS screen, hardware resolution is 800 × 480.
  • Design based on Raspberry Pi 40pin GPIO interface.
  • Drive LCD via DPI interface of Raspberry Pi.
  • Supports operating systems like Raspberry Pi OS/Ubuntu.
  • Backlight control to lower power consumption.
  • Compact size, suit for various projects.

【Note】This LCD can only be used for displaying, if you require a touchscreen, please purchase 5inch HDMI LCD (H)(capacitive) or 5inch HDMI LCD (G)(resistive).

How to use

Hardware connection

1. Connect the RGB LCD HAT to the JP1 socket on RGB 50P TO 40/50P adapter with an FFC cable (white).
2. Connect the FPC cable (golden) on LCD to the JP3 socket on RGB 50P TO 40/50P adapter.

Note: When connecting, please open the black connector first, and then gently insert the cable. As shown below:
5inch-LCD-for-Pi-4.jpg

Software settings

If you don't know the difference between the two branches of Raspberry Pi OS, you can check the following introduction #Raspberry Pi OS Introduction

For Raspberry Pi OS Bullseye branch

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

1. Download the compressed file to the PC, and extract the img file.
2. Connect the TF card to the PC and use SDFormatter to format the TF card.
3. Open the Win32DiskImager software, select the system image prepared in step 1, and click write to burn the system image.
4. After the programming is completed, open the config.txt file in the root directory of the TF card, add the following code at the end of config.txt and save it

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-DPI-5inch

5. Download the 5inch DPI LCD-KMS display file and put it in the /boot/overlays directory of the TF card, and eject the TF card safely.
6. Turn on the LCD backlight switch.
7. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for more than ten seconds to display normally.

For Raspberry Pi OS Buster branch and Ubuntu system

1. Open the config.txt file in the root directory of the TF card, add the following code at the end of config.txt, save and safely eject the TF card.

[pi4]
dpi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 26000000 6

[all]
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f005
hdmi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 32000000 6
disable_overscan=1

2. Turn on the LCD backlight switch.
3. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for more than ten seconds to display normally.

Raspberry Pi OS Introduction

On December 2, 2021, the Raspberry Pi OS for Raspberry Pi split into two branches, the Buster branch and the Bullseye branch.

The Buster branch is a continuation of the old system, which is more stable and uses raspicam as the default camera subsystem.

The Bullseye branch adds some new features, including KMS as the default display driver and libcamera as the default camera subsystem.
Image download address
RASPBERRY-PI-OS-BUSTER-BULLSEYE-04-01.png
More detailed information can be found at:

Raspberry Pi Branch Details

Buster Release Notes

Bullseye Release Notes

Notes:The above information was updated on January 24, 2022. Due to the frequent update of the Raspberry Pi image, when you see this information, the relevant information may be out of date. The actual performance of the image shall prevail. This is for reference only.

Resources

Documentation

Software

FAQ

 Answer:
Add the following command to /boot/config.txt
disable_splash=1
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Replace the custom image with the image in this directory /usr/share/plymouth/themes/pix/splash.png
{{{3}}}
{{{4}}}

{{{5}}}



Support

If you require technical support, please go to the Support page and open a ticket.