JohnB155 Posted November 15, 2020 Report Posted November 15, 2020 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
alaxus Posted November 16, 2020 Report Posted November 16, 2020 Have you looked at Mobiflight? https://www.mobiflight.com/en/index.html
Pete Dowson Posted November 16, 2020 Report Posted November 16, 2020 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now