I'm trying to interface a steering wheel control interface with an Arduino.
The interface connector has 6 pins, A
to F
.
These pins are interconnected with 8 push buttons, SW1
to SW8
:
simulate this circuit – Schematic created using CircuitLab
These buttons don't have a common ground, so I can't connect them directly to the Arduino.
How can I interface these with the Arduino, in order to know which button is pressed?
What came to my mind is creating a network of resistors, injecting +5V
somewhere, and reading an analog value that would be dependent on which button is pressed, but I'm not sure how to do that, or even if it is the best solution.