Linux command
comchan 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Connect
comchan -p /dev/ttyUSB0 -r 9600
Auto-detect
comchan --auto -r 115200
Connect
comchan -p /dev/ttyACM0 -r 9600 --plot
Enable
comchan -p /dev/ttyUSB0 -r 9600 -v -l
Generate
comchan --generate-config
说明
comchan (Communication Channel) is a fast, minimal serial monitor written in Rust for communicating with serial-connected devices such as Arduino, ESP32, Teensy, and Raspberry Pi from the terminal. It supports reading and writing serial data, auto-detecting connected devices, real-time terminal-based plotting for sensor data with multiple sensor visualization, colorized log output, and cross-platform operation on Linux, macOS, and Windows.
参数
- -p, --port _PORT_
- Specify the serial port (e.g., /dev/ttyUSB0, /dev/ttyACM0, COM3).
- -r, --baud _RATE_
- Set the baud rate (e.g., 9600, 115200).
- --auto
- Auto-detect the connected serial port.
- -v, --verbose
- Show detailed connection info.
- -l, --log
- Save output to a log file.
- --plot
- Enable real-time terminal-based graphing of sensor data.
- --generate-config
- Generate a default configuration file at ~/.config/comchan/comchan.toml.
- --help
- Display help information.
FAQ
What is the comchan command used for?
comchan (Communication Channel) is a fast, minimal serial monitor written in Rust for communicating with serial-connected devices such as Arduino, ESP32, Teensy, and Raspberry Pi from the terminal. It supports reading and writing serial data, auto-detecting connected devices, real-time terminal-based plotting for sensor data with multiple sensor visualization, colorized log output, and cross-platform operation on Linux, macOS, and Windows.
How do I run a basic comchan example?
Run `comchan -p /dev/ttyUSB0 -r 9600` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p, --port _PORT_ do in comchan?
Specify the serial port (e.g., /dev/ttyUSB0, /dev/ttyACM0, COM3).