Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Nintendo DS touchscreen module on an Arduino

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,141
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 10, 2009

Code: http://tinyurl.com/bgw3qq

I've connected an old Nintendo DS touchscreen module to my Sanguino and figured out what pins do what. In the video, I mixed up which pin was X, and which pin was Y, but in the code, it explains correctly which pin does what. This should be useful to anyone wanting to connect one of these nice cheapies to their embedded project!

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (jf8943pkg)

  • how you can connect the cables to the tiny interface in the touchscreen??

  • @dextermty107 very carefully. ;) I used some really thin wire and even then I screwed up. ONe technique you could use is to sand off some of the insulation to make the exposed areas longer so you have a bit more area to solder to. You can then solder the wires so they're not right next to each other by using various areas of teh space you sanded off so they don't bridge as much. Lastly, you could buy a small socket, but that has small pins as well.

  • You are reading the screen wrong way, there's no any X or Y pins.

    To get X position you must first apply Vdd to pin 1 and GND to pin 3 and then read ADC on pin 2 or 4.

    Same way for Y position, but Vdd to pin 2, GND to pin 4 and read ADC on pin 1 or 3.

    There's good application note from TI about it, just google for: resistive touch screen msp430

  • Thanks

see all

All Comments (12)

Sign In or Sign Up now to post a comment!
  • @jf8943pkg thanks a lot i better get the breakout board i dont want screwup the touchscreen

    thank you

  • is there maybe a cheaper alternative? or are arduinos the cheapest one can use to get the touchscreen working on the pc? the thing is that, just as you said, the nds touchscreens are cheap as hell (around 2$, wow!) so i thought it might be cool to hook one up on the computer to.. play around with it and maybe use it to draw little things or make a signature or something.

    combining this with windows 7's handwriting recognition is also a delicious thought =D

    thanks for the reply!

  • Thanks

  • Yeah, it's not too hard, you'll just need to measure the distance the finger/stylus was dragged and send data to the PC accordingly. You can buy Arduino boards for about $27, and if you only want to interface via PS/2, you don't need any extra hardware.

  • cool!

    is there any way to get the nintendo ds touchscreen work like a mouse? i mean some kind of cheap touchpad.

    how much does the arduino and the other components (beside the touch screen itself) cost? and is it easy to write the driver to emulate the mouse or rather not?

  • I got it during high school, but here are longer nicer ones. I'd try looking on eBay for cheap ones. As far as I know, you can't go wrong with a breadboard, regardless of manufacturer.

  • where did you get that breadboard? im looking for a good one

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more