An oscilloscope works by sampling voltage over time using an Analog-to-Digital Converter (ADC), mapping those discrete samples to a grid where the X-axis represents time and the Y-axis represents voltage. While a multimeter gives you a single averaged number, a scope reveals the transient reality of your circuit: the ringing on a MOSFET gate, the sag on a power rail, or the exact rise time of an I2C clock line. But understanding the internal ADC architecture is useless if your probe ground clip is injecting switching noise into your measurement. This guide explains how digital storage oscilloscopes (DSOs) actually capture signals, using a practical 5V PWM gate-drive measurement to show you exactly how to set up, probe, and interpret the waveform.

The Core Mechanism: ADCs, Sample Rates, and Memory Depth

At the hardware level, a modern DSO relies on three critical subsystems to turn analog electricity into a visual trace: the analog front-end, the ADC, and the acquisition memory.

When a signal enters the BNC connector, it passes through an analog front-end consisting of programmable gain amplifiers (PGAs) and attenuators. This stage scales your 50V input down to a safe 1V range for the ADC. The ADC then takes discrete "snapshots" of the voltage. According to the Nyquist-Shannon sampling theorem, you need a sample rate at least twice the highest frequency component of your signal. However, as Tektronix's oscilloscope fundamentals guide notes, real-world edge transitions require at least 5x oversampling to accurately reconstruct fast rise times without aliasing artifacts.

Once digitized, the samples are written into acquisition memory. If your scope has a 1 GSa/s (gigsample per second) rate and a 14 Mpt (megapoint) memory depth, it can capture 14 milliseconds of continuous signal at full resolution before the buffer fills and the trigger logic decides whether to keep or discard the frame. This interplay between sample rate and memory depth dictates whether you can zoom in on a 10ns glitch that happened 5 milliseconds ago.

Scope Setup Block: Capturing a 50kHz 5V PWM Signal

Unlike a multimeter where you select a single dial position, a scope requires coordinating multiple axes. Below is the exact configuration block for measuring a 50kHz, 5V PWM signal driving a logic-level MOSFET from an ESP32 GPIO pin.

Scope Setup Block (Meter Configuration)
  • Input Jack: Channel 1 BNC. Ensure the probe BNC connector is fully twisted and locked to maintain the earth-ground shield connection.
  • Probe Attenuation (Range): 10X. Crucial: Flip the physical switch on the probe body to 10X, and manually set the scope channel menu to 10X. A mismatch here is the #1 cause of misleading voltage readings.
  • Input Coupling: DC. (AC coupling inserts a high-pass filter that will distort the flat top of your PWM square wave).
  • Dial Position (Timebase): 2.0 µs/div. This displays roughly 20 µs per screen width, showing exactly one full cycle of a 50kHz wave (20 µs period).
  • Dial Position (Voltage Scale): 1.0 V/div. This centers the 0-5V signal vertically across 5 grid divisions.
  • Trigger Configuration: Edge Trigger, Rising Slope, Threshold set to 2.5V. This locks the display so the waveform doesn't scroll horizontally.

Probe Placement and the Ground Lead Trap

How you physically connect the probe to the circuit often matters more than the scope's internal specs. A standard 10X passive probe includes a 6-inch alligator ground clip. At DC or low-frequency audio, this clip is fine. At 50kHz and above, that 6-inch wire acts as an inductor (roughly 20nH per inch).

When the MOSFET switches, the rapid change in current ($di/dt$) interacting with the ground lead inductance creates a voltage spike ($V = L \cdot di/dt$). This manifests as high-frequency ringing on your scope screen. Many hobbyists mistakenly believe their circuit is oscillating or their MOSFET is failing, when in reality, they are measuring the resonance of their probe's ground lead.

The Fix: Remove the plastic probe tip cover and the long alligator ground clip. Slide the short, coiled ground spring (included with almost all standard passive probes) over the metal probe tip barrel. Press the probe tip directly onto the MOSFET gate pad, and rest the ground spring directly on the source pin or an adjacent ground via. This reduces ground inductance from ~120nH to under 5nH, eliminating the artificial ringing and revealing the true waveform.

