Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial Plotter examples #3451

Closed
pierrotm777 opened this issue Jul 2, 2015 · 15 comments
Closed

Serial Plotter examples #3451

pierrotm777 opened this issue Jul 2, 2015 · 15 comments
Labels
Component: Documentation Related to Arduino's documentation content feature request A request to make an enhancement (not a bug fix) Help wanted Arduino would especially appreciate assistance from the community on this item SerialPlotter Tools > Serial Plotter
Milestone

Comments

@pierrotm777
Copy link

I see a new 'Serial Plotter' feature that arrive with the future IDE 1.6.6 .

Can you give us some examples for it use ?

Thanks

@ffissore
Copy link
Contributor

ffissore commented Jul 2, 2015

There is an example sketch at #2177 (comment)
It would be nice if you could provide an example good enough to be included in the standard set

@ffissore ffissore added Component: IDE user interface The Arduino IDE's user interface Help wanted Arduino would especially appreciate assistance from the community on this item labels Jul 2, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Jul 2, 2015
@ffissore ffissore self-assigned this Jul 2, 2015
@pierrotm777
Copy link
Author

It's fantastic new feature .
I cool option would be to add several plots possibility in same time with different colours :-)

@ffissore
Copy link
Contributor

ffissore commented Jul 2, 2015

/cc @henningpohl in case he wants to jump in

@henningpohl
Copy link
Contributor

I added a basic example here: henningpohl/Arduino@0f395d8

It is a bit odd though, as the example is not really showing off capabilities of the Arduino, but instead of the IDE. Would you want a PR for this anyway?

As for extension options: certainly multiple graphs, each with a different color, would be a clear way for this to move. There's a bit of a trade-off in that this could get overly complicated if not kept in check. For example, somebody might want to add spectrograms, logic analysis, or signal smoothing. I personally don't think that's what this should become. But hey, at the end that's really up to the people using this.

@ffissore
Copy link
Contributor

ffissore commented Jul 3, 2015

Thank you @henningpohl, we are reviewing it

@ffissore
Copy link
Contributor

ffissore commented Jul 6, 2015

@henningpohl instead of a new example, we prefer enriching AnalogReadSerial description. See d9b3a86

@ffissore
Copy link
Contributor

ffissore commented Jul 7, 2015

And ReadAnalogVoltage. See 974fef1

@q2dg
Copy link

q2dg commented Sep 6, 2015

Maybe it should be noticed in these comments that Serial Plotter only works with Serial.println() -because it uses \n as value delimiter, does it?- but not with Serial.print() or Serial.write().

@q2dg
Copy link

q2dg commented Sep 6, 2015

@henningpohl The idea of showing multiple graphs...is finally discarded?

@henningpohl
Copy link
Contributor

@q2dg not discarded, but I won't have time for this before mid-October

@q2dg
Copy link

q2dg commented Sep 29, 2015

Ok, thanks a lot. Casually yesterday I wrote a comment in #2177 asking for the same...I don't wanna be onerous, sorry

@q2dg
Copy link

q2dg commented Oct 26, 2015

@henningpohl Thanks a lot for that pull request!! Let's see if we are lucky and it gets merged...
If it were...how would be a code sending two series of values? Is there some identifier inside the message written by Serial.println()?? Thanks!!

@henningpohl
Copy link
Contributor

You just need to separate individual values by commas or spaces. So you could, e.g., send one update from the Arduino as: "3.4, 5.4, 1.0\n".

@q2dg
Copy link

q2dg commented Oct 26, 2015

Ahhh, terrific!! Thanks!

@jonathanrjpereira
Copy link

Here's a link to a tutorial that I made on Instructables about the Arduino Serial Plotter. It has a detailed explanation & example code too.

http://m.instructables.com/id/Ultimate-Guide-to-Adruino-Serial-Plotter/

@per1234 per1234 added Component: Documentation Related to Arduino's documentation content feature request A request to make an enhancement (not a bug fix) SerialPlotter Tools > Serial Plotter and removed Component: IDE user interface The Arduino IDE's user interface labels Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Related to Arduino's documentation content feature request A request to make an enhancement (not a bug fix) Help wanted Arduino would especially appreciate assistance from the community on this item SerialPlotter Tools > Serial Plotter
Projects
None yet
Development

No branches or pull requests

6 participants