Introduction: Arduino Based DIY Game Controller | Arduino PS2 Game Controller | Playing Tekken With DIY Arduino Gamepad

About: I am an engineering student and i just love doing electronic (mcu's) and programming (C,C++,JAVA) based projects.

Hello guys, playing games is always fun but playing with your own DIY custom game Controller is more fun.
So we will make a game Controller using arduino pro micro in this instructables.

Step 1: Brain of the Gamepad

So a word of advice here is : please don't try this project with Arduino Uno because Arduino Uno is not capable of HID (Human interface devices) which means Arduino Uno can't be used to make Projects like keypad, mouse, keyboard, gamepad etc.

So for the Projects like : keyboard, mouse and game Controller, we have two arduino boards which are capable of doing these kinds of Projects. Arduino Pro micro and Arduino Leonardo are capable for doing these kinds of projects.

So for our game Controller Projects we will use Arduino pro micro here but if you have Arduino Leonardo then that will work as well.

Step 2: Inputs for Game Controller

For this game Controller i will be using push button switches as input because they are easy to get anywhere and easy to use but if you want to use any other kind of input you can use it but make sure that your inputs will work with the codes.

Step 3: Schmatics

So we need 10 switches for 10 inputs and we need to connect these switches According to the above shown schmatics so please help yourself with the above schmatics and connect everything According to it.

Step 4: Making PCB

To put it all together we need to make a PCB for it so that we can connect everything together. I used Fritzing for the PCB designing purpose.

You can download the Gerber files from the below link.

Download code, schmatics, gerber :

https://github.com/shveytank/Arduino-Game-Controller

And i uploaded my gerber files to seed studio website.

You can order your PCBs from any manufacturer you want.

Step 5: Assemble the PCB

So after getting PCB manufactured we need to assemble it all together by soldering the pin headers and and switches on the PCB. And put Arduino pro micro on the PCB.

Step 6: Coding Part

So in the coding section we need to program this board for the Switches for the shown input of keyboard as shown in image and i already wrote code According to it so download if from the link below.

Download code, schmatics, gerber :

https://github.com/shveytank/Arduino-Game-Controller

And then make sure you installed sparkfun Boards in your PC and if not please go to sparkfun page and follow the instructions and installed sparkfun boards in arduino IDE.

Then upload the code to your arduino board

Step 7: Playing Tekken With This DIY Game Controller

After uploading the code please connect the usb cable to PC and after connecting open any game you like well i am using tekken here and you can start playing.
So have fun with making your own DIY game Controller.