Chapter 6. Storing and Plotting Arduino Data

Sensors that are connected to Arduino produce lots of analog and digital data. Analog sensors produce data points as numerical information while digital sensors produce Boolean values, that is, 1 (on) or 0 (off). Until now, we printed this data as a string on the command prompt or displayed it in a GUI. The data was being printed in real time and it was not being saved for any further analysis. Instead of using the string format, if the data is printed as a plot or graph, it will provide useful information for us to rapidly understand it and derive conclusions. Plots are even more useful for real-time applications as they can provide information regarding the system's behavior for better understanding ...

Get Python Programming for Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.