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
rosmanczyk
Posts: 1
Hey there guys,

I'm currently trying to solve the problem of having two buttons control a PWM signal. One button shall increase and the other decrease the PWM signal in Mobiflight.
This signal then is meant to drive the gate of a IRFZ44N mosfet.
The idea with this setup is I want the mosfet to dim a whole set of LEDs within one circuit. (not with a potentiometer)

What I figured (hopefully correctly) is that I need 3 pins in total on an Arduino: two for both buttons and one PWM pin for the gate of the mosfet.
How do I control this PWM signal via mobiflight now with the two buttons to in turn control LED dimming? :confused:

Thanks a lot for any help!
2022-05-11 22:13
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Should be awnserd on Discord yesterday... right ?
Good Luck !
2022-05-12 12:29
Avatar
Whiteknuckle157
From: Bayern - Bibertal, Germany
Posts: 50
iconrosmanczyk:



How do I control this PWM signal via mobiflight now with the two buttons to in turn control LED dimming? :confused:



Short answer: You don't. Use a Nano instead and avoid a lot of headaches.

cheers
Volker
2022-05-12 17:40
icon