How to Wire a 7 SEVEN SEGMENT DISPLAY to FSX using MobiFlight and an Arduino | Captain Bob

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • Hey Guys!
    I hope you are all having a fantabulous day! Today I will show you how to connect a 7 segment display to FSX using a fantastic software called MobiFlight
    7 Segment Displays are very useful in Flight Simulation, you can assign them to COM 1 COM 2, Time, ADF, Autopilot and many more!
    📌MobiFlight: Mobiflight.com
    📦Jumper Wires: ebay.us/kH8k89 or ebay.us/xVu5KF
    📦24 AWG Wire: ebay.us/XCbsal or ebay.us/R5Qyqg
    📦Arduino Mega: ebay.us/6OCrco
    📦12V Power Supply for Arduino: ebay.us/Htl86R or ebay.us/S1NXTS
    📦7 Segment Display: ebay.us/IAGVDp
    ▶ 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...
    * * * * *
    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.
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 82

  • @CaptainBobSim
    @CaptainBobSim  3 ปีที่แล้ว +3

    Note: MobiFlight only supports 7 segment displays with max7219 chips.

  • @kfgaming2005
    @kfgaming2005 5 ปีที่แล้ว +3

    Great video! Very helpful!

    • @CaptainBobSim
      @CaptainBobSim  5 ปีที่แล้ว

      Thank You! I am glad this helped!

  • @brianfletcher7449
    @brianfletcher7449 3 ปีที่แล้ว +1

    Great vid, but my fave part is always the opening theme song. Thumbs way up!

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว +1

      Same here! :) Thanks for watching

  • @arduinomaquinas
    @arduinomaquinas 11 หลายเดือนก่อน +1

    cool job, awesome project, by 👋👋👋Brazil !

  • @zz-mt5zf
    @zz-mt5zf 5 ปีที่แล้ว +2

    Thanks this was very helpfull😁

    • @CaptainBobSim
      @CaptainBobSim  5 ปีที่แล้ว +1

      Oh good! I am glad this helped!💥🌟👍

    • @zz-mt5zf
      @zz-mt5zf 5 ปีที่แล้ว +1

      Captain Bob Hey how many segment display can I connect to one Arduino mega?, if you know🤔

    • @CaptainBobSim
      @CaptainBobSim  5 ปีที่แล้ว +1

      ​@@zz-mt5zf
      Theoretically you could use up to 20 on one board (as there are about 60 usable pins) but the USB power would likely not be sufficient. MobiFlight officially limits 4 displays per MobiFlight Arduino (5th question: www.mobiflight.com/en/documentation/faq.html )
      There are only (3) 5 Volt Pins, so you would have to use a breadboard for more (There are also 3 ground pins, so a breadboard, or similar solution is needed anyways.) 😃
      You can achieve more by wiring displays together. I will show this in a future video 😎
      MobiFlight supports up to (8) 8 digit - 7 segment displays daisy chained together so the maximum is up to 32.
      (I typically use 3 displays per arduino, and daisy chain them 3 long at most.)
      Great Question! 👍✈⭐🌟

    • @zz-mt5zf
      @zz-mt5zf 5 ปีที่แล้ว +1

      Captain Bob Yeah thanks for the super great information, I was thinking about 6 of these 7 segment display to connect to the Arduino mega😆😁

    • @CaptainBobSim
      @CaptainBobSim  5 ปีที่แล้ว +1

      You are welcome! Remember that you can use switches as well as the displays, as you still have about 40 pins. Switches don't draw power :)

  • @sanderslette6341
    @sanderslette6341 5 ปีที่แล้ว +2

    Awesome!

    • @CaptainBobSim
      @CaptainBobSim  5 ปีที่แล้ว +2

      Thank you! There was a solid 15 minutes of "yay me I got it to work" dancing! 🤣🤣

    • @sanderslette6341
      @sanderslette6341 5 ปีที่แล้ว

      😂

  • @boryswiniarczyk7314
    @boryswiniarczyk7314 4 ปีที่แล้ว +1

    Thank you for this very youseful tutorial :)

  • @filipeferreira4630
    @filipeferreira4630 3 ปีที่แล้ว +2

    Hi Captain Bob!
    First of all congratulations for you work! You pushed me to make my own panel switch and autopilot module, and i dont understand to much about eletronics :b
    Everything is going great exept the 7 segments displays.
    I just bought two of them with 4 digits but there is no DC Pin out on this displays.
    Can you tell me if i can use them? :s
    thank so much :D

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว +1

      Hello! Could you send a link to the 7 segment displays? I'm not sure which ones you are talking about.
      Have a great day Fillipe! :D

    • @filipeferreira4630
      @filipeferreira4630 3 ปีที่แล้ว

      Hi @@CaptainBobSim :D
      I already found the issue.
      Apparently the mobiflight only supports 7 segments displays with max7219 chips!
      It took me sometime to found this information x)
      I will start building my humble flight box! Lets see if everything goes right! Finger crossed ahahaha
      Keep doing what you do ;D

  • @dannyvr1225
    @dannyvr1225 3 หลายเดือนก่อน

    Hi Captain, for the max7219 (8 digits): is it possible to split 1 display into 2x3digits (2digits unused)? and then control these two pieces separately? This, for example, to display the Course (3 digits) and ias/mach (3 digits) in 737 with one MAX7219...?

    • @CaptainBobSim
      @CaptainBobSim  3 หลายเดือนก่อน

      Yep! DIY 737 sim has a great article for this, which I use whenever I need to do anything with wacky MAX7219 displays
      It's since been broken: www.737diysim.com/post/737-radio-7-segment-displays
      Basically follow the pinout of each module and try to pin it into the 4 digit displays: i.stack.imgur.com/vJzZu.png
      The main difference should be the digit pin

  • @desktop-master3505
    @desktop-master3505 3 ปีที่แล้ว

    Idk if you will See this, but i watched your Videos for a long time and i always wondered, do i really nned like 50 Ardurinos just to make like an Auto pilot segment or is there a Trick to make more segment displays wich all work individually?

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      You can, just set them to different devices (use different PIN numbers). I think you can hook up 10+ 7 segment displays?

    • @desktop-master3505
      @desktop-master3505 3 ปีที่แล้ว

      @@CaptainBobSim ok thank you

  • @codingvio7383
    @codingvio7383 3 ปีที่แล้ว

    Do I need an arduino MEGA? Or can I also use an Arduino UNO, because I don't have the mega board. Because this is really cool

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      You _can_ but it's no longer supported, and has some bugs in the code. Look into the MobiFlight forum for this. I would highly recommend the mega, it's only $15 online so not too big of a deal (compared to other boards)

  • @tarikb.2352
    @tarikb.2352 2 ปีที่แล้ว

    Hi @captain Bob thanks for sharing. Just a doubt my 6 digits 7 segments don't have the CS pin. Others are OK. In my case, Mobiflight add device with error :( any advice about that ?

    • @CaptainBobSim
      @CaptainBobSim  2 ปีที่แล้ว

      Is it a MAX7219 chip? Only these are compatible with MobiFlight currently.

    • @tarikb.2352
      @tarikb.2352 2 ปีที่แล้ว

      @@CaptainBobSim thanks! Nope it’s a TM1637 :( i choose it because many sizes and color choices… do you recommand a specific model 0.36 Max7219 ? I’m looking for 4 and 6 digits display :)

    • @CaptainBobSim
      @CaptainBobSim  2 ปีที่แล้ว +1

      @@tarikb.2352 Hmm. I don't know if there's a 4 digit display, but if you get the green colored displays, you can remove the pins and extend only 4.

    • @tarikb.2352
      @tarikb.2352 2 ปีที่แล้ว

      @@CaptainBobSim hi ! I try today with a Max7219 (digits lights ON) but 0 display/light when I upload device setting on Mobiflight :(

  • @netflxx
    @netflxx 4 ปีที่แล้ว

    Could I also use a LCD display with MobiFlight,I mean a littel screen for the adruino?

    • @CaptainBobSim
      @CaptainBobSim  4 ปีที่แล้ว

      Yes! Here is a video, th-cam.com/video/ja0tvTbaEnI/w-d-xo.html

  • @hashimiqbal6822
    @hashimiqbal6822 4 ปีที่แล้ว

    How did you learn to use arduino, I would like to learn. How do you know what wires to plug where?

    • @CaptainBobSim
      @CaptainBobSim  4 ปีที่แล้ว

      I learned by looking at Arduino Wiring schematics and looking at the MobiFlight Tutorials. This diagram helps a little: www.circuitstoday.com/wp-content/uploads/2018/02/Arduino-Mega-Pin-Configuration.jpg
      The ground pins are negative, and (Sometimes black wire).
      The 5v pins are positive, (Sometimes red wire).
      The digital pins are where you can plug your switches into, and the positive side of LEDs or other electronics.
      The analog pins are typically unusable with MobiFlight.
      You can email me if you need more help: CaptainBobSim@gmail.com

  • @116darkshooter
    @116darkshooter 2 ปีที่แล้ว

    Can I use this method and FSUIPC to make it work with FS2020?

    • @CaptainBobSim
      @CaptainBobSim  2 ปีที่แล้ว

      Yeah! You can use FS2020's FSUIPC or MobiFlight's built in Events

  • @stevechalmers3607
    @stevechalmers3607 2 ปีที่แล้ว +1

    With release 8.2 much has changed with Mobiflight since you recorded this video. SimConnect and A-Vars have changed how a 7 segment LED can be implemented in Mobiflight. Should be even easier, but not working for me. I am missing something, perhaps others are too. So, asking you to think about the need to update this video (and perhaps others) to using SimConnect instead of FSUIPC.

    • @CaptainBobSim
      @CaptainBobSim  2 ปีที่แล้ว

      Hey Steve! MobiFlight just released 9.0! I'm slowly making the change away from FSUIPC (but not 100% appealing to me because X-Plane gets left in the dark). Sebastian from MobiFlight makes release videos with most versions of MobiFlight that should help a little.
      I can't promise to update MobiFlight Tutorials to the latest version of MobiFlight, the software advances so quickly, and I don't always enjoy editing my footage down.

  • @reivsinim7031
    @reivsinim7031 3 ปีที่แล้ว

    Hello my display is working but when I for example press test where u can chose the numbers which represents there are just showing weird led not the one I choose when I run the simulator and press start it just showing random numbers and letters. When I change the numbers in the simulator fs2020 then they are changing as well but to something other weird numbers and letters

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      It's hard for me to replicate your results. I assume you are talking about the "Transform" window when you are talking about changing the values. In the display tab, the 1-8 numbers are the digits you control, not the numbers on the digit.
      This is likely due to some bad 7-Segment displays (sometimes the soldering on them isn't the best). Have you tried this with a different one?
      I haven't tried this tutorial with FS2020, so this might be an issue as well 🤔
      On the MobiFlight page is the "Output Value" changing to the desired number?

  • @ACHALAMI
    @ACHALAMI 3 ปีที่แล้ว +1

    it is possible to use 1 Arduino for multiple indicators or every indicator needs its arduino ??

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว +1

      You can have up to 10 seven segment displays if I recall correctly. You can use the other 60 some pins for other components

  • @harpoon_bakery162
    @harpoon_bakery162 3 ปีที่แล้ว

    can you get 3 digits to the right of the decimal like most glass cockpits have on their G1000's ext? thx

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      Yes, you'd just activate the 6th digit as well. I believe the output value is in 122.800 format.

    • @harpoon_bakery162
      @harpoon_bakery162 3 ปีที่แล้ว

      @@CaptainBobSim ok, thanks. the logitech panels only allow 3.2 or ###.## so in other words, you can't see what frequency you are on.

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      Here's a picture with a ###.## radio, they are common. www.aopa.org/-/media/Images/AOPA-Main/News-and-Media/Publications/Pilot-Magazine/2018/1801/1801p_pe_technique/1801p_pe_technique_16x9.jpg?h=675&w=1200&la=en&hash=218AF1F90B8E354B241E3383398DBF80
      To my knowledge, most frequencies increase by .025 each step, so only the .## is needed to tell which step it's on. I've seen some exceptions though.

    • @harpoon_bakery162
      @harpoon_bakery162 3 ปีที่แล้ว

      @@CaptainBobSim -- gotcha, i will study more on this topic and thanks kindly.

  • @MiguelMadrid-es7ij
    @MiguelMadrid-es7ij 3 ปีที่แล้ว

    Hey captain Bob can i use two of these with an arduino nano?

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      Nano will not work with MobiFlight, but Pro Micro will.
      Yes, you can have more than one :)

    • @MiguelMadrid-es7ij
      @MiguelMadrid-es7ij 3 ปีที่แล้ว

      @@CaptainBobSim thank you so much :) i will buy many pro micros and one 2560 mega.

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      @@MiguelMadrid-es7ij No problem! Have a nice day!

  • @TheTribeitaly
    @TheTribeitaly 4 ปีที่แล้ว

    hi, i'm trying to built a 737 OH, so now i'm trying to connect a switches and led to mega board, but i've a problem when i assign a annunciator for example fuel pump low pressur work fine but when ia turn off ground power and battery switch the led of fuel pump still on, how can i solved this problem?

    • @CaptainBobSim
      @CaptainBobSim  4 ปีที่แล้ว

      Hey Simone,
      This sounds like a more complicated problem, I might ask this on the forum: www.mobiflight.com/forum.html

    • @TheTribeitaly
      @TheTribeitaly 4 ปีที่แล้ว

      @@CaptainBobSim thank for for the answer, I solved the problem, i've another westion (sorry if you took advantage of it) i can connect a lcd display with two rows? is the procedure like the one described in the video?

    • @TheTribeitaly
      @TheTribeitaly 4 ปีที่แล้ว

      @@CaptainBobSim thank for answer. I can connect a lcd dipslay with two rows? is the procedure like the one described in the video?

    • @CaptainBobSim
      @CaptainBobSim  4 ปีที่แล้ว

      @@TheTribeitaly It is quite similar, look up "MobiFlight LCD tutorial", and you should find a good video on it (it is in spanish)

    • @TheTribeitaly
      @TheTribeitaly 4 ปีที่แล้ว

      @@CaptainBobSim thank, you're great

  • @MohamedSherif-xr4lg
    @MohamedSherif-xr4lg 2 ปีที่แล้ว

    Can i have the program that is uploaded to the arduino for the 7 segment please ??

    • @CaptainBobSim
      @CaptainBobSim  2 ปีที่แล้ว

      Negative. I don't have it anymore. My goal is to teach you to know how to make it, not to just to copy/paste- there are many things that can go wrong just copy pasting.
      Let me know if you have any questions with this!!

  • @Jake-yv3kf
    @Jake-yv3kf 5 ปีที่แล้ว +2

    would this work with Xplane11?

    • @CaptainBobSim
      @CaptainBobSim  5 ปีที่แล้ว +1

      I am not sure.
      Here is the X-Plane MobiFlight Forum, this might be helpful:
      www.mobiflight.com/forum/category/10.html
      You would use XPUIPC instead of FSUIPC, as said in this forum.
      www.mobiflight.com/forum/topic/525.html
      Great question!

  • @reivsinim7031
    @reivsinim7031 3 ปีที่แล้ว

    Will this also work with FS2020?

    • @CaptainBobSim
      @CaptainBobSim  3 ปีที่แล้ว

      studio.th-cam.com/users/video9Ot8EALj99o/comments Heck yeah! Different steps to install mobiflight, but it should work the same :) Happy Landings!

    • @reivsinim7031
      @reivsinim7031 3 ปีที่แล้ว

      @@CaptainBobSim cheers mate

  • @NickWilmans
    @NickWilmans 2 หลายเดือนก่อน

    It's looks easy. But if you don't know which wire you have to put in which port, then you have to spend a lot of time to figure out by watching tutorials en reading forums. You better use this time to save some money and work overtime to buy a complete plug and play device.

    • @CaptainBobSim
      @CaptainBobSim  2 หลายเดือนก่อน

      This is true, but what's the fun in that! 🙃

  • @eliottferry3634
    @eliottferry3634 2 ปีที่แล้ว

    Is it working with fs2020 ? Thanks !

    • @CaptainBobSim
      @CaptainBobSim  2 ปีที่แล้ว

      Yep! You just need to use MSFS outputs instead of FSUIPC outputs (and select from the list for what you want)

    • @eliottferry3634
      @eliottferry3634 2 ปีที่แล้ว

      @@CaptainBobSim thanks 👍👍💪

  • @chrisparks262
    @chrisparks262 2 ปีที่แล้ว

    Will this work for Arma3

    • @CaptainBobSim
      @CaptainBobSim  2 ปีที่แล้ว +1

      MobiFlight is not currently compatible with Arma3 using outputs.

  • @xFrayx
    @xFrayx ปีที่แล้ว

    my 7 segment display turns on all its lights but nothing else, i tried everything. Can somebody help me?

    • @CaptainBobSim
      @CaptainBobSim  ปีที่แล้ว

      Have you confirmed its a MAX7219?
      Have you triple checked your wiring? Maybe try different wire (not good connection)
      Have you tried with a different display? (Sometimes these can be duds)

    • @xFrayx
      @xFrayx ปีที่แล้ว

      @@CaptainBobSim yep it's a MAX7219, I checked my wires several times. I have 10 of them, I already tried to change

    • @CaptainBobSim
      @CaptainBobSim  ปีที่แล้ว

      @@xFrayx Are yours common cathode or common anode?

    • @xFrayx
      @xFrayx ปีที่แล้ว

      @@CaptainBobSim everything is settled, after several tests it finally works! the problems were the wires (poor contact) and the number assigned to the display. The only remaining problem is that the comma takes up a whole digit slot.

    • @CaptainBobSim
      @CaptainBobSim  ปีที่แล้ว

      Sweet! Usually it's a connection problem/dud.
      Multiply it by however many digits are after it to get rid of the comma taking a whole digit 👍