Search found 2063 matches

by jph
Mon Sep 26, 2022 4:00 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 412

Re: Real battery switch turning off Real gear lights

No worries, when you have finished it as it is with what you have and what you can manage then PM me with the code and I will sort it if you want.
by jph
Mon Sep 26, 2022 3:45 pm
Forum: Air Manager Help
Topic: Air Manager panel disconnects from MFS2020.
Replies: 5
Views: 68

Re: Air Manager panel disconnects from MFS2020.

I would agree with Keith in the area of it probably being in your code. They may well have changed something in the MS game and your code is handling something badly - locked in a loop until something happens - or doesnt ..... ;) Remove the instruments one by one to isolate the issue and look for co...
by jph
Mon Sep 26, 2022 3:26 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 412

Re: Real battery switch turning off Real gear lights

It doesn't matter if they are on different devices. That's no issue. I presume you fire a command or dataref with the switch ?. All you have to do is make the lights for the landing gear and anything else dependent on their being power. There will be a dataref for this. You just add a condition for ...
by jph
Mon Sep 26, 2022 2:34 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 412

Re: Real battery switch turning off Real gear lights

Where does your battery switch connect to ?
by jph
Mon Sep 26, 2022 2:09 pm
Forum: Air Manager Help
Topic: Air Manager panel disconnects from MFS2020.
Replies: 5
Views: 68

Re: Air Manager panel disconnects from MFS2020.

Does it do it on any other panel - a basic cessna panel for example ?
by jph
Mon Sep 26, 2022 1:55 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 412

Re: Real battery switch turning off Real gear lights

1, yes, sort of ... it means that if you just connected the source and drain and left the gate floating the device would be OFF and no current would flow. In this circuit, we need to make the 'gate' negative in respect of the 'source' (14V) so we need to have a PD (Potential difference) of > 13V BEL...
by jph
Mon Sep 26, 2022 1:27 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 412

Re: Real battery switch turning off Real gear lights

lol so you now have a hole where your electron should be - as the hole appears to move... x files music :) This isn't a depletion mode device it is an enhancement mode . Think of normally closed v normally open . This is normally OPEN - no current will flow from source to drain until you bring the g...
by jph
Mon Sep 26, 2022 11:37 am
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 412

Re: Real battery switch turning off Real gear lights

Ok, The N R L lights (and the transit) could be easily dimmed in code as it is so you always have that option. You would only need to make changes to the code, not to the wiring or circuit. Do you have the potentiometer for the dimmer wired up to the arduino yet ? As for the lower diagram, what you ...
by jph
Mon Sep 26, 2022 10:06 am
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 412

Re: Real battery switch turning off Real gear lights

Kaellis991 wrote: Mon Sep 26, 2022 10:01 am Thats what i meant. The ULN is connected to gnd rather then the positive side of the psu.
The ULN (the 2803A ) HAS to have it's gnd pin connected to gnd - I still don't understand what you mean ?

pin 9 on the uln is GND - it has to be connected
by jph
Mon Sep 26, 2022 9:50 am
Forum: Air Manager Help
Topic: Creation rule in firewall to allow AM internet access
Replies: 2
Views: 34

Re: Creation rule in firewall to allow AM internet access

Press ctrl alt esc, under processes with AM started check the process openjdk platform library and air manager is running under that. In the firewall it will be something like Java(TM) Platform SE Binary. As for avast, ? - on windows ??? best thing you can do is to turn the damn thing off and just r...