Hi all,
I'm very new to Arduino and have never used a digital potentiometer before, so please forgive me if I'm asking very simple questions. I've installed a new stereo in my vehicle, but the stereo does not have a volume control knob.
Pioneer stereos have a wired 3.5mm input to interface with steering wheel controls. This input looks for resistance values to control the stereo, for example, placing a 16k Ohm resister across the tip and base of a stereo cable will result in the volume increasing.
I'm following this instructable to create a volume control knob using a Arduino Nano, X9C104, and rotary encoder. Link I have the volume control knob all wired up and programmed using the Sketch provided in the instructable, but I'm not getting the desired control outputs.
I'm testing the set up buy placing my DMM across RH and RW of the X9C104 while using the rotary encoder. I get resistance changes, but not what I would expect. From what I've read, the X9C104 should have 100 "steps" of resistance at about 1k Ohm for a total of 100k Ohm. When using the sketch from the instructable, I only get about 30 steps of resistance with each being close to 3.7K ohm of resistance. This prevents me from sending the correct resistance values to the stereo.
I've also found this thread Link which isn't directly related to what I'm trying to do, but was using the same testing technique with a DMM. There is some discussion in there regarding not being able to use a DMM to measure resistance of a X9C104, but that thread also links to a youtube video where the person IS testing their X9C using a DMM to measure resistance.
My questions is:
- Can I use a DMM to measure the resistance directly from the X9C and if not, how do I ensure I'm setting the right resistance value for my stereo controls?
Any help would be greatly appreciated.
Thanks!