daily pastebin goal
1%
SHARE
TWEET

Controller Input Display How To v1.2

EvilAsh25 Mar 12th, 2014 (edited) 1,375 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I wrote this guide to give step by step instructions on how to make your own controller input display. This setup currently works with NES, SNES, N64, and GCN controllers. First I wanted to give a big thanks to cylon13 for writing the original software for both the Arduino and PC controller display and providing some basic instructions (https://github.com/jaburns/NintendoSpy). You can check out what the final product looks like in some of cylon13's or my video history: (http://www.twitch.tv/cylon13, http://www.twitch.tv/evilash25)
  2.  
  3.  
  4. 3/29/2017 - I had a few requests for the controller skins that I made, here they are: https://goo.gl/QTkL4n
  5. 2/12/2017 - A small update that I made to the Arduino Firmware: (http://speedrun.evilash25.com/2017/02/controller-input-display-and-arduino.html)
  6.  
  7. Components and Equipment needed
  8.  
  9. 1) Arduino Uno (http://amzn.to/1SpylBc) you might be able to find this cheaper elsewhere
  10. 2) USB cable to connect the Arduino to your computer (http://amzn.to/1prgj9F)
  11. 3) controller extension cable (NES, SNES, N64, or GCN)
  12. 4) (optional) male/female connectors with 5 pins minimum for easy controller switching
  13. 5) wires to solder into the controller extension cable to go to the Arduino (the Arduino sockets are very small, so you will need some smaller gauge wire to fit, so it might be best to pickup some wire after you see the socket size)
  14. 6) wire cutters/strippers
  15. 7) exacto knife or box cutters
  16. 8) soldering iron and solder
  17. 9) electrical tape
  18. 10) digital multimeter or a cheap continuity tester (http://amzn.to/1WifixE)
  19.  
  20.  
  21. Software
  22.  
  23. 1) the latest Arduino software (http://arduino.cc/en/Main/Software)
  24. 2) software to program into the Arduino (https://github.com/jaburns/NintendoSpy/releases look for firmware.ino) Also check out my updated firmware from my blog post above (for NES and SNES only).
  25. 3) PC software to connect to the Arduino and display the controller (https://github.com/jaburns/NintendoSpy/releases)
  26.  
  27.  
  28. Instructions
  29.  
  30. Wiring
  31. (this is the most time consuming piece, especially if you have never done any wiring/soldering before)
  32.  
  33. 1) First you will need to cut your controller extension cable so you can splice into the wires (consider which spot in the extension cable to cut, game system side, controller side, middle) (https://raw.githubusercontent.com/jaburns/NintendoSpy/master/docs/tutorial-images/cut.jpg)
  34. 2) Use your exacto knife or box cutters to very carefully cut away and peel back the plastic covering on both halves, about 2-3 inches should be good enough
  35. 3) Use wire strippers to strip back about 1/2 an inch of the plastic covering on each wire (https://raw.githubusercontent.com/jaburns/NintendoSpy/master/docs/tutorial-images/stripped.jpg) In my case I had to carefully use my exacto knife because the wires were too small for the stripper, I rotated the wire against the blade until I could pull the plastic off the end.
  36. 4) Next you will need to use a digital multimeter or continuity tester to figure out which pin on your controller plugin goes to which wire in the extension cable, make sure to write down your findings. A quick google search of "<system> + controller pinout" should give you the information you need.
  37. 5) Here are the minimum pins we are interested in for each system (I actually spliced/wired them all in case I needed them, which I found out that I did not)
  38.         NES - Latch, Data, and Clock
  39.         SNES - Latch, Data, and Clock
  40.         N64 - Data and Ground (there are only 3 wires, so it's pretty obvious here)
  41.         GCN - Data and (any non-shield)Ground
  42. 6) Figure out the length you need between your controller extension cable/Arduino and cut and strip a wire for each wire you are going to splice into.
  43. 7) Solder each wire back together with your spliced wires, here's what mine looked like when finished (http://imgur.com/a/oeUNp#0) I soldered them this way (instead of end-to-end) because this will provide more strain relief against the small controller extension wires possibly breaking with use.
  44. 8) After soldering everything back together, test out your extension cable with your game system to see that it still works before proceeding.
  45. 9) Use electrical tape to tape up each wire separately (http://imgur.com/a/oeUNp#1).
  46. 10) Again use electrical tape to tape all the wires back together, make sure to tape all the way back up to where the extension cable covering starts (http://imgur.com/a/oeUNp#2).
  47. 11) (optional) Wire the spliced cables to a connector (http://imgur.com/a/oeUNp#2) to make easy swapping between controllers, you will need the opposite gender connector, pins, and more wires to go to the Arduino.
  48. 12) Hook up the newly spliced extension cable to your Arduino according to this pinout (http://imgur.com/a/oeUNp#3) or whichever pinout you plan on using, it is changeable in the firmware.ino file.
  49.  
  50. Here is what mine looks like all hooked up (http://imgur.com/a/oeUNp#4, http://imgur.com/a/oeUNp#5) note I am using a breadboard here to just jumper the wires over to the Arduino, it is not needed.
  51.  
  52.  
  53. Software and Setup
  54. (once the wiring is done, hook everything up to your game system and computer, now for the easy part)
  55.  
  56. 1) Plug in the USB connector to your Arduino and PC.
  57. 2) Install the latest Arduino software (http://arduino.cc/en/Main/Software), download the Windows Installer option.
  58. 3) Once installed, open the Arduino software, you should see "Arduino Uno on COMX" at the bottom right corner if everything is working (http://imgur.com/a/oeUNp#6). If not, you may need to restart and/or replug the USB connector.
  59. 4) Select File->Open and open the firmware file provided here (https://github.com/jaburns/NintendoSpy/releases look for firmware.ino).
  60. 5) Now uncomment the option for the operation mode (which controller) you will use (http://imgur.com/a/oeUNp#7). Note I am using a SNES controller here.
  61. 6) Hit the upload button (right pointing arrow) located just under the 'Edit' menu, this will upload and run the software on the Arduino. It should look like this (http://imgur.com/a/oeUNp#8). Once successfully uploaded, you won't have to upload software again to the Arduino again unless you want to change controller modes.
  62. 7) Open the NintendoSpy controller input display software provided here (https://github.com/jaburns/NintendoSpy/releases).
  63. 8) The selection here should be pretty straightforward, select the 'COMX' port that the Arduino is on, select the controller and profile you are using, and hit 'Go'. If everything is hooked up correctly you should see your controller and inputs displaying.
  64.  
  65.  
  66. Special notes
  67.  
  68. 1) I found that the N64 display will not work correctly if you have a memory pack plugged into the controller. I haven't tested, but possibly the rumble pack could do this as well.
  69. 2) For my wiring guide, I moved the GCN signal pin to share with the N64, as I only have one controller plugged into the Arduino at a time and this requires less pins to be wired. This is an easy change to make in the firmware.ino file.
  70.  
  71.  
  72. Troubleshooting
  73.  
  74. 1) The most common problem is likely to be wiring, so if the input display isn't working I would double check that
  75.         a) The controller is working with your game system.
  76.         b) The correct pins are wired between your extension harness to the correct pins on your Arduino.
  77.         c) Your PC can see your Arduino on a COM port (i.e. you are able to upload the firmware.ino to your Arduino)
  78.  
  79. 2) If you are having trouble getting the Arduino programming software working or getting it to see your Auduino on a COM port, try this guide (file:///C:/Program%20Files%20(x86)/Arduino/reference/Guide_Windows.html) This file is automatically installed on your computer when you install the Arduino Software.
  80.  
  81. Change Log
  82. v1.0    - Initial document
  83. v1.1    - Added wiring for the CLOCK pins of NES and SNES controllers, as it is now required in the software
  84.     - Updated images to include the CLOCK Pins
  85. v1.2    - updated a few links, and cleaned up some explanations, added Troubleshooting
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top