Q: Can I cut a board using a screwdriver?
A:
Maaaaaybe, but it'll be a whole lot easier if I use a saw. (a.k.a. the right tool for the job)
An Arduino Pro Micro is inexpensive and has analog inputs.
Anything (and more) that you can do with a modded ZD encoder, you can do easier with a Pro Micro.
Wiring a potentiometer to a Pro Micro:
- Connect ground from one of the "Gnd" pins to tab 1 (or 3) of the pot.
- Connect 5v from the Vcc pin to tab 3 (or 1) of the pot.
- Connect input A0, A1, A2, or A3 (right, center, purple inputs) to tab 2 of the pot.
- If the axis is backward, swap the wires on tabs 1 and 3.
For the Arduino sketch, you can use Baritonomarchetto's
ArcadeHID-potentiometers.ino sketch that uses input A0 (see line 16 of the sketch) for the analog X-axis. (see line 11 of the sketch)
- Vee21 used the sketches on Baritonomarchetto's Github as the starting point for his custom driving cab encoder
here.
Scott