Yes, indeed, it is possible to draw curves in real time.
If you decide to use the free solution (CoolTerm + Excel), I have developed a VBA script on Excel to open and plot curves in real time from a * .txt file (powered by CoolTerm) with a minimum refresh rate of 15 sec (to allow time for the computer to compile and execute the code).
The tutorial is presented in the following part:
6. Setup of the operating software
6.1 CoolTerm
6.1.1 Coolterm and Excel: VBA script for displaying curves in real time
6.1.1.1 Setting Excel
6.1.1.2 Curves tracing
6.1.1.3 Basic Configuration
6.1.1.4 Start / stop curve tracing
http://rc-lab.fr/arduilog-v-01-appareil ... alogiques/
CoolTerm:
http://freeware.the-meiers.org
The excel workbook:
http://rc-lab.fr/wp-content/uploads/201 ... ol.xls.zip
For those using only the analog inputs of the Arduino, you must send the serial data in the following frame:
code: Select all
/*
Cet exemple permet de la tension analogique des 6 voies analogiques de l'Arduino, puis de transférer en Série.
La trame est la suivante :
Numéro de mesure ; Tension_A0 ; Tension_A1 ; [...] ; Tension_A5
*/
int compteur = 0 ;
void setup() {
Serial.begin(9600);
}
void loop() {
compteur +=1 ;
float voltageA0 = analogRead(A0) * (5.0 / 1023.0);
float voltageA1 = analogRead(A1) * (5.0 / 1023.0);
float voltageA2 = analogRead(A2) * (5.0 / 1023.0);
float voltageA3 = analogRead(A3) * (5.0 / 1023.0);
float voltageA4 = analogRead(A4) * (5.0 / 1023.0);
float voltageA5 = analogRead(A5) * (5.0 / 1023.0);
Serial.print(compteur);
Serial.print(";");
Serial.print(voltageA0);
Serial.print(";");
Serial.print(voltageA1);
Serial.print(";");
Serial.print(voltageA2);
Serial.print(";");
Serial.print(voltageA3);
Serial.print(";");
Serial.print(voltageA4);
Serial.print(";");
Serial.println(voltageA5);
delay(500);
}
If you have decided to buy the MegunoLink software, the refresh time is 1 sec. You have to go to the 6.2 MegunoLink part
And by the way, I have good news: the diagram of the electronic card is ready!