Verification guide
Experiments that check every important claim this scope makes, on your own board, with a multimeter and a handful of parts. Each test gives the setup, the steps and the expected result. Work through the stages in order: each relies on the ones before it.
Why, and where the explanations are. A measuring tool is only useful if you know how far to trust it, and this scope has never been calibrated against anything. These tests compare it with things you can trust: your multimeter (voltage), the self-test (the maths), physics and component values (circuits) and a stopwatch (time). This page only says what to do and what to expect. Each test links to the chapter of Oscilloscope fundamentals that explains the idea, and to the technical reference for exact figures.
Status of this version. Every test in this guide has been run on one test board (an ESP32-D0WD devkit, Arduino core 3.3.12), most recently all of them with version 1.10.2/1.10.3 except C4 (no cell to hand) and C3/C3d (run with earlier versions; the ADC path has not changed since); the numbers quoted as "Test board" come from it. Your board can differ, especially in voltage accuracy: treat every number as "what one board did" until you have confirmed it on yours.
What you need
| Item | Used for |
|---|---|
| ESP32 DevKit (classic ESP32-WROOM-32) and a data USB cable | Everything |
| Digital multimeter (DC volts; capacitance mode is useful but optional) | The voltage reference |
| Breadboard and jumper wires | All circuits |
| Resistors: 1 kΩ ×4, 10 kΩ ×4, 100 kΩ ×2 (1 % metal film if you have them) | Dividers, series protection, RC circuits |
| 10 kΩ potentiometer | Adjustable test voltage |
| Capacitors: 100 nF ceramic ×2, 10 µF and 100 µF electrolytic | RC circuits, filtering |
| One AA or AAA cell (1.5 V) | A voltage source independent of the ESP32 |
| LED (any colour) and a phone stopwatch | Timing check (D4) |
| Printed or copied record sheet | Writing down results |
Rules for testing
Every test voltage in this guide comes from the ESP32's own 3V3 pin, its generator pin, or a single 1.5 V cell. None of these can exceed the ADC pins' limits (−0.3 to 3.6 V). Do not "improve" a test by using another power supply, the board's 5V / VIN pin, or a USB charger. Put a piece of tape over the 5V/VIN pin so you can't touch it by accident.
- Always a 1 kΩ resistor in series with the ADC pin (between your test point and GPIO 34/35/32/33).
- Wire with the USB cable unplugged. Check the wiring, then plug in.
- Generator output always through a resistor (1 kΩ or more). The scope starts with the generator off; switch it on only when the circuit is wired.
- Measure with the multimeter at the same moment (or straight after) as the scope, at the same point, with the meter's black lead on the ESP32's GND.
- Write everything down, including the readings that look wrong.
Pass criteria. Each test states what counts as a pass. Where Espressif publishes a figure, the criterion is based on it; otherwise it is the author's expectation and is marked as such. If your board misses a criterion slightly, note it: that is exactly what you need to know before you rely on it.
The standard setup (most tests start from it): Source = USB serial, Baud = 921600, connected; Data tab → Reset all settings; CH1 (GPIO 34) on, the other channels off; Acquire mode Hi-Res (the default after a reset); Measure tab → Statistics ticked; Readout = 4 /s. Reset all settings keeps your connection, colours and calibration, and always leaves the generator off.
Where the controls are
The tests name controls by their tab and label, for example "Trig/Acq tab → Trigger → Mode". This is where they are:
| You are asked to… | Where and how |
|---|---|
| Turn a channel on or off | Scope tab → Channels & math → press the channel's button (CH1…CH4, M1…M4) → tick or untick on. The same place sets its input pin, Volts/div and position. |
| Set Time/div or the horizontal Position | Scope tab → Horizontal. The − / + buttons step the value and repeat while held down; 0 puts Position back to the centre. You can also drag the orange triangle at the top of the screen. |
| Set the trigger | Trig/Acq tab → Trigger: Mode (Auto / Normal), Source (CH1…CH4), edge (↑ Rise, ↓ Fall, ↕ Both), Level. Each Level click moves it by one tenth of the source channel's Volts/div; you can also drag the ◀T marker at the right edge of the screen. 50% puts it in the middle of the signal. |
| Set the acquire mode, Memory or ADC engine | Trig/Acq tab → Acquire. The grey line underneath shows what the board is doing (channels, sample rate, points, ADC rate). |
| Add a measurement | Measure tab: choose the source in the first box (for example CH1), the type in the second (for example Frequency), press Add. Results appear in boxes under the screen. With Statistics ticked, each box also shows μ (average), σ (spread), min, max and n (number of captures measured); Reset starts them again. |
| Use cursors | Measure tab → Cursors: Time gives two vertical lines A and B, Level two horizontal lines on the trace chosen in "Level on", Both gives all four. Drag a line to move it. The readout (under Cursors and in a box on the screen) shows the times of A and B, their difference ΔT, and every trace's value at A and at B. |
| Start, stop, single capture | The four large keys at the top right: RUN (toggles RUN / STOP), SINGLE, AUTO (automatic setup), FORCE (capture now, without a trigger). |
| Read the status | The bar above the screen: first chip = run state (RUN / STOP / SINGLE), second chip = trigger state (Trig'd, Wait, Auto = untriggered, Roll), then time base, delay (Position), sample rate (Sa), points and trigger settings. Frames per second are at the right end. |
| Signal generator | Gen tab: Pin, mode (Off, High, Low, Square, Sine), Frequency, Duty (Sine: Amplitude). High and Low are steady levels, like a bench generator's DC output. |
| Change how traces are drawn | Display tab: Layout (Single / Split / Stack), Draw (Lines / Dots), Persistence, Grid, Labels. |
Stage A
A. Software, without hardware
A1 · Self-test
- Open tests.html (also linked at the top of every document).
Pass: "All N tests passed" (44 in version 1.11.1). Any FAIL means the calculations cannot be trusted in this browser: note the browser and version and report it.
A2 · Demo known values
- Source = Demo. Data → Reset all settings. Press AUTO, then set Time/div = 1 ms.
- Measure: the list already has CH2 Frequency after the reset; add CH2 Duty cycle and CH2 Amplitude.
- Channels & math: switch on M1 (
(v2 - v1) / R) and M2 (C * dv1); Display → Layout → Split. - Measure: add M1 Mean.
Pass: Frequency 200 Hz (±0.5 %). Duty 50 % (±1 %). CH2 Amplitude ≈ 3.0 V (the demo imitates the ADC's top-end clipping). M1 and M2 lie on top of each other. M1 Mean within a few µA of 0 A (a capacitor's average current is zero in steady state).
Background: fundamentals, maths channels.
Stage B
B. Firmware and link
B1 · Compile and upload
- Open
firmware/esp32-dsoin PlatformIO and press Build (✓ in the status bar). Note the Arduino core version printed near the start, and copy any line containingwarning:orerror:. - Press Upload. If it stops at
Connecting…, hold the board's BOOT button until writing starts. - Close any serial monitor. Open
scope.html, Source = USB serial, Baud = 921600, Connect.
Pass: the build has no errors; upload succeeds; the top bar shows ESP32-DSO 1.5.1 · core … · … max (1 ch, DMA) (with core 2.x it says analogRead); the Gen tab shows Off.
Record: core version, any warnings, the max rate figure.
B2 · Start-up report
- Read the log in the Data tab (Copy copies it):
◀ ESP32-DSO 1.5.1, core …, analogRead NN µs, cal …, DMA … max
Pass: analogRead is reported (plausible: 8–50 µs; test board 41.2 µs with core 3.3.12) and cal is two-point, efuse-vref or efuse. If it says default, the chip has no factory calibration: expect voltage errors of 100 mV or more in stage C.
Background: fundamentals, accuracy and calibration.
B3 · Link stability
- Time/div 1 ms. Leave it running for 10 minutes.
- Watch the right end of the status bar (frames per second) and the log.
Pass: frames/s stays roughly constant; no "damaged frames dropped" counter appears; no serial: errors in the log. A few damaged frames over many minutes are harmless (they are dropped); a steady stream points to a bad cable or a USB hub.
B4 · DMA engine start-up probe
- In the log, find the line starting
◀ dma probe:. Copy it. - Press Reset board twice more and copy the line each time.
Pass: every rate up to at least 250000 says ok, the line ends with max … Sa/s, and the three runs agree (test board: max 250000; faster rates failed on repeated results). Whatever your maximum, the scope uses only rates that passed. Please send the three lines with your report.
Details: reference §3.6.
Stage C
C. Voltage accuracy (DC)
Every test in this stage uses the standard setup at Time/div = 10 ms and reads Mean with Statistics: wait until n ≥ 50, then record μ and σ. The multimeter is the reference. Set a voltage, leave it alone, read, then move to the next one. Background for the whole stage: fundamentals, the ADC.
C1 · Bottom of the range (0 V)
Expected: μ about 0.05–0.15 V, not 0 V (test board: 142 mV, σ 0), and the CH1 chip shows floor. Pass: μ below 0.2 V and the floor marker shows. Record μ: this is your board's "zero" reading.
C2 · Top of the range (3.3 V)
Expected: meter about 3.3 V, scope about 3.1–3.2 V with a red CLIP marker (test board: 3.155 V). Pass: CLIP appears. Record both values.
C3 · Accuracy across the range
- Turn the pot to each target on the record sheet (about 0.30, 0.60, 1.00, 1.50, 2.00, 2.40 V; the meter reading is what counts). Let go of the pot, press Statistics Reset, wait for n ≥ 50.
- At each point record the meter reading, μ and σ. Error = μ − meter.
- Repeat the whole table on CH2 / GPIO 35 (move the wire; CH2 on, CH1 off).
Pass (author's expectation): |error| ≤ 50 mV at every point between 0.15 and 2.45 V, and the two channels agree within 20 mV. σ typically 1–5 mV with Hi-Res. Test board: +17 mV at 0.31 V rising to +39 mV at 2.39 V (1.04 % gain error and 14 mV offset), which C3b corrects.
C3b · Correct it with the two-point calibration
- Data → ADC calibration: enter the lowest point (scope μ and meter, in mV, e.g. 330 and 312.7) and the highest (e.g. 2430 and 2391). Press Apply.
- Check that it is active: the heading reads
on · gain … · offset … mV, a CAL tag is in the status bar, and after reloading the page the four fields still show your points. - Repeat the whole C3 table with the calibration active.
Pass: every |error| ≤ 10 mV after calibration (test board: within 3 mV on the pot points; within 4 mV in G4). The calibration is stored in this browser; redo it for another board or computer.
C3d · DMA and analogRead agree
- Standard setup. Acquire → ADC = DMA. Record CH1 Mean μ after Reset.
- Switch ADC to analogRead, Reset statistics, record μ again. Repeat for the other points.
Pass: the engines agree within 10 mV at every point. If not, redo C3b with ADC = DMA (the engine you will normally use) and report the differences.
C4 · Independent source: a 1.5 V cell
Pass: agrees with the meter as in C3. This source is independent of the ESP32's own supply.
C5 · Noise, and why Max/Min jump
- Acquire = Normal, Time/div = 1 ms. Measure: CH1 AC RMS, Pk-Pk, Max, Top. Record μ and σ of each after n ≥ 50.
- Acquire = Hi-Res, Time/div = 10 ms. Record again.
- Set Readout to live and watch Max, then Top.
Expected: AC RMS a few mV in Normal (test board ≈ 3 mV), lower in Hi-Res. In live readout Max jumps by several mV while Top moves much less. Pass: Hi-Res AC RMS is lower than Normal. Second run on a different breadboard (v1.10.3, 2026-11-27): node 1.6592 V (meter 1.659 V); Normal 11–16 mV AC RMS with spikes up to about ±150 mV (Pk-Pk 240–300 mV), Hi-Res 1.7–1.9 mV; live Max jumped 2.7–4.7 mV while Top moved 1.2–1.5 mV. The spikes stayed with one or three channels, with DMA and with analogRead, with and without the multimeter, and after reseating the capacitor, while the first breadboard gave about 3 mV: most likely the wiring (long ground jumpers, a worn breadboard), not the scope itself. If your Normal noise is far above a few mV, shorten the ground wires and use one ground point near the ESP32. Record the numbers: they are your board's noise floor.
Background: noise and averaging, why Max jumps.
C6 · Channel mapping and crosstalk
- Check that CH1 ≈ 1.65 V, CH2 ≈ floor, CH3 ≈ 2 V, and that the chips name the right GPIO.
- Turn the pot fully: only CH3 may change. Note any change of CH1 or CH2.
Pass (author's expectation): each trace follows only its own pin; the others move by less than 10 mV.
C7 · Divider probe factor
- CH1 Probe = ×2 (10k/10k). Read Mean. Compare with the meter's 3V3 reading.
Pass: agrees within the C3 error × 2 plus the resistor tolerance (1 % resistors: about ±2 %). For exact work, use a custom factor = meter reading ÷ scope reading with Probe ×1.
Background: probes and dividers; wiring: user guide §5.3.
Stage D
D. Time and frequency
D1–D3 use the ESP32's generator, which runs from the same crystal as the sampling: they check that the scope is consistent, not that its clock is right. D4 and the duty part of D1 are independent checks.
D1 · Generator into input: frequency and duty
- Standard setup, but Acquire = Normal. Gen tab: pin 25, Square, 1000 Hz, duty 50. Time/div = 500 µs.
- Measure CH1 Frequency and Duty cycle, with Statistics. Repeat with duty 25 and 75.
Pass: Frequency 1000 Hz ± 0.5 % (test board: 1.000 kHz); Duty within ±2 % of the setting.
Independent duty check (meter only)
- Gen mode High. Meter on GPIO 25: this is Vhigh (for example 3.30 V).
- Gen back to Square, 1000 Hz. For duty 25, 50 and 75, read the meter on GPIO 25. If your meter jumps around, measure through 10 kΩ into 10 µF to GND instead.
Pass: each reading = duty × Vhigh ± 1 % (with 3.30 V: 0.825, 1.650, 2.475 V). Test board, through the 10 kΩ / 10 µF filter: Vhigh 3.303 V; 0.826 / 1.652 / 2.478 V, all within 0.05 %.
Background: duty cycle and mean.
D2 · Frequency sweep and slow time bases
- For 10 Hz, 100 Hz, 1 kHz and 5 kHz, set Time/div so about 5 periods fill the screen (50 ms, 5 ms, 500 µs, 100 µs). Record Frequency μ and the status bar's Sa.
- Endurance: 10 Hz, 50 ms/div, trigger Normal, Statistics on. Leave it 2 minutes; then the same with Auto and with Time/div 10 ms. Watch n and the log.
Pass: all within ±0.5 % (test board: 9.9999 Hz at 23 kSa/s, 100.004 Hz at 27.8 kSa/s, 1000.000 Hz and 5000.00 Hz at 250 kSa/s). At 5 kHz the edges look slanted (few samples per period) but the frequency is still right. Endurance: at 50 ms/div n keeps counting for the whole 2 minutes (test board: 172 in 2 minutes, 1.4 per second, Normal and Auto alike). At 10 ms/div the screen holds only one period, so Frequency cannot be measured (it shows “waiting for data”, n stays 0): there, watch the frames/s figure and the picture keep updating (test board: 7 frames/s). In all three runs no dma: no results … line appears in the log.
Background: how many samples are enough, update rate.
D3 · Sample-timing jitter
- Time/div = 100 µs, trigger rising at 1.65 V, Position so that the falling edge at 500 µs is on screen. Display → Persistence → ∞, Draw → Dots. Let it run 30 s.
- With the time cursors, measure how wide the smear of the falling edge is.
- Persistence Off, Position 0, Time/div = 500 µs (Period needs two rising edges on screen; at 100 µs/div there is only one). Measure CH1 Period with Statistics and record σ.
Pass: the falling edge's smear is no wider than about two sample intervals (1 / Sa), with no stray dots far from it; σ of Period below 0.3 % of 1 ms. Test board: no smear at all (40 captures, edge positions within 0.01 µs; the dots land on the same spots every time because the generator and the ADC run from the same crystal), Period 1.000000 ms, σ 1.2 ns. With an independent source the edge would smear by up to one sample interval: that is normal, not jitter.
Background: persistence and jitter; details: reference §3.5.
D4 · Wall-clock check (independent)
- Gen: Square, 0.1 Hz, 50 % (5 s on, 5 s off). Time/div = 2 s (roll mode).
- Start the stopwatch at an LED switch-on, count 6 switch-ons, stop at the 7th (60 s in theory).
- Meanwhile press STOP after a few periods and measure one period with the time cursors.
Pass: stopwatch time ÷ 6 and the scope's period agree within 1 %, and both are about 10 s.
D5 · Recognising aliasing
- Acquire = Normal, Memory = 1000. Horizontal → Mode = Y-T, Auto roll = off.
- Start at 500 µs/div, then step Time/div slower one step at a time up to 200 ms, watching Frequency and Sa.
- Stay at a setting where the picture is wrong, then switch Acquire to Hi-Res.
- Set Memory back to auto and Acquire to Normal.
Expected: correct (1 kHz) while Sa is at least 2 kSa/s; below that a false, slower wave or a flat line at a wrong level, which changes when only the time base changes. Test board (Memory 1000): Frequency right down to 50 ms/div (2 kSa/s), but already at 20 ms/div (5 kSa/s) the Mean jumps between captures (1.32–1.92 V instead of 1.62 V); 100 ms/div (1 kSa/s): a flat line at 3.1 V; 200 ms/div (500 Sa/s): a flat line at 0.13 V. Flat lines rather than slow waves appear because the generator and the ADC share a crystal: with an independent source you see a slow false wave. In Hi-Res the false wave disappears and the trace shows the square wave's average (test board: 1.62 V). With Memory auto the picture is right again. Pass: you can see the reading change with the time base, and Hi-Res removes the false wave.
Background: fundamentals, aliasing.
D6 · DMA engine: fast signals, time base and word order
- Acquire = Normal, ADC = DMA. Gen: Square, 10 kHz, 50 %. Time/div = 20 µs, trigger rising at 1.65 V, Normal.
- Measure CH1 Frequency, Duty cycle and Rise with Statistics. Note Sa.
- Draw → Dots. Look closely at the flat tops and bottoms and at the edges.
- Set the generator to 100 kHz and Time/div to 5 µs. Record Frequency.
- Back to 10 kHz, 20 µs/div, and switch ADC to analogRead for comparison.
Pass: Frequency 10.00 kHz ± 0.5 % and Duty 50 ± 2 % with DMA. Edges rise in one direction only, with no dots jumping back and forth near an edge or sticking out of the flat parts (that would mean samples out of order). At 100 kHz (2.5 samples per period) the trace is a rough triangle and μ of Frequency reads about 100 kHz, within a few percent (each capture's edges fall on the 4 µs sample grid; test board: 99.22 kHz with σ 6.6 kHz in one run, 97.84 kHz with σ 5.8 kHz in another). Rise reads one or two sample intervals (test board: 3.2 µs at 250 kSa/s): the edge is faster than the sampling. With analogRead (21.7 kSa/s; the time base cannot go below 50 µs/div) only about two points fall in each period: the picture is a few scattered dots and Frequency is wrong (test board: μ 9.05 kHz). That is aliasing: analogRead is for slow signals.
Background: how precise a measurement can be, the input.
Stage E
E. Trigger
Stages E, F (F1–F2) and G (G1–G3) use the same test RC circuit: wire it once and keep it until G4. Background for the whole stage: fundamentals, the trigger.
What you will see: when the generator pin goes high, A jumps at once to about 1.1 V and then creeps towards 1.65 V, while B (the capacitor) charges smoothly from 0 towards 1.65 V with τ ≈ 1.5 ms. When the pin goes low, A drops to about 0.55 V and falls towards 0, and B discharges. So CH2 (A) is a square wave with curved tops, CH1 (B) the "shark fin" charge and discharge curves. Near 0 V both sit on the ADC's floor (≈ 0.14 V).
Generator for all of stage E (unless a test says otherwise): Gen tab → Pin GPIO25, Square, 50 Hz, Duty 50 %. If your meter measures resistance and capacitance, measure R and C before you start: G1–G3 use them.
Starting point for every E test: Data tab → Reset all settings. This turns on CH1 (GPIO 34 = B, 500 mV/div) and CH2 (GPIO 35 = A, 1 V/div), sets the trigger to CH1, rising, 1.65 V, Auto, and Time/div to 1 ms, and leaves the generator off: set the generator again afterwards.
E1 · Trigger level is where the trace crosses
- Starting point, generator on. You should see B's charge and discharge curves on CH1.
- Trig/Acq tab → Trigger: Mode Normal, Source CH1, edge ↑ Rise.
- Set the trigger level to about 1.00 V (each click on − or + beside Level moves it by a tenth of CH1's Volts/div, so 13 clicks on − take 1.65 V to 1.00 V; or drag the ◀T marker). Write down the value the Level box shows.
- Scope tab → Horizontal → Time/div = 100 µs.
- Press STOP (the RUN key).
- Measure tab → Cursors → Time. Drag line A until its time reads between −2 µs and +2 µs.
- Read CH1 A … in the cursor readout and write it next to the level.
- Press RUN and repeat steps 3–7 at about 0.50 V and 1.40 V. Then set the edge to ↓ Fall and repeat at the same three levels.
Pass: at every level and on both edges, the voltage at t = 0 equals the level within your C3 error plus 10 mV (test board: exactly the level, to 1 mV, in all six cases). A constant offset, or a difference that grows on steeper slopes, is a failure worth reporting.
Background: trigger interpolation.
E2 · Modes: Auto, Normal, Single, Force, and a hidden trigger source
- Starting point, generator on, Time/div 1 ms. Trigger: Normal, CH1, Rise, level 2.00 V (above anything B reaches).
- Switch the mode to Auto.
- Set the level back to about 1.00 V and the mode to Normal.
- Press SINGLE; afterwards press RUN.
- Set the level to 2.00 V again (Normal), then press FORCE. Set the level back to about 1.00 V.
- Scope tab → Channels & math → CH1, untick on. Keep the trigger on CH1, Rise, about 1.00 V, Normal. Turn CH1 back on afterwards.
Pass: (1) status Wait, picture frozen. (2) status Auto, curves drift sideways. (3) Trig'd, picture still. (4) run chip SINGLE while waiting, then STOP with one capture on screen. (5) one capture appears at once, then nothing. (6) status Trig'd · CH1 hidden; CH2's picture stands still with A's upward jump about 1.4–1.7 ms left of t = 0 (test board, 115 nF: 1.60 ms): the trigger is still watching B. With CH1 hidden, Sa halves at 100 µs/div (250 → 125 kSa/s) but not at 1 ms/div.
Background: Auto, Normal and Single, hidden source.
E3 · Pre-trigger and position
- Starting point, generator on. Trigger: Normal, CH1, Rise, about 1.00 V. Time/div 1 ms.
- Scope tab → Horizontal → Position: hold − until it reads −5 ms (or drag the orange triangle). The trigger point is now at the right edge.
- Then set Position to +5 ms (trigger at the left edge). Press 0 afterwards.
Pass: at −5 ms the screen shows the 10 ms before the trigger: at the left edge B is still coming down (about 0.6–0.7 V and falling), reaches the floor within 2–3 ms, starts to rise about 1.4–1.6 ms before the right edge and crosses the level exactly at the trigger point (test board: 0.66 V at the left edge, rise from 1.4 ms before t = 0). At +5 ms the curve starts at the level, rises towards 1.65 V, and starts to fall again about 8.4 ms after t = 0 (≈ 0.7 V at the right edge).
Background: how the trigger works, pre-trigger.
E4 · Both edges
- Starting point, generator on. Trigger: Normal, CH1, edge ↕ Both, about 1.00 V.
- Display tab → Persistence → Long.
- Look at Time/div 500 µs, 1 ms and 5 ms, about 10 seconds each. Set Persistence back to Off afterwards.
Pass: at every time base a rising and a falling curve pass through the trigger point, overlaid like an X. If only one shape ever appears, the scope is locking onto one edge.
E5 · Auto and Normal on a slow signal
- Starting point. Gen: Square, 5 Hz, 50 %. Time/div 1 ms. Trigger: CH1, Rise, about 1.00 V, Auto. Watch 10 seconds.
- Switch to Normal and watch 10 seconds.
- Still in Normal, set the generator to Off. Afterwards set it back to 50 Hz.
Pass: in Auto the status mostly shows Auto and the rising curve appears in different places or not at all (test board: 25–26 of 30 captures forced). In Normal: Trig'd, the curve stays at the trigger point, about 5 updates per second. Generator off: Wait, last picture kept.
Background: why slow signals need Normal mode.
Stage F
F. Acquire modes
Background for the whole stage: decimation, acquire modes and ETS.
F1 · Peak detect catches narrow pulses
- Starting point. Gen: Square, 20 Hz, Duty 1 % (one 0.5 ms pulse every 50 ms). Time/div 50 ms. Trig/Acq tab → Acquire → Memory = 500. Trigger: Auto.
- Acquire Normal: count the pulses on CH2 in each capture, over about 10 captures.
- Acquire Peak: count again.
- Set Memory back to auto.
Pass: in Normal pulses go missing (test board: whole captures with all 10 or none, because generator and ADC share a crystal; with an independent source they would be scattered). In Peak all 10 appear at full height in every capture. With Memory auto, Normal catches them too (higher sample rate).
F2 · Average needs a stable trigger
- Starting point, generator Square 50 Hz. Trigger: Normal, source CH2, edge ↓ Fall, level about 0.80 V. Time/div 100 µs. Horizontal → Position = −500 µs: the screen shows the last millisecond before the generator switches off, where B is flat at about 1.65 V.
- Measure: add CH1 AC RMS with Statistics.
- Acquire Normal: wait until n > 50, note μ. Acquire Average, Averages = 16: Reset, n > 50, note μ. Acquire Hi-Res: Reset, n > 50, note μ.
- Time/div 1 ms, Position 0, trigger level 2.00 V, mode Auto, Acquire Average: watch the trace for a few seconds.
- Afterwards: Acquire Hi-Res, trigger CH1, Rise, about 1.00 V, Normal.
Pass: with the trigger, Average's AC RMS is clearly lower than Normal's (test board: 2.89 → 1.86 mV; not the full ÷ 4 because B still creeps up ≈ 5 mV across the window). Hi-Res gives almost nothing here (test board 2.74 mV: at this time base the ADC is already at full speed, one reading per point). Without a trigger the averaged trace smears towards a flat line.
F3 · ETS shows fast edges of repeating signals
- Connect. Scope tab: CH1 on, CH2 off. Gen: Square, 30 901 Hz, 50 %. Trig/Acq: source CH1, ↑ Rise, level 1.65 V, Auto. Measure: add CH1 Rise 10–90 %.
- Acquire Normal, Time/div 5 µs: note Rise and Sa.
- Acquire ETS. Wait 3 s. Note the Acquire line (period, points per period, step) and Rise. Then Time/div 100 ns: note Sa and Rise.
- Gen 10 000 Hz exactly: look at the trigger status (second badge). Then 10 013 Hz.
- Trigger level 3.30 V: look at the trigger status again. Back to 1.65 V.
- Acquire back to Normal.
Pass: Normal: Rise ≈ 3.2 µs at 250 kSa/s. ETS: period 32.36 µs (30.90 kHz), steps of a few ns to tens of ns (test board: 10.5 ns, "94.9 MSa/s ETS"), Rise 20–45 ns (test board 27–32 ns = 2.2 × 1 kΩ × 14 pF). 10 000 Hz: ETS: locked, little gain; 10 013 Hz clears it. Level 3.30 V: ETS: level outside. Back in Normal the time base returns to 5 µs/div. Optional: with 10 kΩ instead of 1 kΩ, Rise grows to ≈ 0.24 µs (test board: 237–242 ns, about 2.2 × 10 kΩ × 11 pF).
F4 · Sine wave from the DAC, and ETS on it
- Connect. CH1 on, CH2 off. Gen: pin GPIO25, Sine, type 50 000 Hz (the field jumps to the nearest step, 50 019.8 Hz), Amplitude ±0.8 V. Trig/Acq: CH1, ↑ Rise, 1.65 V, Auto. Measure: add CH1 Pk-Pk.
- Acquire Normal, Time/div 5 µs. Note Pk-Pk and the shape.
- Acquire ETS. Wait 3 s. Note Pk-Pk, the period on the Acquire line and the spread.
- Try 5 kHz, 20 kHz and 100 kHz (Time/div 50 µs, 10 µs, 2 µs; for 100 kHz type 99 900, which becomes 99 909 Hz, step 765), then 120 kHz.
- Amplitude ±0.4 V, then ±0.2 V. Then 5 kHz, Time/div 1 µs, trigger ↓ Fall.
Pass: Normal: a polygon of about 5 points per period, Pk-Pk ≈ 1.46–1.49 V (peaks missed). ETS: a smooth sine, Pk-Pk 1.55–1.58 V, period ≈ 20.0 µs (≈ 50.0 kHz: the generator's frequency comes in ≈ 130.6 Hz steps, and each step is about 0.1 % uncertain), Acquire line "follows the source's drift", spread below ≈ 15 mV up to 100 kHz (test board, v1.10.3: 50 kHz Pk-Pk 1.564 V, period 19.990 µs, spread 4.1 mV; 5 kHz 4.9638 kHz, 2.1 mV; 20 kHz 19.989 kHz, 3.1 mV). 120 kHz: ETS: signal too fast. Typing 100 000 gives step 766 = 100 040 Hz, just above ETS's limit of 2.5 samples per period at 250 kSa/s: it also says signal too fast. That is the limit doing its job, not a fault. Pk-Pk halves with each amplitude step (test board, Normal at 1 kHz: 1.593 / 0.787 / 0.395 V; at 50 kHz Normal 1.49 / 0.76 / 0.41 V). At 1 µs/div a narrow 0.2–0.3 V dip appears about 1–2 µs after t = 0: the DAC's glitch.
Background: sources that drift, the DAC sine.
Stage G
G. Measurements and maths on real signals
These tests compare the scope's measurements and maths with what physics says the circuit must do. G1–G3 use the test RC circuit; G4 needs a different filter; G5 needs a direct wire. Background: measurements, maths channels.
G1 · RC time constant
- Starting point, generator Square 50 Hz. Trigger: Normal, CH1, Rise, about 0.80 V. Time/div 2 ms.
- Measure: add CH1 Rise 10–90 % with Statistics. Wait for n > 50, note μ.
- τmeasured = Rise ÷ 2.197.
- τexpected = (RA ÷ 2 + R) × C with your measured values (nominal (5 kΩ + 10 kΩ) × 100 nF = 1.5 ms).
- Cross-check: Cursors → Time; A where B starts rising, B where B reaches 63 % of its full step. ΔT = τ.
Pass: τmeasured within ±5 % of τexpected with measured R and C. With nominal values the difference can be as large as the capacitor's tolerance (±10–20 %). Test board, 115 nF: Rise 3.90–3.94 ms → τ 1.78–1.79 ms vs 1.725 ms (+3–4 %).
Background: RC circuits, cursors.
G2 · i = C · dV/dt on hardware
- Starting point, generator Square 50 Hz, trigger Normal, CH1, Rise, about 0.80 V, Acquire Hi-Res, Time/div 2 ms.
- Scope tab → Channels & math → M1. Constants: R = 10e3 and C = 100e-9 (or your measured values). Formula
(v2 - v1) / R. Tick on. - M2: formula
C * dv1, d/dt ± 3. Tick on. - Display → Layout → Split.
- Measure: add M1 Max, M2 Max, M1 Mean, with Statistics.
- Optional: d/dt ± 10.
Pass: M1 and M2 have the same shape and lie nearly on top of each other: a peak at each edge decaying with τ, positive while charging, negative while discharging. Peaks agree within ≈ 10 %; both read a little below 1.1 V ÷ 10 kΩ ≈ 110 µA because B's start is below the ADC floor. M1 Mean ≈ 0 (a few µA). Test board, 115 nF: M1 Max 102 µA, M2 Max 99 µA, M1 Mean 1.5 µA; with d/dt ± 10, M2 Max 90 µA (smoother, lower peak).
G3 · Charge: ∫ i dt = C · ΔV
- Continue from G2. Time/div 1 ms. Trigger: source CH2, Rise, about 0.80 V. Horizontal → Position = +5 ms: the screen shows exactly the 10 ms charging half.
- Measure: add M1 Area and CH1 Max (the capacitor's final voltage = ΔV, since it starts at 0 V). Do not use Pk-Pk: B's start is below the ADC floor.
- Work out C × ΔV. Afterwards Position 0, trigger source CH1.
Pass: Area ≈ C × ΔV within 10 % (nominal ≈ 165 nC, shown as ≈ 1.65e-7 A·s). Test board, 115 nF: Area 203.6 nC, C × Max = 191 nC (+6.5 %).
G4 · PWM average equals duty × voltage
- Starting point. Gen: Square, 1 kHz, Duty 25. Measure: CH1 Mean with Statistics. Meter on the node.
- Wait 2 seconds, note μ and the meter reading. Repeat with Duty 50 and 75.
Pass: the scope's Mean agrees with the meter within your C3 error, and both are close to duty × Vhigh (with 3.30 V: 0.825, 1.65, 2.475 V). Test board (v1.10.3): scope 0.8224 / 1.6517 / 2.4817 V (σ 0.2–0.5 mV), meter 0.826 / 1.652 / 2.478 V: scope − meter −3.6 / −0.3 / +3.7 mV. Meter at High 3.303 V, so duty × Vhigh = 0.826 / 1.652 / 2.477 V. (The scope cannot read High itself: 3.3 V is above its range and shows as a flat line near 3.1 V with CLIP.)
Background: duty cycle and mean, statistics.
G5 · Live readings in a math channel
- Connect. CH1 on, others off. Gen: pin GPIO25, Sine, 1 306 Hz (step 10; the field jumps to it if you type 1 305), Amplitude ±0.8 V. Trig/Acq: CH1, ↑ Rise, 1.65 V, Auto; Acquire Hi-Res. Time/div 1 ms (the screen shows about 13 periods).
- Measure: add CH1 Freq and CH1 Pk-Pk.
- Scope tab → Channels & math → M1. Formula
mean1 + pp1 / 2 * sin(2 * pi * freq1 * t), Unit V, press Fit scale, tick on. Display → Layout → Single. - Measure: add M1 Freq and M1 Pk-Pk.
- Change the formula to
mean1 + pp1 / 2 * sin(2 * pi * freq1 * t + 1.047)(60°). Look at where M1's peaks fall relative to CH1's. - M2:
freq_m1 / freq1, Unit empty (a ratio has no unit), tick on, and add M2 Mean to the Measure list. Then M3:freq3(CH3 is off). - Untick CH1 (keep the formulas).
Pass: step 3: M1 lies on top of CH1 (same size, same frequency, peaks together to within a few percent of a period: the trigger is at the mean level). M1 Freq and Pk-Pk equal CH1's within the display's rounding. Step 5: M1's peaks fall 1/6 of a period before CH1's (about 0.13 ms at 1.3 kHz): M1 is ahead. Step 6: M2 reads 1.000 (Mean, to the displayed digits); M3 is not drawn and shows no error. Step 7: CH1's trace disappears but M1 and M2 stay, because CH1 is still the trigger source and a hidden trigger source is still recorded (status Trig'd · CH1 hidden, as in E2). Test board: CH1 Freq 1.3066 kHz and Pk-Pk 1.573 V, M1 identical to the last digit, M2 Mean 1.000, M1's peaks 0.13 ms ahead of CH1's. Fail: an error message in M1 with CH1 on, or M1 with a different frequency or size from CH1.
Background: live readings; reference §5.8.
Stage H
H. Probe library and text streams
These tests replace the scope firmware on the board: re-upload firmware/esp32-dso afterwards. Background: text streams.
H1 · ScopeProbe example
- Upload
firmware/probe-example. In the scope: Baud 921600, Connect, Time/div 10 s. - Watch one cycle: a charge mark when the pin switches on, the curve rises and levels off; a discharge mark 60 s later and the curve falls.
- Press STOP after the discharge has fallen. Time cursors: A on the discharge mark, B where CH1 reads 37 % of CH1 at A. ΔT = τ.
Pass: the top bar says Text stream · 1 value column; the marks appear at the switching moments; the discharge τ is about 10 s within the capacitor's tolerance (test board: 10.5 s). The charge levels off well below 3.3 V (test board: about 2.0 V, reaching 63 % after ≈ 5.5 s): a new electrolytic leaks 10–15 µA, which 100 kΩ cannot supply. That is the real capacitor, not a scope error.
H2 · Plain text at another baud rate
- Upload a sketch that prints
Serial.printf("%lu,%u\n", millis(), analogReadMilliVolts(34));every 10 ms afterSerial.begin(115200). In the scope: Baud 115200, Connect.
Pass: the top bar says Text stream · 1 value column, Sa is about 100 Sa/s, and the voltage matches your C3 results before calibration: the browser's two-point calibration corrects only ESP32-DSO readings, text values are used as the sketch sends them. Test board: 100 Sa/s, 1.678 V on a node at ≈ 1.652 V (+26 mV, as in C3's uncalibrated table).
Stage I
I. Robustness
I1 · Unplug, reset, long run
- While the scope is running, unplug the USB cable. Plug it in again and press Connect.
- While connected, press Reset board.
- Leave the scope running for 30 minutes and note frames/s at the start and the end.
Pass: after unplugging, a message says the ESP32 was unplugged and the page keeps responding; reconnecting works. Reset board: the start-up report appears again and the generator is off. Test board (v1.10.2, Edge): unplugging showed ESP32 unplugged, the log said serial: The device has been lost., and Connect worked again at once. After 30 minutes frames/s is unchanged (test board: 22.7 frames/s after 33 minutes, no memory growth; again with v1.10.2, two channels at 1 ms/div: 22.7 frames/s at the start, 22.0–23.0 throughout, 22.0 after 30 minutes, 41 148 captures, page memory 33 → 35 MB, 2 damaged frames dropped).
When a test fails
- Repeat it once, checking the wiring with the USB cable unplugged.
- Check the reference: measure the same point with the meter again; check the meter's battery.
- Isolate: another channel (GPIO), another cable, another USB port, Demo mode.
- Write down the test number, what you expected, what you got, and the log lines. A screenshot (Data → Screenshot) and a CSV (Data → CSV screen) are the most useful evidence.
Some failures are limits of the ESP32 rather than faults (for example a board without factory calibration in B2/C3). The result is still valuable: it is the error to allow for in every measurement. The common mistakes table in the fundamentals may also help.
Record sheet
Board: ____________ Core version: ______ analogRead: ______ µs cal: ______ Meter: ____________ Date: ________
C3 · Voltage accuracy (CH1 / GPIO 34)
| Target | Meter (V) | Scope μ (V) | σ (mV) | Error μ − meter (mV) |
|---|---|---|---|---|
| 0.30 V | ||||
| 0.60 V | ||||
| 1.00 V | ||||
| 1.50 V | ||||
| 2.00 V | ||||
| 2.40 V |
C3 · Voltage accuracy (CH2 / GPIO 35)
| Target | Meter (V) | Scope μ (V) | σ (mV) | Error μ − meter (mV) |
|---|---|---|---|---|
| 0.30 V | ||||
| 1.00 V | ||||
| 1.50 V | ||||
| 2.40 V |
Other results
| Test | Quantity | Expected | Measured | Pass? |
|---|---|---|---|---|
| C1 | 0 V reading (μ) | < 0.2 V, floor shown | ||
| C2 | 3V3: meter / scope | CLIP shown | ||
| C4 | Cell: meter / scope | as C3 | ||
| C5 | AC RMS Normal / Hi-Res | Hi-Res lower | ||
| C6 | Crosstalk | < 10 mV | ||
| C7 | ×2 probe vs meter | ± C3 × 2 + 2 % | ||
| D1 | Freq / duty at 1 kHz | ±0.5 % / ±2 % | ||
| D1 | Filter: meter vs d × Vhigh | agree | ||
| D2 | 10 Hz / 100 Hz / 1 kHz / 5 kHz | ±0.5 % | ||
| D3 | Edge smear / σ(Period) | ≤ 2 samples / < 0.3 % | ||
| D4 | Stopwatch ÷ 6 / scope period | agree ±1 % | ||
| E1 | Value at t = 0, Rise (≈1.0 / 0.5 / 1.4 V) | = level ± (C3 + 10 mV) | ||
| E1 | Value at t = 0, Fall (≈1.0 / 0.5 / 1.4 V) | = level ± (C3 + 10 mV) | ||
| E2 | Hidden CH1 source: A's jump before t = 0 | ≈ 1.4–1.7 ms | ||
| F1 | Pulses seen Normal / Peak | Peak: all 10 | ||
| F2 | AC RMS Normal / Average 16 / Hi-Res | Average, Hi-Res lower | ||
| F3 | Rise Normal / ETS (30 901 Hz); locked at 10 kHz | ≈ 3.2 µs / 20–45 ns; warning | ||
| F4 | Sine 50 kHz ±0.8 V: Pk-Pk Normal / ETS; 120 kHz | ≈ 1.46 V / 1.55–1.58 V; “too fast” | ||
| G1 | τ measured / expected | ±5 % | ||
| G2 | Peak M1 / M2, M1 mean | ±10 %, ≈ 0 | ||
| G3 | Area / C·ΔV | ±10 % | ||
| G4 | Mean vs meter | as C3 | ||
| G5 | Rebuilt sine (M1) vs CH1: Freq, Pk-Pk; 60° lead | equal; peaks 1/6 period earlier | ||
| H1 | τ (probe example) | ≈ 10 s |
ESP32 Web Oscilloscope v1.11.2 · verification guide 2.2.0