PDA

View Full Version : Oil pressure, alternators annunciators ...



vaviator
10-23-2008, 01:26 AM
I made a annunciator panel for the default Beach twin prop. I have tried to make the oil pressure work as well as the alternator annunciators but so far I can't get them to work.
I also looked for a way around, so that the alternator lights and oil pressure lights are on al long as the engine is not running, but I can't manage to get that to work either.
Can someone help me in the good direction, it would be nice eye candy to have this working.

Thank you for the help.

Viator

Michael Carter
10-23-2008, 06:46 AM
Do you want to use software or hardware for this?

vaviator
10-23-2008, 10:26 AM
Well both I guess, I have the leds hooked up to a 8/8/8 Phidgetboard and I am using FS2Phidget, I guess there must be a way to make this work using FS2Phidget but I can't find out how. If it works on a default FS plane, I think it would have to be possible.

vaviator
10-31-2008, 05:17 PM
Still no good so far, I have tried all kind of ways to get the annunciator lights to work. If it would have been a Boeing, using PMsystems, it would have been easy. But with the defauld FS aircraft, I'm sure it has to work, but how ...:roll:

CocnutAir
11-03-2008, 07:59 PM
Viator,

Have you identified offsets that you think might work for you?

Regards,
Alan.

vaviator
11-04-2008, 08:18 AM
These are offsets I think that can be used :

The annunciators I would like to have working are :

Oil : annunciator activated when pressure is zero or if this doesn’t work, annunciator activated if the engine is off.

Alternator : annunciator activated if alternator is not working, or if this is not possible, annunciator activated if engine is off.

Engine inop : annunciator activated if engine is not working.

0894 2 Engine 1 combustion flag (TRUE if engine firing)
08B8 2 Engine 1 Oil temperature, 16384 = 140 C.
08BA 2 Engine 1 Oil pressure, 16384 = 55 psi. Note that in some aircraft (eg the B777) this can exceed the 16-bit capacity of this location. FSUIPC limits it to fit, i.e.65535 = 220 psi
0918 8 Engine 1 Fuel Flow Pounds per Hour, as floating point double (FLOAT64)
08A0 2 Engine 1 Fuel Flow PPH SSL (pounds per hour, standardised to sea level). Don‘t know units, but it seems to match some gauges if divided by 128. Not maintained in all cases.
3101 1 Alternator (1 = on, 0 = off), read for state, write to control
(This is for Alternator 1)

Another thing I would like to know, is it possible to activate a led via a switch via FS2Phidget ?

Thank you,

Kind regards,
Vav

CocnutAir
11-05-2008, 11:42 PM
Vav,

Let's do the oil pressure first.
I will assume you do not have the oil pressure offset currently available on your drop down list on any FS Var. file.

I will walk you through setting up the oil pressure offset using the FS Variable editor.

- Fire up FS Variable editor
- Select File->Open from the menu.
- Open FSVariables437.ini
- Select ENGINE_1_HYDRAULIC_PRESS on the Variable: drop down
- Press the "Create New Variable" button.
- On the pop-up change FS Variable name to ENGINE_1_OIL_PRESSURE
- Press the OK button
- Set the following:
Offset: 08BA
Length: should be 2
FS Variable Type: Range of Values
Low Value: 0
High Value: 65535
Multiplier: 1.00
Divisor: 1.00
Integer: Checked
- Press Save
- Exit FS Variable Editor.

Now fire up FS2Phidget and assign ENGINE_1_OIL_PRESSURE to a digital output.
You can always use the emulated Interfacekit to play with.
You should be able to observe the "oil pressure" in the FS Value column.
- Press the Configure... button.
- Set the Min slider for "The LED will illuminate on Min thru Max Value" to 0.
- Set the Max slider for "The LED will illuminate on Min thru Max Value" to a low value, say, 299. By now you will have observed an oil pressure value in the FS Value column while the aircraft is idling. You will want to set the max value lower than the idle pressure.
The led will go on when the oil pressure is at any value from min to the max slider values.
- Press Finish button.
- Enable the digital output, by pressing button in the Enable column.

Try it out!

One cannot control a led directly with a switch using current version of FS2P.

Regards,
Alan.