Skip to content

kevin94chen/arduino-plotter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arduino-plotter

An Arduino library for easy graphing on host computer via serial communication

by: Devin Conley


Features:

  • Continuous multi-variable plots against time
  • 2-variable "x" vs "y" plots
  • Display multiple graphs within single resizable window
  • Support for any data type that can be cast to a double
  • Simply pass a reference to your variables when the graph is added, no need to update each value explicitly
  • Control number of data points displayed on each graph
  • Auto-scaling to fit all data on graph
  • Configurable line color per variable
  • Stand-alone listener application, written with Processing, is provided

Plotter Preview


Extremely easy usage:

#include "Plotter.h" double x; Plotter p; void setup() { p = Plotter(); p.AddTimeGraph( "Some title of a graph", 500, "label for x", x ); } void loop() { x = 10*sin( 2.0*PI*( millis() / 5000.0 ) ); p.Plot(); // usually called within loop() } 

See the Wiki for more information:

Home
Quickstart
Documentation

About

An Arduino library for easy graphing on host computer via serial communication

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 37.1%
  • Java 24.6%
  • Processing 23.2%
  • Other 15.1%