Skip to content

Browser-based tool for plotting CSV data from a serial com port. Similar to Arduino Serial Plotter, but in your browser!

License

Notifications You must be signed in to change notification settings

sparkfun/SparkFun_WebSerialPlotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkFun Web Serial Plotter

A browser-based tool for plotting CVS data from a serial com port. Similar to the Arduino IDE Serial Plotter, but in your browser.

You can play with the live demo here:

https://docs.sparkfun.com/SparkFun_WebSerialPlotter/

This project is a continuation of the work done by Nick Poole, in SparkX, started July 9th, 2022. That original project source code can be found here: https://github.com/sparkfunX/WebTerminalDemo

This is a simple demo of the Web Serial API which implements a bare-bones serial terminal.

screenshot

bargif

linegif

This demo uses TextEncoderStream and TextDecoderStream to encode/decode the serial stream, so it only deals in strings and not raw bytes. Please see the comments in script.js for more detail on how the Web Serial API is being utilized.

It also accepts a query string to prefill the outgoing text box, like this:

https://sparkfunx.github.io/WebTerminalDemo/?prefill=This%20is%20prefilled%20text

Distributed as-is; no warranty is given.

About

Browser-based tool for plotting CSV data from a serial com port. Similar to Arduino Serial Plotter, but in your browser!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •