Connect a Potentiometer to a Flight Sim | MobiFlight Crash Course Episode 9

  Рет қаралды 21,834

Captain Bob

Captain Bob

Күн бұрын

How do you connect a potentiometer (variable resistor) to MobiFlight?
In this video we'll show how to connect a potentiometer to a flight simulator, using Flight Simulator 2020 (FS2020).
🎥Full Course Playlist: • One-Stop MobiFlight Shop
This course is a complete foundation for the MobiFlight Software. From Zero to Hero!
🎥All MobiFlight Videos: • All MobiFlight Videos
​👉Get a "Starter Kit" containing everything in the course: captainbobsim.com/product/sim...
⌚Get ahead! Next week's video will be on the microswitch. After that, It'll be on LEDs and RGB LEDs (don't worry - your future is bright).
📦LED Assortment: ebay.us/Vp6SBp or ebay.us/afVU0V
📦Resistor (68 ohms): ebay.us/qRYniR
📦Resistor Assortment: ebay.us/ETjYco or ebay.us/zoeI1p
📦Microswitch: ebay.us/MnYo5l or ebay.us/sxXOkc
This Video Features:
📦Potentiometer: ebay.us/5qRv2U or ebay.us/JwgD44
📦Arduino Mega: ebay.us/6OCrco or ebay.us/r3nN8n
📦Jumper Wires: ebay.us/kH8k89 or ebay.us/lgIp3L
* As always, look for better deals*
🔗Course Links:
📌HubHop: hubhop.mobiflight.com/#/tools
📌Full Course Playlist: • One-Stop MobiFlight Shop
📌Rotary Encoder Video (Like a potentiometer): • How to connect a Rotar...
📌Install MobiFlight Video: • How to Install MobiFli...
📌Learn to Solder: captainbobsim.com/solder
📌How a potentiometer works: wiraelectrical.com/potentiome...
📌LeoBodnar: www.leobodnar.com/shop/index.p...
👨‍✈️Support the Channel:
▶ / captain_bob
▶ www.paypal.com/donate?busines...
▶ www.amazon.com/hz/wishlist/ls...
✈Watch me build my Cessna 172: • Version 3 Cessna 172 P...
LINKS
-----------
Patreon: ▶ / captain_bob
Store: ▶captainbobsim.com/shop
Podcast: ▶captainbobsim.com/podcast
Merch: captain-bob.creator-spring.com/
Thingiverse: ▶www.thingiverse.com/captainbo...
Website: ▶captainbobsim.com
Thank you to Altimeter Motives for being a huge supporter of the show. Check out their products at altimetermotives.com/shop
CONNECT WITH ME
------------
Subscribe: ▶ / @captainbobsim
Instagram: ▶ / captainbobsim
Discord: ▶ / discord
Email: ▶ CaptainBobSim@gmail.com
------------
💻PC Specs: AMD Ryzen 7 5800X 8 Core CPU, 32 GB RAM, 500GB SSD, 3 TB HDD, R9 290 GPU
#Cessna172sdays #flightsim #simulator
DISCLAIMER
------------
As an eBay Associate, I earn a small commission from qualifying purchases. There is NO EXTRA COST to you.
I am but a human being - You are too! As a mortal, you are responsible for your safety. To avoid injury or death, do not attempt to match the time-lapse speed shown in the video.
Chapters:
00:00 How a potentiometer works
03:09 Pot. wiring
04:10 MobiFlight Config Throttle
12:02 The grand reveal!
16:13 Config Pitch
18:38 More infos!!

Пікірлер: 72
@daviesheerin6736
@daviesheerin6736 2 жыл бұрын
I was in the process of losing an entire weekend trying to connect my newly arduino-ed yolk to the sim. Thought I'd made a big mistake committing everything to through a 2560. Then you came along with this absolutely incredible tutorial. And you introduced me to HubHop - and JAMIE ! I could NEVER have pieced all this together by myself. Thank you, Sir.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Hey Davie!! I'm so glad this helped! I've been there too - using an entire weekend to get something to work, I'm really glad this worked! Happy Landings! And best of luck on your sim!!
@hoekstes6830
@hoekstes6830 6 ай бұрын
Me too!
@Hoekstes
@Hoekstes 5 ай бұрын
Thank you so much! I was able to use this video to fix my old Saitek Rudder Pedals with an Arduino Nano and Mobiflight! Now I’ve got my rudder pedals and toe brakes back. Jumping with joy!
@CaptainBobSim
@CaptainBobSim 5 ай бұрын
I'm so glad it helped! That's awesome you got it working!
@Whiteknuckle157
@Whiteknuckle157 2 жыл бұрын
Thank you very much. Just what I need since I'm working on a TQ right now.
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Glad I could help! Good luck on your throttle!
@sonit5455
@sonit5455 2 жыл бұрын
just what i was looking for yesterday
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Hope it helped!!
@sonit5455
@sonit5455 2 жыл бұрын
@@CaptainBobSim it works just perfect! I was tinkering with pot meters before in mobiflight for throttle and instrument lighting but nothing worked until this video. Thanks man. Couldn't find this info anywhere else
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
@@sonit5455 That is wonderful news!! Congratulations!
@sundar999
@sundar999 10 ай бұрын
This was well explained, but you should demonstrate for Prepar3D or FSX too. You've got great content Captain Bob 😊
@CaptainBobSim
@CaptainBobSim 10 ай бұрын
It works for Prepar3D and FSX but I can't show every simulator for every configuration
@steffgrunwald8881
@steffgrunwald8881 Жыл бұрын
Hi Thanks for these fantastic tutorials! I'm new to mobiflight and making things in general for flight sim. I have built the 737diy non - motorized throttle unit, can I use an uno to process the inputs of my potentiometers in MSFS2020 using the PMDG 737?I can't seem to find any presets for this and am open to do some learning to achieve my goal. But is it doable to start?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
I'd first test the generic events under the flight sim 2020 tab. To make sure PMDG is compatible with them (you can follow the video but when making a variable set it to a number (511 is 50%) and see if manipulating the number does anything. I'd recommend watching my second "advanced" poteniometer video which shows how to map it to a variable.
@dannyvr1225
@dannyvr1225 Ай бұрын
Nice thanks, Do you know how to do this for the B737 speedbrake? I can't find a command for this....thanks in advance...
@rocky23_77
@rocky23_77 2 жыл бұрын
Hey great video. I have some problems currently wiring multiple arduinos with a external 5V power supply and get it working in mobiflight. Do you or anyone else know where I can find more information to that?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Hello! The arduino forum is super great with that, there's loads of solutions already: forum.arduino.cc/t/powering-multiple-arduinos-with-the-same-power-source/225752 arduino.stackexchange.com/questions/21061/two-arduinos-one-power-source I googled "connect multiple Arduinos to one power supply"
@pure4wood501
@pure4wood501 Жыл бұрын
Hi CaptainBob, You make great videos! Calm voice and clear explanation. As a beginner I have a question. Once the board is programmed, it doesn't work independently for me. I always have to load MF Connector for it to work. Is that the intent or am I doing something wrong? I hope you will help me. Thank you very much for that.
@CaptainBobSim
@CaptainBobSim Жыл бұрын
That is the intent - MobiFlight is a software that has to be running for the connection from Arduino to flight simulator to be made. Use the "Autorun feature" then mobiflight should run automatically.
@pure4wood501
@pure4wood501 Жыл бұрын
Thanks for your quick reply. However, I am concerned that MobiFlight will try to overwrite my Arduino Leonardos (programmed as joystick in Arduino IDE sketch) which are in the same setup. Then the suffering is incalculable..... (So it has already happened once, but maybe I clicked the wrong button...)
@CaptainBobSim
@CaptainBobSim Жыл бұрын
@@pure4wood501 Yes, MobiFlight will overwrite it. If you flash a mobiflight board it can only be a mobiflight board
@usetech2133
@usetech2133 8 ай бұрын
hello bob thank for sharing, can you tell me how to add potentiometer to tiller im msfs 2020 a320nx thanks
@CaptainBobSim
@CaptainBobSim 8 ай бұрын
Hi! I think you would find my advanced potentoimeter video useful
@philmessenger4655
@philmessenger4655 2 жыл бұрын
Greetings Cap'n Bob Love your videos. Please consider a video on interfacing Alvaro Alea's directional compass with the heading bug. I've built one but the two rotary switches have me stumped. I don't want to just make it another wiskey compass. You're far more savvy than I am. Hoping you do it. Thanks
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Hello Phill! I'm designing my own instruments to have configurable with MobiFlight, and won't be making a tutorial for Alvaro Alea's compass unfortunately :( but I will do mine once they are designed. Use 07CC 2 Autopilot heading value, as degrees*65536/360 for the little indicator and 0580 4 Heading, *360/(65536*65536) for degrees TRUE.[Can be set in slew or pause states] You can use the altimeter video and the compass video to help show the concepts with this. I can help you with this if you should get stuck
@philmessenger4655
@philmessenger4655 2 жыл бұрын
@@CaptainBobSim Thanks Cappy. Good luck with your projects. I hate to see you struggle but you will learn much
@malmsteen1973
@malmsteen1973 2 жыл бұрын
Hi, there! Captain Bob, any chance to make it work for FSX?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Haven't figured it out yet - I'll need to do some more testing
@jimhinkle7245
@jimhinkle7245 6 ай бұрын
Hi Trevor, I followed your tutorial here (thank you for your channel!!!) and I have an issue. When I use a pot for the C172 throttle, it will ALWAYS go back to zero? I can put the put at 100% power and it will go to 100% in MSFS 2020, but again, it will ALWAYS return to zero when the pot is still at 100% Do you now why this is happening? Thanks again!!!
@CaptainBobSim
@CaptainBobSim 6 ай бұрын
Hi Jim! What are the values saying in your window when it goes back to zero after 100? Keep in mind this could potentially be a conflict with a joystick if you have one connected. You may also find my advanced potentiometer video helpful.
@jimhinkle7245
@jimhinkle7245 6 ай бұрын
@@CaptainBobSim I think I got it Trevor!!!! I used the Hubhop and without adjusting anything, it's working smooth. I just need to adjust the values now. Thanks again!!!
@CaptainBobSim
@CaptainBobSim 6 ай бұрын
Perfect!! I'm so glad to hear!
@srp01983
@srp01983 2 жыл бұрын
X-Plane 11 - Managed to get a parking brake indicator working using this tutorial as a basis, which is a big success for me as I have never used an arduino before, or a flight sim, or Mobiflight come to that! But I could not get my yoke potentiometers to work - everything ok in Mobiflight when I checked the debug logging, put the values into the Hubhop code generator, but sadly the yoke doesn’t move for either the pitch or the elevator. The arduino appears in Device Manager under Ports, on COM5. Checking the settings in X Plane shows no yoke connected so X Plane obviously defaults to using the mouse - maybe that’s the problem??? Or maybe the Hubhop code doesn’t work with XPUIPC??? Any ideas?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
The hubhop code is only for MSFS 2020, I'm sorry :( I believe there might be a way to do this with XPUIPC, but I haven't found it yet
@srp01983
@srp01983 2 жыл бұрын
@@CaptainBobSim Thhanks for the response. I’d hoped that it would work because the offsets for elevators and ailerons are the same in FSUIPC and XPUIPC. Oh well, I think I may have to buy a copy of msfs2020 instead - it seems that not many of the KZfaq home-builders are using x-plane. But thanks for the instructional video - at least I know a bit more about Mobiflight now!
@noneNone-mw1px
@noneNone-mw1px 2 жыл бұрын
Capt what website did you download the fusion 360?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
www.autodesk.com/products/fusion-360/overview?mktvar002=4263540|SEM|1618310827|64140214467|kwd-330308867034&gclsrc=aw.ds&&ef_id=Cj0KCQiAxoiQBhCRARIsAPsvo-yfaWq32DgkNSbDgBOOYLsu-PGKLwQan3MbzZhX4FI5gj6hx279ExkaAkjDEALw_wcB:G:s&s_kwcid=AL!11172!3!569531517089!e!!g!!fusion%20360!1618310827!64140214467&mkwid=s6G86eZ0j|pcrid|569531517089|pkw|fusion%20360|pmt|e|pdv|c|slid||pgrid|64140214467|ptaid|kwd-330308867034|pid|&GGL_DM_Fusion-360_AMER_US_eComm_SEM_BR_NEW_EX_ADSK_3529781_&G86eZ0j|pcrid|569531517089|pkw|fusion%20360|pmt|e|pdv|c|slid||pgrid|64140214467|ptaid|kwd-330308867034|&gclid=Cj0KCQiAxoiQBhCRARIsAPsvo-yfaWq32DgkNSbDgBOOYLsu-PGKLwQan3MbzZhX4FI5gj6hx279ExkaAkjDEALw_wcB
@rocky23_77
@rocky23_77 2 жыл бұрын
Hey Bob, I first tried it on the stable version but it didnt work, is it possible that it only works in Beta version?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
No, this was a few releases ago and should work in the newest version, however it only works with FS2020.
@kenichi5717
@kenichi5717 6 ай бұрын
hi can i use xplane12 for this? i was thinking to set it for throttle
@CaptainBobSim
@CaptainBobSim 6 ай бұрын
It should work! Refer to the Advanced Potentiometer video
@TumbleTrashOfficial
@TumbleTrashOfficial Жыл бұрын
does this work for more than MS2020?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
No, if you want to use other simulators look for my "Advanced Potentiometer" Video
@marcus288998
@marcus288998 Жыл бұрын
How about slide potentiometer. Can you connect it to mobiflight?
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Yep! These are both the same electronic, but they use a different motion to change resistance. Same process :)
@ericdozi
@ericdozi Жыл бұрын
Hello captain, inside debug of Mobiflight, the value is changing but the yoke doesn’t move inside the cockpit of c172 g1000 of asobo (msfs20), can you help? Thanks
@clementleloch7664
@clementleloch7664 Жыл бұрын
i have a question for you. The question is can i use a arduino uno same as you are using your arduino mega ? if yes why don't you use an arduino uno instead of an arduino mega that is more expensive. have a great day captain bob🧑‍✈
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Yes, but unos are not as reliable and have much less pins per dollar captainbobsim.com/2020/12/16/mobiflight-arduino-compatibility/
@xota1973
@xota1973 11 ай бұрын
Does this work with auto pilot knobs?
@CaptainBobSim
@CaptainBobSim 11 ай бұрын
I'd recommend a rotary encoder
@kamokekamoke9121
@kamokekamoke9121 2 жыл бұрын
Did we configure with fsx as same ?
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
Refer to my advanced potentiometer video for how to do this
@Thomas-Designs
@Thomas-Designs Жыл бұрын
So, I plug the potentiometer to the 5v, ground and A0. Every time my pot. Spins all the way in one direction the leds get really dim and the ardiuno turns off.
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Could you send a link to your pot? it's possible your pot's wiring is different than mine
@Thomas-Designs
@Thomas-Designs Жыл бұрын
@@CaptainBobSim thanks for mentioning the wiring, turns out I had the wiring switched around 🤦‍♂️
@CaptainBobSim
@CaptainBobSim Жыл бұрын
Glad you fixed it!
@pavlejokanovic9133
@pavlejokanovic9133 11 ай бұрын
Hey can you make tutorial how to connect it to flight sim with Arduino uno
@CaptainBobSim
@CaptainBobSim 11 ай бұрын
Mobiflight is compatible with the uno just follow this tutorial but use uno pins instead of mega pins
@pavlejokanovic9133
@pavlejokanovic9133 11 ай бұрын
@@CaptainBobSim but their website say it's compatible with just mega and mega mini something like that I have Arduino uno R3 can I do it with that
@pavlejokanovic9133
@pavlejokanovic9133 11 ай бұрын
​@@CaptainBobSimI did it and when its time to choose the action type I don't have msfs custom inp I have just msfs 2020 what should I do
@CaptainBobSim
@CaptainBobSim 11 ай бұрын
@@pavlejokanovic9133 It's not recommended but you can do it
@CaptainBobSim
@CaptainBobSim 11 ай бұрын
@@pavlejokanovic9133 Click msfs 2020 and check the custom input box after selecting a preset
@andreslot6134
@andreslot6134 4 ай бұрын
Am I the only one here who comes for the silly jokes?
@attyrorylodge
@attyrorylodge Жыл бұрын
HOW I KNOW MIDLE ONE SHOULD BE GROUND IS NOT
@CaptainBobSim
@CaptainBobSim Жыл бұрын
RULE OF THUMB: If it's clicky it's a rotary encoder and the middle one is ground. If it's smooth it's a potentiometer and the middle is signal. When you purchase, it will tell you if it's a potentiometer or a rotary encoder.
@glennledrew8347
@glennledrew8347 4 ай бұрын
Knowing how to read the output of a measuring instrument is a skill which should be obtained by grade 9. At least that's when I was introduced to the slide rule, decades ago. A few minutes of preparatiom should have got you up to speed on reading an Ohmmeter's output. And your reading of the display which put the decimal in the wrong place was grotesque in the extreme. Only magnified further by demonstrating that you didn't know what the device is called. I cringed hard in sympathetic embarrassment while watching this.
@CrisMedia79
@CrisMedia79 2 жыл бұрын
Muchas gracias desde España, funciona OK. Eres un genio! kzfaq.info/get/bejne/Y7VoqZSdppm2c40.html
@CaptainBobSim
@CaptainBobSim 2 жыл бұрын
¡Gracias por sus amables palabras! ¡Me alegro de que funcione!
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 42 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 64 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 10 МЛН
Installing Windows 10 Government Edition Officially! | 2024
2:30
Flight Simulator 2020... we are in a new Crysis Era!
22:32
JayzTwoCents
Рет қаралды 2,3 МЛН
How to Connect a Servo with FSX using MobiFlight | Captain Bob
16:26
1958 FACOM 128B Japanese Relay Computer, still working!
24:05
CuriousMarc
Рет қаралды 1,4 МЛН
How backspin ACTUALLY works - in super slow motion
15:50
Steve Mould
Рет қаралды 680 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 168 М.
Blue Mobile 📲 Best For Long Audio Call 📞 💙
0:41
Tech Official
Рет қаралды 1 МЛН