Main Menu

search

You are here

Arduino serial plotter

[last updated: 2025-07-17]
Arduino home page
Libraries
-----

  • If you want to look at data collected by your Arduino, perhaps time-varying analog data, you can of course use the serial monitor,
    which will print out a datapoint with every print statement in your code.
    But examining and understanding a string of numbers on the screen is sketchy at best.
    Much better if you can graph or plot the data so you can see it.

  • Arduino 2.3.6 (my current version) has a serial plotter app that displays 50 points.
    This is nice, but not nearly enough resolution for a lot of signals.
    (reportedly IDE 1.8.16 allows 500 points, but I have not investigated it)

  • -or-
    The "Plotter" library by Devin Conley can be loaded into the IDE from the software manager.
    • Home: https://github.com/devinaconley/arduino-plotter/wiki
      Installation and QuickStart: https://github.com/devinaconley/arduino-plotter/wiki/Installation-and-Qu...
    • First load the Plotter library from software manager.
          (first confirm you've set your Sketchbook folder where you want it:
          IDE: File --> Preferences )
      Successfully installed Plotter library, currently at v. 2.4.1
      On my system, the library was installed in:
          .../mstrWorkingFiles/techScience/Arduino/programsLibrariesUser/libraries/Plotter
    • Next: "Setup Listener":
      (note: Java Runtime Environment 8 required)
      download the "listener" app into your host PC:
          for my Linux system: click on Linux-64-bit on github QuickStart page
          arduino-plotter-listener-linux64.zip will be downloaded
      moved the zip file to the same .../libraries/Plotter folder as the library
      Extracted there, which created a new folder with the extracted files, named: arduino-plotter-listener-linux64
      Inside that folder is a file named: listener
      Double-clicking that file executed and drew the plot.
        However, nothing was plotted. I was running my rough draft arduino program plotter-01,
        and while the listener program noted that it was scanning serial ports for a data stream,
        it didn't find anything...
        FIXED: by switching sketch back to 115200 baud rate,
        and deleting the printPreamble line.


      ... from google AI ...
      Run the Listener Application: You can adjust settings like the number of data points displayed, enable or disable specific variables, zoom in/out, and more within the listener application's interface.

      In essence, you develop and upload your Arduino sketch with the Plotter library, and then you run the separate listener application on your computer to visualize the data being streamed from your Arduino via the serial port.

  • -or-
    Tauno Serial Plotter, "for Arduino and other similar devices..."
    is available in the Arduino Software Manager:

  • -or-
    https://www.megunolink.com/documentation/plotting/xy-plot/
    ---------------------------------------------------------------

  • Links/Refs:

eof