Introduction: USB GAME CONTROLLER FOR P.C

Picture of USB GAME CONTROLLER FOR P.C

A GAMING CONTROLLER FOR ANY GAME(ALMOST)

Step 1: INTRODUCTION

In this instructable I am going to show you how you can make a U.S.B game controller using a keyboard and some other components

Step 2: MATERIALS REQUIRED

Picture of MATERIALS REQUIRED

1. A Keyboard

2. A Case( I am using a cassette case )

3. Momentary switches 10 (+ 2 Optional )

4. A Jack and Plug (Optional)

Step 3: REMOVING THE PCB FROM THE KEYBOARD

Picture of REMOVING THE PCB FROM THE KEYBOARD

The P.C.B is one of the key component of this project. After removing the screws from behind the keyboard, open it and there will two sections. In the lower one you will find the P.C.B. Carefully remove it out

Step 4: MAPPING THE KEYS

Picture of MAPPING THE KEYS

Basically how a keyboard works
is ,there are two terminals for a key(alphabet/number /symbol)and when they get connected while pressing the keys , the microcontroller present inside it detects it and sends it to the computer which then displays it . So what we are doing is eliminating all the unwanted keys and using only the required ones (keys which are used in game).

How to find the terminals required.

1. Connect the P.C.B to the computer

2. Open ‘Notepad’ or ‘Word’

3. Then take a wire and start connecting the terminals of the P.C.B one by one until you

find the key required which gets displayed on the screen(in ‘notepad’ or ‘word’).

4.Note down the key terminals number.

Step 5: CONNECTING WIRE TO THE PCB

Picture of CONNECTING WIRE TO THE PCB

After mapping the keys start connecting wires according to the required keys. I tried soldering the wires to the terminals but couldn’t do it so I just used some electrical tape to connect them.

UPDATE-- Wouldn't recommend electrical tape as it comes off after some time and keys don't work.Try hot glue or any other method instead.

Step 6: PREPARING THE CASE

Picture of PREPARING THE CASE

Then take the case and make holes in it to attach momentary switches. I attached 8 switches in the front and 2 at the top. I made the holes using a soldering iron

Step 7: CONNECTING THE WIRE FROM THE PCB TO THE SWITCH

Picture of CONNECTING THE WIRE FROM THE PCB TO THE SWITCH

After preparing the case connect the wires from the P.C.B to the momentary switches which are attached to the case.

Step 8: FINISHING

Picture of FINISHING

You are basically done now. Close the case, add some design or decorate it . I just used electrical tape to cover it .

Step 9: OPTIONAL

Picture of OPTIONAL

I decided to add a foot pedal so that i could use it in racing games . So I added two jacks at the bottom of the case and connected it to the the P.C.B. I made the foot pedals using two cardboard pieces a momentary switch and a plug.

Step 10:

Picture of

It’s done you have your controller . ENJOY GAMING !!!

Comments

Thy pex (author)2017-08-27

I have a question did you change the keys so on a computer cursor can move ? Did you used arow keys?

techgeek17 (author)Thy pex2017-09-18

i did use arrow keys as they are important in games .

Edward BoB (author)2017-02-03

wow. i like it. But no analogs

techgeek17 (author)Edward BoB2017-05-24

I am just a beginner in electronics so I don't know how to add analoge stick but thanks for the suggestion I will look into it

TheKing1011 (author)Edward BoB2017-05-14

You can use a d pad so that you can put the switches under the d pad and use that!

techgeek17 (author)TheKing10112017-05-24

Thanks for the suggestion TheKing1011 will try it

Thy pex (author)2016-10-07

Does it work for phones?

techgeek17 (author)Thy pex2017-01-16

sorry,have not tried it out yet, will try it soon

Thy pex (author)techgeek172017-01-16

Ok

techgeek17 (author)2016-04-06

@nancyjohns ,thanks for the suggestion

nancyjohns (author)2016-04-05

Very nice! I wouldn't have thought to use a keyboard. I probably would have used something like an Arduino, but this makes good use of a keyboard if you have one laying around! One suggestion for the Instructable; use lowercase too. It's a little difficult to read with all caps.

vsolymossy (author)2016-04-04

Very nice!

norben (author)2016-04-02

Good job. Thank you.

DIY Hacks and How Tos (author)2016-04-02

Cool DIY controller.

thanks

Andrew Higgs (author)2016-04-02

This looks cool. I have got to try this. :-)