UNO to PC communications with 2 USB on PC

I have a UNO R3 connected to my PC [COM4] with a USB cable and connected to FTDI [RX to TX and TX to RX] module that is connected to my PC [COM6] with another USB cable.

The PC sends data by a program on COM6 to the UNO and it reflects that data back to the PC program perfectly. Now I want to add some debugging stuff from the UNO to the Serial Monitor of the IDE. Is there a way. I have to disconnect the RX/TX pins to upload from the IDE to the UNO or it hangs waiting for something that has gone astray I assume.

Can the two things coexist? Can I have something like "Serial2" for my PC to UNO communications and leave Serial for UNO to IDE communications?

You could use SoftwareSerial for a second serial interface on the UNO.

Thank you. I changed my communications to SoftwareSerial and now the regular Serial is available.

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