Help with ARDUINO Outputs / Mobiflight
Hello,
I just picked up an Arduino Mega 2560. Looking to get some help to pull some Q400 specific values into Mobiflight to turn some LED's on and off.
I've done the Mobiflight tutorial here: https://www.mobiflight.com/en/tutorials/led-parking-brake.html and got it to work.
I installed Reinhard's MyQ400 XML files, but not sure what to do next?
Would someone be willing to type up a tutorial on how to get something simple setup? For example, how to pull data from the Q400 -> FSUIPC -> Mobiflight on the status of the INBD ANTISKID annuciator.
@aua668 @fscenes hate to call you guys out, but it seems like you have it figured out.
Thank you!
Comments
Wanted to pop in and give an update on this.
While I don't do a whole lot of simming at this point in my life, the work on the q400 sim continues albeit a bit slowly.
I recently used Chatgpt and later Claude.ai to write a program for work. It worked so well I figured why not try it with the q400.
I asked it to help me write some arduino code for interfacing some light outputs to my cockpit. Namely my APU panel which the korry switches are wired up but the lights within the switches for the RUN, FAIL, STARTER, etc lights have been dormant until now!
With the help of AI I was able to get some very robust code written to accelerate my home q400 sim to a level I thought would take years of work to achieve. I am not a programmer nor an engineer, just a dumb airline pilot in real life and spare time for those sort of things is not something I have a lot of.
It took some trial and error (about 2 days of tinkering on and off) but I finally got the arduino to interface with the Q400 through UDP. Something I never would have been able to accomplish on my own.
Give it a shot if you were stuck at the bottom of the programming mountain. There's a chair lift waiting for you.