Hi,
I would like to use Selespeed shifter with Arduino Pro Micro (ATmega32U4) and Arduino Joystick Library. What I need is using this as HID device in Windows. This idea is not mine, someone share it on Youtube Alfa Romeo Selespeed Sequential Shifter Conversion for Sim Racing. As you can see there, he does not use Arduino but some PCB by Thrustmaster and unfortunately this is not the same. I tried to contact him but without response.
Because I already successful using the classical push buttons elsewhere I decided to start with this sketch and also placed two 100pF capacitors between wires (he shows at 1:26). The reason I don't completely get it but I think that because there is PCB in shifter as he linked here. It's negate the internal resistors, isn't? I currently do not want to open shifter enclosure (my version does not have screws) so I hope I have the same PCB as he linked.
If I don't use capacitors I see nothing in Window's Game Controllers -> Properties -> Test. If I use the 100pF there are two buttons displayed as active but if I change the position of shifter still same (shows as active).
What I able to measure with multimeter is the resistance (directly to shifter without capacitors). Thanks to this I can able to determine witch wire is for shift up and down. The values for neutral position is: 2.652kΩ and 468Ω when "click" with stick in one direction.
- What is the formula how I can calculate the right values of capacitors?
- Is right to use INPUT_PULLUP properties in pinMode() function in this case?
Thanks!