USB-serial screen program
The screen terminal multiplexer program is useful for connecting to serial port devices.
On Linux, including WSL:
apt install screenconfigure USB-serial adapters in Linux or WSL by adding the username to “dialout” group:
adduser $(whoami) dialoutOn Homebrew:
brew install screenA serial port connection is established at 115200 baud like:
screen /dev/ttyUSB0 115200List the USB-serial adapter ports:
- Linux:
ls /dev/ttyUSB* - macOS:
ls /dev/tty.usbserial*
Alternative: minicom is a serial terminal program with file transfer capability.