Git Product home page Git Product logo

serial-oscilloscope's Introduction

Serial-Oscilloscope

Serial Oscilloscope is a Windows application that plots comma-separated variables within any incoming serial steam as channels on a real-time oscilloscope. The application also functions as a basic serial terminal, received bytes are printed to the terminal and typed characters are transmitted. The project uses Michael Bernstein's oscilloscope library to plot up to 9 channels on 3 different oscilloscope with view and trigger menus.

Serial Oscilloscope is compatible with any serial stream containing comma-separated values terminated by a new-line character ("\r"). For example, "11,22,33\r" will be interpreted as values 11, 22 and 33 for channels 1, 2 and 3 respectively. The serial stream can also include non numerical characters which will be ignored. For example, "a=0.5,blue,x=3.14,t1t2t3,8\r\n" will be interpreted as values 0.5, 3.14, 123 and 8 for channels 1, 2, 3 and 4 respectively.

The source files also include an Arduino sketch to send analogue input values over serial. Up to 6 ADC channels can be enabled by sending the characters "1" to "6" to the Arduino. Enabling more channels will reduce the sample rate.

In the YouTube video I show the Arduino and Serial Oscilloscope being used to plot data from an IR distance sensor, a triple-axis accelerometer and a microphone.

Precompiled binary files can be downloaded from the x-io website.

Version history

  • v1.0 Initial release
  • v1.1 Supports non-standard baud rates. Disable terminal feature added.
  • v1.2 Fixed memory leak and bug that prevent plotting of negative numbers.
  • v1.3 No longer ignores "." for plotting decimal values.
  • v1.4 Clear terminal menu item added
  • v1.5 Log to file tool. Remove non-numerical characters from port names.

serial-oscilloscope's People

Contributors

xiotechnologies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

serial-oscilloscope's Issues

Wrong separator character

Very good tool, very useful!

Imo, the only thing that is not perfect is the termination character, which is set to '\r' instead of '\n'.
Note that '\r' is the carriage return and '\n' is the newline character.

I hope for one fix of the following list:

  • change to the true newline character '\n'
  • allow '\r' and '\n' and '\r\n' as possible separator
  • make the separator chosable
  • change documentation from newline to carriage return (least favourable solution imo)

The reason I prefer '\n' is, that most command line tools (sed and similar) seem to be preferring this over '\r'.

X-Y plot (lissajous plot)

I want to convert the source code for the llissajous ploting. give me some help for that. if there any thing already done in past please share with me.

thank you...

Need to manually add COM port

Need to manually add COM port using a form and a [add] button, for instance COM1.
I'm using wine to run under OSX. As it seems X-CTU for XBee devices allows to add manually.
Hoping this wil help Serial Oscilloscope's refresh issue under wine for OSX

Launching multiple instances

I am trying to work with displaying data from 6 different accelerometers using Serial-Oscilloscope, but i am having trouble with instancing more than 4 instances. The error code is SCOPE_HANDLE_ERROR , followed by : SCOPE_CREATION_ERROR

color map of traces

Is it possible to put somewhere on the GUI how the channels correspond to the colors of the traces?

Not working with Arduino Leonardo

First of all, great work with the code !! thanks.

The problem was solved for me enabling DTR when opening the COM port. It looks like it is needed when working with Leonardo.

serialPort = new SerialPort(portName, baudRate, Parity.None, 8, StopBits.One);
serialPort.DtrEnable = true;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.