I'd like to control the trigger on an xbox 360 controller (rotating potentiometer) using an exercise bike input. I figure that using an arduino I can produce a voltage signal proportional to the speed of the bike, and I'd like to be able to solder a few wires into the controller, and then make them control the voltage across the potentiometer to simulate a trigger press. I'd still like the original button to work when it's not in use. I'm not great with electronics, so I was hoping to get some ideas!
Here is my half-baked logic idea:
1) I can run a relay across the potentiometer with a resistor, and then use the arduino to open/close the relay with pulses, maybe with a capacitor or something across it to smooth it out? A lag of 1s would be fine.
2) Use the arduino PWM output to somehow inject/remove voltage across the pot. I'm not sure how this would work, given they have different power supplies.
Can anyone give me some advice what the best way to go is?
Here is my half-baked logic idea:
1) I can run a relay across the potentiometer with a resistor, and then use the arduino to open/close the relay with pulses, maybe with a capacitor or something across it to smooth it out? A lag of 1s would be fine.
2) Use the arduino PWM output to somehow inject/remove voltage across the pot. I'm not sure how this would work, given they have different power supplies.
Can anyone give me some advice what the best way to go is?