NodeLoop

WebSerial Board ConsoleBeta

Connect via Web Serial, monitor logs, send commands, plot data, and flash firmware on supported boards.

Erratum
Updated
  • The "Arduino" example used Serial.printf, which the classic AVR core (Arduino Uno R3) does not provide, so it did not compile on the most common board. It now uses Serial.print, states the target board, and explains the ADC reference and resolution behind the volt conversion. Checked by compiling for the ATmega328P with the Arduino AVR core.

Sources: Arduino AVR core, Print.h (no printf member).

Serial Monitor

Real-time Plotter

How It Works

This dashboard relies on the Web Serial API, allowing your browser to talk directly to serial devices (Arduino, ESP32, Raspberry Pi Pico, etc.).

Serial Monitor

The left-hand terminal shows every line received from your board. Use the input field to send commands back (PING, LED_ON, etc.).

Real-time Plotter

Any line that looks like a list of numbers is recognised and can be plotted. Supported formats :

  • D,1,2,3 - data prefix
  • 1,2,3 - CSV comma
  • 1;2;3 - CSV semicolon
  • 1 2 3 - space-separated
  • [1,2,3] - JSON array
  • 42 - single value

Click a detected stream in Data Channels to toggle its curves.

Arduino Example Code (Arduino Uno R3)

This sketch sends one line per sample in the D,value1,value2 format: A0 in volts and a synthetic sine wave. It uses Serial.print, which every Arduino core provides (the classic AVR core of the Uno has no Serial.printf).

// Arduino Uno R3 (AVR core): 10-bit ADC, default 5 V analog reference.
void setup() {
  Serial.begin(115200);
}

void loop() {
  int raw = analogRead(A0);              // 0..1023
  float v1 = raw * (5.0 / 1023.0);       // volts with the default 5 V reference
  float v2 = sin(millis() / 1000.0);     // synthetic test signal
  Serial.print("D,");
  Serial.print(v1, 3);
  Serial.print(',');
  Serial.println(v2, 3);
  delay(50);
}

On other boards, change the conversion: a 3.3 V board with a 10-bit ADC uses 3.3 / 1023.0, and ESP32 or Arduino boards with 12-bit ADCs return 0–4095 (and the ESP32 ADC is not linear near its ends). Check the board's ADC reference and resolution before trusting the volts.

Frequently Asked Questions

Which browsers are supported?

The Web Serial API is supported by modern desktop browsers like Google Chrome, Microsoft Edge, and Opera. It is not currently available on Firefox, Safari, or any mobile browsers.

Why can't I connect to my device?

First, ensure you are using a supported browser. Check that your device is not already being used by another program (like the Arduino IDE's Serial Monitor). Finally, verify that you have selected the correct baud rate to match what's set in your microcontroller's firmware.

What are the use cases for this tool?

This tool is perfect for quick debugging, live sensor data visualization, calibrating hardware, or running student workshops where installing dedicated software isn't feasible. Any project that sends serial data can be monitored and visualized instantly.

Related resources