forked from gregpinero/ArduinoPlot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
39 lines (30 loc) · 1.15 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Tool for graphing arbitrary data received from serial port.
Start it like this:
python SerialGraph.py
For command line argument information:
python SerialGraph.py -h:
Usage: SerialGraph.py [options]
Graph arbitrary data received from serial port
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-p PORT, --port=PORT Serial port. Default: /dev/tty.usbserial
-b BAUDRATE, --baudrate=BAUDRATE
Baud rate. Default: 9600
-x XLABEL, --xlabel=XLABEL
Label for X axis. Default: seconds
-y YLABEL, --ylabel=YLABEL
Label for Y axis. Default: mW
-d, --debug Enable debugging messages
Originally designed as a replacement for the Windows-only program
that came with my laser power meter.
Requires Python 2.6 and the following modules:
serial
wx
matplotlib
numpy
pylab
Code heavily borrowed from Blended Technologies:
http://www.blendedtechnologies.com/realtime-plot-of-arduino-serial-data-using-python/231
Which was based on this demo:
http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/