Jump to content
The simFlight Network Forums
JohnB155

Arduino Mega to FSUIPC Interface

Recommended Posts

Hello,

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

Share this post


Link to post
Share on other sites
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

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • 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.