Visual

Real time Arduino chart
1,4K descargas
Actualizado 20 may 2015

Ver licencia

This real time chart allows you to plot N signals coming from the serial port and save it in a txt file in order to post-process the data acquired. The code for Arduino to plot 3 signals, namely A, B and C, is the following:

void setup() {
Serial.begin(9600);
}
void loop() {
int A=random(0,100);
int B=random(0,100);
int C=random(0,100);
Serial.print(A); Serial.print("\t");
Serial.print(B); Serial.print("\t");
Serial.print(C); Serial.print("\t");
Serial.println();
delay(100);
}

Substitute the random signals (A,B and C) with your signals (e.g. int A=AnalogRead(A0) ) to plot it into the chart.

Citar como

Flavio Prattico (2024). Visual (https://www.mathworks.com/matlabcentral/fileexchange/48464-visual), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2014a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Analog Input and Output en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.2.0.0

Explanation.
This new update include directly the app to be installed in the Matlab apps section.

1.1.0.0

Icon updated

1.0.0.0