Skip to content

Pyserial application, plots real time serial data.

License

Notifications You must be signed in to change notification settings

q-eldar/pyserial_plot

Repository files navigation

pyserial_plot

This project is implementation of Eli Bendersky’s pyserial live data monitor with python 3 for Linux.

Dependencies

  • pyserial
  • python 3 qwt (new version with pure python implementation)

Linux virtual serial port

  • install socat
    sudo apt install socat
        

    For this project socat used for estalishing two virtual serial port: writer and reader

  • start virtual ports
    socat -d -d pty,raw,echo=0 pty,raw,echo=0
        

    It will will start two virtual ports: in my case

    /dev/pts/2
    for writing serial(Hardcode into sender_sim.py)
    /dev/pts/4
    for reading serial(Enter from GUI)

Start project

After starting virtual serial ports

  • run from new terminal
    python3 sender_sim.py
        
  • strat from another terminal GUI applicatoin
    python3 plotting_data_monitor.py
        

Read more about serial communication.

About

Pyserial application, plots real time serial data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages