Search
Product Info
Nintendo DS Touch Screen
sku: LCD-08977
Description: This is a 4-wire analog touch screen originally designed for the Nintendo DS. Add this touch screen to any LCD you want! Readings are taken by putting 5V across two of the pins and doing an analog to digital conversion on the other two pins. Full X and Y position can be achieved with only 4 GPIOs.Check out our touchscreen tutorial!
Dimensions: 2.2 x 2.75"
Documents:
Pricing
Comments
19 comments
Feeds
Currency
Display prices in
Feedback
If you would like to tell us more, you can fill out our form if you need some psycho-suggestive questions. Go to the form.




























Hope this helps : I wrote a tutorial, with wiring schema and a working piece of code. If's you're interrested, with that you should see you touch position on your serial port within an hour.
http://kalshagar.wikispaces.com/Arduino+and+a+Nintendo+DS+touch+screen
I would like to point out that the analogRead() method on the Arduino doesn't know about pins 14-19; those pin numbers are only recognized when you want to use the analog pins with digitalOut().
Japalan uses the "true" pin numbers (14-17) and then subtracts '14' from those values when he uses analogRead() so that analogRead() gets numbers in the range it can deal with (0-3).
Not all that hard but confused me for a bit...
Also, I'm not quite getting full ranges of values. A touch at the very edge of the screen is giving me a reading of about 60 (out of 1024 max analog input). I'm wondering if it's worth bounding these results...
I ended up using this screen with Japalan's resistive values and after bounding the results between 90 and 690 on the x-axis and between 120 and 720 on the y-axis, I was able to get a good 600x600 square of useable values.
I may put up a PIC tutorial/example after I clean up some of the code I have. I wrote the code using the Picc Lite C compiler...
Im trying to get this working on a PIC18f452 but its just a little over my head at the moment.
cheers,
ARGH! I HATE that tutorial! It tells you to use resistors, etc. which are ABSOLUTELY not necessary. Here's a better "tutorial" (The code explains what's going on and how to wire, etc.), posted on the Arduino.cc forums:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1243499684/7#2
The price over there is 4x less than SFE's.
http://www.dealextreme.com/details.dx/sku.3245
A datasheet would have been good...