
4inch HDMI LCD User Manual
1 / 6
4inch HDMI LCD
User Manual
OVERVIEW
This is 4inch resistive touch screen with 800x480 resolution, IPS screen, HDMI
interface, designed for Raspberry Pi
FEATURES
⚫ 800x480 high hardware resolution
⚫ Resistive touch control
⚫ IPS technology, high quality and perfect displaying from very wide viewing angle
⚫ Compatible and Direct-connect with any revision of Raspberry Pi (except the Pi 1
model B or Pi Zero, which requires an HDMI cable)
⚫ Drivers provided (works with your own Raspbian/Ubuntu/Kali/Retropie)
⚫ Also works as a computer monitor, in this case, touch panel is unavailable and
HDMI cable is required
⚫ HDMI interface for displaying, no I/Os required (however, the touch panel still
needs I/Os)
⚫ Backlight can be turned off to lower power consumption

4inch HDMI LCD User Manual
2 / 6
CONTENT
Overview ....................................................................................................................................................... 1
Features ................................................................................................................................................ 1
How to use .................................................................................................................................................. 3
Hardware connection ...................................................................................................................... 3
Method 1, Install driver .................................................................................................................. 3
Method 2 Using ready-to-use image ........................................................................................ 4
Setting orientation ........................................................................................................................... 4
Calibration ........................................................................................................................................... 5
Interface ........................................................................................................................................................ 6

4inch HDMI LCD User Manual
3 / 6
HOW TO USE
The touch of the LCD can be driven in two ways: Method 1: Install driver manually;
Method 2: Using ready-to-use Image
HARDWARE CONNECTION
⚫ Insert LCD directly to 40PIN header of Raspberry Pi.
⚫ Using the HDMI adapter or HDMI cable to connect HDMI interface of LCD to
Raspberry Pi’s
METHOD 1, INSTALL DRIVER
1. Download lasted OS1 image from Raspberry Pi website.
2. Extract image from ZIP archive and write it to SD card
3. After writing, modify the config.txt file which is located at root directory (BOOT) of
SD card. Append these statements to the end of config.txt file
This instruction is based on Raspbian OS

4inch HDMI LCD User Manual
4 / 6
2. hdmi_mode=87
3. hdmi_cvt 480 800 60 6 0 0 0
4. dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=500
00,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,x
max=3900,ymin=200,ymax=3900
5. display_rotate=3
4. Insert SD card to Raspberry Pi and power it on.
5. Connect to network,open terminal to download and install driver.
git clone https://github.com/waveshare/LCD-show.git
cd LCD-show/
sudo ./LCD4-800x480-show
6. Waiting for rebooting
METHOD 2 USING READY-TO-USE IMAGE
1. Download image we provided on wiki
- Raspbian for 4inch HDMI LCD
2. Extract the image file and write to SD card
3. Insert the SD card to Raspberry Pi and power on.
SETTING ORIENTATION
After installing driver, you can set the orientation as below
cd LCD-show/
#Choose one command to execute
sudo ./LCD4-800x480-show X
【Note】X can be 0, 90, 180 or 270

4inch HDMI LCD User Manual
5 / 6
CALIBRATION
If the touch of RPi LCD is not calibrated, you can calibrate the touch screen.
1. Copy and install calibrator tool
cp LCD-show/xinput-calibrator_0.7.5-1_armhf.deb ~/
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
sudo apt-get install xserver-xorg-input-evdev
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
sudo reboot
3. Running calibrator and finish calibration
DISPLAY=:0.0 xinput_calibrator
4. Saving the calibration data to 99-clibration.conf file
sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d./99-calibration.conf
The calibration data looks like;

4inch HDMI LCD User Manual
6 / 6
INTERFACE
Power positive (3.3V
power input)
Power positive (5V power
input)
3, 5, 7, 8, 10, 11, 12, 13, 15,
16, 18, 24
SPI data input of Touch
Panel
SPI data output of Touch
Panel
Touch Panel interrupt, low
level while the Touch
Panel detects touching
Touch Panel chip
selection, low active