An oscilloscope for the ESP32, in your browser
Turn a classic ESP32 DevKit into a four-channel scope with triggering, measurements, math channels, an FFT, equivalent-time sampling and a signal generator. Flash the board from this page, plug it in, press Connect. Nothing else to install.
No board yet? Open the scope and choose Source → Demo: a simulated ESP32 measuring an RC circuit.
Getting started
Three steps
Install the firmware
Connect the ESP32 by USB and use the installer below (Chrome or Edge). Or build it yourself from firmware/esp32-dso with PlatformIO.
Open the scope
Source = USB serial, Baud = 921600, Connect, pick the board's port, and the trace appears.
Wire it safely
The ESP32's pins take 0–3.3 V only. Use a 1 kΩ resistor in series with every input, and a divider for anything higher.
Other ways in
Already have a sketch running? Watch it without the firmware
The scope firmware gives the fastest sampling and every feature, so it is the one to start with. But the scope also reads what your own programs send over USB:
Add it to your project
Two lines and a small library (ScopeProbe) let your sketch keep doing its job while it streams pin voltages to the scope in the background, with marks for events. How
Any sketch that prints
Lines like 12345,1650 (time in ms, then values) from Serial.printf are plotted as they arrive, at any baud rate. No library needed. How
No board at all
Choose Source → Demo: a simulated ESP32 measuring an RC circuit, so you can learn every control first. Open the scope
Features
What it does
Numbers are what one test board measured (ESP32-D0WD, Arduino core 3.3.12). The verification guide shows how to check them on yours.
Real-time sampling
Up to 250 kSa/s with the ESP32's DMA ADC mode, shared by up to four channels. Normal, Peak detect, Hi-Res and Average acquisition.
Equivalent-time sampling
For repeating signals: points down to ≈ 10 ns apart, time bases to 50 ns/div. Shows edges as fast as the input itself (≈ 22 ns through 1 kΩ).
Trigger like a bench scope
Edge trigger on any channel, Auto / Normal / Single / Force, pre-trigger, noise reject, holdoff (text streams). Roll mode for slow signals.
Measurements and cursors
17 automatic measurements (frequency, RMS, rise time, duty, area …) with statistics, plus time and level cursors.
Math channels
Formulas with derivatives and integrals: see a capacitor's current as C * dv1, or use live readings like freq1 and pp1.
FFT, X-Y, persistence
Spectrum with windowing, X-Y mode for Lissajous figures, persistence for jitter and glitches, split and stacked layouts.
Signal generator
The board drives its own test signals: square 0.01 Hz – 1 MHz with adjustable duty, or a DAC sine from 130.6 Hz to 200 kHz.
Calibrated
A two-point calibration against your multimeter: the test board then agreed with a meter within ±4 mV.
Plot any sketch
A small library (ScopeProbe) or plain Serial.printf lines turn the scope into a plotter for your own projects, at any baud rate.
Before you start
What you need, and what it is not
You need
- A classic ESP32 board (ESP32-WROOM-32, DevKitC and similar). S2, S3, C3 and C6 boards are not supported.
- A USB data cable (some cables only charge).
- Chrome or Edge on a computer (Windows, Linux or macOS). Phones can read the documents and run the demo, but cannot connect to the board.
- A few resistors (1 kΩ, 10 kΩ) and a breadboard. A multimeter helps for calibration.
It is not
- Not for high voltages. Inputs are 0–3.3 V, not 5 V tolerant. Never connect it to mains or anything powered directly from mains.
- Not a lab instrument. There is no analogue front end and no anti-alias filter; real-time sampling stops at 250 kSa/s.
- Tested on one board. Run the verification guide before you trust a reading.
Firmware
Install the firmware from this page
Writes the ESP32-DSO firmware to the board over USB, straight from the browser.
You opened this page from a file on your computer, and browsers block the installer for files. Three ways round it: use the installer on the website, or the installed app (see “Use it as an app” below; it works offline), or write the firmware file that came in this folder with Espressif’s esptool: esptool --chip esp32 write_flash 0x0 flash/esp32-dso-1.5.1.bin. Building it yourself with PlatformIO works too (user guide).
Before you press it: plug in the board, and close anything else that is using its port (the scope tab, an Arduino or PlatformIO serial monitor). Installing erases the whole flash (the program on the board and anything it saved), then writes the scope firmware.
If the browser does not list your board, install the USB driver for its USB chip (CP210x, CH340 or CH9102). If writing never starts, hold the board's BOOT button while it connects. To build the firmware yourself instead: user guide, Scope firmware.
Learn
Documents
Offline
Use it as an app
In Chrome or Edge, use the Install icon in the address bar (or the browser menu → Install). The scope then opens in its own window from a desktop or Start-menu icon and keeps working without an internet connection, the documents and the firmware installer included. It updates itself the next time you are online. Prefer files? The zip download has everything as loose files: open scope.html to use the scope and index.html for this page and the documents. Browsers do not let a page opened from a file write firmware, so the zip includes the firmware file for esptool (see the note under the installer above).