5 inch Touch Screen Display for Raspberry Pi with HDMI Interface

In our webstore store, we’ve added up lots of great new HDMI-compatible displays for your Raspberry Pi or anything else with compatible video output. As we already know a Raspberry Pi constitutes 90% features of a normal PC; by configuring a RPi with a touch screen LCD, its area of application can be extended. With suitable Connectors, OS image and Driver a suitable 5 inch LCD touch screen can be easily configured to a Raspberry Pi.

Components Used:

  1. Raspberry Pi 2
  2. 5inch HDMI LCD (B)
  3. HDMI cable
  4. USB type A plug to micro B plug cable
  5. Touch pen
  6. SD card (Min. 8 GB)

We could interface an LCD touch screen by either of the following two methods:

  1. Programming a ready-to-use system image file to your Raspberry Pi board.
  2. Installing useful drivers to customize your system by configuring the original Raspbian image file to support this LCD module.

A ready to use system image file has a Raspbian OS with the drivers installed for LCD Touch screen support. The only thing that we want to perform is to  write the corresponding image file to the SD card and connect it in to the Raspberry Pi. For enabling the touch property follow few steps of calibration and the LCD touch screen display is ready to go.

How to Write an image file in to a SD card ?

  1. Connect the SD card(Min. 8 GB) to your PC/laptop; you can use a card reader or an SD card slot or any other means of connection.
  2. Format the SD card using SD card Formatter Software.
  3. Launch Win32DiskImager. Click on the blue folder icon and browse to the location where you saved the Raspberry Pi SD card image file (.img extension) for the touch screen. The DVD has an image file named  RPI_2B_5.0_800x480_cap_usb_touch_2015-05-05-raspbian-wheezy_3.18.16v7_20150809.img. Copy this file in to the PC and press the blue icon in the Win32DiskImager for browsing and select this file.
  4. Press the write button to write the image file SD card.
  5. Once done, insert the sd card to your Pi.
  6. Now connect the LCD to Pi using HDMI cable.
  7. For touch functionality connect the USB Touch interface on the LCD to Pi using a USB type-A male to micro-B cable.
  8. Power up the Raspberry Pi and you can see the display on the LCD screen.
  9. Next step is calibration of the touch screen. After connecting to the Raspberry Pi board, enter the following command under the terminal:        DISPLAY=:0.0 xinput_calibrator
  10. The calibration interface will prompt for a four-point calibration, as shown below:
  11. To finish up the touch calibration click each of those red cross markings one by one. Use a stylus to get the correct calibration.
  12. When finished, the system will generate a string of new calibration data, such as:
  13. Create a txt file on the desktop, and copy the calibration data for future use.
  14. Remove the calibration file in the system using the following command:
  15. Create a new calibration file using the following commands:
  16. Once done, the text editor Nano will be run. Please paste the content in the new txt file into the text editor.
  17. Press the keys Ctrl+X and select the option Y, then press Enter to save the configuration and exit.
  18. Execute the command sudo reboot to restart the system. When finished, the touch configuration will be valid.

 Steps to configure the original Raspbian image file to support this LCD module

  1. Copy the file RPI2B_B_B+_USB_TOUCH_RES_5.0_RASPBIAN.tar.gz into the Raspbian system, and unzip it. That is, enter the following command in its LX terminal:
  2. Run the script USB_TOUCH_RES_5.0_RASPBIAN located in the folder RPI2B_B_B+_USB_TOUCH_RES_5.0_RASPBIAN using following commands:
  3. When finished, the system will reboot automatically. And the LCD Touchscreen will be completely functional.

Shop With Us

  • Click here to buy Raspberry Pi 2 from RhydoLabz.
  • Click here to buy Raspberry Pi 2 Starter Kit from RhydoLabz.
  • Click here to buy Raspberry Accessories from RhydoLabz.
  • Click here to buy 5 inch Touch Screen LCD for Raspberry Pi with HDMI Interface
  • Click here to buy 5 inch Touch Screen LCD for Raspberry Pi with Bicolor Case

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">