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
nicher
Posts: 5
Dear fellow aviation enthusiasts.
I would like your guidance.

Objective: power 12v stickshakers once mobiflight detects a stall situation.
System: MEGA connected (via pin 2 and pos, gnd ) to a relay.(VCC = pos, gnd to gnd, pin 2 to IN+). The relay i am using is attached.
software: Mobiflight. i program pin 2 as led/ouput and use the inbuilt fsuipc offset for stall. the offset works no problem.
Problem. i cannot make the relay switch. I can only make the relay LED, light on and off (but only if i remove the GND pin?).

Thank you
Relay
https://dratek.cz/arduino/2948-modul-rele-12v-1-kanal.html?gclid=CjwKCAjw9r-DBhBxEiwA9qYUpYAuXZkpSO0b8m8j2pv2Ek6HcQXNOfn0grmpDRid0umPbCE5QAgNOhoCLrEQAvD_BwE
2021-04-09 15:33
Avatar
nicher
Posts: 5
https://dratek.cz/docs/produkty/0/577/1517436347.pdf

i do not know how to attach this yet (my appologies)... thank you
2021-04-09 15:34
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hi nicher,

welcome to MobiFlight!

It seems that you use a relay what needs 12V. The Mega directly can deliver only 5V because this it its operating voltage. You should use a 5V relay.
Grüße,
Stephan (Time: UTC+2)
2021-04-09 18:18
Avatar
nicher
Posts: 5
https://forum.arduino.cc/index.php?topic=688617.0
2021-04-10 08:44
icon