I have a device that essentially controlled by a potentiometer and a rotary switch. I would like to keep these (although I would replace them with other components if that helped), but I'd like to be able to read the position of the switch and potentiometer with a computer (or Arduino for example).
Is there a simple way to do this? I thought I could measure the value of the potentiometer's resistance but it's integrated into a circuit.
Any hints on how to go about this?