I am using Arduino IDE 2.1.1 on a Windows 11 laptop computer. I am trying to use Tera Term as a datalogger to record the data from my Arduino Serial Monitor. This is the first time that I have ever used Tera Term. I have downloaded Tera Term from https://tera-term.en.lo4d.com/windows. I started my Arduino sketch and opened its Serial Monitor. I configured Tera Term by going to "Set Up" and then to "Serial Port..." where I chose the "port" to be COM3 (since it is COM3 to which my Arduino is connected through its USB connection), and then I chose "Speed" to be 115200 (same as my Arduino baud rate), "Data" to be 8 bit, "Parity" to be none, "Stop bits" to be 1 bit, and "Flow control" to be none (which all match my Arduino). When I then click on "New open", I get the following message: "Tera Term: Error. Cannot open COM3. Access denied". As far as I can tell, I am doing all of this in the way that is described in the tutorials that I found on the internet. I would greatly appreciate any advice that anyone could offer. Thank you for your time.
There's a problem if you have SerialMonitor active at the same time.
Do you have serial monitor open on COM3? Close serial monitor. Can have only 1 thing connected to a serial port.
TeraTerm, Putty, etc. can be used instead of the Arduino serial monitor (which you can consider to be a very limited terminal program).
I closed the Serial Monitor, and then it worked! I apologize for my ignorance. Thanks for the advice.
I closed the Serial Monitor, and then it worked! I should have known. Thanks for the advice.
@groundFungus
I'll split the commission with you.
There are utilities available that would allow you to "tee" the connection; eg,
https://com0com.sourceforge.net/
(though don't see any point here - just use TeraTerm instead of the serial monitor)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.