PDA

View Full Version : ds2arduino (connect NDSL with ARDUINO)



wraggster
February 4th, 2010, 22:16
News via hounjini (http://forum.gbadev.org/viewtopic.php?t=17096&sid=9eeddfb647ad685f81fea488a3293076)

http://www.instructables.com/id/Connect-NDSL-with-ARDUINO/
this is my instructable see to more information.

What you can do with it :
transmit data between arduino and ndsl.
so, you can use your ndsl to arduino's wireless lan or arduino to your ndsl's digital IO port!

What you need:
Hardware :
NDSL GBA cart cover
nintendo Y driver (eventhough you don`t have, no problem!)
some wires (3 wires, enough! 4 wires GREAT)
cutter knife,
soldering iron,
solder,
ARDUINO
NDSL

Software:
devkitpro
libnds (for nintendo development)
arduino

How it works:
NDSL has GBA bus. It has /WR pin and External interrupt pin.
If you access gba bus, /WR will toggled, so I can use /WR to send data.
However, it lasts just 350us. It mean you cannot use this pin to digital I/O pin directly.
So I mimic NEC REMOTE CONTROLLER protocol(TV, VIDEO etc...)
External interrupt pin is used to receive data, /WR pin is used to send data.
ARDUINO works exactly same way.


these are my youtube video

http://www.youtube.com/watch?v=CnBe5NonHLA

http://www.youtube.com/watch?v=B3aEGCiGEaA


this is my source code(library + example)
http://www.instructables.com/files/orig/FPB/2H7H/G5703VTX/FPB2H7HG5703VTX.zip

I tested it only with my NDSL and ARDUINO, so it could have some errors.
If you have any question or find problem, send me mail
hounjini at gmail.com

Thank you for reading.

Dragonic
February 5th, 2010, 08:35
Wow, this sounds really nice! I'll test it as soon as I get my Arduino! Nice work