Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregpinero/ArduinoPlot
Real time Plot Numeric Values sent from Arduino over Serial Port
https://github.com/gregpinero/ArduinoPlot
Last synced: 3 months ago
JSON representation
Real time Plot Numeric Values sent from Arduino over Serial Port
- Host: GitHub
- URL: https://github.com/gregpinero/ArduinoPlot
- Owner: gregpinero
- Created: 2009-07-07T22:01:45.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T21:14:36.000Z (over 2 years ago)
- Last Synced: 2024-07-01T15:19:43.700Z (4 months ago)
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 105
- Watchers: 17
- Forks: 51
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-arduino - ArduinoPlot - Real time Plot Numeric Values sent from Arduino over Serial Port (Projects)
- awesome-arduino - ArduinoPlot - Real time Plot Numeric Values sent from Arduino over Serial Port (Projects)
README
# Arduino Plot
Python script to plot a numeric data received from a serial port in real time.
![Arduino Monitor example screen](arduino_plot_screenshot.PNG)
## 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.
````bash
$ ./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
````bash
$ ./wx_mpl_dynamic_graph.py com4 --baudrate 9600
````To display help menu run the command below.
````bash
$ ./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`](https://github.com/wxWidgets/Phoenix) system dependencies and than Python packages from `requirements.txt` file:
````bash
$ pip install -r requirements.txt
````