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.

How to Make a Portable Game System

Step 25Build the Controller

Build the Controller
«
  • P1010270.JPG
  • P7290228.JPG
  • P1010273.JPG
  • P1010277.JPG
  • P1010274.JPG
  • P1010280.JPG
  • P1010283.JPG
  • P1010284.JPG
  • P1010286.JPG
  • NES Controller.PNG
  • last photo ←
»
What you need:
Perfboard
Eight 47k Resistors
Eight Tact switches (See 2nd and 4th paragraphs)
4 NES controller A/B buttons
NES controller D-Pad
4021 Shift Register
16-pin DIP Socket
IDE cable (or other suitable wire)
Hot glue gun
Soldering Iron
Desoldering Iron
NES Controller Plug (From NES case)
Small Screw
NES Controller Cable

HOW YOU SHOULD BUILD THE CONTROLLER
Once you have everything working, you need to build the controller for the NES. There are two ways you could go with this; building your own or using the original controller boards. There are pros and cons for both:

Building your own is fun and helps you learn more about electronics. If you build your own, it is easier to mount in the case. The only problem is that if you use "clicky" tact switches, then the controller does not feel like the real thing.

You can use the original controller board. This is a great option because it feels like an original controller, and it is a lot easier to put together than the first option. These are often difficult to mount in a case. If you want to do this, check the next step for a bit of information.

OR, you can meet at the middle and combine method 1 and method 2. Make your own controller (easy to mount) and use these "mushy" tact switches from Mouser (feels like the original controller). This is the best option, in my opinion. Unfortunately, I did not find these switches until after I completed my portable, so that's too bad. Next time...

For my first portable I went with option 1. I wanted to be able to really feel that the switches are actually being pressed. If you want to do option 2, check the next step. For 3, just use option 1 but with the squishy switches.

HOW THE CONTROLLER WORKS
It's nice to understand a bit how the controller works. If you don't think so, just skip this paragraph.
The NES controller uses something called a shift register. This basically takes your button presses and converts them into signals. Once they reach the NES, the NES looks at them and figures out which buttons are being pressed, then changes the game accordingly. That's how the NES controller can have 8 buttons and only use 5 pins.
You also need to know that the shift register in the NES controller uses "pull-up resistors". These are resistors that connect each of the data pins to a small voltage, so that each pin is in a "high" state. To send the signal, the register pulls the pin "low".
Now, aren't you glad you understand that? Building the controller will be so much more fun now. :)

Since it would be ridiculous for me to write out every single wire that you need to connect, I will have to give you a schematic instead. It is the second-to-last picture in this step. I can still give you the general steps and some tips, though:

GENERAL STEPS
Take apart the NES controller. Hopefully you can do this on your own.

Desolder the 4021 shift register chip from the controller. Be careful not to overheat it!

Cut a piece of perfboard using an X-Acto knife and pliers. Score the perfboard many times where you want the board to come apart. Take your pliers and grab right next to the score line, then bend the perfboard to snap it off.

Lay out all your pieces on the perfboard and find a configuration that is functional. Try to make it so that the resistors are close to the tact switches, something I failed to do on the d-pad half.

Solder all your pieces in. Make sure you use the 8-pin DIP connector. Don't directly solder the chip in, or you risk burning it out.

Start building the circuit shown in the schematic. One side of the tact switch is connected to ground, the other side is connected to the correct pin on the 4021. Each of those lines has a resistor connected to it, the other end going to +5v.

TESTING THE CONTROLLER
Once you get the d-pad half done, you might want to test it out. The Red, Orange, Yellow, White, and Brown are referring to the colors inside the NES controller's cable. Just strip and solder the wires to the correct points, as shown on the schematic. One important thing to note is that BOTH pins labeled BROWN on the schematic must be connected. You cannot connect only one, or it will not work. Trust me, I made that mistake. It was very frustrating figuring out why my controller did not work.

Pop in the chip, making sure it is facing the right way. For me, it was the notch facing the tact switches. Plug it in to your NES system, and test it out. Once you confirm that it works, continue on and build the A/B and Start/Select board.

