I'm thinking about making a forward kinematic arm (sort of like a microscribe -
http://microscribe.ghost3d.com/gt_microscribe.htm) and I need to find a way to determine the angle between each leg. My thought had been to use a potentiometer at each joint, and just convert the analog value into rotational degrees using a little math. I found these really small wheel potentiometers at radio shack (
http://www.radioshack.com/product/index.jsp?productId=3064080) that look like they could do the trick, but they have 5 pins instead of the typical 3 that I'm used to (Gnd, 5V, and pin). I believe these wheel pots are generally used for audio control, but I'm wondering if you guys can help me figure out how to wire it up (ultimately, I'm hoping it works just like a standard pot in that it returns a value between 0-1023). In the comments section, I noticed one poster states:
Place it with the pins pointing down and the 5-pin edge facing toward you. From left to right, the pins are:
1) Common (GND for audio use)
2) R1 Wiper (Out 1 for audio)
3) R2 Wiper (Out 2 for audio)
4) R2 End (In 2 for audio)
5) R1 End (In 1 for audio)
The only thing is that I'm not using it for audio. Is there a way I can wire this to just return a single value? Thanks in advance for the help.