Comments: Serial Terminal Basics
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
On MacOS the easiest way to get access to a serial port is with the built-in command screen:
Once there you will wonder how to get out of screen (because most ctrl sequences will actually be sent out the serial connection by screen) so while the man page is handy the answer is ctrl-a followed by a k.
embarrassing I see that this is covered in the Command Line section
I also forget the exit sequence, when using a Raspberry Pi, as I don't use its serial port very often.
"SerialSend" is a really useful little Windows .exe for command line serial connections. By default it just sends your string to the highest COM port. See https://batchloaf.wordpress.com/serialsend/
On my Debian sid Linux system, dedicated FTDI-like adapters show up as
/dev/ttyUSB*, and Arduino Uno shows up as
/dev/ttyACM*. The following command lists all of them:
$ ls /dev/ttyUSB* && ls /dev/ttyACM*
A good Linux serial terminal option available in most repositories is gtkterm. Run it with:
$ gtkterm -p <port_name> -s <baud_rate>
or just launch it and use the menu options to set the device and other configuration.
PuTTY could be added to this since that does have Serial support, otherwise a very good Serial primer.
Well written, and highly informative. Thank you for saving me a ton of time.
Great work! This was quite helpful. Love the OG reference. I have an autographed copy of that ICE-T album...
If you've found an issue with this tutorial content, please send us your feedback!
A new and modern terminal (Created by me!) is Termethos: http://www.termethos.com Among the features it has: - Modern UI - Alternate color trace - Multiple level trace with color coding - Auto scroll & scroll lock - Dashboard for monitoring 24 realtime value - Commands (for boards with text shell)