Nerves: Connecting a Touch Screen

I am trying to create a photobooth using a Raspberry Pi 3, the Raspberry camera and a touch screen.

Currently I bought a WaveShare 3.5 inch RPi LCD as touch screen, but I just found out they only provide drivers for Raspbian and Ubuntu Mate. (Which seem to be identical to this: GitHub - goodtft/LCD-show: 2.4" 2.8"3.2" 3.5" 5.0" 7.0" TFT LCD driver for the Raspberry PI 3B+/A/A+/B/B+/PI2/ PI3/ZERO/ZERO W)

I am currently running the Kiosk Rpi3 nerves system.

I’d like to know:

  • Is there a way to make this work for Nerves (without writing the drivers myself :grimacing:) ?
  • If not, is there a touchscreen (maybe the ‘official’ Raspberry touchscreen?) that works with Nerves out-of-the box?

Have a nice evening!

~Wiebe-Marten/Qqwy

2 Likes

I’ve never used that lcd screen before but it looks to me like an elaborate shell script and some DTB files. You will need to basically recreate what that shell script is doing.

2 Likes

Was there a different Touchscreen that you did use before with Nerves?

1 Like

I’ve used a few that are supported directly by the Kernel itself. They are not enabled by default, but were pretty easy to enable. (just needed a device tree overlay)
FWIW the ones that i have used came from Adafruit.

2 Likes

believe the kiosk supports the 7 inch rpi touchscreen out of the box (FT5406 touch controller) https://github.com/LeToteTeam/kiosk_system_rpi3/search?q=touch&type=Commits

so if you look at how it’s setup https://github.com/LeToteTeam/kiosk_system_rpi3/search?utf8=✓&q=ft5406&type=

you might be able to bundle in the tft35a-overlay.dtb and dtoverlay=tft35a in a similar way (if that is the display/controller) https://github.com/goodtft/LCD-show/blob/master/LCD35-show
as @ConnorRigby suggested…

2 Likes

Indeed! I bought the 7" touch screen today, and it works right away without requiring any extra set-up.

The project is coming along nicely! :smiley:

3 Likes

A post was split to a new topic: FreeBSD Touch Screen