No video

Controlling X-Plane 11 with Arduino & MULTIPLEXERS (Home Cockpit Build Basics)

  Рет қаралды 8,205

Fun of Flying

Fun of Flying

Күн бұрын

In this video I'll be demonstrating how to incorporate a 16 channel multiplexer into a circuit with an Arduino Leonardo microcontroller and seven toggle switches.
I'll also be showing you how to connect up all of the wiring between the individual components and how to write the associated Arduino IDE sketch code required to make it all work seamlessly within X-Plane 11.
#Arduino #Multiplexers #HomeCockpitBuilds #XPlane11

Пікірлер: 33
@mauriciocamataful
@mauriciocamataful 2 жыл бұрын
Hello Paul, thanks a lot for your wonderful video. Please my friend, keep with your videos, they are very helpful for home cockpit builders and I am sure that they are one of the best step by step videos here in the KZfaq related this theme. Best regards
@funofflying15
@funofflying15 2 жыл бұрын
Many thanks Mauricio for your very kind words, much appreciated :-) I hope that you find the video useful!
@humberto367
@humberto367 2 жыл бұрын
Hello Paul! honoring the friend's channel! keep giving us great videos! stay safe!🪂👍💯
@funofflying15
@funofflying15 2 жыл бұрын
Many thanks Humberto, hope the video will be of help to you with your own projects :-)
@groupwork4871
@groupwork4871 9 ай бұрын
Hey Paul, thanks for making this video. We've just got into 3D printing and printed/ wired yoke and pedals. This is the next project. Is the fritzing
@funofflying15
@funofflying15 9 ай бұрын
Glad it was helpful and good luck with your project 😎
@jackflight2756
@jackflight2756 2 жыл бұрын
Fantastic: why? Because you translate the Arduino code into normal English language! There are a lot of Arduino movies on the internet, but only a few of them is doing it the way you do it. Although I’m building a homecockpit for the DCS A10C, your movies are still a great source of information for me, because of the above mentioned reason! Thank you very much!!
@funofflying15
@funofflying15 2 жыл бұрын
Hi Jack, many thanks for your very kind comments, they are much appreciated 😎. Also a very warm welcome to the channel! Although I have spent a lot of time working with XP11 and on occasion MSFS2020, I’m planning to start working on DCS in the near future and I’ve already purchased the F/A 18C Hornet to play about with. Hopefully videos on this to follow? If you need any assistance at any time, please let me know? Kind regards Paul 😎
@bob-ny6kn
@bob-ny6kn Жыл бұрын
Hi Paul. Keep having fun! Tmx.
@donaldmackay6749
@donaldmackay6749 2 жыл бұрын
Hi Paul, Thanks for taking the time and effort to do a end to end explanation for this process. I am about to embark on the great adventure of building a TDM940 cockpit and yours is the first really clear flow chart of how things are prperly staged and read. Awesome so thanks again. I did notice that your code could have been refactored to be considerably shorter but I am not criticizing at all sir. If you would like I could refactor a copy for you. As you move forward with multiplexers it with make debugging immensely much easier. Dan
@funofflying15
@funofflying15 2 жыл бұрын
Hi Dan (or should that be Don??) Many thanks for your kind words, very much appreciated my friend :-) It looks as though you are about to take on quite a massive project with the TBM940 cockpit, so I hope everything progresses nicely. With regard to my multiplexer sketch code, please by all means send me your re-factored version, I'm always willing to learn new ways of doing things. As I've often said in my videos, I'm certainly not a computer programmer, but have still somehow been able to 'knife and fork' all of my codes together, simply from bits and pieces I've picked up on the interweb, so this is still all very knew to me! Kind regards and thanks again :-) Paul PS where do you live in the world, I always ask people as I like to know where they come from when communicating with them :-)
@donaldmackay6749
@donaldmackay6749 2 жыл бұрын
@@funofflying15 Hi Paul, My nickname is Dan. There is absolutely nothing wrong with your code, as it works! I can make it more compact and hopefully easier to read. Dan
@OsoCantaor
@OsoCantaor 2 жыл бұрын
Great work. I got a homecockpit too. And I hope to apply your knowledge in the future.
@funofflying15
@funofflying15 2 жыл бұрын
Welcome to the channel and very good luck with you home cockpit setup :-) If you need any help, then please let me know? Kind regards Paul
@OsoCantaor
@OsoCantaor 2 жыл бұрын
@@funofflying15 Here i go with the first question. Does the code that appears in the video work for the Arduino Mega 2560?.
@funofflying15
@funofflying15 2 жыл бұрын
Hi there, the only Arduino microcontrollers that work in this way are the ones based on the ATmega32u4 with USB serial support, namely the Due, MKR, Micro and Leonardo. I have always used the Leonardo in all of my videos. Hope this helps, regards Paul 😎
@dannyk5084
@dannyk5084 Жыл бұрын
This is such a great video! Could you do you on using an ssd1306 Oled display with xplane?
@funofflying15
@funofflying15 Жыл бұрын
Hi Danny and welcome to the channel :-) I've never personally used the SSD1306 display in any of my projects, but having looked into it, I understand that it is possible to use the display with Arduino, although I'm not sure how this could be interfaced with X-Plane? Let me do a bit more research and I'll see what I can come up with? Kind regards Paul (Bedford, UK)
@dannyk5084
@dannyk5084 Жыл бұрын
@@funofflying15 Sounds great! Perhaps we can share code sometime. I'm using Teensys which have Flight sim controls plugin for x plane 11. I don't know if you've explored Teenys or not. Anyways I love the channel!
@andygorman858
@andygorman858 2 жыл бұрын
Great video and was exactly what I was looking for. I’m planning to build a smaller home cockpit (something like a Sonex or small high wing LSA), so the need for lots of switches is a lot less……one question though is can you also add throttle controls through the mux’s? Some you only used 7 pins on the mix I’m also guess you can add more switches (and relevant code), to the same board?? Was planning on using the ATMega board but if I can use the Leonardo j stead (cheaper…..), then I think I might be onto something! Again, thank you for the great vid…..off to watch your others 😂
@funofflying15
@funofflying15 2 жыл бұрын
Hi Andy and welcome to the channel 😎 Just to let you know however, that I am currently away on a long vacation onboard my boat, so currently do not have access to my home computer. With regard to multiplexers though, I only used a few of the available pins in the video, but you should be able to use all 16 pins (channels 0-15), with the correct code, as you say. With regard to throttle controls, I haven’t yet written code for these to work through a multiplexer, so can’t at this stage confirm if it will work? However I could easily test this when I eventually get home and will let you know then. Apologies in the meantime for the delay. Kind regards Paul 😎
@thedude5-6
@thedude5-6 2 жыл бұрын
Great info
@feliperojo1206
@feliperojo1206 2 жыл бұрын
GOOD PROJECTS
@user-du9kf6hs4m
@user-du9kf6hs4m Жыл бұрын
i have turbidity sensor code and one sample code which is for transfer the data in hmi ,,i have issue when i merged the both code then i am not able to read the sensor data in hmi , using arduino mega 2560 board . can u help me pls?
@funofflying15
@funofflying15 Жыл бұрын
Hi there, I very sorry but I’m now on extended vacation onboard our boat and consequently internet access is very limited. Also, I do not have access to my home computer or any of my files. I will however be going home again for a few days in three weeks time, so I may be able to assist you then? Apologies again.
@klaasklunder6982
@klaasklunder6982 2 жыл бұрын
Hello Paul, Thanks for your always informative and easy to understand videos, Gives me an extra push to flying x-plane. Hope you can do more videos. How can I get the sketch code from this project? The hardware and the wiring I can do, but with my 80 years the sketch code is some different piece of cake! Regards Klaas
@funofflying15
@funofflying15 2 жыл бұрын
Hi Klaas, very nice to hear from you and many thanks for your kind comments :-) I will of course be producing more videos, but in the meantime, please contact me by email at funofflying@gmail.com so that I can send you the sketch code for the multiplexer video. Kind regards Paul PS Where do you live, the Netherlands possibly?
@klaasklunder6982
@klaasklunder6982 2 жыл бұрын
@@funofflying15 I am Dutch, but living my pension already 10 years in rural Thailand, about 700km north east from Bangkok
@hakanmehmetsendemir3304
@hakanmehmetsendemir3304 Жыл бұрын
Hi Paul, can you share the codes with me? Thank you.👏🏾👏🏾👏🏾
@funofflying15
@funofflying15 Жыл бұрын
Hi there, regrettably I’m now away on long term vacation for a few months and do not have access to my files, which are on my PC at home. Apologies for this🙁
@sudaisdrone3228
@sudaisdrone3228 Жыл бұрын
hello paul. Is there any source code for that?
@funofflying15
@funofflying15 Жыл бұрын
Hi there and welcome to the channel! Yes of course, I can make the sketch code available (subject to copyright), although I’m currently away from home, working on a large repainting project for my boat. This obviously means that I cannot access my PC and/or send any files to you right at the moment. When I get home in a few weeks time though, I would be happy to send you the code file then. Kind regards Paul 😎
@sudaisdrone3228
@sudaisdrone3228 Жыл бұрын
@@funofflying15 Ok thanks Paul
How I Did The SELF BENDING Spoon 😱🥄 #shorts
00:19
Wian
Рет қаралды 36 МЛН
Before VS during the CONCERT 🔥 "Aliby" | Andra Gogan
00:13
Andra Gogan
Рет қаралды 10 МЛН
Solving I2C Address Conflicts - TCA9548A I2C Multiplexer
24:29
DroneBot Workshop
Рет қаралды 102 М.
Using EEPROM with Arduino - Internal & External
31:54
DroneBot Workshop
Рет қаралды 195 М.
The coolest robot I've ever built!
19:40
Thomas Burns
Рет қаралды 4,6 МЛН
Getting Started 2023 - MobiFlight Tutorial
25:55
MobiFlight
Рет қаралды 32 М.
The $2 Backlit Button Panel: Simple Method For Flight Sims and More
8:50