50H-800480-IPS

From Waveshare Wiki
Jump to: navigation, search

Introduction

Overview

50H-800480 series display, produced by the Waveshare team, is designed for users who need a lightweight DSI display. Compared with the traditional DSI screen, it is lighter and more convenient for secondary development.

Features

  • 5inch IPS screen, 800 x 480 hardware resolution.
  • 5-point capacitive touch control, toughened glass panel, hardness up to 6H (this function is only for the touch version).
  • Support Pi4B/3B+/3A+/3B/2B/B+/A+, and some CM3/3+/4 expansion board need a DSI Cable 15cm.
  • Directly drive the LCD via the DSI port of the Raspberry Pi, and the refreshing rate is up to 60Hz.
  • When working with the Raspberry Pi, it supports Raspberry Pi OS/Ubuntu/Kali and Retropie, and is driver-free.
  • Support adjusting the backlight via the software and saving more power.

50H-800480-IPS.png

Parameters

Item Description Unit
Model 50H-800480 Series
Dimensions 5.0 Inch
Viewing Angle 160 Deg
Resolution 800 (RGB) × 480 Pixels
Touch Screen Dimensions 127.7 (H) × 87.45 (V) × 4.9 (D) mm
Display Screen Dimensions 120.7 (H) × 75.8 (V) × 2.8 (D) mm
Display Area 108.0 (W) × 64.8 (H) mm
IPS Color Gamut 50%NTSC
Brightness 300 cd/m²
Backlight Adjustment Software
Contrast 1000:1
Color Depth 16.7M
Refresh Rate 60 Hz
Driver Port DSI Port

Interface Definition

PIN Label
1 GND
2 DSI1_DN1
3 DSI1_DP1
4 GND
5 DSI1_CN
6 DSI1_CP
7 GND
8 DSI1_DN0
9 DSI1_DP0
10 GND
11 SCL0
12 SDA0
13 GND
14 3V3
15 3V3

Working With Raspberry Pi

Hardware Connection

With FFC cable, you can connect 50H-800480 to the DSI port of the Raspberry Pi, as shown below:
50H-800480-IPS02.jpg
Note: The gold finger of the screen-side cable should face upward.
翻盖式金手指-EN(1).jpg

Software Settings

Method 1: Use Raspberry Pi Imager to Flash Latest Official Image

For Raspberry Pi OS/Ubuntu/Kali/Volumio and Retropie systems.

  • 1. Connect the TF card to the PC, download and use Raspberry Pi Imager to flash the corresponding system image.

Raspberry Pi Imager burning1.gif

  • 2. After the image flashing is completed, open the config.txt file in the root directory of the TF card, add the following code at the end of the config.txt, save and safely eject the TF card.
dtoverlay=vc4-kms-v3d
#DSI1 Use
dtoverlay=vc4-kms-dsi-7inch
#DSI0 Use (Only Pi5/CM4)
#dtoverlay=vc4-kms-dsi-7inch,dsi0
  • 3. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, and wait for a few seconds normally to enter the display. After the system starts, it can be touched normally.
  • Note: For the Bookworm system on the Raspberry Pi 5, it is recommended to manually update to the latest system version and reboot (network connection is required).
#Update the system
sudo apt-get update
sudo apt-get full-upgrade -y
#Reboot the system
sudo reboot

Method 2: Use the Pre-installed Image

1. Select the corresponding Raspberry Pi version image, download and unzip it as .img file.
Raspberry 3/4B/CM4/5 version download: Waveshare DSI LCD - Pi3/4B/CM4/5 pre-installed image
2. Connect the TF card to the PC, format the TF card with SDFormatter.
3. Open Win32DiskImager, select the prepared system image, and click "Write" to start flashing.
4. After the flashing is completed, open the config.txt file in the root directory of the TF card, find the line "[all]", according to your display model, uncomment the relevant lines to enable the DSI display, and then save and safely eject the TF card.

Note: For Pi5/CM4/CM3+/CM3, since there are two MIPI DSI display interfaces, please make sure to use the correct display interface and instructions, the DSI1 display interface is recommended by default.  

Let's take the 800*480 DSI LCD display as an example:
Use DSI1 interface:

#800*480 resolution DSI LCD display
dtoverlay=vc4-kms-dsi-7inch

Use DSI0 interface:

#800*480 resolution DSI LCD display
dtoverlay=vc4-kms-dsi-7inch,dsi0

5. Insert the TF card into the Raspberry Pi, power on and start, wait for a few seconds to enter the system display, and the touch function can also work normally.

Adjust Backlight Brightness

Graphical Interface Backlight Adjustment

The following steps are based on the Trixie system:

  • 1. Click the menu in the upper left corner, then go to "Preferences" → "Control Center", and select "Screens";

8inch dsi lcd -1.png

  • 2. Go to "Screen" -> "DSI-2" -> "Brightness", select and adjust the desired backlight brightness, and finally click "Apply" to save the settings.

8inch dsi lcd -2.png

In the Bookworm system, this setting entry is located at "Screen Configuration" → "Screen".

Use Waveshare Backlight Adjustment Application

You can also use the graphical backlight adjustment tool provided by Waveshare:

wget https://files.waveshare.com/wiki/common/Brightness.zip
unzip Brightness.zip
cd Brightness
sudo chmod +x install.sh
./install.sh

After the installation is completed, you can open the demo in the Start Menu -> Accessories -> Brightness, as shown below:

43H-800480-IPS-CT-details-13.gif

Adjust Backlight Brightness Using Terminal

echo X | sudo tee /sys/class/backlight/*/brightness

Where X represents any number from 0 to 255. 0 means the darkest backlight, and 255 means the brightest backlight. For example:

echo 100 | sudo tee /sys/class/backlight/*/brightness
echo 0 | sudo tee /sys/class/backlight/*/brightness
echo 255 | sudo tee /sys/class/backlight/*/brightness

Display Rotation

Trixie / Bookworm Display Rotation

GUI interface rotation
The following steps are based on the Trixie system:

  • 1. Click the menu in the upper left corner, then go to Preferences -> Control Center, and select Screens;

800px-8inch dsi lcd -5.png

  • 2. Go to Screen -> DSI-1 -> Touchscreen and check "10-0014 Goodix Capacitive TouchScreen";

800px-8inch dsi lcd -6.png

  • 3. Go to Screen -> DSI-2 -> Orientation, check the direction you need to rotate, and finally click "Apply" to complete the display and touch synchronous rotation.

800px-8inch dsi lcd -7.png

  • In the Bookworm system, this setting entry is located at Screen Configuration -> Screen.
Note: Only Trixie/Bookworm systems support the above synchronous rotation methods. For Bullseye/Buster systems, after displaying rotation, touch rotation needs to be manually set separately.

lite version display rotation

  • 1. Need to modify the /boot/cmdline.txt file:
sudo nano /boot/cmdline.txt
  • 2. At the beginning of the cmdline.txt file, add the command for displaying the rotation angle: (Please note, this command needs to be on the same line, with each command separated by a space.)
video=DSI-1:800x480M@60,rotate=90

Change the display rotation angle by modifying the rotate value to 90, 180, or 270.

  • 3. Save and restart
sudo reboot

Bullseye/Buster Display Rotation

GUI interface rotation

  • 1. Open the "Screen Configuration" application;

DSI-LCD-Bullseye-Rotate-02.png

  • 2. Go to "Screen" -> "DSI-1" -> "Orientation", check the direction you need to rotate, and finally click "Apply" to complete the display rotation.

DSI-LCD-Bullseye-Rotate-03.png
DSI-LCD-Bullseye-Rotate-04.png


lite version display rotation

  • 1. Need to modify the /boot/cmdline.txt file:
sudo nano /boot/cmdline.txt
  • 2. At the beginning of the cmdline.txt file, add the command for displaying the rotation angle: (Please note, this command needs to be on the same line, with each command separated by a space.)
video=DSI-1:800x480M@60,rotate=90

Change the display rotation angle by modifying the rotate value to 90, 180, or 270.

  • 3. Save and restart
sudo reboot

Stretch/Jessie Display Rotation

For some older systems, they do not use the vc4-kms-v3d or vc4-fkms-v3d driver modes, and the display rotation method is as follows:

  • 1. Add a statement to the config.txt file (the config file is located in the root directory of the TF card, i.e., in the /boot folder):
display_rotate=1 #1: 90; 2: 180; 3: 270
  • 2. Save the changes and then reboot the Raspberry Pi
sudo reboot

Touch Rotation

