How to break data flow in Tera Term?

Continuing the discussion from Serial monitor problem:

I'm very green in this Arduino world, so forgive my beginner query related to Serial monitor problems.

  1. Had some help getting a uart sensor to display readings on a 1602 display working fine.
  2. Issue is a need to configure some settings , so using Tera Term serial monitor interface, but the sensor is sending a continuous data stream, so no opportunity to write a command.
  3. Does anyone know how to break or pause the data flow in Tera Term so I send the configuration commands?
  4. Once configured I will then reconnect the Tx Rx input on Arduino again.

You can't.

But data stream from Arduino to PC through Tera Term does not interfere with sending commands.

Is your application a single-process sketch?

Are you using an ESP32 and ISR?

If he is using ESP32 I'd suggest to install ESPShell library:)). It can pause/resume sketches by pressing Ctr+C (to pause any printf() flood for example).

The command you write will be cluttered by received characters but will be sent as you typed it, only not readable on your screen. Or you probably can type it on a text editor, copy it and paste it in TeraTerm

With Local Echo, I can actually see the data I type or paste from text editor, but as you say its cluttered with the temp data being received, and occasionally I receive an "invalid command" on screen. So not sure what to try next.

Ok, right, so banging my head for no reason, Ok will check some other settings then, thankyou. BTW, Im not connecting the sensor to tera term and arduino at the same time, Im trying to configure the sensor and will run it on arduino.

Hi Jim, no not using esp32 just an uno, but will investigate interupts to see if sensor can be configure at start.

thanks vvb333007, I will investigate your suggestion and ditch the tera term.

The why did you say "Continuing the discussion from Serial monitor problem"

I don't think your problem has anything to do with that topic.

If indeed you are using an Uno then you can use the Arduino IDE serial monitor to send commands.

I edited that in. The reason I did that is because the first post in this topic was originally posted by @rdipper9876 as a reply on Serial monitor problem. Since the post appeared to be only tangentially related (at most) to the subject of Serial monitor problem, I split @rdipper9876's post out to this dedicated topic. But just in case the previous topic contained some important context, I added a reference to the original topic to make sure that would be available to the forum helpers.

So that explains the "continuing the discussion" post text, but that doesn't resolve our doubts as expressed by your other statement:

Only @rdipper9876 could provide an explanation of how their question relates to the discussion in Serial monitor problem.

Well so now I have to ask how your problem relates to the problem in the other topic Serial monitor problem

What is the sensor you want to configure, and how is it interfaced to the PC?
Do both rx and tx of the sensor need to be connected?

Issue has been sorted, using Tera Term broadcast command, timed right, I was able to pause the data from uart sensor, by sending the command just after cycling the power to sensor, as the sensor intialized, command sent a few seconds before it started transmitting as 20 msec intervals. was able to then set some parameters which slowed the sensor transmission rate. Now I can start and stop the data etc, without cycling power etc. With the new settings saved in sensor, I can now plug it back into the uno and refine the stetch etc. Cheers.

This is an interesting example of when you’d like to have a
”normal terminal emulator” (like terraterm) behave more like the Arduino Serial Monitor, where there is a separate window for entering a full command line before sending it to the Arduino when pressing enter. Although I guess that having the output show the command (if echoed) is a somewhat separate problem (if the Arduino program is doing the echoing, it can presumably buffer the whole line to be echoed when appropriate.)

While there are some terminal emulators that support some sort of “line” or “block” mode, I don’t offhand know of any where it’s likely to work nicely while “continuous” output is being displayed.

RealTerm has that feature (in addition to supporting the standard terminal behavior):

It is a pretty nice terminal. The fact that it is Windows-only causes me to generally prefer the cross-platform PuTTY, but @rdipper9876 is already using the Windows-only Tera Term so I guess that is not too much of a concern here.

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