Nintendo DS Resistive Touch Screen

From bildr

Jump to: navigation, search

  • Voltage: 5v DC
  • Communication: Analog 0 to +5V DC

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.


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.



This page is a Component on bildr. Components are pages about specific parts, and include connection details and code when available.

NOTE: All information contained within this article is pure opinion. Although this article is intended to help people, it may contain faulty or misleading information. This article is not to be considered professional opinion or advice, and is in no way a replacement for reading all safety/instructional documentation. Always remember to protect yourself when handling/using hazardous materials, as well as test new techniques before using them on projects/work intended to be handed in or used.

bildr and its contributers take NO responsibility for the information contained within.