Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch function not working #1146

Closed
DanielP5433 opened this issue Oct 30, 2020 · 2 comments
Closed

Touch function not working #1146

DanielP5433 opened this issue Oct 30, 2020 · 2 comments
Labels
support Something isn't working with the users setup

Comments

@DanielP5433
Copy link

What doesn't work?
Touch function on Adafruit 3.5 tft (GPIO version) doesn't work, the firs time set up shows on screen but not responding to touch even though the screen was able to be calibrated.

What did you already try?
Followed the install guide with fresh install of Octoprint and drivers/set up from Adafruit.

General Information:
Raspberry Pi 3B+ with Adafruit 3.5 inch touch screen (GPIO style not HDMI)

  • OctoPi v0.17.0
  • OctoDash Version v2.1.1
  • OctoPrint Version v1.4.2
  • Python v3.7.3

Additional context
I am a complete noob with Python so if I have missed anything please let me know and I will update with more details. I watched the video from Chris Riley and he said that some GPIO screen can have trouble, if so is there anything I can do or should I just but a HDMI screen?

Thank you in advance!

@DanielP5433 DanielP5433 added the support Something isn't working with the users setup label Oct 30, 2020
@mechan007
Copy link

mechan007 commented Oct 30, 2020

I have the same problem but 5 "display HDMI
And i solved it, it is necessary to edit

/boot/config.txt

and write something like

hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
dtoverlay=w1-gpio-pullup,gpiopin=4,extpullup=1

and also create

/usr/share/X11/xorg.conf.d/99-fbdev.conf

and write something like

Section "Device"
Identifier "touchscreen"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
EndSection

Thanks for your work, it's a beautiful design and I believe it's getting better. Regards

@UnchartedBull
Copy link
Owner

I don't have a GPIO connected screen (and don't recommend them either, since most of them have a very slow refresh rate). If @mechan007 solution doesn't work please browse through closed issues and the troubleshooting guide and check whether you can find a solution there.

It might also be a good idea to follow a tutorial with another app and see whether you can get touchscreen working there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

3 participants