⚡ ImpedanceScope — Setup & Use Guide

For the audio interface version described in the blog post.
→ Open the tool

What you need

How to wire it up

Connect everything in series like this:

GND ── DUT(Z) ── Left input (CH1) ── Rs ── Right input (CH2) ── Audio output

Set Rs in the sidebar to match the actual resistor value you have wired in.

First time setup

1Disable Windows audio enhancements
This is the most important step. Windows applies noise cancellation and loudness equalisation to audio devices by default. These corrupt the measurements entirely.

For each device (both playback and recording):
Sound Settings → device → "Device properties" → "Additional device properties" → Enhancements tab → check "Disable all enhancements".

Or run disable_audio_enhancements.bat as administrator (from the same folder as this guide) to do it automatically for all devices at once. You may need to repeat this after unplugging and re-plugging the interface.
2Set the input to Stereo (2-channel)
In Windows Sound settings, find your audio interface under Recording devices. Open its properties and make sure the format is set to 2 channel (stereo), not mono.

If the tool shows ⚠ Input is MONO in the console after starting, this is what needs fixing.
3Open the tool and grant microphone access
Open the tool in Chrome or Edge. A prompt appears asking for microphone permission — click Allow. This is required for the browser to access audio input.

After clicking Enable Audio on the splash screen, the device dropdowns will populate with the names of your audio interfaces.
4Select your input and output devices
Under Audio Interface in the sidebar:

Using the same physical interface for both input and output ensures the stimulus and measurement share the same clock and ground.

Running a measurement

  1. Wire up your DUT and Rs as shown above.
  2. Set Rs (Ω) to match your series resistor.
  3. Set f₀ and f₁ — the start and stop frequency. Default 20 Hz – 20 kHz covers the full audio range.
  4. Click ▶ Start. The tool plays a sine wave through the output and measures both channels as it steps through frequencies.
  5. Results appear live in both the Bode plot (magnitude and phase vs. frequency) and the Smith chart.
  6. When done, click ↓ Save CSV to export the data.

You can run multiple sweeps — each one is added to the Sweeps list in a different colour. Click a sweep label to make it active (bold on the charts).

Audio interface notes

InterfaceWorks out of the box?Notes
MOTU M4YesProfessional, simultaneous stereo sampling, no calibration needed
Cubilux CA7YesBudget USB-C, 24-bit, performs on par with the M4
Behringer UCA222With calibration16-bit TDM ADC — Ch2 leads Ch1 by exactly 1 sample. Set Ch2 timing correction = −1. Also has ~8.5 kΩ input loading. Use Open+Load calibration.
Built-in sound cardMaybeTypically works for rough measurements. Shared ground with PC may introduce noise. No dedicated line output.
Budget interfaces: many cheap interfaces have inter-channel timing skew (one sample delay between L and R), low input impedance, or roll-off at the frequency extremes. Use the Calibration procedure below to compensate.

Calibration (recommended for budget interfaces)

Calibration corrects for input loading, inter-channel phase errors, and cable parasitics. Two measurements are taken with known conditions:

1Open calibration — DUT disconnected
Remove the DUT, leaving the CH1 probe dangling open (nothing connected to it). Click ↺ Open cal. The tool does a full sweep and stores the result.
2Load calibration — known resistor as DUT
Connect a known, accurate resistor as the DUT (e.g. 1 kΩ). Enter its value in Load resistance (Ω). Click ↺ Load cal. The tool sweeps again and stores this reference.
3Enable calibration
Tick Apply calibration. Now reconnect your actual DUT and run a sweep. All subsequent measurements will be corrected.

To discard calibration data click ✕ Clear.

Tips