800×480 high resolution
Directly-pluggable into any revision of Raspberry Pi (only except the first generation
Pi model B which requires an HDMI cable)
Driver is provided for the first & second generation Pi (works with custom Raspbian
directly)
HDMI interface for displaying, no I/Os required (however, the touch panel still
needs I/Os)
Back light control to lower power consumption
High quality immersion gold surface plating
Not only the Pi, you can also use it with any other Mini-PCs like Cubieboard,
Marsboard (resolution is limited depending on the board, and touch panel is
unavailable)
Content
5inch HDMI LCD User Manual ................................................................................................... 1
Features ........................................................................................................................... 1
1. Using with Raspberry Pi.............................................................................................. 2
1.1 System image file programming....................................................................... 2
In order to use the LCD with Raspberry Pi, you should configure the original system
first. Of course, you can program a ready-to-use system image file to your Raspberry
Pi board as well. In this section, we present the steps of image programming by taking
the ready-to-use system image file programming as an example. And Section 1.3
describes how to configure original system.
1) Copy the file with the expansion name .img under the direction of IMAGE to your PC.
(Under the direction of IMAGE, there are three system image files for Raspbian
system, PIDORA system, and Raspbmc system respectively. And all of these file are in
the expansion name of .img)
2) Format your TF card with the SDFormatter.exe.
Notices: The capability of TF card in used here should be more than 4GB. In this
operation, a TF card reader is also required, which has to be purchased separately.
3) Start the Win32DiskImager.exe, and select the system image file copied into your PC,
then, click the button Write to program the system image file.
V1.1.9, March, 10th, 2015
2
5inch HDMI LCD User Manual Waveshare
1.2 Hardware connection
1) GPIO connection
a) Raspberry Pi Model A+ connection
Raspberry Pi Model A+ has 40 pins expanded GPIO header, while HDMI screen has 26
pins expanded header. The screen’s pins must connect to the Pi’s corresponding pins.
The pins on Raspberry Pi Model A+ for screen connection are marked with red box as
shown below.
b) Raspberry Pi Model B+/Raspberry Pi 2 Model B connection
Raspberry Pi Model B+/Raspberry Pi 2 Model B has 40 pins expanded GPIO header,
while HDMI screen has 26 pins expanded header. The screen’s pins must connect to
the Pi’s corresponding pins. The pins on Raspberry Pi Model B+/Raspberry Pi 2 Model
B for screen connection are marked with red box as shown below.
V1.1.9, March, 10th, 2015
3
5inch HDMI LCD User Manual Waveshare
2) HDMI connection
Plug the HDMI connector in the HDMI interfaces of screen and main board.
1.3 How to configure Raspbian image file
It is recommended to employ the ready-to-use system image file under the direction
of /IMAGE/5inch_HDMI_Raspbian .img. The relative operations are presented in
Section 1.1.
The Raspbian image file downloaded from official website need further configurations
before use. If you want to apply the original system image file, please read the
following sections.
1.3.1 Display parameter configuration
1) Enter the system terminal. Connect a keyboard and a HDMI displayer to the
Raspberry Pi, and switch to HDMI display mode, then you can enter the Graphic User
Interface directly to perform operations. Also, you can control the Raspberry Pi via
network or serial communication, if no HDMI displayer and keyboard are in used.
2) Modify the file /boot/config.txt
Enter the command listed below:
pi@raspberrypi ~ $sudo nano /boot/config.txt
Make the modification as follows:
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
V1.1.9, March, 10th, 2015
4
5inch HDMI LCD User Manual Waveshare
# uncomment to force a specific HDMI mode (here we are forcing 800x480!)
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
start_file=start_x.elf
fixup_file=fixup_x.elf
#gpu_mem=128
1.3.2 Touch parameter configuration
1) Copy the file \software\5inch_HDMI_LCD.tar.gz to any position you want in the
Raspberry Pi system via network or U disk. And then, enter the command listed
below:
pi@raspberrypi ~ $tar xvf 5inch_HDMI_LCD.tar.gz
pi@raspberrypi ~ $cd 5inch_HDMI_LCD/
pi@raspberrypi ~ $sudo ./5inch_HDMI_LCD
2) Restart the system, then the touch screen is ready to use.