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.
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!!
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!
very nice tuto, but i have a problem: As soon as I choose Microsoft Flight Simulator 2020 instead of Mobiflight Variable, I lose my connection in "sim status" bar at the bottom left. i don't know what to do. Can tou hlep me. Thank you.
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.
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.
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...)
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?
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"
@@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
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
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?
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.
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!!!
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.
@@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!!!
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🧑✈
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 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 UA-cam home-builders are using x-plane. But thanks for the instructional video - at least I know a bit more about Mobiflight now!
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.
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
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
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.
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.
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.
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!!
Me too!
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!
I'm so glad it helped! That's awesome you got it working!
very nice tuto, but i have a problem: As soon as I choose Microsoft Flight Simulator 2020 instead of Mobiflight Variable, I lose my connection in "sim status" bar at the bottom left. i don't know what to do. Can tou hlep me. Thank you.
Nice thanks, Do you know how to do this for the B737 speedbrake? I can't find a command for this....thanks in advance...
Thank you very much. Just what I need since I'm working on a TQ right now.
Glad I could help! Good luck on your throttle!
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.
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.
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...)
@@pure4wood501 Yes, MobiFlight will overwrite it. If you flash a mobiflight board it can only be a mobiflight board
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?
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"
is it better to use 50k or 100k instead of 10k?
hello bob thank for sharing, can you tell me how to add potentiometer to tiller im msfs 2020 a320nx thanks
Hi! I think you would find my advanced potentoimeter video useful
just what i was looking for yesterday
Hope it helped!!
@@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
@@sonit5455 That is wonderful news!! Congratulations!
How about slide potentiometer. Can you connect it to mobiflight?
Yep! These are both the same electronic, but they use a different motion to change resistance.
Same process :)
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
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?
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.
hi can i use xplane12 for this? i was thinking to set it for throttle
It should work! Refer to the Advanced Potentiometer video
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!!!
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.
@@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!!!
Perfect!! I'm so glad to hear!
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🧑✈
Yes, but unos are not as reliable and have much less pins per dollar captainbobsim.com/2020/12/16/mobiflight-arduino-compatibility/
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?
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
@@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 UA-cam home-builders are using x-plane. But thanks for the instructional video - at least I know a bit more about Mobiflight now!
This was well explained, but you should demonstrate for Prepar3D or FSX too.
You've got great content Captain Bob 😊
It works for Prepar3D and FSX but I can't show every simulator for every configuration
does this work for more than MS2020?
No, if you want to use other simulators look for my "Advanced Potentiometer" Video
Hey Bob, I first tried it on the stable version but it didnt work, is it possible that it only works in Beta version?
No, this was a few releases ago and should work in the newest version, however it only works with FS2020.
Hi, there! Captain Bob, any chance to make it work for FSX?
Haven't figured it out yet - I'll need to do some more testing
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.
Could you send a link to your pot? it's possible your pot's wiring is different than mine
@@CaptainBobSim thanks for mentioning the wiring, turns out I had the wiring switched around 🤦♂️
Glad you fixed it!
Did we configure with fsx as same ?
Refer to my advanced potentiometer video for how to do this
Capt what website did you download the fusion 360?
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
Hey can you make tutorial how to connect it to flight sim with Arduino uno
Mobiflight is compatible with the uno just follow this tutorial but use uno pins instead of mega pins
@@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
@@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
@@aviation_srb It's not recommended but you can do it
@@aviation_srb Click msfs 2020 and check the custom input box after selecting a preset
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
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
@@CaptainBobSim Thanks Cappy. Good luck with your projects. I hate to see you struggle but you will learn much
Am I the only one here who comes for the silly jokes?
HOW I KNOW MIDLE ONE SHOULD BE GROUND IS NOT
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.
I'm a time traveller !!!
What is the future like? Is it worth the wait?
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.
Muchas gracias desde España, funciona OK. Eres un genio! ua-cam.com/video/-O8v1lA3RCY/v-deo.html
¡Gracias por sus amables palabras! ¡Me alegro de que funcione!
Does this work with auto pilot knobs?
I'd recommend a rotary encoder