-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Serial Plotter examples #3451
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
Comments
There is an example sketch at #2177 (comment) |
It's fantastic new feature . |
/cc @henningpohl in case he wants to jump in |
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. |
Thank you @henningpohl, we are reviewing it |
@henningpohl instead of a new example, we prefer enriching AnalogReadSerial description. See d9b3a86 |
And ReadAnalogVoltage. See 974fef1 |
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(). |
@henningpohl The idea of showing multiple graphs...is finally discarded? |
@q2dg not discarded, but I won't have time for this before mid-October |
Ok, thanks a lot. Casually yesterday I wrote a comment in #2177 asking for the same...I don't wanna be onerous, sorry |
@henningpohl Thanks a lot for that pull request!! Let's see if we are lucky and it gets merged... |
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". |
Ahhh, terrific!! Thanks! |
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/ |
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
The text was updated successfully, but these errors were encountered: