I usually use Platformio as IDE for my Arduino projects. I like it as an editor, but I don't like its serial monitor feature. So I often open the Arduino IDE in background to use its serial monitor, but this has some drawbacks (including a significant increase in my computer's CPU usage and battery consumption).
Is there an Arduino-compatible serial monitor application that just works as a serial monitor (and not also as an IDE)? I'm most interested in a MacOS application, but if you know a Windows one please tell me as well.
4 Answers 4
I use CoolTerm, which is available for Mac, Windows and Linux. It is a great serial app, and you can have several windows open at the same, for each serial pipe you may be using (Bluetooth, Arduino Serial, etc).
Consider building your own monitor in Python. This gives you flexibility since Python is cross platform and you can tailor the monitor to your needs.
- Install Python.
- Install pySerial (
pip install pyserial
). - Write a Python script to read and/or write to the Arduino across the serial port. There are some great examples out there such as this example and other Stack Overflow answers.
On macOS, you can use the built-in screen
command, e.g.:
screen /dev/cu.usbmodem14201 9600
To exit, control-A followed by control-\
There's a list of serial port sniffers here, if you want to view raw data
softwarerecs.stackexchange serial-port-logging
And a list here of programs which plot graphs from serial data:
screen /dev/ttyUSB0 115200
where/dev/ttyUSB0
is the serial port of the Arduino, and 115200 is the baud rate. What's wrong with the PlatformIO serial monitor, by the way?