Orange
Posts: 46
Joined: Tue Jan 24, 2012 6:41 am

Microsoft Flight Simulator 2020 Instrument Panel

Fri Sep 18, 2020 8:12 pm

I've made an instrument panel for flight simulator and the software runs really well on my Raspberry Pi 4. I'm using all 26 inputs for switches, buttons and rotary encoders. It uses the Allegro5 library for the 2D graphics. The software is available on my GitHub here: https://github.com/scott-vincent/instrument-panel

Here's a YouTube video of it in action: https://youtu.be/vA6rveEP_9o

User avatar
emxsys
Posts: 21
Joined: Wed Sep 02, 2020 3:09 pm
Location: Ventura, CA, USA
Contact: Website Twitter

Re: Microsoft Flight Simulator 2020 Instrument Panel

Fri Sep 18, 2020 8:37 pm

Incredible! I didn't know you could accomplish that with the Raspberry Pi.

I just got FS2020 running last week and I was dreaming of a system such as yours. I'm going to seriously consider your project for my next RasPi build.

Thanks!!

Orange
Posts: 46
Joined: Tue Jan 24, 2012 6:41 am

Re: Microsoft Flight Simulator 2020 Instrument Panel

Sat Sep 19, 2020 4:44 am

Glad you like it. It's taken me a few months, I started it before FS2020 even came out. But it's well worth it, I'm really pleased with the way it turned out. I borrowed ideas from lots of other people but I hope I made up for it by making all my software free.

Somebody else made a Cessna panel first and posted the designs for the bezels which are 3D printed. You can get them off of Thingiverse here: https://www.thingiverse.com/thing:2690541

Another person used Allegro4 (graphics library) to create some Learjet instruments and that is what inspired me to write my software using Allegro5. His work is here: http://82.7.215.98/Learjet45Chimera/index.html

It's a nice project, you can take as long as you want and gradually add to it. Mine is still being developed but is fully useable now. The other nice thing is you can just run the software to start with. All you need is FS2020, don't worry about any of the hardware initially.

All the other software I found relied on 3rd party software such as FSUIPC and Air Manager that you had to buy and I didn't want that. They even charge extra for the networking part so you can use a Raspberry Pi. I knew there was an SDK coming out with FS2020 and I knew I could write some simple networking code so I did it all from scratch. Everything is available on my GitHub page here: https://github.com/scott-vincent

User avatar
neilgl
Posts: 3246
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near The National Museum of Computing

Re: Microsoft Flight Simulator 2020 Instrument Panel

Sat Sep 19, 2020 10:14 am

Looks very good.

User avatar
DougieLawson
Posts: 41300
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Microsoft Flight Simulator 2020 Instrument Panel

Sat Sep 19, 2020 12:01 pm

neilgl wrote:
Sat Sep 19, 2020 10:14 am
Looks very good.
Nicely downwind of EGLF/FAB.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Seeking Sooth
Posts: 85
Joined: Sun Aug 23, 2020 7:03 pm

Re: Microsoft Flight Simulator 2020 Instrument Panel

Sat Sep 19, 2020 12:57 pm

Captain Obvious here...

These are dials on a flat monitor with a bezel overlay? Is there an actual user control for any of these displays?

How are they chosen\positioned?

Does the program place them like the original plane and you create an overlay to give them better presentation and authenticity?


!!! - AH I see. The Allegro library. Very clever.

Impressive. I assume that Flight Simulator cleverly gives you access to the raw data!

bls
Posts: 1454
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA

Re: Microsoft Flight Simulator 2020 Instrument Panel

Sat Sep 19, 2020 1:55 pm

Wow...super-impressive!
Pi tools:
Quickly and easily build customized-just-for-you SSDs/SD Cards: https://github.com/gitbls/sdm
Easily run and manage your network's DHCP/DNS servers on a Pi: https://github.com/gitbls/ndm
Easy and secure strongSwan VPN installer/manager: https://github.com/gitbls/pistrong
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo

Puffergas
Posts: 255
Joined: Thu Dec 19, 2019 12:16 am

Re: Microsoft Flight Simulator 2020 Instrument Panel

Sat Sep 19, 2020 8:48 pm

Sweet, nice job !

Frank-Kin
Posts: 2
Joined: Wed Feb 10, 2021 11:04 am

Re: Microsoft Flight Simulator 2020 Instrument Panel

Wed Feb 10, 2021 11:29 am

Don't forget your New Autopilot and Radio panels using a Pi ZeroW. The parts are due today.
Was really impressed by the landing gear on the Instrument panel. (after buying the Saitek switch panel)
What do i do to edit the instrument panel, I'm missing some thing? Run Allegro5?
Keep up the good work.

jomarego76
Posts: 1
Joined: Tue Feb 23, 2021 3:46 am

Re: Microsoft Flight Simulator 2020 Instrument Panel

Tue Feb 23, 2021 3:53 am

This is a great project and I was looking for some inspiration for my FS2020 homemade panel. I am relatively new with Pi and I wonder if you have a diagram or schematic showing the electrical and network connections for the instrument panel. This will help me to picture the set up as it is not clear to me from the description if the Pi connects to the Host PC via CAT5 cable or wi-fi. Also, is there another alternative to Allegro5 to design the 2D instruments or do I have to marry that design program?. You have done an excellent job and thanks for sharing.

Frank-Kin
Posts: 2
Joined: Wed Feb 10, 2021 11:04 am

Re: Microsoft Flight Simulator 2020 Instrument Panel

Sat May 15, 2021 8:53 pm

Just a bit of a heads up if you are coming to this late.
You need to download the latest version and the matching datalink from the scott-vincent github.
A fresh install on your Pi works best.

If your stuck with the Allegro5 install just go to Issues and you'll soon see a guide that works.

Just run it as a stand alone as it is a big commitment to build a working cockpit. It requires a lot of skills that not all of us have like soldering and electonics, never mind woodworking and 3d printing.

The Autopilot and Switch panels run on a PiZeroW and are really cost effective for cockpit building.

Scott cant provide much support to the early stuff as it is ongoing but as a Pi project it does work.

Regards,
Frank.

Return to “Gaming”