11-28-2021, 09:11 PM
I've been having struggling to get the steering wheel controls to work consistently. The issue is the signal from the resistor ladder is too sensitive to voltage change causing the functionality of the steering wheel controls to be intermittent. For example I can be driving and the SWCs are working fine, the radiator fans turn on, causing a higher load on the alternator, and then the volume up button will result in the volume going down.
Here are the signal readings with the engine running and not running:
Engine not running:
volume up 525
volume down 465
next 400
prev 425
With the engine running the signal changes to:
volume up 630
volume down 550
next 440
prev 495
I'm using an Arduino Leonardo and my resistor ladder get's 5v from the Arduino. The Arduino gets power via USB from the PI. The resistor in the resistor ladder is 2k ohm. I've tried using resistors from 22 ohms up to 100k ohms with no luck. Is there something I could do to make the functionality of the SWCs more consistent?
Thanks in advice.
Here are the signal readings with the engine running and not running:
Engine not running:
volume up 525
volume down 465
next 400
prev 425
With the engine running the signal changes to:
volume up 630
volume down 550
next 440
prev 495
I'm using an Arduino Leonardo and my resistor ladder get's 5v from the Arduino. The Arduino gets power via USB from the PI. The resistor in the resistor ladder is 2k ohm. I've tried using resistors from 22 ohms up to 100k ohms with no luck. Is there something I could do to make the functionality of the SWCs more consistent?
Thanks in advice.