DIY Touch based Controller

About This Project
This project will show you how to make a DIY Game Controller.
Project Info
Estimated Time Required: 2 Hrs
Programming Platform:
Difficulty:

Introduction

Kids play games on Smartphones.

Men play games on PC, with a game controller.

But legends? Legends make their own game controller and then play!

Wish to be a legend? Then hop right in! We’re going to make a DIY Arduino Game Controller using which you can play so many games! You can defeat Bowser and rescue Princess Peach, you can help Pac-man eats as many Pac-Dots and many more!

So, what are you waiting for?

Ready. Set. Game!

Components Required

ImageComponentQuantityAvailable in Kit
evive1
USB A-B Cable1
Thick Cardboard1
  • None
Glue Gun and Glue Sticks1
  • None
Male to Male Jumper Cable 20cmFew

Building Guide

Step 1: Making of the Controller

The controller will have the following design. You can save this image and take the print out. Or you can make one as you wish to.

Gamepad Control

  1. Once you have the design on paper, take its cutout.
    Cardboard
  2. Take the cardboard and cut it in the shape of the Controller with the help of the paper cutout.
    Outline
  3. Thus the base of the Controller is now ready.
  4. Stick the paper cutout on top of the cardboard cutout.
    Glued
  5. Now, one of the most important parts, coloring with the Conductive Ink or Electric Paint.
  6. We will next paint the buttons which we are going to use using electric paint.
    Coloured
  7. We will now cover the remaining Controller using the normal water paint.
    Orange Coloured
  8. Next, to connect it to evive, we need Jumper Cables.
  9. We have combined two combined them to make it longer so that we can move the Controller freely. You can make it as long as you want.
    Wires Joined
  10. Take, male to male jumper cables and insert one of the ends of each jumper cables into the cardboard such that the ends come out from the front end.
  11. To fix the cables at its place, you can use hot glue to attach it to the cardboard.
  12. Finally, to make the whole button conductive, we will also paint the end of the jumper cable with the electric paint.
    Holes

Now, the Game Controller is ready. It’s time for connecting the other ends to the evive.

We have 3D printed the Game Controller for ourselves and painted the same conducting paint as we did on our cardboard controller. And attached the jumper cables similarly.

Joystick

Step 2: Working of Controller

You must be wondering, we will not be pressing the button actually, we will just be touching the buttons. How will we play the games?

Now, here is the secret of using the conducting paint.

One end of each jumper cable is connected to the evive’s capacitive touch sensor. Thus, when you touch the other end which is connected to the cardboard, the charge changes and the touch is being detected.

Now, due to the conducting paint all over the button as well as the pin, the signal is sent even when we do not touch the pin but the corresponding button.

The following figure shows the action performed when that respective button is pressed.

Control

Step 3: Circuit Diagram

The Pins of the Controllers are being connected to the Touch Pins of evive.

Circuit Diagram

Step 4: Code

Unlike other projects we will be using two platforms for coding:

  1. Arduino
  2. Processing

Here, we will not be interacting with evive only, but with PC too.

Once the key is pressed, Arduino assigns the number to it according to the code.

We use processing as the interface between Arduino and the PC.

Arduino then sends the signal number to Processing.

Eg., when we press UP key. Arduino sends ‘1.’ to Processing. Processing performs the action that it corresponds too.

Make sure that you change the COM port in the processing. The COM port should be similar to the COM port in the Arduino.arduino-COM-port-1
processing-_COM_port

We have assigned the numbers as follows:

  1. UP
  2. RIGHT
  3. DOWN
  4. LEFT
  5. SPACE / JUMP
  6. SHIFT / SHOOT

The Arduino code is as below:

The Processing code can be downloaded from the code section below:

Step 5: Conclusion

With this, your DIY Game Controller is ready! Now you can have double the fun playing your favorite games!

Circuit Diagram

DescriptionCircuit Diagram

The Pins of the Controllers are being connected to the Touch Pins of evive.

Code

DescriptionDownload Code
Arduino FileDownload
Processing FileDownload
evive LibraryDownload
Share this Project
Facebook
Twitter
Google+
Pinterest
Reddit
Print
Related Projects
Featured Projects
Unique-Christmas-Tree

DIY Unique Christmas Tree

This project will show you how to make a unique DIY Christmas Tree for this year’s Christmas.

All articles loaded
No more articles to load

Leave a Reply

Close Menu
×

Cart

ATV Tank Small

Subscribe toour newsletter!

We publish new projects every Tuesday & Friday.
Be the first one to get notified.