arduino / arduino-serial-plotter-webapp

arduino-serial-plotter-webapp
GNU Affero General Public License v3.0
4 stars 8 forks source link

Serial plotter standalone? #30

Open rin67630 opened 5 years ago

rin67630 commented 5 years ago

The serial plotter from the Arduino IDE is a really nice thing. I am using it right often on weak Raspberry Pi devices.

The only caveat is that to use it, I must jettison the bulky IDE, which takes unnecessarily a lot of resources and time to start.

Have we got a way to start the serial plotter standalone? If not, would it be a big thing to get this done? (I mean not a complete autonomous program, but just the bare minimum to start just the serial plotter directly within the existing IDE installed folders.)

Thank you for considering.

Related forum thread: http://forum.arduino.cc/index.php?topic=603903

rin67630 commented 5 years ago

Any update on that issue?

madsdyd commented 4 years ago

Skimming the source code, I would think that starting the serial plotter without running the IDE is non-trivial to add to the existing code base. E.g. the code for setting the port is part of the Arduino IDE. Given enough requirements, you end up effectively starting the IDE anyway (even if it is hidden).

elpiel commented 4 months ago

I've just released a new crate in Rust that allows you to interact with the webapp from this repository. I still have plans to add a CLI for connecting and e.g. add a pass-through option to use a serial device I might take a bit of time to develop.

In the mean time you can build your custom-specific binary in Rust to do this for your project using the crate below:

https://github.com/LechevSpace/arduino-plotter https://crates.io/crates/arduino-plotter

rin67630 commented 1 month ago

I've just released a new crate in Rust that allows you to interact with the webapp from this repository.

I'm afraid Rust is beyond my experience. Have you made some progress to make it available as an app?