3.5inch 480x800 LCD

From Waveshare Wiki
Jump to: navigation, search

Overview

Introduction

This product is a universal 3.5inch HDMI display with a resolution of 480×800 and a capacitive touch panel. It supports Raspberry Pi and Jetson Nano, and also can be used as a computer monitor.

Features

• 3.5inch IPS screen with 480x800 hardware resolution
• Supports up to 5-point capacitive touch
• When used with Raspberry Pi, it supports Raspberry Pi OS/ Ubuntu / Kali
• When used with Jetson Nano, it supports Ubuntu
• When used as a computer monitor, it supports Windows 11/10/8.1/8/7
• Supports backlight control for better power saving

Specifications

Item Description Unit
Type 3.5inch 480x800 LCD /
Size 3.5 Inch
Viewing angle 170 Deg
Resolution 480x800 Pixels
Overall size 88.87(H)×52.56(V)×7.15(D) mm
Display area 75.80(H)×45.36(V) mm
Pixel pitch 0.18(V) x 0.18(H) mm
Color gamut 70% NTSC
Maximum brightness 300 cd/m²
Contrast 1000:1 /
Backlight adjustment Button backlight adjustment /
Refresh rate 60 Hz
Display interface Standard HDMI interface /
Touch interface 5V USB touch /
Power consumption 2 Watt
Weight 55 g

Electrical Specifications

Parameters Minimum Value Standard Value Maximum Value Unit Note
Input voltage 4.75 5.00 5.25 V Note 1
Input current 500 500 TBD mA Note 2
Operating temperature 0 25 60 Note 4
Storage temperature -10 25 70 Note 4

•Note 1: Input voltages exceeding the maximum or improper operation may cause permanent damage to the device.
•Note 2: The input current needs to be ≥ 500mA, otherwise it will cause the startup failure or display abnormality, and staying in an abnormal state for a long time may cause permanent damage to the device.
•Note 3: Please do not store the display panel in a high-temperature and high-humidity environment for a long time. The display panel should operate within its limits, otherwise it may be damaged.

EDID Timing Parameters

If the system of the main control board can automatically recognize the EDID for display, there is no need to set the relevant timing parameters additionally.

Otherwise, you can refer to the following EDID settings:

Pixel Clock H Adressable H Blanking V Adressable V Blanking H Front Porch H Sync Width V Front Porch V Sync Width H Image Size V Image Size H Border V Border
30.60 480 120 800 50 10 10 2 4 480 800 0 0

Interfaces

3.5inch 480x800 LCD01.jpg

Usage Guide

Working with Raspberry Pi

Hardware Connection

1. Connect the Touch interface to the USB interface of Raspberry Pi
2. Connect the HDMI interface to the HDMI interface of Raspberry Pi
3.5inch 480x800 LCD02.jpg

Software Settings

Supports Raspberry Pi OS/Ubuntu/Kali and Retropie systems for Raspberry Pi.
When the LCD works on these systems, the resolution must be set manually, otherwise the display resolution will be incorrect, which will affect the experience.

1. Download the latest version of the image from the Raspberry Pi website
2. Download the compressed file to your PC, and extract it as .img file
3. Connect the TF card to the PC, format the TF card with SDFormatter software
4. Open the Win32DiskImager software, select the system image prepared in step 1, and click Write to flash the system image
5. 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

hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
hdmi_drive=1
hdmi_cvt 480 800 60 6 0 0 0

6. Insert the TF card into the Raspberry Pi, power on the Raspberry Pi, wait for a few seconds and it will be displayed normally
Note 1. The screen is displayed vertically by default. For convenience, you can adjust the display orientation of the screen, see Screen Rotation.
Note 2. When the Raspberry Pi is connected to multiple monitors at the same time, the touch effect will be applied to the main screen by default. If you need to specify the touch to the secondary screen, see Raspberry Pi Specified Touch Screen.

Raspberry Pi Specified Touch Screen

1. Enter xrandr on the Raspberry Pi terminal and check the HDMI-ID (most of them are HDMI-1) where the main screen is located;

