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
cd "/Users/raymond/Documents/Project/Serial Monitor"
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtpython3 serial_monitor.py --listpython3 serial_monitor.py --port /dev/tty.usbserial-xxxx --baud 115200--hex-display: display received data in hex--hex-send: interpret input as hex, for exampleAA 01 FF--timestamp: add timestamps before received data--eol {none|lf|cr|crlf}: line ending for outgoing text, defaultlf--rtscts: enable RTS/CTS--xonxoff: enable XON/XOFF
- Enter
/quitor/exit - Or press
Ctrl+C