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

octodash nad TFT 3.5 GPIO #1174

Closed
jpokorny12 opened this issue Nov 12, 2020 · 8 comments
Closed

octodash nad TFT 3.5 GPIO #1174

jpokorny12 opened this issue Nov 12, 2020 · 8 comments
Labels
support Something isn't working with the users setup

Comments

@jpokorny12
Copy link

jpokorny12 commented Nov 12, 2020

Hi,
trying to install OCTODASH on raspberry. When I connect to HDMI monitor, I see the OCTODASH interface. I would like them on a TFT connected via GPIO. Is there any way to get them there?
Thank you

@jpokorny12 jpokorny12 added the support Something isn't working with the users setup label Nov 12, 2020
@thegarbz
Copy link
Collaborator

You need to configure Xorg to only output on the TFT. Maybe the bottom of this forum post can help: https://www.raspberrypi.org/forums/viewtopic.php?t=96155

@jpokorny12
Copy link
Author

Thank you for your help.
It didn't help me at all, or I don't know how to use it.
Can you please give me more detailed instructions?

@jpokorny12
Copy link
Author

I use this driver
https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)?fbclid=IwAR0C7nUfBRI0UTPGu4QUbuTAZGrzi5yfBnaPNODXNplTzpPZPuMYnhnfp2k
-Install octodash
sudo apt-get install xserver-xorg-video-fbturbo

@jpokorny12
Copy link
Author

I have octodash on screen.
But touch is mirrored :(

@thegarbz
Copy link
Collaborator

Mirrored or upside down?

I have that Waveshare display somewhere, it worked out of the box for me. But the input being upside down is a well known problem. There are a couple of fixes https://www.raspberrypi.org/forums/viewtopic.php?t=175100

What exactly are you trying to achieve?

@jpokorny12
Copy link
Author

When i touch left top corner it recognise touch in right top corner

@thegarbz
Copy link
Collaborator

Try some of the fixes in the link I sent. Or try running the calibration as per Waveshare's wiki. That's all I can suggest.

@jpokorny12
Copy link
Author

Thanks. It works
I use this

git clone https://github.com/swkim01/waveshare-dtoverlays.git
sudo cp waveshare-dtoverlays/waveshare35a.dtbo /boot/overlays/
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
 Option "TransformationMatrix" "1 0 0 0 -1 1 0 0 1"
Ctrl + o
Ctrl + x
Sudo reboot

https://raspberrypi.stackexchange.com/questions/60872/inverted-gpio-touchscreen-using-99-calibration-conf
https://raspberrypi.stackexchange.com/questions/60872/inverted-gpio-touchscreen-using-99-calibration-conf

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

2 participants