Visualize Data using the Arduino Serial Monitor & Plotter

Disclosure: Some of the links in this post are affiliate links. This means that, at zero cost to you, Learn Robotics will earn an affiliate commission if you click through the link and finalize a purchase. Learn Robotics is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a way for websites to earn advertising revenues by advertising and linking to Amazon.com.

Table of Contents

Today’s post is going to be a bit shorter because I’ve created a video walk-through that explains the how-to’s. So if you’re a visual learner, you’re in luck!

Visualize Data using the Arduino IDE

I’ve been working on projects lately where data visualization is very important. So, as curious as I am, I wanted to find a way to easily record and visualize data without having to install 3rd-party software, use an Ethernet or Wifi shield, or write some sort of python code to query and plot my data.

Then, I found out about the Arduino Serial Plotter. The majority of you are probably familiar with the Serial Monitor, which allows us to display data on our computer from the Arduino using print statements.

Well, it turns out that the Serial Monitor has a brother, called the Serial Plotter. And let me tell you, it’s wicked cool. You don’t need anything but the Arduino IDE to use it, which means you already have access to it if you program from this environment.


Subscribe to YouTube

The Serial Plotter works by graphing print statements over time in real-time. So, you can set how many readings per time duration you want (in this video I collect a reading every second), and then it’s plotted on a 2D graph.

You can also plot your own x, y variables, which allows flexibility in case you don’t want to plot over time.

And, for all you math wizards out there, you can also create multivariate plots, which can be helpful if you’re trying to do an analysis between two sensor readings over time.

Go ahead and have a watch at the video, and let me know in the comments below if you knew about the Serial Plotter, and how you’ve used it!

The code from this video is from my post about creating a Light Following Robot, which you can read here.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Wait,

Learn Robotics Online
— Get 2 months free!

Exclusive Limited Offer for Serious Beginners Ready to take their Hobby to Engineering Internships, $100k+ Careers, and Beyond!

Enroll now, and earn your first robotics certificate in the next 7 days.

👇 Click below to claim this deal.