You are on page 1of 9

5.

0 inch HDMI Display for the Raspberry


Pi B/B+/2B

Website:www.52pi.com
Email:kd@52pi.com

1 Raspberry Pi 5.0-inch HDMI LCD display features


5.0-inch TFT LCD Display, 800x480 Resolution
Resistive touch screen
USB TOUCH
LCDHSD050IDW1-A20
Support Raspberry Pi B/B+/2BCan also used for PC Monitor
support Raspbian and ubuntuonly Raspberry Pi 2B
142mm*79mm
Power:5V 0.5A

2 Used in the Raspbian


Please Restore this Image file: PI_2B_B_B+_5.0_usb_touch_RASPBIAN_20150405.img,
which support Raspberry Pi Model B\B+ and Pi 2 Model B

2.1 Calibrate the touch screen:

Connect Raspberry Pi by SSH through putty

Click the open button,the enter your raspberrypi username and password,
the default password for raspbian is pi@raspberry

Input:
DISPLAY=:0.0 xinput_calibrator
To Calibrate Screen

a set of data will appear on the putty after Calibration:

Create a txt file on your computer to copy the data to a txt file backup.

Delete system calibration file


sudo rm /etc/X11/xorg.conf.d/99-calibration.conf

Then create a calibration file


sudo rm /etc/X11/xorg.conf.d/
sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf

Just copy the data from the backup txt file

Press ctrl + x and y then press Enter to save and exit, reboot on it

2.2 Virtual Keyboard

Connect Raspberry Pi by SSH through putty

Enter the following command


DISPLAY=:0.0 matchbox-keyboard -s 100 extended

Display

3 Let your system supports 5.0-inch resistive touch display

Step 1:

Copy RPI2B_B_B+_USB_TOUCH_RES_5.0_RASPBIAN.tar.gz
to the Raspberry Pi system and extract:
sudo tar zxvf RPI2B_B_B+_USB_TOUCH_RES_5.0_RASPBIAN.tar.gz

Step 2:

cd RPI2B_B_B+_USB_TOUCH_RES_5.0_RASPBIAN
sudo ./USB_TOUCH_RES_5.0_RASPBIAN
the system will automatically restart after Script executed, the system will support
Raspberry Pi 5.0-inch HDMI LCD display and touch the display
If your Own RASPBIAN desktop system does not set the automatically start desktop, please refer
to the following settings set to automatically start the desktop
Let the desktop to start theirself
Edit the startup script
sudo nano /etc/inittab

At 1: 2345: respawn: / sbin / agetty -noclear 38400 tty1 plus sign in front of the line and then #
shield plus the following line
1:2345:respawn:/bin/login f pi tty1 </dev/tty1>/dev/tty1 2>&1

Autorun startx
Enter sudo nano /etc/rc.local

Add: su -l pi -c startx before exit 0

Use in UBUNTU system

Restore the Image RPI_2B_B_B+_5.0_res_usb_touch_ubunutu_lxde_20150331.img,


which support Raspberry Pi 2B
Username: linaro Password: linaro
touch calibration Like the Raspbian

You might also like