PDA

View Full Version : How about landing gear indicators?



Skydvdan
10-28-2004, 12:51 AM
I currently have 3 led's connected to the outputs on my 8/8/8 board. When the gear is down my 3 green leds are on. When the gear is in transit the leds stay lit. Finally, when the gear hits the well the leds go out...awesome. Here's my question- would it be possible to connect 2 sets of 3 led's, let's say 3 green and 3 red. When the gear is down the 3 greens are on. When the gear is in transit the greens go out and the reds come on for this unsafe condition. Finally, when the gear hits the wells the reds also go out indicating gear up. Does this make sense? Can it be done? Let me know. I have more questions but I'll bide my time and go one project at a time.

phidgets
10-28-2004, 10:42 PM
Correct - You can assign any FSUIPC function to any phidget component.

You might find exceptions, but this one sounds feasible.

Matt

imported_737nut
10-29-2004, 12:50 AM
Once Alan releases the re-worked file so we can make our own changes, you should have no problems setting that up. I use the MCPEX (cpflight)board and have mine set-up just like what you're looking for. ;)

alandyer
10-31-2004, 11:14 AM
By creating entries in the current database, or forthcoming INI files you can do this.
Each gear returns a value between between 0 and 16383.
Within the database you can specifiy what value - when exceeded will cause LED to switch on.
You can also specify a value that will cause light to go off.
Using "Invert" function makes this very easy to set up.
I do this with my gear lights.

steveellis
01-15-2005, 06:03 AM
I was wondering if you could post a sample of the ini file as changing values do not seem to work at all.

alandyer
01-16-2005, 12:50 PM
Most of what you need to set with regard to landing gear can be done without fiddling around with INI files.
Thresholds for digital values can be set from FS2Phidgets.
You have read latest documentation, right ?

steveellis
01-21-2005, 07:20 AM
Yes, I have Alan, we were doing it from the wrong ini file.
Works like a dream now.

Many thanks :)

MadMaori
06-15-2012, 08:24 PM
Ya im trying to do this right now, might be 8 yrs later but i got a Aud Mega card, 2 sets of red and green leds and was wondering how its done too lol ....

gokhotit
06-15-2012, 08:40 PM
My gear indicators are set for the following:

Gear down and Locked (Green Light) values ranging from 16382-26383
Gear Unsafe (Red Light) values ranging from 3-16381
Gear Up (no light) range 0-2

I have 1 gear unsafe light that I set a logic variable for, the values would be the same for one unsafe light per gear. One phidget output per each gear light.

CocnutAir
06-17-2012, 09:20 AM
Thanks, gone hot.