teleplot icon indicating copy to clipboard operation
teleplot copied to clipboard

Not working on Mac?

Open michaelberge8 opened this issue 2 years ago • 5 comments

Hello,

Thank you for creating this. This is probably the only serial plotter I can find on the marketplace. So I enabled the extension from VS Code marketplace, pasted your example Arduino code, and set the baud rate and port in Teleplot, but can't get anything to show up? I click open and nothing happens.

Thanks, MB

michaelberge8 avatar Mar 10 '23 11:03 michaelberge8

The issue might be in how the serial connection works in VSCode. Could you try opening https://teleplot.fr (with chrome preferably) and check if the serial port works?

nesnes avatar Mar 14 '23 01:03 nesnes

I opened in Chrome and connected the correct port and selected the baud rate and still nothing..

michaelberge8 avatar Mar 27 '23 07:03 michaelberge8

see https://dev.to/unjavascripter/the-amazing-powers-of-the-web-web-serial-api-3ilc maybe enabling "Experimental Web Platform Features" is worth a try

mhaberler avatar Apr 26 '23 18:04 mhaberler

@mhaberler That worked. Another issue is if you look at the left side of the image below the telemetry search bar, you can see that a bunch of random telemetry points are added:

Screenshot 2023-12-08 at 12 21 44 PM

Here is the code:

Serial.print(">keypad:");
Serial.println(analogRead(A2));

Only 'keypad' should show up in telemetry and not all the others. It's not a big issue but it is annoying.

michaelberge8 avatar Dec 08 '23 20:12 michaelberge8

I can only get the VScode extension on Mac to work occasionally, generally by manipulating baud rate in the main.cpp and then attempting to get teleplot to respond to pressing the 'open' button. 1 time in 20 works...

The device is always present in the teleplot drop down menu and I can read the device in the vscode serial monitor and the Arduino IDE serial plotter. It's a shame because when I can get the extension to work, it's great.

tommyco10 avatar Aug 27 '24 15:08 tommyco10