Arduino on linux - show serial output from ESP32 on screen

Probably a simple question but I'm not sure how to frame it.
I have an ESP32 that is providing diagnostic output on the serial monitor.
I want to run it for an extended period (days) without tying up my PC.
However I have a very old laptop running linux lite.
Is there a simple way I can plug the developed module into the USB port just to show the diagnostic messages?
I dont want to (probably cant) install the arduino IDE.

Try installing linux version of CoolTerm to display the COM port data from the ESP32

You will also have to make sure you configure your port properly or the ESP32 will reset every time to connect and open the COM port.

You have to change the flow control settings in Connection/serial from DSR/DTR to RTS/CTS.

Questo cozza terribilmente con la mancanza della , ho visto che c’è un discreto numero di errata corrige sia software che hardware

I've never used "Linux Lite", but I've used similar distributions (LUbuntu, XUbuntu, Raspian, and bare Debian). There should be a way to install additional (free and opensource) software via a software center graphically and certainly via the command line.

"cutecom" is a simple graphical application for communicating with a (usb) serial port, that I've used. There are others.

It's almost certain that you can install and run the full Arduino IDE with its serial monitor if you wish.

I've installed PUTTY as its a "standard" download. Howevere the linux box is not recognising a micro when I plug it in. I'm guessing I need to install the driver. Help?

Again, I haven't used "Linux Lite" specifically, but

It's more likely the USB serial port is registered when you connect your ESP32 board, but you require administrator level permission to access it or it is being captured by another application immediately upon registration.

To confirm registration,

  1. Open a terminal window using "ctrl-alt-t" or via the menus
  2. "dmesg | tail" will print the end of the log and should show the device being registered. I'd expect something of the form "... /dev/ttyUSB0 ..."

If it's registered then you should be able to run your serial terminal application as root "sudo putty <arguments?>" to test, but better to configure the system to allow user level access.

One can find any number of guides for configuring Linux for USB serial, here's one that is Ubuntu specific, but probably works for your setup as well:

It can be a bit frustrating getting going with a Linux setup, but I believe you will find it immensely powerful once you get over the initial hump.

Testing with a micro just printing messages I found I needed to add my user id to the dialout group

sudo usermod -a -G dialout $USER

then on plugging the Arduino in and executing

dmesg | tail

it identified the port as ttyACM0

I will need to redirect the output to a file, .. this worked

Connecting my ESP32 Devkit the connection failed - and

dmesg | tail identified the port as ttyUSB0

So I'll need to re-identify anytime I change the board or maybe even the USB socket.