Expected Readings: Good vs. Bad Waveforms

When probing a 5V PWM signal from a microcontroller to a gate driver, you need to know what a healthy signal looks like numerically. The following table breaks down the expected parameters and the common mistakes that yield misleading data.

Parameter Good Reading (Expected) Bad / Misleading Reading Root Cause of Bad Reading
High-State Voltage 4.8V to 5.0V ~0.5V to 3.3V Probe switch is 10X, but scope menu is set to 1X (scope divides the already-divided signal again).
Low-State Voltage 0.0V to 0.1V 0.5V or higher Ground reference is floating, or probing across a shunt resistor instead of relative to logic ground.
Rise Time (10-90%) < 50 ns > 200 ns Using a 1X probe instead of 10X. 1X probes have high input capacitance (~100pF) that slows down high-impedance GPIO edges.
Overshoot / Ringing < 5% (Clean flat top) 20%+ spikes on edges Using the long alligator ground clip instead of the ground spring, introducing inductive ringing.
Warning: The 1X/10X Mismatch
If your ESP32 outputs 3.3V, but your scope reads 33V, your probe is set to 1X and the scope is set to 10X. Always verify the physical switch on the probe barrel matches the digital channel menu on the screen before taking measurements.

High-Voltage Safety: CAT Ratings and the Earth Ground Trap

When moving from low-voltage DC to mains-powered circuits (like debugging an offline AC/DC switching power supply), standard passive probes become lethal hazards. The metal shell of the BNC connector on your oscilloscope is tied directly to the earth ground pin of the scope's AC power cord. The ground clip of your probe is electrically continuous with that BNC shell.

If you clip the ground lead to the "hot" side of a bridge rectifier or the high-side of a half-bridge motor driver, you are creating a dead short from mains voltage through your probe, through the scope's internal ground plane, to the wall outlet. This will instantly vaporize the probe tip, destroy the scope's front-end, and trip your workshop breaker—or worse, cause an arc flash.

The Solution: For any measurement where the ground reference is not tied to earth ground (floating measurements), or for any AC mains voltage work, you must use an isolated differential probe. Differential probes measure the voltage difference between two points without referencing earth ground. For bench work up to 1300V, look for a probe with a minimum CAT II / CAT III safety rating, such as the Micsig DP10013. As outlined in Keysight's oscilloscope safety tutorials, never rely on simply "floating" the scope by removing its earth ground pin; this energizes the entire chassis to mains potential, creating a severe shock hazard.

Decision Tree: Picking the Right Probe and Scope

Use this decision path to select the correct hardware for your specific bench requirements. Do not default to "it depends on your budget"—match the tool to the signal bandwidth.

If Your Application Is... Then You Need... Concrete Recommendation
Audio / DC Power Rails (< 100 kHz) Basic 50MHz scope, standard 10X passive probes, long ground clips are acceptable. Rigol DS1054Z (Used/Refurbished market, ~$250).
MCU GPIO / Motor Control (1 MHz - 50 MHz) 100MHz+ scope, 10X passive probes with ground springs, hardware I2C/SPI decoders. Siglent SDS1202X-E (New, ~$399).
Switching Power Supplies (Offline Mains) CAT II/III Isolated Differential Probe + High-voltage rated scope. Micsig DP10013 Differential Probe (~$180) + Siglent SDS1202X-E.
RF / High-Speed Digital (> 200 MHz) Active FET probes (low capacitance), 1 GHz+ bandwidth scope. Keysight DSOX3024T (Professional tier, >$4,000).

The Default Bench Pick: For 90% of hobbyist makers, Arduino/ESP32 developers, and DIY motor-control builders, the Siglent SDS1202X-E paired with its included PP215 10X passive probes is the definitive choice. At roughly $399, it offers 200MHz bandwidth, a 1 GSa/s sample rate, and excellent low-noise front-end amplifiers that easily resolve 3.3V logic edges without the aliasing artifacts found in cheaper entry-level models. Buy the Siglent, strip the alligator clips, use the ground springs, and you will capture waveforms with professional-grade accuracy on day one.