PDA

View Full Version : How to use potentiometers with OC USB Card?



twisted8
08-14-2009, 06:23 PM
Hello,
I'm trying to connect 10k potentiometers to the Opencockpits USB expansion card for a custom throttle quadrant. I used the A/D inputs and connected the 3 wires but no luck getting any response.
The Controlodor software says "A/Ds: 0" and "A/D[1] = N/A" even tho it's connected.
Any suggestions?
Thanks!

Jackpilot
08-14-2009, 07:14 PM
You have to connect the middle lug and only one of the others. connect all 4 pots exactly the same way.

salautom
08-15-2009, 06:46 AM
and you need to configure your ini file(s)

[ A/D used by Iocard Master expansion USB ]
USB_AD=5

twisted8
08-15-2009, 07:35 AM
Thank you
setting USB_AD = 4 works and now i see the values change.
Does anybody have a sample on how to code throttles in SIOC?
Haven't had any luck.
Thanks!