Need advice using 2 Mega2560s on one PC

Back about a year ago I started a flight sim project to create a transponder for X plane using a 2560. The last 10 months or so I’ve put that to the side. Last month I decided to use the 2560 for a gear lever and a fuel selector switch. Starting basically from scratch again and having to re-learn this stuff I managed to get SimVim to actuate a switch on my breadboard that flipped the switch in the simulator. I was pretty proud of myself…until I started to use my RealSimGear GNS 530. I found the buttons didn’t work. I disconnected the 2560, tried a number of things to reinstall the GNS drivers, plug-ins, etc to no avail. Finally I called tech support at RealSim. The tech walked me through a firmware update that fixed the GNS and told be that since the RealSim GPS unit is also using a Mega2560 board the other 2560 I hooked up took control and that they both can’t run on the same PC.
Is there a solution to this problem so that I can use the RealSim unit and connect 2 other switches with another controller board?
Thanks for any advice…

Are you using UDP and if so, does it let you specify one target IP only?

Sorry, but being a newbie to this stuff I don’t understand. I have no idea what protocol the RealSimGear unit or my 2560 connected via SimVim uses. All I know is that the RealSim Gear GPS gets assigned to a COM port in Windows 10 as an Arduino Mega 2560. When I connect my separate 2560 using SimVim it takes control of that COM port. Additional information that might help is that when I updated the firmware for the GPS it didn’t work at first. The tech then suggested I plug the USB cable into another port. That fixed it. The unit came online and was assigned to COM3.

I don't know anything about SimVim, so I can't help with that.

I do know that X Plane will send data via UDP over Ethernet so that might be a way to use another Mega. Whether you can send data back that way I don't recall.

Two Mega2560 boards will not work on one computer.
Is it possible that a 2560 and a Sparkfun Micro Pro can?

I'm not familiar with your application. But it sounds like it uses the name as reported on device manager to identify the board.

In which case the mix of Mega and ProMicro should work. Or the original Mega and

  1. a Mega clone with CH340.
  2. an Uno, Micro, Leonardo, ...

The Sparkfun micro pro is on order. The only way to know is to try it out I suppose.

Even though the MF website says the Sparkfun is compatible, it doesn’t show up in the MF connector. Looks like that was a waste of time and $20.
So it looks like if I want to use my 500.00 RealSim GNS, I have no options for using SimVim or MF to setup any other components with a 2560 without flashing over the RealSim 2560.
The LeoBodnar BBI-32 so far has been my only other peripheral option to work. I can at least create switches with it.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.