Advertisement
Edward_Stryfe

Untitled

Feb 25th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. I wrote this guide to give step by step instructions on how to make your own
  2. controller input display. This setup currently works with NES, SNES, N64, and
  3. GCN controllers. First I wanted to give a big thanks to cylon13 for writing the
  4. original software for both the Arduino and PC controller display and providing
  5. some basic instructions (https://github.com/jaburns/NintendoSpy). You can
  6. check out what the final product looks like in some of cylon13's or my video
  7. history:
  8. (http://www.twitch.tv/cylon13/profile, http://www.twitch.tv/evilash25/profile)
  9.  
  10. Components and Equipment needed
  11.  
  12. 1) Arduino Uno (http://amzn.to/1SpylBc) you might be able to find this cheaper
  13. elsewhere
  14. 2) USB cable to connect the Arduino to your computer (http://amzn.to/1prgj9F)
  15. 3) controller extension cable (NES, SNES, N64, or GCN)
  16. 4) (optional) male/female connectors with 5 pins minimum for easy controller
  17. switching
  18. 5) wires to solder into the controller extension cable to go to the Arduino
  19. (the Arduino sockets are very small, so you will need some smaller gauge wire
  20. to fit, so it might be best to pickup some wire after you see the socket size)
  21. 6) wire cutters/strippers
  22. 7) exacto knife or box cutters
  23. 8) soldering iron and solder
  24. 9) electrical tape
  25. 10) digital multimeter or a cheap continuity tester (http://amzn.to/1WifixE)
  26.  
  27.  
  28. Software
  29.  
  30. 1) the latest Arduino software (https://goo.gl/F3iH)
  31. 2) software to program into the Arduino
  32. (https://goo.gl/rd1mch look for firmware.ino(files included in NintendoSpy
  33. folder))
  34. 3) PC software to connect to the Arduino and display the controller
  35. (https://goo.gl/rd1mch)
  36.  
  37.  
  38. Instructions
  39.  
  40. Wiring
  41. (this is the most time consuming piece, especially if you have never done any
  42. wiring/soldering before)
  43.  
  44. 1) First you will need to cut your controller extension cable so you can splice
  45. into the wires (consider which spot in the extension cable to cut, game system
  46. side, controller side, middle) (https://goo.gl/kiHkok (images/1.jpg))
  47. 2) Use your exacto knife or box cutters to very carefully cut away and peel
  48. back the plastic covering on both halves, about 2-3 inches should be good
  49. enough
  50. 3) Use wire strippers to strip back about 1/2 an inch of the plastic covering
  51. on each wire (https://goo.gl/eszBKZ (images/2.jpg))
  52. In my case I had to carefully use my exacto knife because the wires were too
  53. small for the stripper, I rotated the wire against the blade until I could pull
  54. the plastic off the end.
  55. 4) Next you will need to use a digital multimeter or continuity tester to
  56. figure out which pin on your controller plugin goes to which wire in the
  57. extension cable, make sure to write down your findings. A quick google search
  58. of "<system> + controller pinout" should give you the information you need.
  59. 5) Here are the minimum pins we are interested in for each system
  60. (I actually spliced/wired them all in case I needed them, which I found out
  61. that I did not)
  62. NES - Latch, Data, and Clock
  63. SNES - Latch, Data, and Clock
  64. N64 - Data and Ground (there are only 3 wires, so it's pretty obvious
  65. here)
  66. GCN - Data and (any non-shield)Ground
  67. 6) Figure out the length you need between your controller extension
  68. cable/Arduino and cut and strip a wire for each wire you are going to splice
  69. into.
  70. 7) Solder each wire back together with your spliced wires, here's what mine
  71. looked like when finished (https://goo.gl/2p9g7O (images/3.jpg)) I soldered
  72. them this way (instead of end-to-end) because this will provide more strain
  73. relief against the small controller extension wires possibly breaking with use.
  74. 8) After soldering everything back together, test out your extension cable with
  75. your game system to see that it still works before proceeding.
  76. 9) Use electrical tape to tape up each wire separately
  77. (https://goo.gl/Z8YqvK (images/4.jpg)).
  78. 10) Again use electrical tape to tape all the wires back together, make sure to
  79. tape all the way back up to where the extension cable covering starts
  80. (https://goo.gl/UZVun4 (images/5.jpg)).
  81. 11) (optional) Wire the spliced cables to a connector
  82. (https://goo.gl/UZVun4 (images/5.jpg)) to make easy swapping between
  83. controllers, you will need the opposite gender connector, pins, and more wires
  84. to go to the Arduino.
  85. 12) Hook up the newly spliced extension cable to your Arduino according to this
  86. pinout (https://goo.gl/4d7C8Q (images/6.jpg)) or whichever pinout you plan on
  87. using, it is changeable in the firmware.ino file.
  88.  
  89. Here is what mine looks like all hooked up (https://goo.gl/Hvr3YA
  90. (images/7.jpg), https://goo.gl/rHEiE5 (images/8.jpg)) note I am using a
  91. breadboard here to just jumper the wires over to the Arduino, it is not needed.
  92.  
  93.  
  94. Software and Setup
  95. (once the wiring is done, hook everything up to your game system and computer,
  96. now for the easy part)
  97.  
  98. 1) Plug in the USB connector to your Arduino and PC.
  99. 2) Install the latest Arduino software (https://goo.gl/wEo96s), download the
  100. Windows Installer option.
  101. 3) Once installed, open the Arduino software, you should see "Arduino Uno on
  102. COMX" at the bottom right corner if everything is working
  103. (https://goo.gl/qmj6Ew (images/9.jpg)). If not, you may need to restart and/or
  104. replug the USB connector.
  105. 4) Select File->Open and open the firmware file provided here
  106. (https://goo.gl/0JKe5c look for firmware.ino).
  107. 5) Now uncomment the option for the operation mode (which controller) you will
  108. use (https://goo.gl/zqwKYz (images/10.jpg)). Note I am using a SNES controller
  109. here.
  110. 6) Hit the upload button (right pointing arrow) located just under the 'Edit'
  111. menu, this will upload and run the software on the Arduino. It should look like
  112. this (https://goo.gl/ECk7ZO (images/11.jpg)). Once successfully uploaded, you
  113. won't have to upload software again to the Arduino again unless you want to
  114. change controller modes.
  115. 7) Open the NintendoSpy controller input display software provided here
  116. (https://goo.gl/0JKe5c (included in NintendoSpy folder)).
  117. 8) The selection here should be pretty straightforward, select the 'COMX' port
  118. that the Arduino is on, select the controller and profile you are using, and
  119. hit 'Go'. If everything is hooked up correctly you should see your controller
  120. and inputs displaying.
  121. 9) Celebrate with a cold drink and a playthrough of your favorite game :>
  122.  
  123.  
  124. Special notes
  125.  
  126. 1) I found that the N64 display will not work correctly if you have a memory
  127. pack plugged into the controller. I haven't tested, but possibly the rumble
  128. pack could do this as well.
  129. 2) For my wiring guide, I moved the GCN signal pin to share with the N64, as I
  130. only have one controller plugged into the Arduino at a time and this requires
  131. less pins to be wired. This is an easy change to make in the firmware.ino file.
  132.  
  133.  
  134. Troubleshooting
  135.  
  136. 1) The most common problem is likely to be wiring, so if the input display
  137. isn't working I would double check that
  138. a) The controller is working with your game system.
  139. b) The correct pins are wired between your extension harness to the
  140. correct pins on your Arduino.
  141. c) Your PC can see your Arduino on a COM port (i.e. you are able to
  142. upload the firmware.ino to your Arduino)
  143.  
  144. 2) If you are having trouble getting the Arduino programming software working
  145. or getting it to see your Auduino on a COM port, try this guide
  146. (file:///C:/Program%20Files%20(x86)/Arduino/reference/Guide_Windows.html) This
  147. file is automatically installed on your computer when you install the Arduino
  148. Software.
  149.  
  150. Change Log
  151. v1.0 - Initial document
  152. v1.1 - Added wiring for the CLOCK pins of NES and SNES controllers, as it is
  153. now required in the software
  154. - Updated images to include the CLOCK Pins
  155. v1.2 - updated a few links, and cleaned up some explanations, added
  156. Troubleshooting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement