SainSmart 5 inch LCD HDMI Touch Screen Display – For Raspberry Pi 3.
I recently purchased this neat little sainsmart 5 inch LCD hdmi touch screen display, on Amazon.com for under $40. So far it works pretty good on my Raspberry Pi 3 with the Raspbian PIXEL desktop. And, worked fine for playing games on RetroPie.
It’s a little tricky to use as a touch screen for me, because I have fat fingers and the stylus pen (if included) is a little shaky in my hands. But it’s ok, as long as you don’t need to double click on anything.
What makes it neat though, is it comes with a special HDMI coupling adapter and female GIO Pin connection header, to connect it directly to the Raspberry Pi board and HDMI output. So there is no soldering needed. And when connected this way, there is no extra power adapter needed to run the screen.
You can connect it just to the HDMI output with an HDMI cable, but you will need another power supply, to get the power going on it that way.
If you are running the more recent Raspbian image (Nov. 2016 PIXEL Desktop), you can connect the display directly to the Pi and it will work right out of the box. But you will need to add some lines to the config.txt for the resolution to display correctly. And, you will need to download and install a driver, for the touch screen to work.
To Adjust the Screen Resolution
Something they don’t include with the screen, is the instructions on setting the resolution so the desktop fills most of the screen. To correctly set it, you will need to ssh into the Pi and add some lines of code to the config file.
Once at command prompt, type: sudo nano /boot/config.txt. Then move the cursor down past the last line of text at the bottom and hit enter to create a skipped space, and then copy and past this in:
hdmi_cvt 800 480 60 6 0 0 0
Then hit the Ctrl x on the keyboard, then Y and enter to save it. Then type sudo reboot at the prompt.
When it reboots, it should fill most of the screen.
How to enable Touch, on the Sainsmart 5 inch lcd hdmi touch screen display (WARNING!!! Will not work on noobs install, only jessie! Download here and follow install instructions here, if you don’t know how to do that.).
It also has no instructions included on how to enable the touch screen (you can find them on the sainsmart.com wiki). You need to install the driver for that. I suggest going through the GUI on the Pi itself, instead of ssh into it. Open a browser on the PI and download the driver from http://repository.sainsmart.com/index.php?share/file&user=bbu_sainsmart&sid=hPpZMsVO. Once downloaded to your Pi, open the downloads file and cut and paste the file to the home/pi directory.
1st open the terminal and go ahead and do an update and upgrade the OS (PIXEL/Raspbian):
sudo apt-get update
sudo apt-get upgrade
Then open a terminal again and copy and past this in at prompt and hit enter:
tar xvf LCD-show-151020.tar.gz
It should unzip the file.
Then either type or copy and paste this into the terminal at prompt:
Then either type or copy and paste into the terminal at prompt:
Wait a few minutes, and the system should automatically restart. Once booted up successfully, try out the touch screen with the included stylus pen or your finger.
And there your go!
Anyway! I like it and plan on using it to one day build a hand held gaming device. You can find it here for purchase!