How to Wire an LED to MobiFlight (and a secret at the end) | Captain Bob

  Рет қаралды 10,765

Captain Bob

Captain Bob

Күн бұрын

Today I'm going to show you how to wire and configure an LED light to MobiFlight. If you stay to the end I'll also share an annoying life hack for a stall warning horn!
📦LEDs: ebay.us/S34jgs
📦Resistor (68 ohms): ebay.us/qRYniR
📦To annoy people, you will need an ACTIVE piezo buzzer (a passive one requires signal/pulse modulation to produce sound). This one should work: ebay.us/Eevg0n
📦Arduino Mega: ebay.us/6OCrco
📦Jumper Wires: ebay.us/kH8k89 or ebay.us/xVu5KF
📦24 AWG Wire: ebay.us/XCbsal or ebay.us/R5Qyqg
📦12V Power Supply (Haven't tested yet): ebay.us/Htl86R or ebay.us/S1NXTS
📌Choosing a Resistor: www.evilmadscientist.com/2012...
This week I got 1% better at getting into the routine for editing. Now every day once I finish lunch, I start editing.
▶ Join our Discord! / discord
▶ Consider making a donation to improve video quality and fund my Flight Training: www.paypal.com/cgi-bin/webscr...
▶ I have Instagram! Follow @CaptainBobSim for a little bit of behind the scenes.
▶ Become a Patreon! www.patreon.com/Captain_Bob?a...
▶Email Me: CaptainBobSim@gmail.com
▶If a part I design fails, Let me know! forms.gle/NXHzXRura1oR5Tkj9
* * * * *
Disclaimer: I'm a human that makes mistakes. Fortunately, we can learn from them. You are responsible for your safety. As an eBay Associate I earn from qualifying purchases. Sale price is not affected. I use time lapses to shorten the video. To avoid injury and/or death please do not try to match the speed shown in the video.

Пікірлер: 74
@AlphaKilo
@AlphaKilo 3 жыл бұрын
Just when you need to know something, Captain Bob comes up with a perfect video. Your timings are so cool Captain. Thank you.
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thank you for the kind words AlphaKilo! Happy flying!
@Jake-yv3kf
@Jake-yv3kf 3 жыл бұрын
Good to see you are back with the uploads!
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
More to come! If I miss next week feel free to say "Wow what an inconsistent pineapple" on a random video.
@gracebyseven
@gracebyseven 3 жыл бұрын
Keep it up, Capt. Bob! Very much enjoy your videos. Very funny and informative! :)
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thank you Grace By Seven! I'm really glad you thought it was funny :)
@yummy9731
@yummy9731 3 жыл бұрын
My man I love the discord I am still working on my a320 sim and thank you for helping me along the way
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Any time! Good luck with your A320 sim Yummy!
@OXYOXYOXY444
@OXYOXYOXY444 3 жыл бұрын
well done captain bob
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thank you @SIM15 !
@PaulSchulinck
@PaulSchulinck 2 жыл бұрын
Thank you for your very instructive video. I learned from it. I especially like your way of presenting. Cool! The only thing to check out is that it looks that you are nervously jumping up and down a bit. It sure is caused somewhere in the video production software/hardware combo.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Thank you for your kind words Paul! Will check more into it- I think it was because the table the camera was mounted to wasn’t very sturdy. I’ll look more into this with my next videos too. Thanks Paul!
@captsonko.9345
@captsonko.9345 2 жыл бұрын
thanks captain
@chardcable6012
@chardcable6012 3 жыл бұрын
Cool captain
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Thanks Chard!
@borg010564
@borg010564 2 жыл бұрын
great video. Is it possible to show how to connect the altitude knob.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Yeah! kzfaq.info/get/bejne/bd2XmbeInryzj30.html
@dannyvr1225
@dannyvr1225 3 ай бұрын
Thanks Bob, it works fine... can I also control a LED (e.g. the LED of parking brake B737) with FSUIPC7 in combination with an arduino Micro / Leonardo (ATmega 32u4 instead of ATmega328) ??. This without using Mobiflight. With the micro/Leonardo I have a USB controller that recognizes MSFS directly. I can manage to use buttons and potentiometers, but a LED???
@CaptainBobSim
@CaptainBobSim 3 ай бұрын
I'd love to hear how it goes! I'm not sure how you're getting the light data though.
@exorcyst1
@exorcyst1 7 ай бұрын
Hi, do you know if you can dim an LED through Mobiflight without adding resistors? My green lights are way brighter than the red ones. Thx.
@CaptainBobSim
@CaptainBobSim 7 ай бұрын
You can dim an LED using PWM and setting it to a value 0-225. You still need a resistor because of overcurrent so don't try just using PWM. You can also use a higher value resistor to dim the lights.
@exorcyst1
@exorcyst1 7 ай бұрын
@@CaptainBobSim Thx!
@SH-qn2dr
@SH-qn2dr 3 жыл бұрын
I was literally searching for how to wire a led this morning
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
What a coincidence! Have an awesome day Sebastian!
@KiKoLaw
@KiKoLaw Жыл бұрын
🙏
@bradybrother100
@bradybrother100 3 жыл бұрын
Do I still need a resistor when the power is getting distributed to lets say 12 LEDs?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Should work, as long as your current is good. Most common LED's require voltage of between approximately 1.2 to 3.6 volts with a current of about 10 to 30 mA, with 12 to 20 mA.
@miketango507
@miketango507 2 жыл бұрын
sorry maybe a dumb question.. u said "long leg" is positive, (+) and here I can see you connect to GND.. make any difference? I am new in the filed so thrilled!. thanks for ur videos..
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
I may have messed it up 😬 Here's something that might help: i.pinimg.com/originals/68/a5/9f/68a59f54e02cf060d591bcae1fa32adf.png Basically: If it's not lighting up, try swapping it :)
@miketango507
@miketango507 2 жыл бұрын
@@CaptainBobSim u r the man!!.. are my fist steps on this electrionic world but with more than 25 on simulation.... and let me tell you.. u are helpe me a lot..~~~thanks!!!
@miketango507
@miketango507 2 жыл бұрын
@@CaptainBobSim try in to update my Throttle case with gear level and Lights!! and just saw it you did!! is my next project!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
@@miketango507 That's so exciting to hear, let me know how it goes Mike Tango!
@miketango507
@miketango507 2 жыл бұрын
@@CaptainBobSim Hi there!!. just begins with my setup. follow yours steps. got my Mega 2560, download MobiFlight version 9.0.0.. but in Extras/Settings/ MobiFlight Modules, despite show Mobiflight Mega. as configured modules, in the very bottom do not show PATH to Arduino IDE.... Iam stuck not idea what is wrong.. any ideas/ thanks ins advance..
@uniteddrones7626
@uniteddrones7626 3 жыл бұрын
On man I’m watching the intro while making this comment and I’m getting excited already I think I know what this is gonna be!!!! And what I’ve been waiting for. think it’d be possible for you to help me figure out how to get the landing gear lights in the 737 up to realism. Green while locked and in position and red while in travel.
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
I believe there are some presets you can use (I skimmed over them) like left right nose up/down you can use individually. Basically manipulate the equation/interpolation/comparison until it displays 1 while moving to turn a certain LED on.
@uniteddrones7626
@uniteddrones7626 3 жыл бұрын
@@CaptainBobSim the part that confuses me still is like is 0 is up and 1600 is down you need green to work both with 0 and 1600. and the reds to work in between those valves to show you the wheels are stuck or in motion so red works with 1-1599. The which gear isn’t the problem. It’s making the leds work opposed to the wheel location
@uniteddrones7626
@uniteddrones7626 3 жыл бұрын
@@CaptainBobSim I hope that helps? I hate being the guy who doesn’t know 🤧
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
@@uniteddrones7626 Oh, I see what you're trying to do now, Use some of the other gear offsets to show when it's moving or not (the nose moving offsets)
@uniteddrones7626
@uniteddrones7626 3 жыл бұрын
@@CaptainBobSim my issue is they never accept my settings when I enter the comparisons they disappear so I’m way lost
@kool_aviation99
@kool_aviation99 3 жыл бұрын
The intro tho 😂
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
A whole lot of "wow" happened!
@fortunatengubeni6410
@fortunatengubeni6410 3 жыл бұрын
dude what do you call that circut board
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
An Arduino Mega 2560
@airlanggarasendrya3519
@airlanggarasendrya3519 3 жыл бұрын
Can i use arduino uno instead of mega?
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
No, it's not compatible. I wrote an article about this here: captainbobsim.com/2020/12/16/mobiflight-arduino-compatibility/
@danielpanek413
@danielpanek413 4 ай бұрын
Hi Bob, it would works on msfs?
@CaptainBobSim
@CaptainBobSim 4 ай бұрын
Yep! Use MSFS2020 instead of FSUIPC and search up your function - I usually use "Generic"
@danielpanek413
@danielpanek413 4 ай бұрын
@@CaptainBobSim Can i use Aurdino Uno? Thanks for you answer
@CaptainBobSim
@CaptainBobSim 4 ай бұрын
@@danielpanek413 Yep!
@danielpanek413
@danielpanek413 4 ай бұрын
@@CaptainBobSim Thank you!! Please keep doing those videos 🙏⭐️
@wingnutnb
@wingnutnb 2 жыл бұрын
Hey Trevor, Just wondering if you can give me a hand on an issue. I am doing some flying in DCS which I do not believe Mobiflight covers. However, I understand that 9.3 now covers joysticks. What I would like to do is set up a few LEDs to light when certain joystick buttons are pushed. In other words I just want a light to come on when I deploy AIR Brake for instance. So what I would like it to do is turn on the light when the joystick button is pressed without interacting with a simulator. Do you know if it is possible? I have set up INPUT as my T16000M and device as Button 3 but I am not sure what to select from the On Press or ON Release drop down boxes. Also, not sure what to select on the Output side. I know this is a bit strange but I just wonder if it is possible. Really appreciate any advise you might have. Thanks Kevin
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Let me get back to you on this :)
@wingnutnb
@wingnutnb 2 жыл бұрын
@@CaptainBobSim Thanks, appreciated!!
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
@@wingnutnb Hey Kevin! It was easier than I thought it would be! I started out by creating an input variable let's call it "LedLight" Plug your joystick in and for module select your joystick Name your variable and If you want it a flick switch: For on press say value of 0 and on release say value of 1 (or swap 1 and 0) If you want it a button (this can easily get out of sync, so be warned) for on press say if($=1, 0, 1) this will make it so that if the value is one it will turn to zero, but if it is not one, it will turn to one. Regardless, go under output, and display Choose your arduino and pin. There you have it! If it gets out of sync, you can move the lever in the sim using your mouse to re sync it. You can also press stop on mobiflight and press the joystick. Lemme know if there's anywhere you need further help!
@wingnutnb
@wingnutnb 2 жыл бұрын
@@CaptainBobSim Thank you so much, I will give to a try tomorrow. As always you and your videos are such great resource for those of us in the home cockpit world. Thanks again
@wingnutnb
@wingnutnb 2 жыл бұрын
Hi Trevor, As you can tell I am new to Mobiflight so I am not sure that I completely understand your directions. However, after working my way through it seems that it may not work as a toggle. In other word press once "light Goes On' press again Light Goes Out" . Am I correct on this assumption. Thanks, I hope I am not wearing out my welcome here, but I do appreciate your help. If you do not have the time let me know as I understand that you are busy. Thanks Again.Kevin
@oneaokguy
@oneaokguy 3 жыл бұрын
Do some RGB leds
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Same concept, except each pin has a different configuration, and all go to ground. I'll do a video about this way in the future :)
@santiagoluib3
@santiagoluib3 Жыл бұрын
it would help if the video is a little higher in resolution? i could barely read what's on your "green screen" :) but a good guide nevertheless :)
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Agreed! I set it to HD for future videos :) I thought it was but "Canvas Resolution" is different than "Output Resolution"
@santiagoluib3
@santiagoluib3 Жыл бұрын
@@CaptainBobSim Thanks! While we're at it, have you (or are you able to) figure out how to access FenixA320 variables, specifically for FCU/AP numbers? and perhaps buttons states as well, eg. AP1/2, FD, LS so we could light LED up?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
​@@santiagoluib3 Use a MSFS2020 event instead of fsuipc. just filter to "fenixsim" under manufacturer. hubhop.mobiflight.com/presets/
@santiagoluib3
@santiagoluib3 Жыл бұрын
@@CaptainBobSim thanks but I can't find what i'm looking for. There are "ACTUAL" Aircraft speed,altitude,hdg but I wanted the AP/FCU ALT, SPD, HDG, VS set on the FCU :) I guess these aren't directly available from Fenix, I heard other ppl used some hacks to get to this. Thanks anyways.
@kool_aviation99
@kool_aviation99 3 жыл бұрын
Boeing 777 or Boeing 787
@CaptainBobSim
@CaptainBobSim 3 жыл бұрын
Hmmm Both great airplanes! I like them both for different reasons. I'd prefer to fly the 777 as a pilot, because it's a beautiful aircraft, but from a consumer perspective I'd rather fly the 787.
How to Connect a Servo with FSX using MobiFlight | Captain Bob
16:26
Configure the Altimeter | C172 #45
41:39
Captain Bob
Рет қаралды 3 М.
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,2 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 29 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 79 МЛН
Adding LED Switches and LED Pushbuttons to your Cockpit
3:36
joshuamarius
Рет қаралды 22 М.
Tuto#3 : Fabrique ton PILOTE AUTOMATIQUE pour FLIGHT SIMULATOR 2020 !
30:17
Sim Break Out Board (BOB)
23:19
Karl Clarke
Рет қаралды 10 М.
Porting Python to a terrible $3 smartwatch
1:11:17
Poking Technology
Рет қаралды 113 М.
Making Flight Sim Panels with my eBay Laser
17:35
The Warthog Project
Рет қаралды 432 М.
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,7 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2,4 МЛН