nathandunk / BetterSerialPlotter

A drop-in replacement for the arduino serial plotter
MIT License
162 stars 25 forks source link

Can't read data from board #13

Closed Segilmez06 closed 1 year ago

Segilmez06 commented 1 year ago

I downloaded the Windows v0.1.1 zip from the release page and tried to run a simple program that reads from a potentiometer and draws it. It works fine with the built-in plotter, but the app doesn't detect any signal. Also, I tested the example codes, and still the same. What should I do to run that?

void setup() {
  Serial.begin(9600); 
}

void loop() {
  Serial.println(analogRead(A0));
}

image

nathandunk commented 1 year ago

Hmm, that is strange. I haven't done any testing in Windows 11 because I don't have any machine that runs it, but I wouldn't expect it to be any different. Could you maybe try running the Better Serial Plotter as an administrator? The only thing I can think of is maybe Windows 11 has different restrictions for connecting to serial ports.

To check other ideas as well, what type of board are you using? And are you making sure that you don't have the arduino IDE reading the serial as well? It will only work with one at a time.

Segilmez06 commented 1 year ago

I've tried it using 3 different clone Nano boards and an original Mega 2560. Now I retried and it's connected. Maybe because of some system updates. At the moment, it works flawlessly. image