I'm working on a project "Ball on Plate". Now, I do have this touchscreen: https://de.rs-online.com/web/p/touchscreen-sensoren/7105240/, which I have to connect with my raspberry pi 4. I need to know which coordinates are given, when I touch the display on several points.
My problem is, I don't know how to connect that display with my raspberry pi and further how to display the coordinate values on my monitor.
ps. most "Ball on Plate" projects were made with an Arduino, do you think that I'm using the wrong device ? Which pro's and contras would I have if choose a raspberry and which with an arduino ?
Thank you in anticipation !
You have a resistive touch panel, where you have to select the direction with digital pins and read the resulting voltage with an analog-digital-converter (ADC). An Arduino has it built-in, but the raspberry pi does not have this built-in. If you want to use the raspberry pi, you need an additional ADC, that you connect to the raspberry pi.
Here you can find some more information how you could do it with an arduino: https://www.instructables.com/Resistive-Touch-Screen-on-the-DP32/