imported_737nut
11-05-2004, 08:37 PM
Ok, i got the analog from my CPFlight mcp working with the analog-in on my 8/8/8 phidget. :) I have it set-up to follow the elevator trim axis and it does quite well!
Now the big question, i want to use this to drive a motor to turn my trim wheels.
So when the number is rising, i need it to trigger an output which i will feed to a relay to turn on the motor direction A, then when it stops i need the output turned off. Then if the number is falling, turn on a different output to trigger another relay to turn on the motor in direction B, then turn it off when the number stops.
Is this possible in code? In recomendations? Is this a pipe dream? :confused:
thanks again as always,
Rob
Now the big question, i want to use this to drive a motor to turn my trim wheels.
So when the number is rising, i need it to trigger an output which i will feed to a relay to turn on the motor direction A, then when it stops i need the output turned off. Then if the number is falling, turn on a different output to trigger another relay to turn on the motor in direction B, then turn it off when the number stops.
Is this possible in code? In recomendations? Is this a pipe dream? :confused:
thanks again as always,
Rob