This project is implementation of Eli Bendersky’s pyserial live data monitor with python 3 for Linux.
- install socat
sudo apt install socatFor this project socat used for estalishing two virtual serial port:
writerandreader - start virtual ports
socat -d -d pty,raw,echo=0 pty,raw,echo=0It 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)
After starting virtual serial ports
- run from new terminal
python3 sender_sim.py - strat from another terminal GUI applicatoin
python3 plotting_data_monitor.py