Live Plotting Serial Data & Arduino-Servo Controller control

Hi,

For my masters project I have created an experimental assembly that uses an Arduino Mega to collect strain measurements from two HX711 boards (connected to two Wheatstone bridges with strain gauges), and angle measurements from two AS5600 magnetic encoders. All of this is done on the Arduino IDE, printing the results to the serial which is then exported as csv.
I have a servo controller (Maestro Micro Servo Controller) that runs completely separately from the Arduino, controlling two servo motors.
I want to display live plots of strain and angle measurements for a presentation, so that the panelists can see the effects while I run the experiment for them. This has been done in Python.

MY PROBLEM:
I want to centralise all the coding so that I can click one button and the experiment runs off one program, controlling the motors and receiving the measurements and displaying the measurements through a live plot, all in one.

Please read and comply:

The code for running the Arduino is on the Arduino. The code for running a plotter is not on the Arduino. The Arduino will run the motors and receive the measurements... then send data through the serial comm port, where the application of your choice will plot the data.

I am certain your Masters' Panel know this.

You could try LabVIEW if you insist on a graphic buttons to start.

as well a Labiew as suggested by @xfpd you may find the University has a Matlab license
also have a look at GNU Octave
if you are transmitting results over the Arduino serial monitor you could implement programs in languages such as C++, C#, Python, Java, etc to read the serial data and display it

You might find something you can use in this post about the Firmata protocol:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.