Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

Hey Guys,

I know this might be an older post… I am trying to get this to work and all I have is a black screen (not white anymore).

I am using the same screen as mentioned in the post.

I could use some help…i.e. any updates or how others have done things to make it work!

BTW i am using the most current version of V2 as of today’s date.

1 Like

Hi Jersinger,

maybe this script >>here<< can help

Yves

Thank you for your corrections. My display works now. I have an issue with the touchscreen. My problem is that the tochscreen after rotating the screen is reversed. SwapAxes doesn´t seem to do anything.

I used the instructions in MomFab1’s script to install the screen and the screen stayed black. However, I made one change:
I edited /usr/share/X11/xorg.conf.d/99-fbturbo.conf to change fb0 to fb1
Not sure if this is required. Anyway, leaving the Pi on for about 10 minutes and the screene eventually changes from black and starts displaying.

1 Like

I have this problem as well. The best I have managed to get is correct two diagonal corners, while the other two are reversed.

1 Like

I Have written the edited version of this tutorial. Here is the link

1 Like

Nice work mate will try your revision and will see if it does the work, anyways thanks.

Edit: Done working with related to this project and it was working. Thanks

1 Like

thanks, it works perfectly :ok_hand:

I only have a small problem, every time after a reboot the alignment of the touch is incorrect, I first have to turn the touch plugin off and on and then it works fine again.

have already built in the touch screen reasonably, the finish has yet to be done.

If you have installed lightdm try to remove it (sudo apt-get purge --auto-remove lightdm). I think it is not needed and may interfere with the touch display plugin.

If you should have edited /etc/rc.local as proposed in the OP I think it needs to be removed as well, as it probably has the effect that two instances of the xserver and chromium are started (one by through rc.local and another when the touch display plugin starts).

ok i will try that tomorrow.
I also want to mention as soon as I enter 180 degrees in the touch plugin settings and in the 3.5 inch touchscreen file 270 degrees it works well every time, even after a reboot.

Hi,
What model of 3.5 tft works with this tutorial?
I am planning to buy one
Many thanks

1 Like

Is my assumption correct that you normally don’t have the display rotated?

Could you please post the contents of 99-calibration.conf and 95-touch_display-plugin.conf when rotation is set to 0 deg.? 99-calibration.conf probably resides in /usr/share/X11/xorg.conf.d, 95-touch_display-plugin.conf you find in /etc/X11/xorg.conf.d.

I’ll will try that tomorrow too.

here the content.
and yes I have rotated the display, I can not install it otherwise.

99-calibration
Section “InputClass”
Identifier “calibration”
MatchProduct “ADS7846 Touchscreen”
Option “Calibration” “3936 227 268 3880”
Option “SwapAxes” “1”
Driver “evdev”
EndSection

95-touch_display-plugin

This file is managed by the Touch Display plugin: Do not alter!

It will be deleted when the Touch Display plugin gets uninstalled.

Section “InputClass”
Identifier “Touch rotation”
Option “TransformationMatrix” “-1 0 1 0 -1 1 0 0 1”
MatchIsTouchscreen “on”
MatchDevicePath “/dev/input/event*”
MatchDriver “libinput|evdev”
EndSection

1 Like

If 99-calibration.conf should be located in /usr/share/X11/xorg.conf.d does it help to move it to /etc/X11/xorg.conf.d?

Your 99-calibration.conf contains settings that are proposed for a rotation of 90 deg. The “TransformationMatrix” setting in 95-touch_display-plugin.conf belongs to a rotation of 180 deg. set in the plugin’s UI. Do you use this together with dtoverlay=tft35a:rotate=270 in /boot/config.txt?

What is your desired orientation of the display?

by the way I have now turned the display 180 degrees.

yes i use 90 deg together with dtoverlay=tft35a:rotate=270 in /boot/config.txt

99-calibration.conf not located in /usr/share/X11/xorg.conf.d,see screenshot!
I’ll try that tonight, I’ll have to go out and do other things.

Where is 99-calibration.conf located?

1 Like

99-calibration.conf is located at, /etc/X11/xorg.conf.d

Ok, good.

Looking forward to your findings.