Dear Experts,
I need your kind assistances for the following issue, I faced.
Firstly, I do admit that I am not a person from computer programming/coding & electronics background.
However, after being interested on Arduino, I installed the IDE 2.2.1 on my laptop with Windows 10, 64 bit (following the compatibility requirement in the IDE download page of arduino.cc), bought an original Arduino UNO kit and connected it to the laptop and the device (Arduino UNO) was selected and also recognized by the IDE accordingly.
However, being interested about EMG monitoring using Arduino, I bought an EMG Sensor and managed to get the necessary programming which was successfully compiled & uploaded to the board. The program is as follows:
void setup()
{
Serial.begin(9600);
}
void loop()
{
float sensorValue = analogRead(A1);
float millivolt = (sensorValue/1023)*5;
Serial.print("Sensor Value: ");
Serial.println(sensorValue);
Serial.print("Voltage: ");
Serial.print(millivolt*1000);
Serial.println(" mV");
Serial.println("");
delay(1);
}
However, although I got a nice response in the Serial Monitor, but no graphical output came in the Serial Plotter although it was realized that something is going as the base line values of X-Axis was found to be changing
Next I downloaded and installed IDE 1.8.19 and run & uploaded the above said program and I got the expected output not only in the Serial Monitor (as same as from using IDE 2.2.1) but also in the Serial Plotter (that did not happen while using IDE 2.2.1)
In this regard, I kindly need your help as I can not understand that although IDE 2.2.1 is compatible with Windows 10 as the Arduino website, it can not produce the expected output in the Serial Plotter despite it has been found to be possible through IDE 1.8.19 for the same program.
I also noticed and did not understand that although the Y-Axis base line values in the Serial Plot of the output showed the interval like 0.0-1500.0-3000.0-4500.0 (for IDE 1.8.19 that gave good response) however the same came out as -0.2-0-0.2-0.4-0.6-0.8-1.0-1.2 and did not show any variation/changes sensor values/voltages while using IDE 2.2.1 despite the program being same that was compiled and uploaded successfully for each IDE.
I do hereby attach the screenshots for the issues as described above.
Please guide me to resolve the Serial Plotter issue for IDE 2.2.1
Regards
Souvik Das
West Bengal, India