Тёмный

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

Fun of Flying
Подписаться 1,5 тыс.
Просмотров 8 тыс.
50% 1

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

Опубликовано:

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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 RU-vid 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 :-)
@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 😎
@groupwork4871
@groupwork4871 10 месяцев назад
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 10 месяцев назад
Glad it was helpful and good luck with your project 😎
@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 😎
@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 😎
@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!
@thedude5-6
@thedude5-6 2 года назад
Great info
@feliperojo1206
@feliperojo1206 2 года назад
GOOD PROJECTS
@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
@Santhihydro
@Santhihydro Год назад
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.
@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 2 года назад
hello paul. Is there any source code for that?
@funofflying15
@funofflying15 2 года назад
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 2 года назад
@@funofflying15 Ok thanks Paul
Далее
MobiFlight's new direct X-Plane integration
17:28
Просмотров 10 тыс.
Decompress small game, have time to play it!
00:35
Просмотров 11 млн
УДОЧКА ЗА 1$ VS 10$ VS 100$!
22:41
Просмотров 410 тыс.
Using EEPROM with Arduino - Internal & External
31:54
Просмотров 195 тыс.
Flight Simulator Switch Panel 2.0 DIY Project
16:14
Просмотров 82 тыс.
Fun with Transistors
24:33
Просмотров 282 тыс.
The 74HC4067 CMOS Analog Switch
12:14
Просмотров 1,1 тыс.
DIY Arduino based RC Transmitter
15:21
Просмотров 1,1 млн