Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 607 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 607 Bytes

python-live-serial-plotter

A small python script to monitor live data read from UART and show them in a plot.

Each line is searched for an integer/float using the regex: ^.raw:\s+(-?\d+(.\d+)?).$

example line: [DEBUG] raw: 1664227.0

dependencies

sudo apt-get install python3-matplotlib python3-serial

or

pip3 install matplotlib pyserial

Usage

#linux
python3 plotter.py /dev/ttyUSB0

#windows
python3 plotter.py COM3
Screencast.from.12-07-2022.07.00.53.webm