May 04, 2020 So this is an effort to make a complete guide to using the Arduino Serial Plotter, using some elements from the above linked tutorial. First, you can find the feature here in the Arduino IDE: It will plot any data your Arduino is sending out in a Serial.print or Serial.println command. The vertical Y-axis auto adjusts itself as the value. Serial Plotter built into the Arduino IDE (Tools - Serial Plotter) can be. Used to plot the audio amplitude data. Circuit:. Arduino Zero, MKR Zero or MKR1000 board. ICS-43432:. GND connected GND. 3.3V connected 3.3V (Zero) or VCC (MKR1000, MKR Zero). WS connected to pin 0 (Zero) or pin 3 (MKR1000, MKR Zero). CLK connected to pin 1. Arduino Serial Plotter Scale xPlotter a simple plotter xPlotter is a simple plotter created as an alternative to the serial plotter provided by the Arduino IDE with the possibility to plot up to 6 signals and provides you with the possibility to set the range of both X and Y axes.
If you use Arduino, perhaps to handle the lower-level driving work of your DIY Robocar, you may have noticed the Serial Plotter tool, which is an easy way to graph data coming off your Arduino (much better than just watching numbers scroll past in the Serial Monitor).
You may have also noticed that the Arduino documentation gives no instructions on how to use it ¯_(ツ)_/¯. You can Google around and find community tutorials, such as this one, which give you the basics. But none I’ve found are complete.
So this is an effort to make a complete guide to using the Arduino Serial Plotter, using some elements from the above linked tutorial.
First, you can find the feature here in the Arduino IDE:
It will plot any data your Arduino is sending out in a Serial.print() or Serial.println() command. The vertical Y-axis auto adjusts itself as the value of the output increases or decreases and the X-axis is a fixed 500-point axis with each tick of the axis equal to an executed Serial.println() command. In other words the plot is updated along the X-axis every time Serial.println() is updated with a new value.
It also has some nice features:
But to make it work well, there are some tricks in how to format that data. Here’s a complete(?) list:
Serial.println(variable)
;
A more efficient way to do that is to send the labels just once, to set up the plot, and then after that you can just send the data:
Of course, now the numbers on the y-axis don’t mean much, but you can still see the waveforms.