Skip to content

danparsons/SerialGraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Graph arbitrary data received from serial port

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%