Tuesday, April 22, 2014

Teensy Arduino NES USB Controller Adaptor

Made with a Teensy 2.0 in the Arduino IDE using the Teensyduino add-on.

The hardware set up is simple - the NES controller end has five connections (ground, 5V, data, latch, clock). These should be connected to Teensy power and digital pins 0, 1 and 2 - see below for a photo.

The Teensy pinout can be found here. The Teensy should be set to joystick mode in the Arduino IDE under Tools > USB Type.

The code can be downloaded here: http://milkcrate.com.au/_other/downloads/arduino/NES_Controller/NES_Controller.ino