The shifter Internally uses 2 potentiometer and a button for the reverse gear
- Logitech G29 Shifter
- Arduino Leonardo or ProMicro
- Wire ( i used a lan Cable)
- DB9 male connector
The logitech uses a female shifter, let's see the pinout
1 2 3 4 5
. . . . .
. . . .
6 7 8 9
Pin 2 -> X Axis
Pin 7 -> Y Axis
Pin 4 -> Reverse Button
Pin 3,8 -> Vcc
Pin 9 -> Ground
After soldering the wires to the male DB9 make the connections to match according to this
DB9
A0 -> Pin 2
A2 -> Pin 7
D2 -> Pin 4
Vcc -> Pin 3,8
GND -> Pin 9
based on this project https://github.com/functionreturnfunction/G27_Pedals_and_Shifter/