46

I want to attach a touchscreen to my Raspberry Pi. While doing some internet search about this, I found out that this is not trivial, because not all touchscreens are compatible.

How do I find out, whether a touchscreen is compatible to the Raspberry Pi?

I am not looking for recommendations or lists of possible devices, I want to know how to find out, if a given screen works.

Till B
  • 2,353
  • 4
  • 19
  • 16

6 Answers6

16

The issue is going to be drivers. As most products sold do not have open source drivers, it is up to someone with the know how to reverse engineer them. Because of this, if the device is not extremely popular, it is likely not going to be supported.

I have not used one of these personally but sites do exist with hardware databases. The accuracy of the database to your specific nix build is questionable and as the lists are typically user built so you can only trust them to a certain extent.

http://www.linuxcompatible.org/compatdb/categories/hardware_linux.html

  • There are some Videos on youtube how to add touch screen to different Linux computers, they would be a good source of what has support. De supported ones should be able to connect to USB-ports. So a look in touch screen drivers and which USB devices they support would be a good source. – Anders Jun 28 '12 at 00:23
  • Just make sure I'm understanding this post, ARM vs x86 vs x86-64 don't have their own compatibility lists, so the general lists are a better resource. Nor is there a RPi-specific list anywhere. Correct? – Zoot Jul 02 '12 at 18:32
  • 1
    I would say these days most products do have OSS drivers (integrated in systems, not vendor drivers). Ones that don't are getting fewer. It was the other way around in the 90's. Certain classes are more likely to work than others. – XTL Sep 06 '12 at 10:21
  • In actuality, drivers are going to be the easy part. It is electrical interfaces which could be a showstopper for those not prepared to do custom circuit fabrication. – Chris Stratton Nov 10 '15 at 18:41
5

Lilliput sell some HDMI touchscreens and there is some evidence that it works with the RPi.

Alex Chamberlain
  • 15,530
  • 14
  • 67
  • 113
  • Apart from the link being in Norwegian (as far as I can tell), the question was explicitly asking for general criteria to determine any screens compatibility - not a recomendation for specific screens. – Fantilein1990 Dec 07 '16 at 13:08
2

USB would be the instant choice.

Converting an Arduino touchscreen to use the GPIO port would be a simple project.

Or wait for the DSI drivers/information to be released.

Current Development is being put into the DSI camera port, not the display+touchscreen.

If I was not so poor then like above, a HDMI 1.4 screen with touch interface.

  • +1 for USB. Custom touchscreen interfaces come and go, while a USB HID is a good investment which will probably be compatible with Raspberry Pi 10, to be released several years from now. Also, you will be able to switch to e.g. Odroid if you need more CPU power, and still use the same screen. – Dmitry Grigoryev Dec 07 '16 at 10:49
1

Well, I had the same problem and had to find out that this question is a rather hard one.

This blog entry introducing the official 7" RPi display explains some of the most important keywords involved (HDMI, DPI DSI, DBI).

If your display needs to be a touch screen, than the first important aspect is, that (from my research) only displays connected via the DSI-port (J4) or GPIO will not need an additional data connection for relaying the touch input. If your display is connected via HDMI, then an additional connection (usually via USB) is needed (and will have to access the USB ports from outside if you do not want to solder around - this might conflict with your casing). You should be able to get this information easily.

The next important aspect is, that displays using the GPIO ports usually need special drivers (either to be installed on a standard raspbian or delivered with a non-standard raspbian provided by the manufacturer of said display). This complicated things enormously, as those drivers might be documented badly or outdate fast - even the next update of your OS might render them useless - not to speak of difficulties using OSes that there is no driver for. You should be able to find the drivers and some customer feedback online. If you can't find the (correct) drivers or some support easily, then you will most likely have troubles using the displays once you bought them.

Furthermore, displays using the GPIO ports usually need to provide an additional GPIO breakout in order for you to be able to use some of the GPIO ports for something else. This information should be obtainable by looking at pictures of the displays (is there a GPIO "outlet" somewhere on the screens backside?).

TFT, LCD (or maybe even LED, oLED) are different technologies for displaying stuff. Although they determine the optical quality and power consumption, I personally would not worry about those too much.

More important - at least in my opinion - is the touch technology, meaning resistive or capacitive. The former should be used with a stylus and usually can't take gestures ("multi-touch"), the latter is what modern smart phones use.

And lastly, regarding compatibility with RPi3 (as opposed to RPi B+ for example), DSI and HDMI should always be fine and regarding GPIO I would go with the manufacturers information (as they are the ones, who provide the firmware/drivers). Hardwarewise, there shouldn't be a problem.

To become a little bit more specific, the only DSI screen I found, was the official 7" one. It will work without any alteration to Raspbian (I don't know about other OSes). There are quite a lot of GPIO screens of which I would use the ones by known manufacturers sold through major outlets in order to avoid being stuck with bricks (At my department, we have several displays we can't use anymore, because they are cheap knock-offs whose firmware is nowhere to be found anymore.). And regarding HDMI: As HDMI as well as the touch device (whose information are being transmitted by USB) are standardized, there should not be a problem regarding any of the major OSes.

I hope this answers most of question. If not, just clarify your question in the comments.

Fantilein1990
  • 900
  • 1
  • 9
  • 22
1

As of 2018, the easiest way to check if any screen works with Raspberry Pi is looking for references to device tree. In particular, each screen should come with a device tree overlay or at least notes which default one has to be manually selected in config.txt.

flakeshake
  • 6,235
  • 1
  • 14
  • 33
0

here i found lilliput touch screen which is working fine with raspberry pi and that too 10 inch capacitive touch screen.

https://www.youtube.com/watch?v=KrpsaQ8SGhg

kumar
  • 1