Hello friends
I have two variables in my project, I want the sum of these two variables to be displayed in a plot.Is it possible to do this in the Arduino program?
For example, in the figure above, give the value of X and Y to Arduino with a potentiometer and let it draw the z vector. Is this possible in Arduino? If it is not possible in the Arduino compiler, I would be grateful if you could introduce another application.
I also saw examples where one axis was the desired variable vector and the other axis was according to the received data. I want to introduce both vector axes myself.
If you find the serial plotter too fast to observe, you could use the Arduino Support Package from MATLAB. It lets you specify the time period for simulation and perform mathematical operations on the measured signals.
I can connect to MATLAB through the serial port and view the information there and display only one of the variables in real time in the graph.
But I don't know how to get two separated variables in MATLAB. See this video (https://www.youtube.com/watch?v=0F-VjddQG8o)
So the connection is working. It sounds like you have a software problem at one or both ends. All versions of the classic Nano will provide the same functionality so the bootloader type has no effect apart from the newer one leaving more memory free for the sketch