Hardware switch to switch the software serial pins being "transceived" on.

Hi Robin2,

Um.

When I duplicate the code so that both the serial "ports" can be seen, then I can see the data coming in through the Arduino's serial monitor, one after the other, so first the mppt's data then the bmv's data and then the process repeats.

According to the code... Looping

The drawback then, is that the Victron software does not see either of the devices with the duplicated Arduino code, the Victron software says no devices found.

The code I put in to do the switch with, made the the Arduino read ONLY the bmv's data in the serial monitor when the switched state was low, when I switched it high the mppt's data was not read in the serial monitor, the data stopped the rx/tx leds stopped responding as well.

When I made the switched state low again it would see the data again from the bmv, the only thing I changed was the switch state NOTHING else.

I did not reset the Arduino or stop the serial monitor. So, from low to high, stopped the serial monitor from reading any data until it was put back to the low state and the rx/tx leds also stopped when the state was high.

In all this time, even after I would close out the Arduino serial monitor and the IDE, the Victron software could not see the devices.

The Victron software can't run at the same time as the Arduino IDE or serial monitor, the Arduino software has to be closed out totally for the Victron Software to be able to function.

Kind Regards.
Charles