Arduino Esplora Kart




This example demonstrates how to turn your Esplora into a customized computer game pad.

Arduino Esplora Kart




It uses the analog joystick and the four switches as inputs to a video game. The Esplora will appear to the computer as a standard keyboard, the computer will see joystick movement and button presses as keystrokes.

The configuration choosen in this example is suitable for SuperTuxKart, an open-source racing game, available for Windows, OSX, and Linux. It can be downloaded from http://supertuxkart.sourceforge.net/ .

Circuit

Only your Arduino Esplora is needed for this example. Connect the Esplora to your computer with a USB cable.

Arduino Esplora Kart circuit

Esplora as SuperTuxKart game controller

Code

The default keys to play with the SuperTuxKart game are:

commandkey
ThrottleKEY_UP_ARROW
BrakeKEY_DOWN_ARROW
Turn rightKEY_RIGHT_ARROW
Turn LeftKEY_LEFT_ARROW
FireSPACE_BAR
BendV
NitroN
Look backB

Major Components in Project

Hardware Required

  • Arduino Esplora

For more detail: Arduino Esplora Kart




Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
Arduino text'in
Arduino text’in

Arduino text‘in. Key Features: 24 relays controlled by 4 I/O lines! Cell phone text using your Arduino. This project hacks...

Close
Scroll to top