3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Convert a NES gamepad to USB with Arduino

Step 4Testing

Testing
«
  • breadboard.jpg
  • ic.JPG
  • schem.jpg
  • PDR_0001.JPG
  • USB_A_pinout.jpg
I highly recommend that you spend the extra time and hassle to hook up 10 wires to the nes pad and plug them into your arduino board and make up the usb ciruit

A note about usb cables, or any other cable, don't trust the colours, use a meter to find out which wire goes to each point on the plug, in my case the wires are not even the correct colours so it does not matter, but I have also had a keyboard that had wrong colours and wrong printing on the pcb!

Connecting the controller is tedious, the usb hardware is easy, either way its good to know it functions, cause after this its pretty much the point of no return

SO TEST IT

Take note that the cathode of the diode (the end with a stripe) needs to face into oncoming current, and the anode needs to be connected to ground

this is backwards from most diodes, what is happening here is the zener diode has a very low reverse breakdown point, so it "leaks" a controlled amount of current backwards through the diode to ground, which also drops our voltage down to the 3 ish volt signals expected by usb

« Previous StepDownload PDFView All StepsNext Step »
3 comments
Dec 19, 2010. 5:54 AMkirreböna says:
Hi! I'm having some trouble understanding the schematics here, it seems to me that they are showing quite different setups? And I can't find an arduino pin 14 either?
Feb 6, 2011. 8:45 PMshaggs31 says:
I've looked at this as well and agree with kirrebona. In the two schematics arduino pins 2 and 4 are not going to the same place. In the bread board you have pin 2 going to D+ and pin 4 going to D-. In the other pic you have them reversed. I might be wrong but I do not want to follow the wrong one. Some imput would be great thanks.
Apr 5, 2012. 8:46 AMmattgilbert says:
Yep, the breadoard image and the schematic image apparently have pin 2 and pin 4 reversed. I'm not sure which is correct (or where in the code/library those pins are chosen in the first place). Also, the diode on pin 4 in the breadboard image is connected to power, rather than ground. Please clarify the pin4/pin2 connections.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
57
Followers
13
Author:osgeld