600px-Pi4-指定触摸-1.png

2. Enter xinput on the Raspberry Pi terminal to check the touch ID where the main screen is located (there are 2 touch IDs, if you don't know which is the main screen, you can try both);

600px-Pi4-指定触摸-2.png

3. Run the command: xinput map-to-output touch ID HDMI-ID

(After matching the ID value, you can run the command to specify the touch to the main screen, such as: xinput map-to-output 7 HDMI-1)

Pi4-指定触摸-3.png

4. Since you need to re-enter the command every time you boot up, you can add this command to the boot autostart:

sudo nano etcxdglxsessionLXDE-piautostart

Add xinput map-to-output 7 HDMI-1 (remember to change it to your own corresponding ID), and then restart it.

Pi4-开机自启-4.png

Screen Rotation

Bookworm System

GUI Interface Rotation

  • 1. Open the "Screen Configuration" application;

DSI-LCD-Bookworm-Rotate-01.png

  • 2. Go to "Screen" - > "HDMI-A-1" - > "Touchscreen" and check "Waveshare Waveshare"

300px-7.9inch HDMI LCD Bookworm Rotate 1.png

  • 3. Go to "Screen" -> "HDMI-A-1" -> "Orientation", check the direction you need to rotate, and finally click "Apply" to complete the screen and touch synchronous rotation.

300px-7.9inch HDMI LCD Bookworm Rotate 2.png
Note: Only the Bookworm system supports the above screen and touch synchronization rotation method. Bullseye and earlier versions require separate settings for screen and touch rotation.

lite Version Screen Rotation (No Desktop Environment)

Edit the startup command line file:

sudo nano /boot/firmware/cmdline.txt

Add the following parameters at the beginning of the cmdline.txt file (required to change to the actual screen resolution):

video=HDMI-A-1:400x1280M@60,rotate=90

Replaced with:

  • rotate=90: rotate 90° clockwise
  • rotate=180: rotate 180° clockwise
  • rotate=270: rotate 90° counterclockwise

Note: HDMI shares rotation settings with other interfaces (such as DPI, DSI) and cannot be set separately.

Bullseye/Buster Systems

GUI Interface Rotation

  • 1. Open the "Screen Configuration" application;

DSI-LCD-Bullseye-Rotate-02.png

  • 2. Go to "Screen" -> "HDMI-A-1" -> "Orientation", check the direction you need to rotate, and finally click "Apply" to apply the settings.

DSI-LCD-Bullseye-Rotate-03.png

lite Version Screen Rotation

  • 1. Need to modify the /boot/cmdline.txt file:
sudo nano /boot/cmdline.txt
  • 2. Add the following parameters at the beginning of the cmdline.txt file (required to change to the actual screen resolution):
video=HDMI-A-1:400x1280M@60,rotate=90

Replaced with:

  • rotate=90: rotate 90° clockwise
  • rotate=180: rotate 180° clockwise
  • rotate=270: rotate 90° counterclockwise

Note: HDMI shares rotation settings with other interfaces (such as DPI, DSI) and cannot be set separately.

  • 3. Save and restart
sudo reboot

Stretch/Jessie Systems

For older systems (not using the vc4-kms-v3d or vc4-fkms-v3d drivers), please set up as follows:

  • 1. Edit config.txt file
sudo nano /boot/config.txt
  • 2. Add the statement at the end of the file:
display_rotate=1 #1: 90; 2: 180; 3: 270
  • 2. Save the changes and then reboot the Raspberry Pi
sudo reboot

Touchscreen Rotation Settings

Some screens can be rotated by holding down the Rotate Touch button on the back to switch the touch direction. Each hold switches the direction once.
7.9inch HDMI LCD Bookworm Rotate 3.png

Bookworm System (Command Line Mode)

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 udev rule file:

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

2. Add the content for the desired rotation angle (uncomment 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 Systems

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.

Use Touchscreen Virtual Keyboard

Raspberry Pi OS Bookworm and later versions include Squeekboard on-screen keyboard by default.
When connecting to the touch display, the on-screen keyboard will automatically appear if text input is possible, and it will automatically hide if text input is not possible.
For applications that do not support automatic text input detection, you can manually display or hide the on-screen keyboard by clicking the keyboard icon at the far right of the task bar.
600px-DSI-Touch-Bookworm-Keyboard-01.png
You can also set the display or hide the screen keyboard through the "Display" option under "Raspberry Pi Configuration" or through the "Display" section in raspi-config.
600px-DSI-Touch-Bookworm-Keyboard-02.png

  • Note:

For versions of Raspberry Pi OS before Bookworm, use matchbox-keyboard. If you are using the wayfire desktop compositor, use wvkbd.

Touch Mode Selection

The Bookworm system supports two touch modes, which can be switched in the Screen Configuration > Touchscreen menu:
600px-DSI-Touch-Bookworm-Keyboard-03.png

  • 1. Mouse Emulation (default)
Click = Left mouse button function
Long press = Right mouse button function
Supports double-click
Does not support swipe page and multi-touch functions

Note: This mode is suitable for scenarios that require mouse operation, such as double clicking to open the file manager and long pressing to achieve right-click functionality.

  • 2. Multitouch
Supports multi-touch functionality
Supports swiping pages
Does not support double-click and right-click long press functions

Note: This mode is suitable for touch-optimized scenarios, such as web browsing and scrolling lists.

Working with PC

Supports Windows 11 / 10 / 8.1 / 8 / 7 Systems. How to use:

1. Connect the Touch interface of the LCD to the USB interface of the PC, and Windows will automatically recognize the touch function.
2. Connect the HDMI interface of the LCD to the HDMI interface of the PC, and Windows will automatically recognize the display function.
3.5inch 480x800 LCD06.jpg

  • Note:
  • Some PCs do not support HDMI devices plug and play, and can be used normally after restarting the system.
  • If the USB port is not powered enough and the LCD screen will flicker, it is recommended to use the host USB3.0 interface.
  • When the computer is connected to multiple monitors at the same time, the touch effect will be applied to the main display by default. If you need to specify the touch to the secondary display, see Windows Specified Touch Screen.

Windows Specified Touch Screen

Take Windows 11 as an example:

  • 1. Go to Windows settings of the system, enter in the search bar and click on "Control Panel" (as shown in the figure below)

700px-Windows11 touch 1 1.png

  • 2. In the pop-up "Control Panel" interface, select "Hardware and Sound"

700px-Windows11 touch 2 1.png

  • 3. Select "Calibrate the screen for pen or touch input", then click "Settings" in the pop-up tablet settings

700px-Windows11 touch 3.png

  • 4. The text prompt shown below will appear on the screen. Please click on the touchpad with your finger and the computer will recognize it as a touch screen.
Note: If the screen is blank, please press the Enter key, and the text prompt will switch the screen. (The screen corresponding to the text prompt will be used as a touch screen.)

Windows-touch-3.png

Click to Expand to view the specific steps for Windows 10 system
  • 1. Go to Windows settings of the system, enter in the search bar and click on Calibration the screen for pen and touch input (as shown in the figure below)

700px-Windows-touch-1.png

  • 2. In the pop-up Tablet PC Settings interface, click Settings

700px-Windows-touch-2.png

  • 3. The text prompt shown below will appear on the screen. Please click on the touchpad with your finger and the computer will recognize it as a touch screen.
Note: If the screen is blank, please press the Enter key, and the text prompt will switch the screen. (The screen corresponding to the text prompt will be used as a touch screen.)

Windows-touch-3.png

Dimensions

3.5inch 480x800 LCD07.jpg

Resources

Diagrams

FAQ

 Answer:

Rotate the 10K resistor indicated by the arrow by 90°, then solder the PWM pin of external device to the unconnected end of the 10K resistor
3.5inch 480x800 LCD FAQ.png


 Answer:

Mounting thread size is M2.5.

{{{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)