BUILD THE OTHER HALF
Use the same procedure for the A/B Start/Select buttons with another piece of perfboard. Connect the two boards with a piece of perfboard. Again, one side of the tacts must go to ground, and the other side must go to the pins on the 4021, each with a pull-up resistor. The last picture shows the pinout of the 4021, and where to connect the button wires.

ATTACHING THE CONTROLLER PLUG
Once you finish the controller, take one of the sets of wires that connected the controller ports inside the NES and cut it off from the connector port. Solder it to the controller. Again, the colors match those shown in the schematic. You now have finished the controller!
« Previous StepDownload PDFView All StepsNext Step »
20 comments
Jul 8, 2010. 9:37 AMchewbaccaa says:
hey, thanks for replying to my question :D buti have another one for you to solvefor me (im a noob at electronics) how did you make the controller buttons and the d-pad stick to the perf board. thank you 1UP
Jul 8, 2010. 9:41 AMchewbaccaa says:
yeah and errmm... i would like to do this with my wii controller as i want to make a game pad. also if you could help me if you have any experience with the insides of a wii remote
Jul 9, 2010. 8:46 AMchewbaccaa says:
yeah thanks but i dont know what you mean here is a picture of the insides of a wii remote and could you tell me, where to solder :D http://www.blogcdn.com/www.engadget.com/media/2006/12/12.20.06---wiimotedissected.jpg if it isnt hyper linked the just copy and paste Thank You :D
Jul 9, 2010. 12:12 PMchewbaccaa says:
They are a little hard to see :/ but I'll try and find a better pic of it on google so you mean the gold pads on the right near on power on/off button is ?? Thank you
Jul 10, 2010. 8:58 AMchewbaccaa says:
so then how would you know which one is which?
May 25, 2010. 11:35 AMTheEgg says:
(removed by author or community request)
May 25, 2010. 11:54 AMTheEgg says:
Sorry for my spelling, i also need to ask you if it would be possible if you could make it  so you can you can use the external ports for two player but switch it back to on player with the built in contoller.
And because of the voltage regulator, would it be a waste to use say 11 volts. Because i am interpreting it as anything more than 7.5v is given off as heat.
P.S. Disregard my former question, it was stupid.
Oct 28, 2008. 6:26 PMchi-kitory says:
holy Crap man, you must me like the god of moding, i could never figure out how to do this, great great detail, perfect imaging, and great step by step! wow... Do you actually use your port nes? or do you just mod st00f and then thro it away? cause if i was you i would make a collection of them, and show them off! you got a great tallent! I hope i can figure out how to do most of this
Nov 3, 2009. 7:23 AMevan_jeffries says:
 hows that going 4 ya?
Dec 1, 2008. 4:22 PMRossiroller says:
OMG!!!!!!!!!! Your amazing!!! Are you going to make an instructable of the n64 because if you do I want to build one!!!!
Dec 3, 2008. 8:13 PMdylanwinn says:
Jan 26, 2009. 3:02 PMmg0930mg says:
NO, do the i'ble. PLEASE! By the way 5 stars, favorited, and subscribed.
Jan 27, 2009. 3:21 PMmg0930mg says:
Yay, cuz I so wanna do that!!!!!!!!!!!!!!!!!!
Dec 1, 2008. 10:30 AMnintendocrazzy says:
how long do you think that one will take you?
Feb 13, 2009. 9:31 AMwhatabratiam says:
post pics of the port n64 and the price i love n64 its my fav!!!!!!!!!!!!!!
Sep 6, 2009. 7:05 PMmspinks says:
aha... a pull-up resistor. That's the reason why I could get my circuit to work. Could you tell me more about these specific pull-resistors, perhaps what they are rated at?
Jan 27, 2009. 6:23 PMfriggs26 says:
come on that would be the coolest thing to have a portable n64

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!
267
Followers
9
Author:1up(ModRetro)
Sometimes my Instructables are few and far between, but I try to make them as well as I can. Hopefully you can be inspired or helped by the content in them!