Nintendo DS Resistive Touch Screen
- Voltage: 5v DC
- Communication: Analog 0 to +5V DC
Hooking it upIn order to read the X and Y position on the screen the device must be connected so that pins 3 and 4 can be read using an analog sensor. As well as this both pins 1 and 4 must be able to switched to a +5V or logic 1. Pins 2 and 3 must be able to be switched to a 0V or logic 0 state. Sensible setup would be to connect pins 3 and 4 to two separate I/O ports of a microcontroller that can be used as both digital I/O and analog reading. pins 1 and 2 can be set to any 2 general I/O ports. Be sure to modify any sample code to the pins chosen in your application. Also note that if the logic 1 output is higher than the microcontroller's analog reference voltage it must be compensated for otherwise the reading will be incorrect.
This page is a Component on bildr. Components are pages about specific parts, and include connection details and code when available.