Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

WARNING: The hardware for the raspberry pi touch screens have been updated sometime during 2017, and they are no longer always using the FT5406 chip. This means that a newly bought screen won't be likely to work with this codebase.

BTW: I've managed to locate one of those incompatible screens, and will start trying to get raw measurements out from it in the middle of july 2017.


Raspberry Pi 7 inch touchscreen controller display hacking (with Raspberry Pi 3 as host)


Scripts for communicating with the touch screen controller on the official 7 inch Raspberry Pi touchscreen display.

If you just want to use the touch screen as a regular touch screen (controlled by your Raspberry Pi), this repository is not for you.

If you want to talk to the touch controller from userspace (or from another platform), this repository might be for you.

  • One application reading and displaying capacitance images live with a decent refresh rate

  • One script allow you to capture single capacitance images using the touch screen

  • Another script allow you to use the screen as a touch screen completely from userspace.

More details can be found on


This has only been tested using my Raspberry Pi 3, and my touch screen.

It's more than likely that you would need to connect to the touch screen differently for different versions of the Raspberry Pi. And since I have a "Don't move FFC:s around more than absolutely needed" policy (typically rated for just a few insertion cycles), I won't test the screen with any older (or newer) Raspberry Pi.

Modifying the hardware to run this code may cause problems I havn't forseen, so use it at your own risk (as you always should with things found on the internet).

And remember that the Raspberry Pi team have the freedom to change both pieces of hardware as they see fit, so it may not work with future hardware.

Copyright (c) 2016 Simon Gustafsson (

Do whatever you like with this code, but please refer to me as the original author.


Raspberry Pi 7 inch touchscreen controller display hacking (with Raspberry Pi 3 as host)






No releases published


No packages published