MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
kayvee123
Posts: 3
Hi

Just set up my first board today to control a set of lights, mainly consisting of On-On switches and On-Off-On switches (On-On switches set up as On-Off).
I've found that on every one I've created I have to reverse the On Press and On Release.

I've wired it as follows. The common pin on the switch to ground, and the load pin(s) are connected to the I/Os on the Mega board.
On MobiFlight I've had to set it so On Press = Beacon_Lights_Off and On Release = Beacon_Lights_On.

Is this correct or have I missed something here?

It gets even more confusing for the On-Off-On switches where I created two inputs and have to remember to reverse the two.
I.e. for the landing lights in A32NX
Landing Lights on which has On and Off actually has the values:-
- Input Landing Lights On (switch goes up) - Landing lights retract (On Press) and Landing Lights Off (On Release)
- Input Landing Lights Retract (switch goes down) - Landing lights on (On Press) and Landing Lights Off (On Release)

I've checked the wiring and wires aren't mixed up.

Any help appreciated.

Thanks
Kish
2022-01-15 21:08
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Can you give us a datasheet of the Switches ?

Sounds like a "NC NO" Problem.... A Switch can be a "Closer" means when released the circuit is not closed..... When pressed you close a circuit from Pin A to Pin B
otherwise a "Opener" is inverted.... Here a switch in release(Off) position the circuit is closed (connection between A and B ) and when pressed the circuit get cut .

Best way to test this..... Do you have a Multimeter ?

If yes .... Choose the "continuity test" of the Multimeter..... So you will hear a "beep" if the two sensor sticks touch together.
Then set one to the PinA and the other to PinB
If you hear the beep then BUT you no longer hear it when button is in ON Position..... Then you know you have a NC Switch instead of a NO
Good Luck !
2022-01-15 21:37
Avatar
kayvee123
Posts: 3
Hi

That was a quick reply.
Link to data sheet: https://static.rapidonline.com/pdf/75284t_v1.pdf

I have a multimeter so will check. I’m guessing it’ll be a quick beep? Or do you mean it’s constantly connected?

Thanks
Kish
2022-01-15 21:48
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Thanks for the Data Sheet.

You see the awnser on page 2 .... Now the question is WHAT of the available switches you got ( The data sheet is for all.... But pretty sure you just got 2 types of them)
The Single Channel looks logical.... The DP ones sounds may a little more difficult and need some rethinking of the used Pins.
Good Luck !
2022-01-15 22:04
Avatar
kayvee123
Posts: 3
OMG!

I know what I have done. In my head I thought that the pin matches with the direction on the switch, i.e. switch up is top pin. It’s actually the opposite.

Sorry I’m a newbie to this but hopefully now if someone else makes this same mistake they see this.

It was your tip to use the multimeter that made me spot it so thank you very much.

Kish

Ps great tool and I’m already planning my next upgrade to my prototype
2022-01-15 22:18
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
No Prop....

Believe in me.... 99% of Users ( Including myself , Stephan and also Sebastin himself) at beginning make those misstakes.

You already now know the solution.... A Multimeter is your best friend ! :thumbup: ( Next to google :love: )
Good Luck !
2022-01-15 22:24
icon