Skip to content

DigitalOsc guides

PWM DAC Output Looks Wrong: Compare the Pulse and Filtered Voltage

DigitalOsc editorial team · Updated 20 November 2026

A PWM-to-DC output depends on both the input pulse pattern and the filter. Two channels help show which side changed, while a steady average alone can hide ripple or clipping.

Define the intended conversion

Identify the PWM pin, filter input and analogue output from the actual schematic. Confirm logic levels, maximum input voltage, resistor/capacitor values and output load. This guide is for a safe low-voltage filter, not a motor-power node. A PWM pin is a switching waveform; a filter can turn its average into an approximate analogue level, but it does not create an ideal precision DAC.

Capture the pulse and output together

Put one suitable input on the PWM signal before the filter and the other on the filtered output, with both references at a compatible circuit ground. Use DC coupling initially so the output level remains visible. Trigger on the PWM edge and choose enough time resolution to see several switching cycles. Record frequency, pulse levels and duty as observed rather than assuming the firmware command reached the pin.

Use the average as a conditional estimate

For an ideal 0-to-3.3 V PWM waveform at 25% duty, the time average is 0.825 V. That is an illustrative input average, not a guaranteed loaded output. A finite filter has ripple and settling time, and a following load may shift the level. If you change duty and immediately read a different voltage, allow for settling before comparing it with a steady-state estimate.

Separate three different faults

Wrong pulse levels or duty at the input points first to pin configuration, timing or the preceding driver. A plausible input with excessive output ripple suggests the filter/load and required bandwidth need examination. A correct unloaded output that changes after a load is connected is a different condition again. Preserve both traces and the load state before replacing a capacitor or declaring the PWM peripheral defective.

Choose equipment for the actual uncertainty

A two-channel scope can relate input pulses and output ripple in one capture. A single input can still check a stable repeating node, but separate runs cannot prove a unique simultaneous change. The 2C53P is a candidate for safe two-node work; its 50 MHz headline is not the reason this low-frequency test needs it. Use your existing scope when it resolves the pulse edges, output variation and observation window.

Instrument and next step

This is a proposed low-voltage workflow, not a hardware test or a measured fault report. Check the exact instrument, probe and circuit documentation before connecting. If your current equipment already resolves the question, keep using it.

DigitalOsc links to Payverza as the retailer. Current price, availability and delivery are shown there; a product link does not certify accessories, isolation or the suitability of a particular circuit.

Sources and scope

Sources checked 20 November 2026. Worked numbers are illustrative; they are not measurements of either retail instrument.