LED control through Gamepad – Arduino-PC interface

For controlling external devices connected to Arduino, for example a robot, the user needs some form of control over the board in order to send the desired information. In this project a gamepad is used in order to control 3 different LEDs. The idea is that with the use of the same logic you can build huge projects controlling big machines just with the use of a gamepad or just a simple PC mouse.

The below figure shows the system’s block diagram. The gamepad sends the users input to the computer and through the Processing software platform which with the use of some libraries (Firmata, Gamecontrol, Serial) the information are translated into commands for the controller.

Each button corresponds to a LED. By the press of the yellow button the yellow LED turns on, by the press of the red button the red LED will light and with the green one the green LED.

Leave a comment