Oscilloscope Online 2 Icon

Oscilloscope Online 2

HTML5 CSS JavaScript

An updated version of the web-based oscilloscope used to interface with microcontrollers to capture, visualize, and analyze real-time signals using dynamic inputs, Timescale, and Logarithmic scales.


/Oscilloscope-Online-V2

Live Plotting example

Open Oscilloscope Online V2

🔧 Key Features

Example of Interactivity

Interacting with the graph example

📈 Plotting Modes

The plotter supports three distinct modes to fit a variety of use cases, ranging from general-purpose visualization to precision timing:

Example of Time Scale feature

Plotting with timescale example

📤 Data Format

Here is a little “behind-the-scenes” for how the data is processed.

function DataProcessor(message, timeReceived) {
  if (message === cls_char) {             // Clear Previous Data
    clearData();
  } else {
    let data = message.split(break_char); // Separate using break_char
    if (xAxisType === 'time') {
      if (manualTime) {
        addTime(data[0]);                 // Add first value to x axis and remove it from data
        data.shift();
      } else {
        addTime(timeReceived);            // Add time received at to x axis
      }
    }
    addData(data);                        // Add remaining data to the chart

    counter++;                            // Erase data if too much is collected
    if (counter > maxPoints) {
      clearData();
      counter = 0;
    }
  }
}

There are 2 basic things you need to keep in mind:

🧹 Clear Screen Command

To clear all previously collected data, simply send the configured cls character

This will reset the plotter and erase existing data.

⏱ Manual Time Scaling Note

If you’re using Manual Time Scale mode, the first value is treated as the timestamp in milliseconds.
This is ideal for use with millis() in Arduino or similar microcontrollers.


⚙️ Setup Page

All configuration options are available on the Setup page.
You can customize parameters such as baud rate, break/CLS characters, plot types, and more.

A built-in Help section is also provided to explain the purpose and functionality of each setting—perfect for new users or quick reference.

Setup Page

🎨 Themes

The application supports both Light and Dark themes to suit different environments and user preferences.

You can toggle between themes anytime.
Your selected theme is automatically applied across all pages for a consistent visual experience.

Themes

🌐 Browser Requirements

To ensure full functionality, your browser must support the following:


Made with uPlot