I want to build a ball balancing table, touchscreen mounted to servos and reacts to ball on touchscreen in order to balance ball on the screen. i plan on using an arduino and two servos to control. i am curious how to wire the 5 wire screen to the arduino.
this screen comes with a usb controller, will i be using this controller? i would like to know how to wire up either way.
That is precisely why i am here... i can not find any type of technical information on the screen. or how to hook up 5 wire resistive touch screens to arduinos.
You can’t wire the touch screen directly to the Arduino.
You need to do some switching.
To detect the X location wire UL and LL together and apply 5V, then connect UR an LR together and connect to ground. Then the voltage measured at S will give you the x coordinate.
Then wire the UL and UR together and connect to 5V, and wire LL and LR together and connect to ground. Then he voltage on S will give you the Y coordinate.
You normally have a dedicated chip to do this. There are several chips you can use but they are all surface mount.
There's an instructable on how to do it. It's not particularly difficult it doesn't look like. A simple state machine with some delays to ensure the voltage settles before taking readings. The controller boards generally take a handful of readings and take the average. The code at this link looks like it does one reading.