Bookworm Touch

If you use the graphical interface for rotation, you can tick "Touchscreen" in the screen layout editor window to synchronize the touch rotation. Please refer to the previous introduction for how to rotate the screen. For the command line rotation method, please refer to the following text:
1. Create a new file named 99-waveshare-touch.rules

sudo nano /etc/udev/rules.d/99-waveshare-touch.rules

2. Add the following lines as needed:

#90°:
ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"

#180°:
#ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"

#270°:
#ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"

3. Save and reboot

sudo reboot

Bullseye/Buster Touch

After some systems display rotation, the touch direction is inconsistent, and you need to perform the following operations to perform touch rotation:
1. Install libinput

sudo apt-get install xserver-xorg-input-libinput
  • If you have Ubuntu or Jetson Nano installed. The installation code is:
sudo apt install xserver-xorg-input-synaptics

2. Create the xorg.conf.d directory under /etc/X11 (if the directory already exists, proceed directly to step 3).

sudo mkdir /etc/X11/xorg.conf.d

3. Copy the 40-libinput-conf file to the directory you created just now.

sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/

4. Edit this file

sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
#Find the touchscreen section, add the corresponding rotation angle command in it, and save it
#"90° Right touch rotation:
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
#180° Inverted touch rotation: 
#Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
#270° Left touch rotation: 
#Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
Similar to the position in the following image:

Touch roate.jpg
5. Reboot Raspberry Pi

sudo reboot

After completing the above steps, touch will cause a rotation.

Screen Sleep

Run the following command on the Raspberry Pi terminal and the screen will enter sleep mode:

xset dpms force off

Note: The above command is only for Bullseye and Buster systems.

Disable Touch

At the end of the config.txt file, add the following command corresponding to disabling touch (the config file is located in the root directory of the TF card, which can also be accessed via the command: sudo nano /boot/config.txt):

disable_touchscreen=1

Note: After adding a command, it needs to be restarted to take effect.


Dimensions

50H-800480-IPS90.jpg

Resource

FAQ

 Answer:

Check the system version using "uname --all". If it's kernel version 6.6.20, run "sudo rpi-update pulls/6050" to fix it.
Note: Take care to back up any important data in your image before updating in case there is a regression.

{{{5}}}


 Answer:
The Raspberry PI DSI interface is used for power supply, and the power consumption is about 1.2W.


 Answer:

The hardware connection between DSI LCD and Pi5:
(1) A DSI cable (official Raspberry Pi cable or Waveshare Pi5-Display-Cable-200mm) for Pi 5 is required. Please ensure the proper orientation with the SODIMM.
(2) Priority usage for Pi5's DSI1 interface.

If use the DSI0 interface, you need to add "dtoverlay=vc4-kms-dsi-7inch,dsi0" in the config.txt file

43H DSI LCD-faq-20.png
2. Check the DSI LCD version.
(1) The latest DSI LCD version compatible with Pi5 is Rev2.2, which can be directly used.
(2) If you purchased the product earlier, such as the Rev2.1 version (or older), due to the power detection mechanism of Pi5, it may misidentify the capacitors on the DSI LCD as a false short-circuit state, preventing the system from booting. In this situation, you can manually remove the large capacitors at the four positions marked in red circles in the image below.
43H DSI LCD-faq-21.png
3.Software Setup:
For the Pi5, use the Bookworm system. (Please note, Pi5 currently only supports Bookworm, not Bullseye or Buster).
(1) Go to the Raspberry Pi official website: https://www.raspberrypi.com/software/operating-systems/. Download the latest version of the Bookworm image. Download the compressed file to your PC and extract it to obtain the .img file.
(2) Connect the microSD card (TF card) to your PC and use the SDFormatter software to format the microSD card.
(3) Open the Win32DiskImager software. Select the system image prepared in Step 1 and click 'Write' to flash the system image.
(4) After the writing process is complete, open the 'config.txt' file in the root directory of the microSD card. Add the following code at the end of 'config.txt', save it, and safely eject the microSD card.

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch

(5) Insert the TF card into the Raspberry Pi, power it, and then enter after waiting for a few seconds. Then, the system boots and can be touched mormally.

Note that if use the DSI0 interface at the same time, you need to add the additional commands: "dtoverlay=vc4-kms-dsi-7inch,dsi0"

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)