Can i share com ports?

Hi all. I have a program that communicates with an arduino sketch i have via serial.
Im trying to debug said sketch but i am unable to view
The serial monitor while the windows program is running. Im trying to catch what the windows program is sending over serial. Im very new to codeing and arduino in general.
If i just run the window program then the serial monitor it just says com9 unavailable. Tried using putty with the same problem.

Any suggestions on how I could capture what commands are being sent over serial by the windows program?

Look forward to your replys.

What board?

Arduino Uno rev3.

Search for "windows serial port splitter", which allows two or more processes to access one serial port. There are several different packages that allow you to do this.

1 Like

Thank you. Ill have a look.

Alternatively, you can monitor serial communications digitally, on the TX and RX pins (1 and 0).

@creativesamurai1982 , your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

If you wrote the PC program yourself, add some monitoring capabilities in there.

Nice one, thank you. I shall give it ago.

Would i need a external serial reader for that?

I didnt write the software. Im just trying to make it work with my sketch. Iv never been any good at writing code but can kind of work it out if i research the different commands. Its the math side of the code i just dont understand. Id upload the code but its not mine to share.

Any idea which one I should try? Are there any free alternatives as i cant warrant spending over £100

There are several free alternatives. An internet search will find them.

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