Gaming controller - University project

Hi all!

I've got a university project on going where I've decided to create a gaming controller for people with MS (multiple sclerosis)

The idea is to make a customisable platform where the user can place buttons etc, where they want that best suits them and their playing style.

I'm going to be using an Arduino Mega 2560 for this project. I, myself am very new to arduino and it's coding language

I'm trying to make a start on the coding but i'm finding myself getting lost and confused. basically was I want to code a few buttons on the controller to show a very early prototype. i'm using conductive materials to simulate button presses rather than physical buttons. I want to demo a racing game so all I will need for a prototype is the: UP, DOWN, LEFT AND RIGHT arrow keys to get started (eventually i want to branch into using flex sensors like triggers on a controller)

I've looked at numerous tutorials but nothing seems to help me a great deal. I was wondering if anyone has a code where when i touch a piece of conductive material it will read it as if i'm pressing the up arrow on a keyboard? I've got a breadboard to build the circuit on but it is mainly the code which is daunting to me. Any additional information to help me like circuit step-up would be greatly appreciated

Many thanks!

Mitchell

@Mitchella91:

Hi,

Amazing Project.. the coding isnt really that hard, However i must say that you need an Arduino Due or a leonardo to emulate switch press on the computer.

After you have obtain either a Leonardo or a Due please refer to this page Native Keyboard or mouse Arduino reference

You need to get yourself an Arduino Leonardo or a Pro mini. Those can be seen as keyboards and mice to a computer.

You may need to get a few capacitive touch modules like this: http://www.ebay.com/itm/Arduino-TTP229-16-Channel-Digital-Capacitive-Switch-Touch-Sensor-Module-/400709646366?pt=LH_DefaultDomain_0&hash=item5d4c27f81e

http://www.ebay.com/itm/Touch-Sensor-Capacitive-Touch-Switch-Module-DIY-for-Arduino-TTP223B-Digital-New-/351259679287?pt=LH_DefaultDomain_0&hash=item51c8b55a37

You can also make your own with a few transistors. http://en.f-alpha.net/electronics/basic-circuits/darlington-pair/go-on/experiment-12-touch-switch/

The MPR121 breakout boards seem a good choice since you basically make your own capacitive input and the board supports up to 12 inputs: http://www.ebay.com/itm/201086257309

HazardsMind: You need to get yourself .... a Pro mini.

No, Pro Micro, not Pro Mini.

Pro Mini is atmega328 based. Pro Micro and Leonardo are atmega32u4 based, enabling use of the keyboard functions.

Paul