I'm quite new to raspberry pi and custom Projects but I'd like to use an lcd touch panel like this (https://bit.ly/39HZpe4) as a keyboard for my raspberry pi 3 model b.

I saw this in this video: https://youtu.be/gpBfqZTWCHs

How do I have to setup the raspi to have it detect the lcd as a keyboard?

I'd have to write a proper driver, I suppose.

Thanks in advance ^^

  • LCDs are not touch sensitive .... if you require touch input, then you need to get a touch panel that fits over top of the LCD
    – jsotola
    Commented Apr 3, 2020 at 20:51

1 Answer 1


That panel is a resistive touch screen which needs analog inputs. Since the Rpi does not have analog inputs you cannot use it directly.

If you really want to use it a a keyboard I would use an a microcontroller to interface with the touch screen and then have the microcontroller emulate a USB keyboard.

The microcontroller would read the touch sensor, translate the x,y coordinates to a particular key press and then send that key press over usb as if it was a keyboard.

Circuitpython has libraries for interfacing with touch sensors and to act as a USB keyboard. That is where I would start.

  • Hey, thanks for the Input. I searched around the web the whole day and all I really found was these two boards: adafruit.com/product/1580 adafruit.com/product/1571 The first one seems to be the better choice since the 2nd board only has libraries for Arduino. The first board is able to be recognized as HID device but I'm still unsure about how to put it all together. I'd really appreciate some more help ^^"
    – Nick
    Commented Apr 5, 2020 at 2:55
  • The CircuitPython seems to be limited to the corresponding Hardware from adafruit, which does not seem to contain a resistive touch Controller. But maybe I'm thinking in the wrong direction ^^"
    – Nick
    Commented Apr 5, 2020 at 3:10
  • The 2 products you linked to act as a mouse or digitizer tablet not a keyboard. I believe you can interface directly from many of the Circuit python boards to a 4 wire resistive touch panel using analog inputs. I have not done it myself so I can't give you specifics.
    – Craig
    Commented Apr 6, 2020 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.