Skip to content

Plot serial data onto a constantly updated web graph for analysis

Notifications You must be signed in to change notification settings

satyam285/SerIOGrapher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SerIOGrapher

read streaming serial data (from an arduino for instance) and plot it on a moving graph in your browser.

Uses Rickshaw, socket.io, socket.io-serialport

Installation

Git clone or download/extract zip

cd SerIOGrapher
npm install

Usage

List serial port(s) info

node acc_serial_socket.js -l

Run serial socket server

default serialport is number 3 (COM3 on windows, /dev/ttyS3 on linux *)

node acc_serial_socket.js

specifying a different port number

node acc_serial_socket.js -p 2

(* Mac users will need to manually edit the portPrefix section in acc_serial_socket.js to whatever is appropriate for their system)

Run graph webpage

open http://localhost:8080 in your browser of choice to see the data rendered. (tested on Chrome 55.0.2883.87 m 64-bit)

graph

Click Snapshot to duplicate a frozen copy of the current graph window.

graph

Trace over the snapshot with your cursor to see data values.

graph

Use the slider to zoom in on the relevant data.

graph

About

Plot serial data onto a constantly updated web graph for analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 49.0%
  • JavaScript 33.4%
  • HTML 11.9%
  • CSS 5.7%