FS2Phidget... what support for servos?
Does the FS2Phidget program have the ability to relate values to servos in some manner?
In other words... can I assign "servo#1" to rotate to a specific position based on the value of an offset in FSUIPC? Example...... flaps indicator. If the flaps are at 1... move to this position. If the flaps are at 30.... move to this position. And so on.
best,
......................john
Cross post from Simviation
Originally posted in response to John's question over at SimV:
Quote:
Sadly, no it won't work.
Modification to a servo to make it turn 360 degrees removes the feedback ability...the servo no longer knows where it is pointed.
What might work is to add a rotary encoder to the servo output. The encoder could pass the position back to the Phidget so that the system would know where the output was. I don't think that the programming exists in FS2Phidgets to use that feedback, but the guy who wrote it seems cool and might add the capability if asked nice. :)
I do like the idea of magnetically coupling the pices together...vary the distance slightly and you can get the typical "Whiskey Compass Hunt" and is lags behind and the oscillates and overswings a little bit.
For my own Whiskey compass I was thinking of gearing a standard servo output by 1:4...the output is then 360, plus a little bit of available over travel. The only hangup is that when rotating past end-of-travel points the servo would have to swing all the other way around. :(
I can live with that limitation...but if the software can be tweaked to allow your idea, well I'll go another way. :)
Alan:
Please note my comment about the rotary encoder:
Quote:
What might work is to add a rotary encoder to the servo output. The encoder could pass the position back to the Phidget so that the system would know where the output was. I don't think that the programming exists in FS2Phidgets to use that feedback, but the guy who wrote it seems cool and might add the capability if asked nice. :)
Any chance that something like this could be done? It would greatly simplify any tasks that are done in simpits using servos...like the vast majority of instruments. It wouldn't be anywhere near as accurate as the self correcting systems that some have worked out...but a manual "calibration" scheme isn't that hard. It would need 3 switches:
One to scroll the output up.
One to scroll the output down.
One to tell the output it is now calibrated.
The first two switches could even be replaced by a rotary encoder...use two rotary encoders and one switch and you can select any instrument possible, adjust it and then tell the system that it's calibrated.
Thoughts?