Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.

LUA and Arduino boards

I'm using GIT for my GoFlight MCP and EFIS but wondering if I could also use GIT as an interface between P3D and 3 x Arduino boards that I use for various components of my home cockpit build e.g, annunciators, servo driven thrust levers and so forth.

Taking the thrust levers as an example, when autothrottle is engaged, I need to read the thrust value from the sim and send this to my Arduino board which will read the value and send a command to the servo motors to position the hardware throttle levers.

Is it possible using the global_aircraft.lua script to have a continuous loop that say, every 100ms, reads the thrust data from the sim then sends this value to an open serial port (which is how the Arduino board communicates with the host pc)?

thanks
Darren

Comments

  • GIT is not aware of serial ports but I could certainly look at adding some support. Is there a specific data format that the board expects?

    If you can make your Arduino board appear as a gaming device (joystick) then GIT could currently interact with button presses from the board.

    Best wishes
    Steve
  • thanks for the quick reply Steve and offering to look at the possibility of adding some support.

    The board does not require any specific data format - so just the ability to open the port and set the communication settings e.g.baud rate etc. then some read/write commands. Finally to close the port.

    This would be a great addition for cockpit builders using arduino boards, of which i see quite a few on various forums. It would be applicable to both P3D and XPlane GIT versions (I have both). I cannot find any other off-the-shelf solution with this capability, freeware or payware.

    I'm not aware of the ability to make an Arduino appear as a gaming device but I'll look into this.

    Thanks
    Darren
Sign In or Register to comment.