Jump to content
The simFlight Network Forums

Arduino Mega to FSUIPC Interface


Recommended Posts

14 hours ago, JohnB155 said:

How do I get my Arduino Mega to communicate with FSUIPC+MSFS? I want to send and receive MCP data like alt, speed course etc

Arduinos are serial port devices. The serial port device support in FSUIPC is via the Lua plug-in library, so you'd need two things:

1. An Arduino program to send the required commands and data to the serial (COM) port, and receive data for display from it.

2. A Lua program to act on serial (COM) port data received (event.com), resulting in FS events/controls being sent or offsets being written, as appropriate, and also to monitor the values for display (event.offset) and send them to the COM port.

This may sound daunting, and it is for something ambitious, but the programs involved would not be too large.

More of a problem may be the poor current state f the SimConnect interface, especially for controlling all the aspects of autopilots. 

Pete

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.