Skip to content

Real time Plot Numeric Values sent from Arduino over Serial Port

Notifications You must be signed in to change notification settings

gregpinero/ArduinoPlot

Repository files navigation

Arduino Plot

Python script to plot a numeric data received from a serial port in real time.

Arduino Monitor example screen

How to run

To use, simply run command below in the command line providing serial port to be used and optionally port baud rate and timeout values.

$ ./wx_mpl_dynamic_graph.py [-h] [-b BAUDRATE] [-t TIMEOUT] port

For instance, to receive data from com4 port with baud rate equal to 9600 run

$ ./wx_mpl_dynamic_graph.py com4 --baudrate 9600

To display help menu run the command below.

$ ./wx_mpl_dynamic_graph.py --help

Note: Make sure you have your Arduino IDE closed, or it will block other programs like this one from using the serial port.

Requirements

Install required wxPython Project Phoenix system dependencies and than Python packages from requirements.txt file:

$ pip install -r requirements.txt

About

Real time Plot Numeric Values sent from Arduino over Serial Port

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages