Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Serial Monitor (Python CLI)

This is a simple and usable CLI serial monitor with support for:

  • Listing available serial ports
  • Specifying baud rate / parity / stop bits / flow control
  • Real-time receive display
  • Text mode and hexadecimal send mode
  • Hexadecimal receive display
  • Timestamp display

1) Installation

cd "/Users/raymond/Documents/Project/Serial Monitor"
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

2) List available ports

python3 serial_monitor.py --list

3) Connect and monitor

python3 serial_monitor.py --port /dev/tty.usbserial-xxxx --baud 115200

Common options

  • --hex-display: display received data in hex
  • --hex-send: interpret input as hex, for example AA 01 FF
  • --timestamp: add timestamps before received data
  • --eol {none|lf|cr|crlf}: line ending for outgoing text, default lf
  • --rtscts: enable RTS/CTS
  • --xonxoff: enable XON/XOFF

Exit

  • Enter /quit or /exit
  • Or press Ctrl+C

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages