
ComChan (Communication Channel)
A Blazingly Fast Serial Monitor for Embedded Systems and Serial Communication
Features • Installation • Documentation • Examples • Contributing
Table of Contents
Installation
Choose your preferred installation method:
From crates.io
[!NOTE] The easiest way to install ComChan is via
cargo install
# Install from source
# Install the binary directly (faster)
Verify the installation:
From AUR
For Arch Linux users, ComChan is available in the AUR (thanks to orhun!):
# Using yay
# Using paru
Using Homebrew
ComChan can be installed via Homebrew taps:
From source
Build from source for the latest development version:
# Clone from GitHub
# Or clone from Codeberg
# Build and run
Documentation
📚 The full documentation for ComChan can be found at vaishnav.world/ComChan
Common Commands
Basic Serial Monitor
Monitor serial output from your device:
# OR
Example:
Verbose Mode
Get detailed information about the serial connection:
# OR
Log Mode
Save serial output to a log file:
# OR
Serial Plotter
Visualize sensor data in real-time:
# OR
Automatically Detect Serial Ports
Let ComChan find your serial device automatically:
# With default baud rate (9600)
# With custom baud rate
# OR
Example:
Use a Configuration File
Starting from version 0.1.9, you can use a configuration file instead of command-line flags:
# Generate default configuration file
This creates a config file at ~/.config/comchan/comchan.toml
Example Configuration:
# ComChan Configuration File
#
# This file contains default settings for comchan serial monitor.
# Command line arguments will override these settings.
#
# To use auto-detection, set port = "auto"
# Available parity options: "none", "odd", "even"
# Available flow control options: "none", "software", "hardware"
= "auto"
= 9600
= 8
= 1
= "none"
= "none"
= 500
= 1000
= false
= false
= 100
[!NOTE] The default baud rate is
9600. You can customize it in the config file or override it with command-line flags (--auto,--port/-p,--baud/-r,--plot).
Features
Current Features ✅
- Read Serial Data - Monitor incoming serial data from any serial port
- Write to Serial Port - Send data to your serial device
- Basic Logging - Save serial output to log files
- Auto-Detect Serial Ports - Automatically find connected serial devices
- Configuration Files - Use
.tomlfiles instead of command-line flags - Terminal-Based Serial Plotter - Visualize data in real-time with the
--plotflag - Multiple Sensor Plotting - Plot multiple sensor values simultaneously with legends
Planned Features 🚧
- Export Serial Data - Write serial data to files (
.txt,.csv, and more)
Legends
- ✅ Implemented Features
- 🚧 Yet to be implemented
Examples
"Hello World" Program
Basic serial monitoring in action:

User Input
Interactive serial communication:

Serial Plotter
Real-time data visualization:

Auto Serial Port Detector
Automatic port detection in action:

Using the Configuration File
Serial Monitor (plot = false)

Serial Plotter (plot = true)

Serial Plotter Multiple Sensor Values
Plot multiple sensors simultaneously with automatic legends:

Full Working Demo
Complete workflow demonstration:

ComChan in Windows
As of Version 0.2.2, ComChan works perfectly on Windows with no limitations!
Windows Installation:
- Download the
.exefile from the releases page - Open Command Prompt or PowerShell
- Navigate to the download location:
cd Downloads - Run ComChan:
comchan.exe --help
Contributing
We welcome contributions to ComChan! 🎉
Please see our CONTRIBUTING.md for guidelines on how to contribute.
Feedback Form
We value your feedback! ComChan uses Bashforms for terminal-based feedback submission.
To submit feedback, run this in your terminal:
OSCG Guidelines
Contributor Guidelines
Mentor Guidelines
Community
Stargazers over time (Graph)
Made with ❤️ by the ComChan Community
