Nintendo DS Resistive Touch Screen
From bildr
Resistive touch screen originally designed for the Nintendo DS console, capable of resolving X and Y position on the screen. Power opposite pins with 5V and preform an analog to digital coversion on the other two.This analog reading will, in most cases, be passed through an analog to digital converter to produce a useable digital value for positions on the screen.
It may be necessary to calibrate the screen by taking readings at each corner and using them to reference future reading. This is necessary as the bottom corner may not produce exactly 0 for example.
Contents |
Hooking it up
In 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.Code
Availability
External Links
This page is a Component on bildr. Components are pages about specific parts, and include connection details and code when available.