Control Arduino functions with a USB controller, no soldering required- I made it at TechShop

Picture of Control Arduino functions with a USB controller, no soldering required- I made it at TechShop
Earlier this year I decided that it would be fun to use my wired Xbox 360 controller to control Arduino projects- in this case, an RGB LED. However, the most commonly used method to do so involves accessing the electronics inside the controller to directly interface it with the Arduino. I decided to take a different approach: using a program called Xpadder I can have the computer interpret controller button presses as keyboard strokes. From there, Processing can read those keystrokes and send them to the Arduino from which any number of actions can be programmed to be controlled.

This is what I'll specifically be making in this instructable:

Pros: Easy to do with a low barrier to entry, cheap and there's no risk of damaging your controller.

Con: Because a computer is being used as an intermediary between the controller and the Arduino, as it's interpreting button presses as keystrokes which are fed into Processing, the computer is required; with this method you can't have a standalone Arduino and controller. If that's what you want then you'd likely need to alter the controller to plug directly into the Arduino.

Last note: I'll be specifically talking about the wired Xbox 360 controller and some of the weird little issues that can come up with it, but I don't see why this couldn't apply to any USB controller.

I made this project over at TechShop (
Remove these adsRemove these ads by Signing Up

Step 1: Software/hardware

Picture of Software/hardware
2013-05-20 20.35.45.jpg
Computer and keyboard (USB keyboard and built-in laptop keyboard tested to work)
USB controller
Arduino/breadboard/hookup wires

Xpadder 5.3 (see next step)
Arduino software
jmercadoc1 month ago

how do you connect the computer to the arduino i've tried this but i still cant manage to light my led. pls help

mmontemor5 months ago

Could you make the code downloadable somewhere, please?

Hey there! Thanks for this instructable - but i can't find the and files anywhere! whre do i download this?
khietman (author)  remember_orwell11 months ago

Sorry for the late reply, but both files are downloadable as attachments in Step 3. You may need to be browsing in a desktop browser to see them.

EdwinM1 khietman6 months ago

I see nothing on Step 3. Were exactly is?