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! 

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: 5474
Supporter
Should be awnserd on Discord yesterday... right ?
Good Luck !
2022-05-12 12:29
Avatar
Whiteknuckle157
From: Bayern - Bibertal, Germany
Posts: 48
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