Skip to content

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

License

Notifications You must be signed in to change notification settings

insighio/python-live-serial-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages