Introduction: Retrieving Signal From an Old Joystick
This is a project that I started working on when I found an old joystick with a D15 port (game port).
Step 1: Watch the Video
Step 2: What You Will Need
1 x Arduino board
1 x Joystick with D15 port
2 x 10k resistors
2 x 100k resistors
jumper wires
(optional) breadboard
Step 3: Wiring and Connecting to the Arduino
Use the 100K resistors for the digital pins ,where you will read the signal from the buttons, and the 10k resistors for the analog pins, where you will read the analog signal from the XY axis.
Connect the 5v from the Arduino to the joystick and the GND to the resistors
Step 4: Upload the Code to the Arduino
You can fin the code here:
One you upload the code you can open the serial monitor, or serial plotter and view the data it gets from the analog pins.
Step 5: Stay Tuned for Part 2
I am planing on making a game so I can use the joystick to play it. It will possibly be an arcade type of game.