Throttle Control Alternative for Phidgets
Hello Fellow Cockpit builders,
Like all of you FS2phidget users I am sadden by the news of Alans departure from his fantastic FS2Phidget project. His program has made my cockpit come alive and i am very greatful for it.
In the interim I had been working on a dedicated Application to control my throttles. In particular to take advantage of some of the new properties Phidgets have made available. I did not want to burden Alan with my requests so I would thought i would give it a crack myself.
I have written a program called AutoThrottle X, which drives my Throttle Servos.
While the program has been writen for phidgets it is limited to the ServoCard and the moment and will never be a full replacement for the fantastic fs2phidget.
It is programmed to power the servos only when the A/T switch is ARMed and it also detects when the throttles are in a stopped position and then disengages them to reduce the wear on the servo.
This setup removes the requirement for a relay card to cut power to the servos which is great.
At the moment it is very limited in what it works with, but since this community has given me so much, i am happy to share it around if someone would like.
I still need to clean it up quite a bit, but in its first revision it will be limited to a 737 tested in FSX and only work with the default FS autopilot arm switch...
Ive attached a video so you can all see the progress..
http://www.sendspace.com/file/zf8vnc
It shows the application talking via FSUIPC and the commanding of the throttle remotely and the result on the physical throttles. You can also see me move the throttle by hand without cutting power to the servo.
Cheers from Sydney, Australia
Diego
Re: Throttle Control Alternative for Phidgets
Hello diegov
Already solved the problems?
Can you upload the most recent version of the throttle controller?
Or maybe it's possible to upload the source code?
TYVM
Michèl
Re: Throttle Control Alternative for Phidgets
Hi Michèl,
I have not given up on this.. Still need to work on the spoiler logic. Ive also added digital inputs which can be configured to trigger things such as autopilot disconnect/toga/and park break, but as it is End of financial year in australia ive been very busy at work.. Ill upload something in a couple of weeks...
Cheers
Diego
Re: Throttle Control Alternative for Phidgets
Hello diegov
TY for the update about your progress. I'm looking forward to see the improvements. Keep up the good work. :D and take your time.
Michèl
Re: Throttle Control Alternative for Phidgets
Okay fellow cockpit builders..
Dont know who is following the progress but here is a quick update:
http://www.sendspace.com/file/cue680
Ive added Digital Input sensing. You must configure this manually from within the ini file itself but it is pretty simple.. I've left my setting in there as a sample. It controls fuel cuttoff, toga button, at disarm button and park break. Also hard coded park brake light to light up on Digital output 0. This is again "HARD CODED" and not modifyable so you must connect your LED to digi output 0 for it to work.
Also updated spoiler deploy routine. Hopefully the spoiler can now be moved freely when attached to the servo and it will only fire when it is armed and the spoiler moves all the way to deploy on landing. I cant really test this as i am still to connect my spoiler lever.
Soon to come will be flaps and trim wheel control.
Have fun.. And please let me know if anyone is finding this tool useful, if not i will stop posting it and wasting space in the mycockpit sql database with my posts.
:)
Diego (YSSY)
Re: Throttle Control Alternative for Phidgets
Hi Diegov,
Very nice and useful piece of software.
Thanks much for it.
Two questions if you don't mind:
1. If I disable the throttle entries in the .ini file, it still works, so are the offsets hard-coded as you said so.
But which are the hard-coded offsets you used for throttles?
088C or 089A and 0924 or 0932 ?
2. Could you explain a bit the VELOCITY and ACCELERATION values in the ini?
regards
Potroh
Re: Throttle Control Alternative for Phidgets
Hi Diego,
Thank you very much for taking some of your time to help us out. I am following your progress closely. This is an amazing and useful software. Please do not give up on this since some of us are really in need of it. Keep us updated and take care.
Regards,
Pedro
Re: Throttle Control Alternative for Phidgets
Hi Gents,
Thanks for the gratitude. Ill make sure i post future updates.
@Potroh. I have hardcoded 088C and 0924 as the offset the servos will use to respond to engine values. The offsets in the ini file are used to write the pot value to fsuipc for engines 1 and 2.
VELOCITY controls the speed of the servos when moving back and forth. ACCELERATION is how quick the velocity is reached, if that makes sense. Playing around with the setting may make your throttles smoother or jerkier. The values in the ini give me smooth movement.
Ive just purchased additional sensor cables for my flap pot, a servo for my spoiler and the phidget motor card for my trim wheels. Hopefully will have another update for you guys in a few weeks...
Cheers
Diego
Re: Throttle Control Alternative for Phidgets
Hi Gents.
Here is a fairly big update!
http://www.sendspace.com/file/79xt1q
Ive added FLAPS :) Just use the flap configure button under the sensor configuration page and define the flap ranges for each notch.. Make sure your ranges do not overlap. My proggy does not check for overlapping ranges.
Also if you have a phidgets motor card... your trim wheels will move back and forth :) The motor must be connected to the motor 0 input of the card.
I think the program is pretty functional at this stage and can be used to replace fs2phidget for 737 throttles.
There is some tweaking still to do, but i think all functions are mostly covered.
I still need to implement trim indication on a servo output, but that should be to hard.
Please review my ini file for setting information and examples...
Enjoy
Diego
Re: Throttle Control Alternative for Phidgets
This is a question not just for for Diego, but anyone playing with 737 TQ's...
Has anyone been able to successfully control DC motors to drive the levers
in auto-throttle mode???
Using Phidgets Motor card I can get them to move back and forth,
BUT they don't really know what position they are in...they just go back and forth....
Nat
Re: Throttle Control Alternative for Phidgets
Quote:
Originally Posted by
diegov
I have hardcoded 088C and 0924 as the offset the servos will use to respond to engine values. The offsets in the ini file are used to write the pot value to fsuipc for engines 1 and 2.
Hi Diego,
Just a humble question: would it be possible to change (optionally) these hard-coded ones to configurable variables?
Asking, because for instance in my case I would simply need the other two available offsets, as my actual throttle pots are connected to a very different system.
thanks and regards
Potroh