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
Liftmaster
Posts: 11
Gents

I want to try to connect LED’s for the first time. I have a lot of toggle switches but no LED.

I want to use them as my governor lights from the PMDG DC-6 (4 blue for RPM max/min and 4 orange for reverse)
The LED are going to be white since I have blue and orange caps for the LED’s.

I need bright LED because of the light caps. I have 20mA 3.2 - 3.4v LED.
Is it true I need 0,17ohm resistors?

Using 8 LED’s, will be using 8 resistors, right?

Being activated from MSFS and being PMDG I need to set mobyflight via the K<ROTOR… code to turn on the LED?

Thank you for any answer.
Dear regards
Ronald van Ingen
MSFS/PMDG/Volvo
2024-01-07 11:00
Avatar
Liftmaster
Posts: 11
3.4v : 0,02a = 170ohm,…right?
MSFS/PMDG/Volvo
2024-01-07 11:12
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi,
1) YES. Since you drive all LEDs parallel independently from a different PIN, you need separate resistors for them
2) NO. your calculation is not correct. It would work, although a bit dimmer,
Check this for example:
https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-led-series-resistor
The resistor gets the remaining voltage. In your case 1.6 V / 0,02 A = 80 ohm.
But you can play with the values. Higher resistor gives dimmer LED.
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2024-01-09 14:35
icon